Regenerate R5 for 5.0.0-draft-final

This commit is contained in:
Grahame Grieve 2023-03-01 21:49:11 +11:00
parent abba72d099
commit 2e11041fc5
220 changed files with 495017 additions and 445873 deletions

View File

@ -81,10 +81,6 @@ public abstract class FormatUtilities {
public static final String NS_XSI = "http://www.w3.org/2001/XMLSchema-instance"; public static final String NS_XSI = "http://www.w3.org/2001/XMLSchema-instance";
private static final int MAX_SCAN_LENGTH = 1000; // how many characters to scan into content when autodetermining format private static final int MAX_SCAN_LENGTH = 1000; // how many characters to scan into content when autodetermining format
public static final String MAP_ATTRIBUTE_NAME = "attribute";
public static final String PROPERTY_NAME = "property";
public static String WORKING_CM_PROP_NAME = PROPERTY_NAME;
protected String toString(String value) { protected String toString(String value) {
return value; return value;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -1124,3 +1124,4 @@ public class Address extends DataType implements ICompositeType {
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -66,7 +66,7 @@ public class AdministrableProductDefinition extends DomainResource {
/** /**
* A value for the characteristic. * A value for the characteristic.
*/ */
@Child(name = "value", type = {CodeableConcept.class, Quantity.class, DateType.class, BooleanType.class, Attachment.class}, order=2, min=0, max=1, modifier=false, summary=true) @Child(name = "value", type = {CodeableConcept.class, Quantity.class, DateType.class, BooleanType.class, MarkdownType.class, Attachment.class, Binary.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="A value for the characteristic", formalDefinition="A value for the characteristic." ) @Description(shortDefinition="A value for the characteristic", formalDefinition="A value for the characteristic." )
protected DataType value; protected DataType value;
@ -186,6 +186,21 @@ public class AdministrableProductDefinition extends DomainResource {
return this != null && this.value instanceof BooleanType; return this != null && this.value instanceof BooleanType;
} }
/**
* @return {@link #value} (A value for the characteristic.)
*/
public MarkdownType getValueMarkdownType() throws FHIRException {
if (this.value == null)
this.value = new MarkdownType();
if (!(this.value instanceof MarkdownType))
throw new FHIRException("Type mismatch: the type MarkdownType was expected, but "+this.value.getClass().getName()+" was encountered");
return (MarkdownType) this.value;
}
public boolean hasValueMarkdownType() {
return this != null && this.value instanceof MarkdownType;
}
/** /**
* @return {@link #value} (A value for the characteristic.) * @return {@link #value} (A value for the characteristic.)
*/ */
@ -201,6 +216,21 @@ public class AdministrableProductDefinition extends DomainResource {
return this != null && this.value instanceof Attachment; return this != null && this.value instanceof Attachment;
} }
/**
* @return {@link #value} (A value for the characteristic.)
*/
public Reference getValueReference() throws FHIRException {
if (this.value == null)
this.value = new Reference();
if (!(this.value instanceof Reference))
throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.value.getClass().getName()+" was encountered");
return (Reference) this.value;
}
public boolean hasValueReference() {
return this != null && this.value instanceof Reference;
}
public boolean hasValue() { public boolean hasValue() {
return this.value != null && !this.value.isEmpty(); return this.value != null && !this.value.isEmpty();
} }
@ -209,7 +239,7 @@ public class AdministrableProductDefinition extends DomainResource {
* @param value {@link #value} (A value for the characteristic.) * @param value {@link #value} (A value for the characteristic.)
*/ */
public AdministrableProductDefinitionPropertyComponent setValue(DataType value) { public AdministrableProductDefinitionPropertyComponent setValue(DataType value) {
if (value != null && !(value instanceof CodeableConcept || value instanceof Quantity || value instanceof DateType || value instanceof BooleanType || value instanceof Attachment)) if (value != null && !(value instanceof CodeableConcept || value instanceof Quantity || value instanceof DateType || value instanceof BooleanType || value instanceof MarkdownType || value instanceof Attachment || value instanceof Reference))
throw new Error("Not the right type for AdministrableProductDefinition.property.value[x]: "+value.fhirType()); throw new Error("Not the right type for AdministrableProductDefinition.property.value[x]: "+value.fhirType());
this.value = value; this.value = value;
return this; return this;
@ -242,7 +272,7 @@ public class AdministrableProductDefinition extends DomainResource {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type)); children.add(new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type));
children.add(new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value)); children.add(new Property("value[x]", "CodeableConcept|Quantity|date|boolean|markdown|Attachment|Reference(Binary)", "A value for the characteristic.", 0, 1, value));
children.add(new Property("status", "CodeableConcept", "The status of characteristic e.g. assigned or pending.", 0, 1, status)); children.add(new Property("status", "CodeableConcept", "The status of characteristic e.g. assigned or pending.", 0, 1, status));
} }
@ -250,13 +280,15 @@ public class AdministrableProductDefinition extends DomainResource {
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case 3575610: /*type*/ return new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type);
case -1410166417: /*value[x]*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value); case -1410166417: /*value[x]*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|markdown|Attachment|Reference(Binary)", "A value for the characteristic.", 0, 1, value);
case 111972721: /*value*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value); case 111972721: /*value*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|markdown|Attachment|Reference(Binary)", "A value for the characteristic.", 0, 1, value);
case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "A value for the characteristic.", 0, 1, value); case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "A value for the characteristic.", 0, 1, value);
case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "A value for the characteristic.", 0, 1, value); case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "A value for the characteristic.", 0, 1, value);
case -766192449: /*valueDate*/ return new Property("value[x]", "date", "A value for the characteristic.", 0, 1, value); case -766192449: /*valueDate*/ return new Property("value[x]", "date", "A value for the characteristic.", 0, 1, value);
case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "A value for the characteristic.", 0, 1, value); case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "A value for the characteristic.", 0, 1, value);
case -497880704: /*valueMarkdown*/ return new Property("value[x]", "markdown", "A value for the characteristic.", 0, 1, value);
case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "A value for the characteristic.", 0, 1, value); case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "A value for the characteristic.", 0, 1, value);
case 1755241690: /*valueReference*/ return new Property("value[x]", "Reference(Binary)", "A value for the characteristic.", 0, 1, value);
case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status of characteristic e.g. assigned or pending.", 0, 1, status); case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status of characteristic e.g. assigned or pending.", 0, 1, status);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
} }
@ -320,7 +352,7 @@ public class AdministrableProductDefinition extends DomainResource {
public String[] getTypesForProperty(int hash, String name) throws FHIRException { public String[] getTypesForProperty(int hash, String name) throws FHIRException {
switch (hash) { switch (hash) {
case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case 3575610: /*type*/ return new String[] {"CodeableConcept"};
case 111972721: /*value*/ return new String[] {"CodeableConcept", "Quantity", "date", "boolean", "Attachment"}; case 111972721: /*value*/ return new String[] {"CodeableConcept", "Quantity", "date", "boolean", "markdown", "Attachment", "Reference"};
case -892481550: /*status*/ return new String[] {"CodeableConcept"}; case -892481550: /*status*/ return new String[] {"CodeableConcept"};
default: return super.getTypesForProperty(hash, name); default: return super.getTypesForProperty(hash, name);
} }
@ -349,10 +381,18 @@ public class AdministrableProductDefinition extends DomainResource {
this.value = new BooleanType(); this.value = new BooleanType();
return this.value; return this.value;
} }
else if (name.equals("valueMarkdown")) {
this.value = new MarkdownType();
return this.value;
}
else if (name.equals("valueAttachment")) { else if (name.equals("valueAttachment")) {
this.value = new Attachment(); this.value = new Attachment();
return this.value; return this.value;
} }
else if (name.equals("valueReference")) {
this.value = new Reference();
return this.value;
}
else if (name.equals("status")) { else if (name.equals("status")) {
this.status = new CodeableConcept(); this.status = new CodeableConcept();
return this.status; return this.status;
@ -1468,21 +1508,28 @@ public class AdministrableProductDefinition extends DomainResource {
@Description(shortDefinition="A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product", formalDefinition="A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged." ) @Description(shortDefinition="A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product", formalDefinition="A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged." )
protected Reference device; protected Reference device;
/**
* A general description of the product, when in its final form, suitable for administration e.g. effervescent blue liquid, to be swallowed. Intended to be used when the other structured properties of this resource are insufficient or cannot be supported. It is not intended to duplicate information already carried elswehere.
*/
@Child(name = "description", type = {MarkdownType.class}, order=8, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="A general description of the product, when in its final form, suitable for administration e.g. effervescent blue liquid, to be swallowed", formalDefinition="A general description of the product, when in its final form, suitable for administration e.g. effervescent blue liquid, to be swallowed. Intended to be used when the other structured properties of this resource are insufficient or cannot be supported. It is not intended to duplicate information already carried elswehere." )
protected MarkdownType description;
/** /**
* Characteristics e.g. a product's onset of action. * Characteristics e.g. a product's onset of action.
*/ */
@Child(name = "property", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Child(name = "property", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Characteristics e.g. a product's onset of action", formalDefinition="Characteristics e.g. a product's onset of action." ) @Description(shortDefinition="Characteristics e.g. a product's onset of action", formalDefinition="Characteristics e.g. a product's onset of action." )
protected List<AdministrableProductDefinitionPropertyComponent> property; protected List<AdministrableProductDefinitionPropertyComponent> property;
/** /**
* The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa). * The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa).
*/ */
@Child(name = "routeOfAdministration", type = {}, order=9, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Child(name = "routeOfAdministration", type = {}, order=10, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The path by which the product is taken into or makes contact with the body", formalDefinition="The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa)." ) @Description(shortDefinition="The path by which the product is taken into or makes contact with the body", formalDefinition="The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa)." )
protected List<AdministrableProductDefinitionRouteOfAdministrationComponent> routeOfAdministration; protected List<AdministrableProductDefinitionRouteOfAdministrationComponent> routeOfAdministration;
private static final long serialVersionUID = 1447528370L; private static final long serialVersionUID = -487805677L;
/** /**
* Constructor * Constructor
@ -1829,6 +1876,55 @@ public class AdministrableProductDefinition extends DomainResource {
return this; return this;
} }
/**
* @return {@link #description} (A general description of the product, when in its final form, suitable for administration e.g. effervescent blue liquid, to be swallowed. Intended to be used when the other structured properties of this resource are insufficient or cannot be supported. It is not intended to duplicate information already carried elswehere.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
*/
public MarkdownType getDescriptionElement() {
if (this.description == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create AdministrableProductDefinition.description");
else if (Configuration.doAutoCreate())
this.description = new MarkdownType(); // bb
return this.description;
}
public boolean hasDescriptionElement() {
return this.description != null && !this.description.isEmpty();
}
public boolean hasDescription() {
return this.description != null && !this.description.isEmpty();
}
/**
* @param value {@link #description} (A general description of the product, when in its final form, suitable for administration e.g. effervescent blue liquid, to be swallowed. Intended to be used when the other structured properties of this resource are insufficient or cannot be supported. It is not intended to duplicate information already carried elswehere.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
*/
public AdministrableProductDefinition setDescriptionElement(MarkdownType value) {
this.description = value;
return this;
}
/**
* @return A general description of the product, when in its final form, suitable for administration e.g. effervescent blue liquid, to be swallowed. Intended to be used when the other structured properties of this resource are insufficient or cannot be supported. It is not intended to duplicate information already carried elswehere.
*/
public String getDescription() {
return this.description == null ? null : this.description.getValue();
}
/**
* @param value A general description of the product, when in its final form, suitable for administration e.g. effervescent blue liquid, to be swallowed. Intended to be used when the other structured properties of this resource are insufficient or cannot be supported. It is not intended to duplicate information already carried elswehere.
*/
public AdministrableProductDefinition setDescription(String value) {
if (Utilities.noString(value))
this.description = null;
else {
if (this.description == null)
this.description = new MarkdownType();
this.description.setValue(value);
}
return this;
}
/** /**
* @return {@link #property} (Characteristics e.g. a product's onset of action.) * @return {@link #property} (Characteristics e.g. a product's onset of action.)
*/ */
@ -1945,6 +2041,7 @@ public class AdministrableProductDefinition extends DomainResource {
children.add(new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form. In some cases, an administrable form might use all of the items from the overall product (or there might only be one item), while in other cases, an administrable form might use only a subset of the items available in the overall product. For example, an administrable form might involve combining a liquid and a powder available as part of an overall product, but not involve applying the also supplied cream.", 0, java.lang.Integer.MAX_VALUE, producedFrom)); children.add(new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form. In some cases, an administrable form might use all of the items from the overall product (or there might only be one item), while in other cases, an administrable form might use only a subset of the items available in the overall product. For example, an administrable form might involve combining a liquid and a powder available as part of an overall product, but not involve applying the also supplied cream.", 0, java.lang.Integer.MAX_VALUE, producedFrom));
children.add(new Property("ingredient", "CodeableConcept", "The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used.", 0, java.lang.Integer.MAX_VALUE, ingredient)); children.add(new Property("ingredient", "CodeableConcept", "The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used.", 0, java.lang.Integer.MAX_VALUE, ingredient));
children.add(new Property("device", "Reference(DeviceDefinition)", "A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged.", 0, 1, device)); children.add(new Property("device", "Reference(DeviceDefinition)", "A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged.", 0, 1, device));
children.add(new Property("description", "markdown", "A general description of the product, when in its final form, suitable for administration e.g. effervescent blue liquid, to be swallowed. Intended to be used when the other structured properties of this resource are insufficient or cannot be supported. It is not intended to duplicate information already carried elswehere.", 0, 1, description));
children.add(new Property("property", "", "Characteristics e.g. a product's onset of action.", 0, java.lang.Integer.MAX_VALUE, property)); children.add(new Property("property", "", "Characteristics e.g. a product's onset of action.", 0, java.lang.Integer.MAX_VALUE, property));
children.add(new Property("routeOfAdministration", "", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa).", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration)); children.add(new Property("routeOfAdministration", "", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa).", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration));
} }
@ -1960,6 +2057,7 @@ public class AdministrableProductDefinition extends DomainResource {
case 588380494: /*producedFrom*/ return new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form. In some cases, an administrable form might use all of the items from the overall product (or there might only be one item), while in other cases, an administrable form might use only a subset of the items available in the overall product. For example, an administrable form might involve combining a liquid and a powder available as part of an overall product, but not involve applying the also supplied cream.", 0, java.lang.Integer.MAX_VALUE, producedFrom); case 588380494: /*producedFrom*/ return new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form. In some cases, an administrable form might use all of the items from the overall product (or there might only be one item), while in other cases, an administrable form might use only a subset of the items available in the overall product. For example, an administrable form might involve combining a liquid and a powder available as part of an overall product, but not involve applying the also supplied cream.", 0, java.lang.Integer.MAX_VALUE, producedFrom);
case -206409263: /*ingredient*/ return new Property("ingredient", "CodeableConcept", "The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used.", 0, java.lang.Integer.MAX_VALUE, ingredient); case -206409263: /*ingredient*/ return new Property("ingredient", "CodeableConcept", "The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used.", 0, java.lang.Integer.MAX_VALUE, ingredient);
case -1335157162: /*device*/ return new Property("device", "Reference(DeviceDefinition)", "A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged.", 0, 1, device); case -1335157162: /*device*/ return new Property("device", "Reference(DeviceDefinition)", "A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged.", 0, 1, device);
case -1724546052: /*description*/ return new Property("description", "markdown", "A general description of the product, when in its final form, suitable for administration e.g. effervescent blue liquid, to be swallowed. Intended to be used when the other structured properties of this resource are insufficient or cannot be supported. It is not intended to duplicate information already carried elswehere.", 0, 1, description);
case -993141291: /*property*/ return new Property("property", "", "Characteristics e.g. a product's onset of action.", 0, java.lang.Integer.MAX_VALUE, property); case -993141291: /*property*/ return new Property("property", "", "Characteristics e.g. a product's onset of action.", 0, java.lang.Integer.MAX_VALUE, property);
case 1742084734: /*routeOfAdministration*/ return new Property("routeOfAdministration", "", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa).", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration); case 1742084734: /*routeOfAdministration*/ return new Property("routeOfAdministration", "", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa).", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
@ -1978,6 +2076,7 @@ public class AdministrableProductDefinition extends DomainResource {
case 588380494: /*producedFrom*/ return this.producedFrom == null ? new Base[0] : this.producedFrom.toArray(new Base[this.producedFrom.size()]); // Reference case 588380494: /*producedFrom*/ return this.producedFrom == null ? new Base[0] : this.producedFrom.toArray(new Base[this.producedFrom.size()]); // Reference
case -206409263: /*ingredient*/ return this.ingredient == null ? new Base[0] : this.ingredient.toArray(new Base[this.ingredient.size()]); // CodeableConcept case -206409263: /*ingredient*/ return this.ingredient == null ? new Base[0] : this.ingredient.toArray(new Base[this.ingredient.size()]); // CodeableConcept
case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // Reference case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // Reference
case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType
case -993141291: /*property*/ return this.property == null ? new Base[0] : this.property.toArray(new Base[this.property.size()]); // AdministrableProductDefinitionPropertyComponent case -993141291: /*property*/ return this.property == null ? new Base[0] : this.property.toArray(new Base[this.property.size()]); // AdministrableProductDefinitionPropertyComponent
case 1742084734: /*routeOfAdministration*/ return this.routeOfAdministration == null ? new Base[0] : this.routeOfAdministration.toArray(new Base[this.routeOfAdministration.size()]); // AdministrableProductDefinitionRouteOfAdministrationComponent case 1742084734: /*routeOfAdministration*/ return this.routeOfAdministration == null ? new Base[0] : this.routeOfAdministration.toArray(new Base[this.routeOfAdministration.size()]); // AdministrableProductDefinitionRouteOfAdministrationComponent
default: return super.getProperty(hash, name, checkValid); default: return super.getProperty(hash, name, checkValid);
@ -2013,6 +2112,9 @@ public class AdministrableProductDefinition extends DomainResource {
case -1335157162: // device case -1335157162: // device
this.device = TypeConvertor.castToReference(value); // Reference this.device = TypeConvertor.castToReference(value); // Reference
return value; return value;
case -1724546052: // description
this.description = TypeConvertor.castToMarkdown(value); // MarkdownType
return value;
case -993141291: // property case -993141291: // property
this.getProperty().add((AdministrableProductDefinitionPropertyComponent) value); // AdministrableProductDefinitionPropertyComponent this.getProperty().add((AdministrableProductDefinitionPropertyComponent) value); // AdministrableProductDefinitionPropertyComponent
return value; return value;
@ -2043,6 +2145,8 @@ public class AdministrableProductDefinition extends DomainResource {
this.getIngredient().add(TypeConvertor.castToCodeableConcept(value)); this.getIngredient().add(TypeConvertor.castToCodeableConcept(value));
} else if (name.equals("device")) { } else if (name.equals("device")) {
this.device = TypeConvertor.castToReference(value); // Reference this.device = TypeConvertor.castToReference(value); // Reference
} else if (name.equals("description")) {
this.description = TypeConvertor.castToMarkdown(value); // MarkdownType
} else if (name.equals("property")) { } else if (name.equals("property")) {
this.getProperty().add((AdministrableProductDefinitionPropertyComponent) value); this.getProperty().add((AdministrableProductDefinitionPropertyComponent) value);
} else if (name.equals("routeOfAdministration")) { } else if (name.equals("routeOfAdministration")) {
@ -2063,6 +2167,7 @@ public class AdministrableProductDefinition extends DomainResource {
case 588380494: return addProducedFrom(); case 588380494: return addProducedFrom();
case -206409263: return addIngredient(); case -206409263: return addIngredient();
case -1335157162: return getDevice(); case -1335157162: return getDevice();
case -1724546052: return getDescriptionElement();
case -993141291: return addProperty(); case -993141291: return addProperty();
case 1742084734: return addRouteOfAdministration(); case 1742084734: return addRouteOfAdministration();
default: return super.makeProperty(hash, name); default: return super.makeProperty(hash, name);
@ -2081,6 +2186,7 @@ public class AdministrableProductDefinition extends DomainResource {
case 588380494: /*producedFrom*/ return new String[] {"Reference"}; case 588380494: /*producedFrom*/ return new String[] {"Reference"};
case -206409263: /*ingredient*/ return new String[] {"CodeableConcept"}; case -206409263: /*ingredient*/ return new String[] {"CodeableConcept"};
case -1335157162: /*device*/ return new String[] {"Reference"}; case -1335157162: /*device*/ return new String[] {"Reference"};
case -1724546052: /*description*/ return new String[] {"markdown"};
case -993141291: /*property*/ return new String[] {}; case -993141291: /*property*/ return new String[] {};
case 1742084734: /*routeOfAdministration*/ return new String[] {}; case 1742084734: /*routeOfAdministration*/ return new String[] {};
default: return super.getTypesForProperty(hash, name); default: return super.getTypesForProperty(hash, name);
@ -2117,6 +2223,9 @@ public class AdministrableProductDefinition extends DomainResource {
this.device = new Reference(); this.device = new Reference();
return this.device; return this.device;
} }
else if (name.equals("description")) {
throw new FHIRException("Cannot call addChild on a primitive type AdministrableProductDefinition.description");
}
else if (name.equals("property")) { else if (name.equals("property")) {
return addProperty(); return addProperty();
} }
@ -2164,6 +2273,7 @@ public class AdministrableProductDefinition extends DomainResource {
dst.ingredient.add(i.copy()); dst.ingredient.add(i.copy());
}; };
dst.device = device == null ? null : device.copy(); dst.device = device == null ? null : device.copy();
dst.description = description == null ? null : description.copy();
if (property != null) { if (property != null) {
dst.property = new ArrayList<AdministrableProductDefinitionPropertyComponent>(); dst.property = new ArrayList<AdministrableProductDefinitionPropertyComponent>();
for (AdministrableProductDefinitionPropertyComponent i : property) for (AdministrableProductDefinitionPropertyComponent i : property)
@ -2190,8 +2300,8 @@ public class AdministrableProductDefinition extends DomainResource {
return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(formOf, o.formOf, true) return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(formOf, o.formOf, true)
&& compareDeep(administrableDoseForm, o.administrableDoseForm, true) && compareDeep(unitOfPresentation, o.unitOfPresentation, true) && compareDeep(administrableDoseForm, o.administrableDoseForm, true) && compareDeep(unitOfPresentation, o.unitOfPresentation, true)
&& compareDeep(producedFrom, o.producedFrom, true) && compareDeep(ingredient, o.ingredient, true) && compareDeep(producedFrom, o.producedFrom, true) && compareDeep(ingredient, o.ingredient, true)
&& compareDeep(device, o.device, true) && compareDeep(property, o.property, true) && compareDeep(routeOfAdministration, o.routeOfAdministration, true) && compareDeep(device, o.device, true) && compareDeep(description, o.description, true) && compareDeep(property, o.property, true)
; && compareDeep(routeOfAdministration, o.routeOfAdministration, true);
} }
@Override @Override
@ -2201,13 +2311,13 @@ public class AdministrableProductDefinition extends DomainResource {
if (!(other_ instanceof AdministrableProductDefinition)) if (!(other_ instanceof AdministrableProductDefinition))
return false; return false;
AdministrableProductDefinition o = (AdministrableProductDefinition) other_; AdministrableProductDefinition o = (AdministrableProductDefinition) other_;
return compareValues(status, o.status, true); return compareValues(status, o.status, true) && compareValues(description, o.description, true);
} }
public boolean isEmpty() { public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, formOf return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, formOf
, administrableDoseForm, unitOfPresentation, producedFrom, ingredient, device, property , administrableDoseForm, unitOfPresentation, producedFrom, ingredient, device, description
, routeOfAdministration); , property, routeOfAdministration);
} }
@Override @Override

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -598,42 +598,49 @@ public class ArtifactAssessment extends DomainResource {
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/certainty-rating") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/certainty-rating")
protected List<CodeableConcept> classifier; protected List<CodeableConcept> classifier;
/**
* A quantitative rating of the artifact.
*/
@Child(name = "quantity", type = {Quantity.class}, order=5, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Quantitative rating", formalDefinition="A quantitative rating of the artifact." )
protected Quantity quantity;
/** /**
* Indicates who or what authored the content. * Indicates who or what authored the content.
*/ */
@Child(name = "author", type = {Patient.class, Practitioner.class, PractitionerRole.class, Organization.class, Device.class}, order=5, min=0, max=1, modifier=false, summary=false) @Child(name = "author", type = {Patient.class, Practitioner.class, PractitionerRole.class, Organization.class, Device.class}, order=6, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Who authored the content", formalDefinition="Indicates who or what authored the content." ) @Description(shortDefinition="Who authored the content", formalDefinition="Indicates who or what authored the content." )
protected Reference author; protected Reference author;
/** /**
* A URI that points to what the comment is about, such as a line of text in the CQL, or a specific element in a resource. * A URI that points to what the comment is about, such as a line of text in the CQL, or a specific element in a resource.
*/ */
@Child(name = "path", type = {UriType.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "path", type = {UriType.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="What the comment is directed to", formalDefinition="A URI that points to what the comment is about, such as a line of text in the CQL, or a specific element in a resource." ) @Description(shortDefinition="What the comment is directed to", formalDefinition="A URI that points to what the comment is about, such as a line of text in the CQL, or a specific element in a resource." )
protected List<UriType> path; protected List<UriType> path;
/** /**
* Additional related artifacts that provide supporting documentation, additional evidence, or further information related to the content. * Additional related artifacts that provide supporting documentation, additional evidence, or further information related to the content.
*/ */
@Child(name = "relatedArtifact", type = {RelatedArtifact.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "relatedArtifact", type = {RelatedArtifact.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Additional information", formalDefinition="Additional related artifacts that provide supporting documentation, additional evidence, or further information related to the content." ) @Description(shortDefinition="Additional information", formalDefinition="Additional related artifacts that provide supporting documentation, additional evidence, or further information related to the content." )
protected List<RelatedArtifact> relatedArtifact; protected List<RelatedArtifact> relatedArtifact;
/** /**
* Acceptable to publicly share the comment, classifier or rating. * Acceptable to publicly share the comment, classifier or rating.
*/ */
@Child(name = "freeToShare", type = {BooleanType.class}, order=8, min=0, max=1, modifier=false, summary=false) @Child(name = "freeToShare", type = {BooleanType.class}, order=9, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Acceptable to publicly share the resource content", formalDefinition="Acceptable to publicly share the comment, classifier or rating." ) @Description(shortDefinition="Acceptable to publicly share the resource content", formalDefinition="Acceptable to publicly share the comment, classifier or rating." )
protected BooleanType freeToShare; protected BooleanType freeToShare;
/** /**
* If the informationType is container, the components of the content. * If the informationType is container, the components of the content.
*/ */
@Child(name = "component", type = {ArtifactAssessmentContentComponent.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "component", type = {ArtifactAssessmentContentComponent.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Contained content", formalDefinition="If the informationType is container, the components of the content." ) @Description(shortDefinition="Contained content", formalDefinition="If the informationType is container, the components of the content." )
protected List<ArtifactAssessmentContentComponent> component; protected List<ArtifactAssessmentContentComponent> component;
private static final long serialVersionUID = -1157330937L; private static final long serialVersionUID = -111630435L;
/** /**
* Constructor * Constructor
@ -730,7 +737,7 @@ public class ArtifactAssessment extends DomainResource {
* @param value A brief summary of the content of this component. * @param value A brief summary of the content of this component.
*/ */
public ArtifactAssessmentContentComponent setSummary(String value) { public ArtifactAssessmentContentComponent setSummary(String value) {
if (value == null) if (Utilities.noString(value))
this.summary = null; this.summary = null;
else { else {
if (this.summary == null) if (this.summary == null)
@ -817,6 +824,30 @@ public class ArtifactAssessment extends DomainResource {
return getClassifier().get(0); return getClassifier().get(0);
} }
/**
* @return {@link #quantity} (A quantitative rating of the artifact.)
*/
public Quantity getQuantity() {
if (this.quantity == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create ArtifactAssessmentContentComponent.quantity");
else if (Configuration.doAutoCreate())
this.quantity = new Quantity(); // cc
return this.quantity;
}
public boolean hasQuantity() {
return this.quantity != null && !this.quantity.isEmpty();
}
/**
* @param value {@link #quantity} (A quantitative rating of the artifact.)
*/
public ArtifactAssessmentContentComponent setQuantity(Quantity value) {
this.quantity = value;
return this;
}
/** /**
* @return {@link #author} (Indicates who or what authored the content.) * @return {@link #author} (Indicates who or what authored the content.)
*/ */
@ -1059,6 +1090,7 @@ public class ArtifactAssessment extends DomainResource {
children.add(new Property("summary", "markdown", "A brief summary of the content of this component.", 0, 1, summary)); children.add(new Property("summary", "markdown", "A brief summary of the content of this component.", 0, 1, summary));
children.add(new Property("type", "CodeableConcept", "Indicates what type of content this component represents.", 0, 1, type)); children.add(new Property("type", "CodeableConcept", "Indicates what type of content this component represents.", 0, 1, type));
children.add(new Property("classifier", "CodeableConcept", "Represents a rating, classifier, or assessment of the artifact.", 0, java.lang.Integer.MAX_VALUE, classifier)); children.add(new Property("classifier", "CodeableConcept", "Represents a rating, classifier, or assessment of the artifact.", 0, java.lang.Integer.MAX_VALUE, classifier));
children.add(new Property("quantity", "Quantity", "A quantitative rating of the artifact.", 0, 1, quantity));
children.add(new Property("author", "Reference(Patient|Practitioner|PractitionerRole|Organization|Device)", "Indicates who or what authored the content.", 0, 1, author)); children.add(new Property("author", "Reference(Patient|Practitioner|PractitionerRole|Organization|Device)", "Indicates who or what authored the content.", 0, 1, author));
children.add(new Property("path", "uri", "A URI that points to what the comment is about, such as a line of text in the CQL, or a specific element in a resource.", 0, java.lang.Integer.MAX_VALUE, path)); children.add(new Property("path", "uri", "A URI that points to what the comment is about, such as a line of text in the CQL, or a specific element in a resource.", 0, java.lang.Integer.MAX_VALUE, path));
children.add(new Property("relatedArtifact", "RelatedArtifact", "Additional related artifacts that provide supporting documentation, additional evidence, or further information related to the content.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact)); children.add(new Property("relatedArtifact", "RelatedArtifact", "Additional related artifacts that provide supporting documentation, additional evidence, or further information related to the content.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact));
@ -1073,6 +1105,7 @@ public class ArtifactAssessment extends DomainResource {
case -1857640538: /*summary*/ return new Property("summary", "markdown", "A brief summary of the content of this component.", 0, 1, summary); case -1857640538: /*summary*/ return new Property("summary", "markdown", "A brief summary of the content of this component.", 0, 1, summary);
case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Indicates what type of content this component represents.", 0, 1, type); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Indicates what type of content this component represents.", 0, 1, type);
case -281470431: /*classifier*/ return new Property("classifier", "CodeableConcept", "Represents a rating, classifier, or assessment of the artifact.", 0, java.lang.Integer.MAX_VALUE, classifier); case -281470431: /*classifier*/ return new Property("classifier", "CodeableConcept", "Represents a rating, classifier, or assessment of the artifact.", 0, java.lang.Integer.MAX_VALUE, classifier);
case -1285004149: /*quantity*/ return new Property("quantity", "Quantity", "A quantitative rating of the artifact.", 0, 1, quantity);
case -1406328437: /*author*/ return new Property("author", "Reference(Patient|Practitioner|PractitionerRole|Organization|Device)", "Indicates who or what authored the content.", 0, 1, author); case -1406328437: /*author*/ return new Property("author", "Reference(Patient|Practitioner|PractitionerRole|Organization|Device)", "Indicates who or what authored the content.", 0, 1, author);
case 3433509: /*path*/ return new Property("path", "uri", "A URI that points to what the comment is about, such as a line of text in the CQL, or a specific element in a resource.", 0, java.lang.Integer.MAX_VALUE, path); case 3433509: /*path*/ return new Property("path", "uri", "A URI that points to what the comment is about, such as a line of text in the CQL, or a specific element in a resource.", 0, java.lang.Integer.MAX_VALUE, path);
case 666807069: /*relatedArtifact*/ return new Property("relatedArtifact", "RelatedArtifact", "Additional related artifacts that provide supporting documentation, additional evidence, or further information related to the content.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact); case 666807069: /*relatedArtifact*/ return new Property("relatedArtifact", "RelatedArtifact", "Additional related artifacts that provide supporting documentation, additional evidence, or further information related to the content.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact);
@ -1090,6 +1123,7 @@ public class ArtifactAssessment extends DomainResource {
case -1857640538: /*summary*/ return this.summary == null ? new Base[0] : new Base[] {this.summary}; // MarkdownType case -1857640538: /*summary*/ return this.summary == null ? new Base[0] : new Base[] {this.summary}; // MarkdownType
case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept
case -281470431: /*classifier*/ return this.classifier == null ? new Base[0] : this.classifier.toArray(new Base[this.classifier.size()]); // CodeableConcept case -281470431: /*classifier*/ return this.classifier == null ? new Base[0] : this.classifier.toArray(new Base[this.classifier.size()]); // CodeableConcept
case -1285004149: /*quantity*/ return this.quantity == null ? new Base[0] : new Base[] {this.quantity}; // Quantity
case -1406328437: /*author*/ return this.author == null ? new Base[0] : new Base[] {this.author}; // Reference case -1406328437: /*author*/ return this.author == null ? new Base[0] : new Base[] {this.author}; // Reference
case 3433509: /*path*/ return this.path == null ? new Base[0] : this.path.toArray(new Base[this.path.size()]); // UriType case 3433509: /*path*/ return this.path == null ? new Base[0] : this.path.toArray(new Base[this.path.size()]); // UriType
case 666807069: /*relatedArtifact*/ return this.relatedArtifact == null ? new Base[0] : this.relatedArtifact.toArray(new Base[this.relatedArtifact.size()]); // RelatedArtifact case 666807069: /*relatedArtifact*/ return this.relatedArtifact == null ? new Base[0] : this.relatedArtifact.toArray(new Base[this.relatedArtifact.size()]); // RelatedArtifact
@ -1116,6 +1150,9 @@ public class ArtifactAssessment extends DomainResource {
case -281470431: // classifier case -281470431: // classifier
this.getClassifier().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept this.getClassifier().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept
return value; return value;
case -1285004149: // quantity
this.quantity = TypeConvertor.castToQuantity(value); // Quantity
return value;
case -1406328437: // author case -1406328437: // author
this.author = TypeConvertor.castToReference(value); // Reference this.author = TypeConvertor.castToReference(value); // Reference
return value; return value;
@ -1147,6 +1184,8 @@ public class ArtifactAssessment extends DomainResource {
this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
} else if (name.equals("classifier")) { } else if (name.equals("classifier")) {
this.getClassifier().add(TypeConvertor.castToCodeableConcept(value)); this.getClassifier().add(TypeConvertor.castToCodeableConcept(value));
} else if (name.equals("quantity")) {
this.quantity = TypeConvertor.castToQuantity(value); // Quantity
} else if (name.equals("author")) { } else if (name.equals("author")) {
this.author = TypeConvertor.castToReference(value); // Reference this.author = TypeConvertor.castToReference(value); // Reference
} else if (name.equals("path")) { } else if (name.equals("path")) {
@ -1169,6 +1208,7 @@ public class ArtifactAssessment extends DomainResource {
case -1857640538: return getSummaryElement(); case -1857640538: return getSummaryElement();
case 3575610: return getType(); case 3575610: return getType();
case -281470431: return addClassifier(); case -281470431: return addClassifier();
case -1285004149: return getQuantity();
case -1406328437: return getAuthor(); case -1406328437: return getAuthor();
case 3433509: return addPathElement(); case 3433509: return addPathElement();
case 666807069: return addRelatedArtifact(); case 666807069: return addRelatedArtifact();
@ -1186,6 +1226,7 @@ public class ArtifactAssessment extends DomainResource {
case -1857640538: /*summary*/ return new String[] {"markdown"}; case -1857640538: /*summary*/ return new String[] {"markdown"};
case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case 3575610: /*type*/ return new String[] {"CodeableConcept"};
case -281470431: /*classifier*/ return new String[] {"CodeableConcept"}; case -281470431: /*classifier*/ return new String[] {"CodeableConcept"};
case -1285004149: /*quantity*/ return new String[] {"Quantity"};
case -1406328437: /*author*/ return new String[] {"Reference"}; case -1406328437: /*author*/ return new String[] {"Reference"};
case 3433509: /*path*/ return new String[] {"uri"}; case 3433509: /*path*/ return new String[] {"uri"};
case 666807069: /*relatedArtifact*/ return new String[] {"RelatedArtifact"}; case 666807069: /*relatedArtifact*/ return new String[] {"RelatedArtifact"};
@ -1211,6 +1252,10 @@ public class ArtifactAssessment extends DomainResource {
else if (name.equals("classifier")) { else if (name.equals("classifier")) {
return addClassifier(); return addClassifier();
} }
else if (name.equals("quantity")) {
this.quantity = new Quantity();
return this.quantity;
}
else if (name.equals("author")) { else if (name.equals("author")) {
this.author = new Reference(); this.author = new Reference();
return this.author; return this.author;
@ -1247,6 +1292,7 @@ public class ArtifactAssessment extends DomainResource {
for (CodeableConcept i : classifier) for (CodeableConcept i : classifier)
dst.classifier.add(i.copy()); dst.classifier.add(i.copy());
}; };
dst.quantity = quantity == null ? null : quantity.copy();
dst.author = author == null ? null : author.copy(); dst.author = author == null ? null : author.copy();
if (path != null) { if (path != null) {
dst.path = new ArrayList<UriType>(); dst.path = new ArrayList<UriType>();
@ -1274,9 +1320,9 @@ public class ArtifactAssessment extends DomainResource {
return false; return false;
ArtifactAssessmentContentComponent o = (ArtifactAssessmentContentComponent) other_; ArtifactAssessmentContentComponent o = (ArtifactAssessmentContentComponent) other_;
return compareDeep(informationType, o.informationType, true) && compareDeep(summary, o.summary, true) return compareDeep(informationType, o.informationType, true) && compareDeep(summary, o.summary, true)
&& compareDeep(type, o.type, true) && compareDeep(classifier, o.classifier, true) && compareDeep(author, o.author, true) && compareDeep(type, o.type, true) && compareDeep(classifier, o.classifier, true) && compareDeep(quantity, o.quantity, true)
&& compareDeep(path, o.path, true) && compareDeep(relatedArtifact, o.relatedArtifact, true) && compareDeep(freeToShare, o.freeToShare, true) && compareDeep(author, o.author, true) && compareDeep(path, o.path, true) && compareDeep(relatedArtifact, o.relatedArtifact, true)
&& compareDeep(component, o.component, true); && compareDeep(freeToShare, o.freeToShare, true) && compareDeep(component, o.component, true);
} }
@Override @Override
@ -1292,7 +1338,8 @@ public class ArtifactAssessment extends DomainResource {
public boolean isEmpty() { public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(informationType, summary, type return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(informationType, summary, type
, classifier, author, path, relatedArtifact, freeToShare, component); , classifier, quantity, author, path, relatedArtifact, freeToShare, component
);
} }
public String fhirType() { public String fhirType() {
@ -1309,59 +1356,66 @@ public class ArtifactAssessment extends DomainResource {
@Description(shortDefinition="Additional identifier for the artifact assessment", formalDefinition="A formal identifier that is used to identify this artifact assessment when it is represented in other formats, or referenced in a specification, model, design or an instance." ) @Description(shortDefinition="Additional identifier for the artifact assessment", formalDefinition="A formal identifier that is used to identify this artifact assessment when it is represented in other formats, or referenced in a specification, model, design or an instance." )
protected List<Identifier> identifier; protected List<Identifier> identifier;
/**
* A short title for the assessment for use in displaying and selecting.
*/
@Child(name = "title", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="A short title for the assessment for use in displaying and selecting", formalDefinition="A short title for the assessment for use in displaying and selecting." )
protected StringType title;
/** /**
* Display of or reference to the bibliographic citation of the comment, classifier, or rating. * Display of or reference to the bibliographic citation of the comment, classifier, or rating.
*/ */
@Child(name = "citeAs", type = {Citation.class, MarkdownType.class}, order=1, min=0, max=1, modifier=false, summary=false) @Child(name = "citeAs", type = {Citation.class, MarkdownType.class}, order=2, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="How to cite the comment or rating", formalDefinition="Display of or reference to the bibliographic citation of the comment, classifier, or rating." ) @Description(shortDefinition="How to cite the comment or rating", formalDefinition="Display of or reference to the bibliographic citation of the comment, classifier, or rating." )
protected DataType citeAs; protected DataType citeAs;
/** /**
* The date (and optionally time) when the artifact assessment was published. The date must change when the disposition changes and it must change if the workflow status code changes. In addition, it should change when the substantive content of the artifact assessment changes. * The date (and optionally time) when the artifact assessment was published. The date must change when the disposition changes and it must change if the workflow status code changes. In addition, it should change when the substantive content of the artifact assessment changes.
*/ */
@Child(name = "date", type = {DateTimeType.class}, order=2, min=0, max=1, modifier=false, summary=true) @Child(name = "date", type = {DateTimeType.class}, order=3, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the artifact assessment was published. The date must change when the disposition changes and it must change if the workflow status code changes. In addition, it should change when the substantive content of the artifact assessment changes." ) @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the artifact assessment was published. The date must change when the disposition changes and it must change if the workflow status code changes. In addition, it should change when the substantive content of the artifact assessment changes." )
protected DateTimeType date; protected DateTimeType date;
/** /**
* A copyright statement relating to the artifact assessment and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the artifact assessment. * A copyright statement relating to the artifact assessment and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the artifact assessment.
*/ */
@Child(name = "copyright", type = {MarkdownType.class}, order=3, min=0, max=1, modifier=false, summary=false) @Child(name = "copyright", type = {MarkdownType.class}, order=4, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Use and/or publishing restrictions", formalDefinition="A copyright statement relating to the artifact assessment and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the artifact assessment." ) @Description(shortDefinition="Use and/or publishing restrictions", formalDefinition="A copyright statement relating to the artifact assessment and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the artifact assessment." )
protected MarkdownType copyright; protected MarkdownType copyright;
/** /**
* The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. * The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.
*/ */
@Child(name = "approvalDate", type = {DateType.class}, order=4, min=0, max=1, modifier=false, summary=false) @Child(name = "approvalDate", type = {DateType.class}, order=5, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="When the artifact assessment was approved by publisher", formalDefinition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." ) @Description(shortDefinition="When the artifact assessment was approved by publisher", formalDefinition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." )
protected DateType approvalDate; protected DateType approvalDate;
/** /**
* The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. * The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.
*/ */
@Child(name = "lastReviewDate", type = {DateType.class}, order=5, min=0, max=1, modifier=false, summary=true) @Child(name = "lastReviewDate", type = {DateType.class}, order=6, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="When the artifact assessment was last reviewed", formalDefinition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." ) @Description(shortDefinition="When the artifact assessment was last reviewed by the publisher", formalDefinition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." )
protected DateType lastReviewDate; protected DateType lastReviewDate;
/** /**
* A reference to a resource, canonical resource, or non-FHIR resource which the comment or assessment is about. * A reference to a resource, canonical resource, or non-FHIR resource which the comment or assessment is about.
*/ */
@Child(name = "artifact", type = {Reference.class, CanonicalType.class, UriType.class}, order=6, min=1, max=1, modifier=false, summary=true) @Child(name = "artifact", type = {Reference.class, CanonicalType.class, UriType.class}, order=7, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="The artifact assessed, commented upon or rated", formalDefinition="A reference to a resource, canonical resource, or non-FHIR resource which the comment or assessment is about." ) @Description(shortDefinition="The artifact assessed, commented upon or rated", formalDefinition="A reference to a resource, canonical resource, or non-FHIR resource which the comment or assessment is about." )
protected DataType artifact; protected DataType artifact;
/** /**
* A component comment, classifier, or rating of the artifact. * A component comment, classifier, or rating of the artifact.
*/ */
@Child(name = "content", type = {}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "content", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Comment, classifier, or rating content", formalDefinition="A component comment, classifier, or rating of the artifact." ) @Description(shortDefinition="Comment, classifier, or rating content", formalDefinition="A component comment, classifier, or rating of the artifact." )
protected List<ArtifactAssessmentContentComponent> content; protected List<ArtifactAssessmentContentComponent> content;
/** /**
* Indicates the workflow status of the comment or change request. * Indicates the workflow status of the comment or change request.
*/ */
@Child(name = "workflowStatus", type = {CodeType.class}, order=8, min=0, max=1, modifier=false, summary=true) @Child(name = "workflowStatus", type = {CodeType.class}, order=9, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="submitted | triaged | waiting-for-input | resolved-no-change | resolved-change-required | deferred | duplicate | applied | published", formalDefinition="Indicates the workflow status of the comment or change request." ) @Description(shortDefinition="submitted | triaged | waiting-for-input | resolved-no-change | resolved-change-required | deferred | duplicate | applied | published", formalDefinition="Indicates the workflow status of the comment or change request." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/artifactassessment-workflow-status") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/artifactassessment-workflow-status")
protected Enumeration<ArtifactAssessmentWorkflowStatus> workflowStatus; protected Enumeration<ArtifactAssessmentWorkflowStatus> workflowStatus;
@ -1369,12 +1423,12 @@ public class ArtifactAssessment extends DomainResource {
/** /**
* Indicates the disposition of the responsible party to the comment or change request. * Indicates the disposition of the responsible party to the comment or change request.
*/ */
@Child(name = "disposition", type = {CodeType.class}, order=9, min=0, max=1, modifier=false, summary=true) @Child(name = "disposition", type = {CodeType.class}, order=10, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="unresolved | not-persuasive | persuasive | persuasive-with-modification | not-persuasive-with-modification", formalDefinition="Indicates the disposition of the responsible party to the comment or change request." ) @Description(shortDefinition="unresolved | not-persuasive | persuasive | persuasive-with-modification | not-persuasive-with-modification", formalDefinition="Indicates the disposition of the responsible party to the comment or change request." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/artifactassessment-disposition") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/artifactassessment-disposition")
protected Enumeration<ArtifactAssessmentDisposition> disposition; protected Enumeration<ArtifactAssessmentDisposition> disposition;
private static final long serialVersionUID = -2002325424L; private static final long serialVersionUID = 525457507L;
/** /**
* Constructor * Constructor
@ -1444,6 +1498,55 @@ public class ArtifactAssessment extends DomainResource {
return getIdentifier().get(0); return getIdentifier().get(0);
} }
/**
* @return {@link #title} (A short title for the assessment for use in displaying and selecting.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
*/
public StringType getTitleElement() {
if (this.title == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create ArtifactAssessment.title");
else if (Configuration.doAutoCreate())
this.title = new StringType(); // bb
return this.title;
}
public boolean hasTitleElement() {
return this.title != null && !this.title.isEmpty();
}
public boolean hasTitle() {
return this.title != null && !this.title.isEmpty();
}
/**
* @param value {@link #title} (A short title for the assessment for use in displaying and selecting.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
*/
public ArtifactAssessment setTitleElement(StringType value) {
this.title = value;
return this;
}
/**
* @return A short title for the assessment for use in displaying and selecting.
*/
public String getTitle() {
return this.title == null ? null : this.title.getValue();
}
/**
* @param value A short title for the assessment for use in displaying and selecting.
*/
public ArtifactAssessment setTitle(String value) {
if (Utilities.noString(value))
this.title = null;
else {
if (this.title == null)
this.title = new StringType();
this.title.setValue(value);
}
return this;
}
/** /**
* @return {@link #citeAs} (Display of or reference to the bibliographic citation of the comment, classifier, or rating.) * @return {@link #citeAs} (Display of or reference to the bibliographic citation of the comment, classifier, or rating.)
*/ */
@ -1583,7 +1686,7 @@ public class ArtifactAssessment extends DomainResource {
* @param value A copyright statement relating to the artifact assessment and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the artifact assessment. * @param value A copyright statement relating to the artifact assessment and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the artifact assessment.
*/ */
public ArtifactAssessment setCopyright(String value) { public ArtifactAssessment setCopyright(String value) {
if (value == null) if (Utilities.noString(value))
this.copyright = null; this.copyright = null;
else { else {
if (this.copyright == null) if (this.copyright == null)
@ -1911,6 +2014,7 @@ public class ArtifactAssessment extends DomainResource {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("identifier", "Identifier", "A formal identifier that is used to identify this artifact assessment when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("identifier", "Identifier", "A formal identifier that is used to identify this artifact assessment when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier));
children.add(new Property("title", "string", "A short title for the assessment for use in displaying and selecting.", 0, 1, title));
children.add(new Property("citeAs[x]", "Reference(Citation)|markdown", "Display of or reference to the bibliographic citation of the comment, classifier, or rating.", 0, 1, citeAs)); children.add(new Property("citeAs[x]", "Reference(Citation)|markdown", "Display of or reference to the bibliographic citation of the comment, classifier, or rating.", 0, 1, citeAs));
children.add(new Property("date", "dateTime", "The date (and optionally time) when the artifact assessment was published. The date must change when the disposition changes and it must change if the workflow status code changes. In addition, it should change when the substantive content of the artifact assessment changes.", 0, 1, date)); children.add(new Property("date", "dateTime", "The date (and optionally time) when the artifact assessment was published. The date must change when the disposition changes and it must change if the workflow status code changes. In addition, it should change when the substantive content of the artifact assessment changes.", 0, 1, date));
children.add(new Property("copyright", "markdown", "A copyright statement relating to the artifact assessment and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the artifact assessment.", 0, 1, copyright)); children.add(new Property("copyright", "markdown", "A copyright statement relating to the artifact assessment and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the artifact assessment.", 0, 1, copyright));
@ -1926,6 +2030,7 @@ public class ArtifactAssessment extends DomainResource {
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A formal identifier that is used to identify this artifact assessment when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier); case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A formal identifier that is used to identify this artifact assessment when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier);
case 110371416: /*title*/ return new Property("title", "string", "A short title for the assessment for use in displaying and selecting.", 0, 1, title);
case -1706539017: /*citeAs[x]*/ return new Property("citeAs[x]", "Reference(Citation)|markdown", "Display of or reference to the bibliographic citation of the comment, classifier, or rating.", 0, 1, citeAs); case -1706539017: /*citeAs[x]*/ return new Property("citeAs[x]", "Reference(Citation)|markdown", "Display of or reference to the bibliographic citation of the comment, classifier, or rating.", 0, 1, citeAs);
case -1360156695: /*citeAs*/ return new Property("citeAs[x]", "Reference(Citation)|markdown", "Display of or reference to the bibliographic citation of the comment, classifier, or rating.", 0, 1, citeAs); case -1360156695: /*citeAs*/ return new Property("citeAs[x]", "Reference(Citation)|markdown", "Display of or reference to the bibliographic citation of the comment, classifier, or rating.", 0, 1, citeAs);
case 1269009762: /*citeAsReference*/ return new Property("citeAs[x]", "Reference(Citation)", "Display of or reference to the bibliographic citation of the comment, classifier, or rating.", 0, 1, citeAs); case 1269009762: /*citeAsReference*/ return new Property("citeAs[x]", "Reference(Citation)", "Display of or reference to the bibliographic citation of the comment, classifier, or rating.", 0, 1, citeAs);
@ -1951,6 +2056,7 @@ public class ArtifactAssessment extends DomainResource {
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
switch (hash) { switch (hash) {
case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier
case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType
case -1360156695: /*citeAs*/ return this.citeAs == null ? new Base[0] : new Base[] {this.citeAs}; // DataType case -1360156695: /*citeAs*/ return this.citeAs == null ? new Base[0] : new Base[] {this.citeAs}; // DataType
case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType
case 1522889671: /*copyright*/ return this.copyright == null ? new Base[0] : new Base[] {this.copyright}; // MarkdownType case 1522889671: /*copyright*/ return this.copyright == null ? new Base[0] : new Base[] {this.copyright}; // MarkdownType
@ -1971,6 +2077,9 @@ public class ArtifactAssessment extends DomainResource {
case -1618432855: // identifier case -1618432855: // identifier
this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier
return value; return value;
case 110371416: // title
this.title = TypeConvertor.castToString(value); // StringType
return value;
case -1360156695: // citeAs case -1360156695: // citeAs
this.citeAs = TypeConvertor.castToType(value); // DataType this.citeAs = TypeConvertor.castToType(value); // DataType
return value; return value;
@ -2009,6 +2118,8 @@ public class ArtifactAssessment extends DomainResource {
public Base setProperty(String name, Base value) throws FHIRException { public Base setProperty(String name, Base value) throws FHIRException {
if (name.equals("identifier")) { if (name.equals("identifier")) {
this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); this.getIdentifier().add(TypeConvertor.castToIdentifier(value));
} else if (name.equals("title")) {
this.title = TypeConvertor.castToString(value); // StringType
} else if (name.equals("citeAs[x]")) { } else if (name.equals("citeAs[x]")) {
this.citeAs = TypeConvertor.castToType(value); // DataType this.citeAs = TypeConvertor.castToType(value); // DataType
} else if (name.equals("date")) { } else if (name.equals("date")) {
@ -2038,6 +2149,7 @@ public class ArtifactAssessment extends DomainResource {
public Base makeProperty(int hash, String name) throws FHIRException { public Base makeProperty(int hash, String name) throws FHIRException {
switch (hash) { switch (hash) {
case -1618432855: return addIdentifier(); case -1618432855: return addIdentifier();
case 110371416: return getTitleElement();
case -1706539017: return getCiteAs(); case -1706539017: return getCiteAs();
case -1360156695: return getCiteAs(); case -1360156695: return getCiteAs();
case 3076014: return getDateElement(); case 3076014: return getDateElement();
@ -2058,6 +2170,7 @@ public class ArtifactAssessment extends DomainResource {
public String[] getTypesForProperty(int hash, String name) throws FHIRException { public String[] getTypesForProperty(int hash, String name) throws FHIRException {
switch (hash) { switch (hash) {
case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case -1618432855: /*identifier*/ return new String[] {"Identifier"};
case 110371416: /*title*/ return new String[] {"string"};
case -1360156695: /*citeAs*/ return new String[] {"Reference", "markdown"}; case -1360156695: /*citeAs*/ return new String[] {"Reference", "markdown"};
case 3076014: /*date*/ return new String[] {"dateTime"}; case 3076014: /*date*/ return new String[] {"dateTime"};
case 1522889671: /*copyright*/ return new String[] {"markdown"}; case 1522889671: /*copyright*/ return new String[] {"markdown"};
@ -2077,6 +2190,9 @@ public class ArtifactAssessment extends DomainResource {
if (name.equals("identifier")) { if (name.equals("identifier")) {
return addIdentifier(); return addIdentifier();
} }
else if (name.equals("title")) {
throw new FHIRException("Cannot call addChild on a primitive type ArtifactAssessment.title");
}
else if (name.equals("citeAsReference")) { else if (name.equals("citeAsReference")) {
this.citeAs = new Reference(); this.citeAs = new Reference();
return this.citeAs; return this.citeAs;
@ -2140,6 +2256,7 @@ public class ArtifactAssessment extends DomainResource {
for (Identifier i : identifier) for (Identifier i : identifier)
dst.identifier.add(i.copy()); dst.identifier.add(i.copy());
}; };
dst.title = title == null ? null : title.copy();
dst.citeAs = citeAs == null ? null : citeAs.copy(); dst.citeAs = citeAs == null ? null : citeAs.copy();
dst.date = date == null ? null : date.copy(); dst.date = date == null ? null : date.copy();
dst.copyright = copyright == null ? null : copyright.copy(); dst.copyright = copyright == null ? null : copyright.copy();
@ -2166,8 +2283,8 @@ public class ArtifactAssessment extends DomainResource {
if (!(other_ instanceof ArtifactAssessment)) if (!(other_ instanceof ArtifactAssessment))
return false; return false;
ArtifactAssessment o = (ArtifactAssessment) other_; ArtifactAssessment o = (ArtifactAssessment) other_;
return compareDeep(identifier, o.identifier, true) && compareDeep(citeAs, o.citeAs, true) && compareDeep(date, o.date, true) return compareDeep(identifier, o.identifier, true) && compareDeep(title, o.title, true) && compareDeep(citeAs, o.citeAs, true)
&& compareDeep(copyright, o.copyright, true) && compareDeep(approvalDate, o.approvalDate, true) && compareDeep(date, o.date, true) && compareDeep(copyright, o.copyright, true) && compareDeep(approvalDate, o.approvalDate, true)
&& compareDeep(lastReviewDate, o.lastReviewDate, true) && compareDeep(artifact, o.artifact, true) && compareDeep(lastReviewDate, o.lastReviewDate, true) && compareDeep(artifact, o.artifact, true)
&& compareDeep(content, o.content, true) && compareDeep(workflowStatus, o.workflowStatus, true) && compareDeep(content, o.content, true) && compareDeep(workflowStatus, o.workflowStatus, true)
&& compareDeep(disposition, o.disposition, true); && compareDeep(disposition, o.disposition, true);
@ -2180,15 +2297,16 @@ public class ArtifactAssessment extends DomainResource {
if (!(other_ instanceof ArtifactAssessment)) if (!(other_ instanceof ArtifactAssessment))
return false; return false;
ArtifactAssessment o = (ArtifactAssessment) other_; ArtifactAssessment o = (ArtifactAssessment) other_;
return compareValues(date, o.date, true) && compareValues(copyright, o.copyright, true) && compareValues(approvalDate, o.approvalDate, true) return compareValues(title, o.title, true) && compareValues(date, o.date, true) && compareValues(copyright, o.copyright, true)
&& compareValues(lastReviewDate, o.lastReviewDate, true) && compareValues(workflowStatus, o.workflowStatus, true) && compareValues(approvalDate, o.approvalDate, true) && compareValues(lastReviewDate, o.lastReviewDate, true)
&& compareValues(disposition, o.disposition, true); && compareValues(workflowStatus, o.workflowStatus, true) && compareValues(disposition, o.disposition, true)
;
} }
public boolean isEmpty() { public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, citeAs, date return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, title, citeAs
, copyright, approvalDate, lastReviewDate, artifact, content, workflowStatus, disposition , date, copyright, approvalDate, lastReviewDate, artifact, content, workflowStatus
); , disposition);
} }
@Override @Override
@ -2218,3 +2336,4 @@ public class ArtifactAssessment extends DomainResource {
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -65,7 +65,7 @@ public class Attachment extends DataType implements ICompositeType {
*/ */
@Child(name = "language", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=true) @Child(name = "language", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Human language of the content (BCP-47)", formalDefinition="The human language of the content. The value can be any valid value according to BCP 47." ) @Description(shortDefinition="Human language of the content (BCP-47)", formalDefinition="The human language of the content. The value can be any valid value according to BCP 47." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/languages") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/all-languages")
protected CodeType language; protected CodeType language;
/** /**

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -52,12 +52,12 @@ import ca.uhn.fhir.model.api.annotation.Block;
public abstract class BackboneElement extends Element implements IBaseBackboneElement { public abstract class BackboneElement extends Element implements IBaseBackboneElement {
/** /**
* May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. * May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
*/ */
@Child(name = "modifierExtension", type = {Extension.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=true, summary=true) @Child(name = "modifierExtension", type = {Extension.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=true, summary=true)
@Description(shortDefinition="Extensions that cannot be ignored even if unrecognized", formalDefinition="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ) @Description(shortDefinition="Extensions that cannot be ignored even if unrecognized", formalDefinition="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." )
protected List<Extension> modifierExtension; protected List<Extension> modifierExtension;
private static final long serialVersionUID = -1431673179L; private static final long serialVersionUID = -1431673179L;
@ -70,7 +70,7 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
} }
/** /**
* @return {@link #modifierExtension} (May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. * @return {@link #modifierExtension} (May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).) Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).)
*/ */
@ -126,13 +126,13 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension)); children.add(new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension));
} }
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case -298878168: /*modifierExtension*/ return new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension); case -298878168: /*modifierExtension*/ return new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -52,12 +52,12 @@ import ca.uhn.fhir.model.api.annotation.Block;
public abstract class BackboneType extends DataType implements IBaseBackboneElement { public abstract class BackboneType extends DataType implements IBaseBackboneElement {
/** /**
* May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. * May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
*/ */
@Child(name = "modifierExtension", type = {Extension.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=true, summary=true) @Child(name = "modifierExtension", type = {Extension.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=true, summary=true)
@Description(shortDefinition="Extensions that cannot be ignored even if unrecognized", formalDefinition="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ) @Description(shortDefinition="Extensions that cannot be ignored even if unrecognized", formalDefinition="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." )
protected List<Extension> modifierExtension; protected List<Extension> modifierExtension;
private static final long serialVersionUID = -1431673179L; private static final long serialVersionUID = -1431673179L;
@ -70,7 +70,7 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
} }
/** /**
* @return {@link #modifierExtension} (May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. * @return {@link #modifierExtension} (May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).) Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).)
*/ */
@ -126,13 +126,13 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension)); children.add(new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension));
} }
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case -298878168: /*modifierExtension*/ return new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension); case -298878168: /*modifierExtension*/ return new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
} }

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -66,7 +66,7 @@ public class BiologicallyDerivedProduct extends DomainResource {
* The patient or entity, such as a hospital or vendor in the case of a processed/manipulated/manufactured product, providing the product. * The patient or entity, such as a hospital or vendor in the case of a processed/manipulated/manufactured product, providing the product.
*/ */
@Child(name = "source", type = {Patient.class, Organization.class}, order=2, min=0, max=1, modifier=false, summary=false) @Child(name = "source", type = {Patient.class, Organization.class}, order=2, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="The patient or entity providing the product", formalDefinition="The patient or entity, such as a hospital or vendor in the case of a processed/manipulated/manufactured product, providing the product." ) @Description(shortDefinition="The patient who underwent the medical procedure to collect the product or the organization that facilitated the collection", formalDefinition="The patient or entity, such as a hospital or vendor in the case of a processed/manipulated/manufactured product, providing the product." )
protected Reference source; protected Reference source;
/** /**
@ -342,10 +342,10 @@ public class BiologicallyDerivedProduct extends DomainResource {
/** /**
* Code that specifies the property. It should reference an established coding system. * Code that specifies the property. It should reference an established coding system.
*/ */
@Child(name = "type", type = {Coding.class}, order=1, min=1, max=1, modifier=false, summary=false) @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="Code that specifies the property", formalDefinition="Code that specifies the property. It should reference an established coding system." ) @Description(shortDefinition="Code that specifies the property", formalDefinition="Code that specifies the property. It should reference an established coding system." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/biologicallyderived-product-property-type-codes") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/biologicallyderived-product-property-type-codes")
protected Coding type; protected CodeableConcept type;
/** /**
* Property values. * Property values.
@ -354,7 +354,7 @@ public class BiologicallyDerivedProduct extends DomainResource {
@Description(shortDefinition="Property values", formalDefinition="Property values." ) @Description(shortDefinition="Property values", formalDefinition="Property values." )
protected DataType value; protected DataType value;
private static final long serialVersionUID = -1544667497L; private static final long serialVersionUID = -1659186716L;
/** /**
* Constructor * Constructor
@ -366,7 +366,7 @@ public class BiologicallyDerivedProduct extends DomainResource {
/** /**
* Constructor * Constructor
*/ */
public BiologicallyDerivedProductPropertyComponent(Coding type, DataType value) { public BiologicallyDerivedProductPropertyComponent(CodeableConcept type, DataType value) {
super(); super();
this.setType(type); this.setType(type);
this.setValue(value); this.setValue(value);
@ -375,12 +375,12 @@ public class BiologicallyDerivedProduct extends DomainResource {
/** /**
* @return {@link #type} (Code that specifies the property. It should reference an established coding system.) * @return {@link #type} (Code that specifies the property. It should reference an established coding system.)
*/ */
public Coding getType() { public CodeableConcept getType() {
if (this.type == null) if (this.type == null)
if (Configuration.errorOnAutoCreate()) if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create BiologicallyDerivedProductPropertyComponent.type"); throw new Error("Attempt to auto-create BiologicallyDerivedProductPropertyComponent.type");
else if (Configuration.doAutoCreate()) else if (Configuration.doAutoCreate())
this.type = new Coding(); // cc this.type = new CodeableConcept(); // cc
return this.type; return this.type;
} }
@ -391,7 +391,7 @@ public class BiologicallyDerivedProduct extends DomainResource {
/** /**
* @param value {@link #type} (Code that specifies the property. It should reference an established coding system.) * @param value {@link #type} (Code that specifies the property. It should reference an established coding system.)
*/ */
public BiologicallyDerivedProductPropertyComponent setType(Coding value) { public BiologicallyDerivedProductPropertyComponent setType(CodeableConcept value) {
this.type = value; this.type = value;
return this; return this;
} }
@ -554,14 +554,14 @@ public class BiologicallyDerivedProduct extends DomainResource {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("type", "Coding", "Code that specifies the property. It should reference an established coding system.", 0, 1, type)); children.add(new Property("type", "CodeableConcept", "Code that specifies the property. It should reference an established coding system.", 0, 1, type));
children.add(new Property("value[x]", "boolean|integer|CodeableConcept|Period|Quantity|Range|Ratio|string|Attachment", "Property values.", 0, 1, value)); children.add(new Property("value[x]", "boolean|integer|CodeableConcept|Period|Quantity|Range|Ratio|string|Attachment", "Property values.", 0, 1, value));
} }
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case 3575610: /*type*/ return new Property("type", "Coding", "Code that specifies the property. It should reference an established coding system.", 0, 1, type); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Code that specifies the property. It should reference an established coding system.", 0, 1, type);
case -1410166417: /*value[x]*/ return new Property("value[x]", "boolean|integer|CodeableConcept|Period|Quantity|Range|Ratio|string|Attachment", "Property values.", 0, 1, value); case -1410166417: /*value[x]*/ return new Property("value[x]", "boolean|integer|CodeableConcept|Period|Quantity|Range|Ratio|string|Attachment", "Property values.", 0, 1, value);
case 111972721: /*value*/ return new Property("value[x]", "boolean|integer|CodeableConcept|Period|Quantity|Range|Ratio|string|Attachment", "Property values.", 0, 1, value); case 111972721: /*value*/ return new Property("value[x]", "boolean|integer|CodeableConcept|Period|Quantity|Range|Ratio|string|Attachment", "Property values.", 0, 1, value);
case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "Property values.", 0, 1, value); case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "Property values.", 0, 1, value);
@ -581,7 +581,7 @@ public class BiologicallyDerivedProduct extends DomainResource {
@Override @Override
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
switch (hash) { switch (hash) {
case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Coding case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept
case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType
default: return super.getProperty(hash, name, checkValid); default: return super.getProperty(hash, name, checkValid);
} }
@ -592,7 +592,7 @@ public class BiologicallyDerivedProduct extends DomainResource {
public Base setProperty(int hash, String name, Base value) throws FHIRException { public Base setProperty(int hash, String name, Base value) throws FHIRException {
switch (hash) { switch (hash) {
case 3575610: // type case 3575610: // type
this.type = TypeConvertor.castToCoding(value); // Coding this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
return value; return value;
case 111972721: // value case 111972721: // value
this.value = TypeConvertor.castToType(value); // DataType this.value = TypeConvertor.castToType(value); // DataType
@ -605,7 +605,7 @@ public class BiologicallyDerivedProduct extends DomainResource {
@Override @Override
public Base setProperty(String name, Base value) throws FHIRException { public Base setProperty(String name, Base value) throws FHIRException {
if (name.equals("type")) { if (name.equals("type")) {
this.type = TypeConvertor.castToCoding(value); // Coding this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
} else if (name.equals("value[x]")) { } else if (name.equals("value[x]")) {
this.value = TypeConvertor.castToType(value); // DataType this.value = TypeConvertor.castToType(value); // DataType
} else } else
@ -627,7 +627,7 @@ public class BiologicallyDerivedProduct extends DomainResource {
@Override @Override
public String[] getTypesForProperty(int hash, String name) throws FHIRException { public String[] getTypesForProperty(int hash, String name) throws FHIRException {
switch (hash) { switch (hash) {
case 3575610: /*type*/ return new String[] {"Coding"}; case 3575610: /*type*/ return new String[] {"CodeableConcept"};
case 111972721: /*value*/ return new String[] {"boolean", "integer", "CodeableConcept", "Period", "Quantity", "Range", "Ratio", "string", "Attachment"}; case 111972721: /*value*/ return new String[] {"boolean", "integer", "CodeableConcept", "Period", "Quantity", "Range", "Ratio", "string", "Attachment"};
default: return super.getTypesForProperty(hash, name); default: return super.getTypesForProperty(hash, name);
} }
@ -637,7 +637,7 @@ public class BiologicallyDerivedProduct extends DomainResource {
@Override @Override
public Base addChild(String name) throws FHIRException { public Base addChild(String name) throws FHIRException {
if (name.equals("type")) { if (name.equals("type")) {
this.type = new Coding(); this.type = new CodeableConcept();
return this.type; return this.type;
} }
else if (name.equals("valueBoolean")) { else if (name.equals("valueBoolean")) {
@ -1675,6 +1675,26 @@ public class BiologicallyDerivedProduct extends DomainResource {
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam BIOLOGICAL_SOURCE_EVENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BIOLOGICAL_SOURCE_EVENT); public static final ca.uhn.fhir.rest.gclient.TokenClientParam BIOLOGICAL_SOURCE_EVENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BIOLOGICAL_SOURCE_EVENT);
/**
* Search parameter: <b>code</b>
* <p>
* Description: <b>A code that identifies the kind of this biologically derived product (SNOMED CT code).</b><br>
* Type: <b>token</b><br>
* Path: <b>BiologicallyDerivedProduct.productCode</b><br>
* </p>
*/
@SearchParamDefinition(name="code", path="BiologicallyDerivedProduct.productCode", description="A code that identifies the kind of this biologically derived product (SNOMED CT code).", type="token" )
public static final String SP_CODE = "code";
/**
* <b>Fluent Client</b> search parameter constant for <b>code</b>
* <p>
* Description: <b>A code that identifies the kind of this biologically derived product (SNOMED CT code).</b><br>
* Type: <b>token</b><br>
* Path: <b>BiologicallyDerivedProduct.productCode</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE);
/** /**
* Search parameter: <b>collector</b> * Search parameter: <b>collector</b>
* <p> * <p>
@ -1741,26 +1761,6 @@ public class BiologicallyDerivedProduct extends DomainResource {
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRODUCT_CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRODUCT_CATEGORY); public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRODUCT_CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRODUCT_CATEGORY);
/**
* Search parameter: <b>product-code</b>
* <p>
* Description: <b>A code that identifies the kind of this biologically derived product (SNOMED CT code).</b><br>
* Type: <b>token</b><br>
* Path: <b>BiologicallyDerivedProduct.productCode</b><br>
* </p>
*/
@SearchParamDefinition(name="product-code", path="BiologicallyDerivedProduct.productCode", description="A code that identifies the kind of this biologically derived product (SNOMED CT code).", type="token" )
public static final String SP_PRODUCT_CODE = "product-code";
/**
* <b>Fluent Client</b> search parameter constant for <b>product-code</b>
* <p>
* Description: <b>A code that identifies the kind of this biologically derived product (SNOMED CT code).</b><br>
* Type: <b>token</b><br>
* Path: <b>BiologicallyDerivedProduct.productCode</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRODUCT_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRODUCT_CODE);
/** /**
* Search parameter: <b>product-status</b> * Search parameter: <b>product-status</b>
* <p> * <p>
@ -1807,6 +1807,26 @@ public class BiologicallyDerivedProduct extends DomainResource {
*/ */
public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST = new ca.uhn.fhir.model.api.Include("BiologicallyDerivedProduct:request").toLocked(); public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST = new ca.uhn.fhir.model.api.Include("BiologicallyDerivedProduct:request").toLocked();
/**
* Search parameter: <b>serial-number</b>
* <p>
* Description: <b>Identifier</b><br>
* Type: <b>token</b><br>
* Path: <b>BiologicallyDerivedProduct.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="serial-number", path="BiologicallyDerivedProduct.identifier", description="Identifier", type="token" )
public static final String SP_SERIAL_NUMBER = "serial-number";
/**
* <b>Fluent Client</b> search parameter constant for <b>serial-number</b>
* <p>
* Description: <b>Identifier</b><br>
* Type: <b>token</b><br>
* Path: <b>BiologicallyDerivedProduct.identifier</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERIAL_NUMBER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERIAL_NUMBER);
} }

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -4564,10 +4564,10 @@ public class Bundle extends Resource implements IBaseBundle {
protected UnsignedIntType total; protected UnsignedIntType total;
/** /**
* A series of links that provide context to this bundle. * A series of links that provide context to this bundle. The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.
*/ */
@Child(name = "link", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Child(name = "link", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Links related to this Bundle", formalDefinition="A series of links that provide context to this bundle." ) @Description(shortDefinition="Links related to this Bundle", formalDefinition="A series of links that provide context to this bundle. The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners." )
protected List<BundleLinkComponent> link; protected List<BundleLinkComponent> link;
/** /**
@ -4772,7 +4772,7 @@ public class Bundle extends Resource implements IBaseBundle {
} }
/** /**
* @return {@link #link} (A series of links that provide context to this bundle.) * @return {@link #link} (A series of links that provide context to this bundle. The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.)
*/ */
public List<BundleLinkComponent> getLink() { public List<BundleLinkComponent> getLink() {
if (this.link == null) if (this.link == null)
@ -4926,7 +4926,7 @@ public class Bundle extends Resource implements IBaseBundle {
children.add(new Property("type", "code", "Indicates the purpose of this bundle - how it is intended to be used.", 0, 1, type)); children.add(new Property("type", "code", "Indicates the purpose of this bundle - how it is intended to be used.", 0, 1, type));
children.add(new Property("timestamp", "instant", "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", 0, 1, timestamp)); children.add(new Property("timestamp", "instant", "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", 0, 1, timestamp));
children.add(new Property("total", "unsignedInt", "If a set of search matches, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", 0, 1, total)); children.add(new Property("total", "unsignedInt", "If a set of search matches, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", 0, 1, total));
children.add(new Property("link", "", "A series of links that provide context to this bundle.", 0, java.lang.Integer.MAX_VALUE, link)); children.add(new Property("link", "", "A series of links that provide context to this bundle. The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.", 0, java.lang.Integer.MAX_VALUE, link));
children.add(new Property("entry", "", "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", 0, java.lang.Integer.MAX_VALUE, entry)); children.add(new Property("entry", "", "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", 0, java.lang.Integer.MAX_VALUE, entry));
children.add(new Property("signature", "Signature", "Digital Signature - base64 encoded. XML-DSig or a JWS.", 0, 1, signature)); children.add(new Property("signature", "Signature", "Digital Signature - base64 encoded. XML-DSig or a JWS.", 0, 1, signature));
children.add(new Property("issues", "Resource", "Captures issues and warnings that relate to the construction of the Bundle and the content within it.", 0, 1, issues)); children.add(new Property("issues", "Resource", "Captures issues and warnings that relate to the construction of the Bundle and the content within it.", 0, 1, issues));
@ -4939,7 +4939,7 @@ public class Bundle extends Resource implements IBaseBundle {
case 3575610: /*type*/ return new Property("type", "code", "Indicates the purpose of this bundle - how it is intended to be used.", 0, 1, type); case 3575610: /*type*/ return new Property("type", "code", "Indicates the purpose of this bundle - how it is intended to be used.", 0, 1, type);
case 55126294: /*timestamp*/ return new Property("timestamp", "instant", "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", 0, 1, timestamp); case 55126294: /*timestamp*/ return new Property("timestamp", "instant", "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", 0, 1, timestamp);
case 110549828: /*total*/ return new Property("total", "unsignedInt", "If a set of search matches, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", 0, 1, total); case 110549828: /*total*/ return new Property("total", "unsignedInt", "If a set of search matches, this is the (potentially estimated) total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", 0, 1, total);
case 3321850: /*link*/ return new Property("link", "", "A series of links that provide context to this bundle.", 0, java.lang.Integer.MAX_VALUE, link); case 3321850: /*link*/ return new Property("link", "", "A series of links that provide context to this bundle. The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.", 0, java.lang.Integer.MAX_VALUE, link);
case 96667762: /*entry*/ return new Property("entry", "", "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", 0, java.lang.Integer.MAX_VALUE, entry); case 96667762: /*entry*/ return new Property("entry", "", "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", 0, java.lang.Integer.MAX_VALUE, entry);
case 1073584312: /*signature*/ return new Property("signature", "Signature", "Digital Signature - base64 encoded. XML-DSig or a JWS.", 0, 1, signature); case 1073584312: /*signature*/ return new Property("signature", "Signature", "Digital Signature - base64 encoded. XML-DSig or a JWS.", 0, 1, signature);
case -1179159878: /*issues*/ return new Property("issues", "Resource", "Captures issues and warnings that relate to the construction of the Bundle and the content within it.", 0, 1, issues); case -1179159878: /*issues*/ return new Property("issues", "Resource", "Captures issues and warnings that relate to the construction of the Bundle and the content within it.", 0, 1, issues);
@ -5161,7 +5161,7 @@ public class Bundle extends Resource implements IBaseBundle {
* Path: <b>Bundle.entry[0].resource as Composition</b><br> * Path: <b>Bundle.entry[0].resource as Composition</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="composition", path="Bundle.entry[0].resource as Composition", description="The first resource in the bundle, if the bundle type is \"document\" - this is a composition, and this parameter provides access to search its contents", type="reference" ) @SearchParamDefinition(name="composition", path="Bundle.entry[0].resource as Composition", description="The first resource in the bundle, if the bundle type is \"document\" - this is a composition, and this parameter provides access to search its contents", type="reference", target={Composition.class } )
public static final String SP_COMPOSITION = "composition"; public static final String SP_COMPOSITION = "composition";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>composition</b> * <b>Fluent Client</b> search parameter constant for <b>composition</b>
@ -5207,7 +5207,7 @@ public class Bundle extends Resource implements IBaseBundle {
* Path: <b>Bundle.entry[0].resource as MessageHeader</b><br> * Path: <b>Bundle.entry[0].resource as MessageHeader</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="message", path="Bundle.entry[0].resource as MessageHeader", description="The first resource in the bundle, if the bundle type is \"message\" - this is a message header, and this parameter provides access to search its contents", type="reference" ) @SearchParamDefinition(name="message", path="Bundle.entry[0].resource as MessageHeader", description="The first resource in the bundle, if the bundle type is \"message\" - this is a message header, and this parameter provides access to search its contents", type="reference", target={MessageHeader.class } )
public static final String SP_MESSAGE = "message"; public static final String SP_MESSAGE = "message";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>message</b> * <b>Fluent Client</b> search parameter constant for <b>message</b>
@ -5342,3 +5342,4 @@ public class Bundle extends Resource implements IBaseBundle {
// end addition // end addition
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -124,7 +124,7 @@ public abstract class CanonicalResource extends DomainResource {
return 1; return 1;
} }
/** /**
* @return {@link #version} (The identifier that is used to identify this version of the canonical resource when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the canonical resource author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value * @return {@link #version} (The identifier that is used to identify this version of the canonical resource when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the canonical resource author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence without additional knowledge. (See the versionAlgorithm element.)). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
*/ */
public abstract StringType getVersionElement(); public abstract StringType getVersionElement();
@ -132,15 +132,15 @@ public abstract class CanonicalResource extends DomainResource {
public abstract boolean hasVersion(); public abstract boolean hasVersion();
/** /**
* @param value {@link #version} (The identifier that is used to identify this version of the canonical resource when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the canonical resource author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value * @param value {@link #version} (The identifier that is used to identify this version of the canonical resource when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the canonical resource author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence without additional knowledge. (See the versionAlgorithm element.)). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
*/ */
public abstract CanonicalResource setVersionElement(StringType value); public abstract CanonicalResource setVersionElement(StringType value);
/** /**
* @return The identifier that is used to identify this version of the canonical resource when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the canonical resource author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. * @return The identifier that is used to identify this version of the canonical resource when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the canonical resource author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence without additional knowledge. (See the versionAlgorithm element.)
*/ */
public abstract String getVersion(); public abstract String getVersion();
/** /**
* @param value The identifier that is used to identify this version of the canonical resource when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the canonical resource author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. * @param value The identifier that is used to identify this version of the canonical resource when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the canonical resource author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence without additional knowledge. (See the versionAlgorithm element.)
*/ */
public abstract CanonicalResource setVersion(String value); public abstract CanonicalResource setVersion(String value);
/** /**
@ -176,7 +176,7 @@ public abstract class CanonicalResource extends DomainResource {
return 1; return 1;
} }
/** /**
* @return {@link #name} (A natural language name identifying the canonical resource. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value * @return {@link #name} (A natural language name identifying the canonical resource. This name should be usable as an identifier for the resource by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
*/ */
public abstract StringType getNameElement(); public abstract StringType getNameElement();
@ -184,15 +184,15 @@ public abstract class CanonicalResource extends DomainResource {
public abstract boolean hasName(); public abstract boolean hasName();
/** /**
* @param value {@link #name} (A natural language name identifying the canonical resource. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value * @param value {@link #name} (A natural language name identifying the canonical resource. This name should be usable as an identifier for the resource by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
*/ */
public abstract CanonicalResource setNameElement(StringType value); public abstract CanonicalResource setNameElement(StringType value);
/** /**
* @return A natural language name identifying the canonical resource. This name should be usable as an identifier for the module by machine processing applications such as code generation. * @return A natural language name identifying the canonical resource. This name should be usable as an identifier for the resource by machine processing applications such as code generation.
*/ */
public abstract String getName(); public abstract String getName();
/** /**
* @param value A natural language name identifying the canonical resource. This name should be usable as an identifier for the module by machine processing applications such as code generation. * @param value A natural language name identifying the canonical resource. This name should be usable as an identifier for the resource by machine processing applications such as code generation.
*/ */
public abstract CanonicalResource setName(String value); public abstract CanonicalResource setName(String value);
/** /**
@ -228,7 +228,7 @@ public abstract class CanonicalResource extends DomainResource {
return 1; return 1;
} }
/** /**
* @return {@link #status} (The status of this canonical resource. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value * @return {@link #status} (The current state of this canonical resource. ). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/ */
public abstract Enumeration<PublicationStatus> getStatusElement(); public abstract Enumeration<PublicationStatus> getStatusElement();
@ -236,15 +236,15 @@ public abstract class CanonicalResource extends DomainResource {
public abstract boolean hasStatus(); public abstract boolean hasStatus();
/** /**
* @param value {@link #status} (The status of this canonical resource. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value * @param value {@link #status} (The current state of this canonical resource. ). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/ */
public abstract CanonicalResource setStatusElement(Enumeration<PublicationStatus> value); public abstract CanonicalResource setStatusElement(Enumeration<PublicationStatus> value);
/** /**
* @return The status of this canonical resource. Enables tracking the life-cycle of the content. * @return The current state of this canonical resource.
*/ */
public abstract PublicationStatus getStatus(); public abstract PublicationStatus getStatus();
/** /**
* @param value The status of this canonical resource. Enables tracking the life-cycle of the content. * @param value The current state of this canonical resource.
*/ */
public abstract CanonicalResource setStatus(PublicationStatus value); public abstract CanonicalResource setStatus(PublicationStatus value);
/** /**
@ -254,7 +254,7 @@ public abstract class CanonicalResource extends DomainResource {
return 1; return 1;
} }
/** /**
* @return {@link #experimental} (A Boolean value to indicate that this canonical resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value * @return {@link #experimental} (A Boolean value to indicate that this canonical resource is authored for testing purposes (or education/evaluation/marketing) and is not intended for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
*/ */
public abstract BooleanType getExperimentalElement(); public abstract BooleanType getExperimentalElement();
@ -262,15 +262,15 @@ public abstract class CanonicalResource extends DomainResource {
public abstract boolean hasExperimental(); public abstract boolean hasExperimental();
/** /**
* @param value {@link #experimental} (A Boolean value to indicate that this canonical resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value * @param value {@link #experimental} (A Boolean value to indicate that this canonical resource is authored for testing purposes (or education/evaluation/marketing) and is not intended for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
*/ */
public abstract CanonicalResource setExperimentalElement(BooleanType value); public abstract CanonicalResource setExperimentalElement(BooleanType value);
/** /**
* @return A Boolean value to indicate that this canonical resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. * @return A Boolean value to indicate that this canonical resource is authored for testing purposes (or education/evaluation/marketing) and is not intended for genuine usage.
*/ */
public abstract boolean getExperimental(); public abstract boolean getExperimental();
/** /**
* @param value A Boolean value to indicate that this canonical resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. * @param value A Boolean value to indicate that this canonical resource is authored for testing purposes (or education/evaluation/marketing) and is not intended for genuine usage.
*/ */
public abstract CanonicalResource setExperimental(boolean value); public abstract CanonicalResource setExperimental(boolean value);
/** /**
@ -380,7 +380,7 @@ public abstract class CanonicalResource extends DomainResource {
return Integer.MAX_VALUE; return Integer.MAX_VALUE;
} }
/** /**
* @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate canonical resource instances.) * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate canonical resources.)
*/ */
public abstract List<UsageContext> getUseContext(); public abstract List<UsageContext> getUseContext();
/** /**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -696,10 +696,10 @@ public class ClinicalUseDefinition extends DomainResource {
protected CodeableConcept relationshipType; protected CodeableConcept relationshipType;
/** /**
* Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication. * Reference to a specific medication (active substance, medicinal product or class of products, biological, food etc.) as part of an indication or contraindication.
*/ */
@Child(name = "treatment", type = {CodeableReference.class}, order=2, min=1, max=1, modifier=false, summary=true) @Child(name = "treatment", type = {CodeableReference.class}, order=2, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Reference to a specific medication as part of an indication or contraindication", formalDefinition="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication." ) @Description(shortDefinition="Reference to a specific medication, substance etc. as part of an indication or contraindication", formalDefinition="Reference to a specific medication (active substance, medicinal product or class of products, biological, food etc.) as part of an indication or contraindication." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/therapy") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/therapy")
protected CodeableReference treatment; protected CodeableReference treatment;
@ -746,7 +746,7 @@ public class ClinicalUseDefinition extends DomainResource {
} }
/** /**
* @return {@link #treatment} (Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.) * @return {@link #treatment} (Reference to a specific medication (active substance, medicinal product or class of products, biological, food etc.) as part of an indication or contraindication.)
*/ */
public CodeableReference getTreatment() { public CodeableReference getTreatment() {
if (this.treatment == null) if (this.treatment == null)
@ -762,7 +762,7 @@ public class ClinicalUseDefinition extends DomainResource {
} }
/** /**
* @param value {@link #treatment} (Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.) * @param value {@link #treatment} (Reference to a specific medication (active substance, medicinal product or class of products, biological, food etc.) as part of an indication or contraindication.)
*/ */
public ClinicalUseDefinitionContraindicationOtherTherapyComponent setTreatment(CodeableReference value) { public ClinicalUseDefinitionContraindicationOtherTherapyComponent setTreatment(CodeableReference value) {
this.treatment = value; this.treatment = value;
@ -772,14 +772,14 @@ public class ClinicalUseDefinition extends DomainResource {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("relationshipType", "CodeableConcept", "The type of relationship between the medicinal product indication or contraindication and another therapy.", 0, 1, relationshipType)); children.add(new Property("relationshipType", "CodeableConcept", "The type of relationship between the medicinal product indication or contraindication and another therapy.", 0, 1, relationshipType));
children.add(new Property("treatment", "CodeableReference(MedicinalProductDefinition|Medication|Substance|SubstanceDefinition|ActivityDefinition)", "Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.", 0, 1, treatment)); children.add(new Property("treatment", "CodeableReference(MedicinalProductDefinition|Medication|Substance|SubstanceDefinition|NutritionProduct|BiologicallyDerivedProduct|ActivityDefinition)", "Reference to a specific medication (active substance, medicinal product or class of products, biological, food etc.) as part of an indication or contraindication.", 0, 1, treatment));
} }
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case -1602839150: /*relationshipType*/ return new Property("relationshipType", "CodeableConcept", "The type of relationship between the medicinal product indication or contraindication and another therapy.", 0, 1, relationshipType); case -1602839150: /*relationshipType*/ return new Property("relationshipType", "CodeableConcept", "The type of relationship between the medicinal product indication or contraindication and another therapy.", 0, 1, relationshipType);
case -63342472: /*treatment*/ return new Property("treatment", "CodeableReference(MedicinalProductDefinition|Medication|Substance|SubstanceDefinition|ActivityDefinition)", "Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.", 0, 1, treatment); case -63342472: /*treatment*/ return new Property("treatment", "CodeableReference(MedicinalProductDefinition|Medication|Substance|SubstanceDefinition|NutritionProduct|BiologicallyDerivedProduct|ActivityDefinition)", "Reference to a specific medication (active substance, medicinal product or class of products, biological, food etc.) as part of an indication or contraindication.", 0, 1, treatment);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
} }
@ -1520,10 +1520,10 @@ public class ClinicalUseDefinition extends DomainResource {
@Block() @Block()
public static class ClinicalUseDefinitionInteractionComponent extends BackboneElement implements IBaseBackboneElement { public static class ClinicalUseDefinitionInteractionComponent extends BackboneElement implements IBaseBackboneElement {
/** /**
* The specific medication, food, substance or laboratory test that interacts. * The specific medication, product, food, substance etc. or laboratory test that interacts.
*/ */
@Child(name = "interactant", type = {}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Child(name = "interactant", type = {}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The specific medication, food, substance or laboratory test that interacts", formalDefinition="The specific medication, food, substance or laboratory test that interacts." ) @Description(shortDefinition="The specific medication, product, food etc. or laboratory test that interacts", formalDefinition="The specific medication, product, food, substance etc. or laboratory test that interacts." )
protected List<ClinicalUseDefinitionInteractionInteractantComponent> interactant; protected List<ClinicalUseDefinitionInteractionInteractantComponent> interactant;
/** /**
@ -1568,7 +1568,7 @@ public class ClinicalUseDefinition extends DomainResource {
} }
/** /**
* @return {@link #interactant} (The specific medication, food, substance or laboratory test that interacts.) * @return {@link #interactant} (The specific medication, product, food, substance etc. or laboratory test that interacts.)
*/ */
public List<ClinicalUseDefinitionInteractionInteractantComponent> getInteractant() { public List<ClinicalUseDefinitionInteractionInteractantComponent> getInteractant() {
if (this.interactant == null) if (this.interactant == null)
@ -1747,7 +1747,7 @@ public class ClinicalUseDefinition extends DomainResource {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("interactant", "", "The specific medication, food, substance or laboratory test that interacts.", 0, java.lang.Integer.MAX_VALUE, interactant)); children.add(new Property("interactant", "", "The specific medication, product, food, substance etc. or laboratory test that interacts.", 0, java.lang.Integer.MAX_VALUE, interactant));
children.add(new Property("type", "CodeableConcept", "The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.", 0, 1, type)); children.add(new Property("type", "CodeableConcept", "The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.", 0, 1, type));
children.add(new Property("effect", "CodeableReference(ObservationDefinition)", "The effect of the interaction, for example \"reduced gastric absorption of primary medication\".", 0, 1, effect)); children.add(new Property("effect", "CodeableReference(ObservationDefinition)", "The effect of the interaction, for example \"reduced gastric absorption of primary medication\".", 0, 1, effect));
children.add(new Property("incidence", "CodeableConcept", "The incidence of the interaction, e.g. theoretical, observed.", 0, 1, incidence)); children.add(new Property("incidence", "CodeableConcept", "The incidence of the interaction, e.g. theoretical, observed.", 0, 1, incidence));
@ -1757,7 +1757,7 @@ public class ClinicalUseDefinition extends DomainResource {
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case 1844097009: /*interactant*/ return new Property("interactant", "", "The specific medication, food, substance or laboratory test that interacts.", 0, java.lang.Integer.MAX_VALUE, interactant); case 1844097009: /*interactant*/ return new Property("interactant", "", "The specific medication, product, food, substance etc. or laboratory test that interacts.", 0, java.lang.Integer.MAX_VALUE, interactant);
case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.", 0, 1, type); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.", 0, 1, type);
case -1306084975: /*effect*/ return new Property("effect", "CodeableReference(ObservationDefinition)", "The effect of the interaction, for example \"reduced gastric absorption of primary medication\".", 0, 1, effect); case -1306084975: /*effect*/ return new Property("effect", "CodeableReference(ObservationDefinition)", "The effect of the interaction, for example \"reduced gastric absorption of primary medication\".", 0, 1, effect);
case -1598467132: /*incidence*/ return new Property("incidence", "CodeableConcept", "The incidence of the interaction, e.g. theoretical, observed.", 0, 1, incidence); case -1598467132: /*incidence*/ return new Property("incidence", "CodeableConcept", "The incidence of the interaction, e.g. theoretical, observed.", 0, 1, incidence);
@ -1929,10 +1929,10 @@ public class ClinicalUseDefinition extends DomainResource {
@Block() @Block()
public static class ClinicalUseDefinitionInteractionInteractantComponent extends BackboneElement implements IBaseBackboneElement { public static class ClinicalUseDefinitionInteractionInteractantComponent extends BackboneElement implements IBaseBackboneElement {
/** /**
* The specific medication, food or laboratory test that interacts. * The specific medication, product, food, substance etc. or laboratory test that interacts.
*/ */
@Child(name = "item", type = {MedicinalProductDefinition.class, Medication.class, Substance.class, ObservationDefinition.class, CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Child(name = "item", type = {MedicinalProductDefinition.class, Medication.class, Substance.class, NutritionProduct.class, BiologicallyDerivedProduct.class, ObservationDefinition.class, CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="The specific medication, food or laboratory test that interacts", formalDefinition="The specific medication, food or laboratory test that interacts." ) @Description(shortDefinition="The specific medication, product, food etc. or laboratory test that interacts", formalDefinition="The specific medication, product, food, substance etc. or laboratory test that interacts." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/interactant") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/interactant")
protected DataType item; protected DataType item;
@ -1954,14 +1954,14 @@ public class ClinicalUseDefinition extends DomainResource {
} }
/** /**
* @return {@link #item} (The specific medication, food or laboratory test that interacts.) * @return {@link #item} (The specific medication, product, food, substance etc. or laboratory test that interacts.)
*/ */
public DataType getItem() { public DataType getItem() {
return this.item; return this.item;
} }
/** /**
* @return {@link #item} (The specific medication, food or laboratory test that interacts.) * @return {@link #item} (The specific medication, product, food, substance etc. or laboratory test that interacts.)
*/ */
public Reference getItemReference() throws FHIRException { public Reference getItemReference() throws FHIRException {
if (this.item == null) if (this.item == null)
@ -1976,7 +1976,7 @@ public class ClinicalUseDefinition extends DomainResource {
} }
/** /**
* @return {@link #item} (The specific medication, food or laboratory test that interacts.) * @return {@link #item} (The specific medication, product, food, substance etc. or laboratory test that interacts.)
*/ */
public CodeableConcept getItemCodeableConcept() throws FHIRException { public CodeableConcept getItemCodeableConcept() throws FHIRException {
if (this.item == null) if (this.item == null)
@ -1995,7 +1995,7 @@ public class ClinicalUseDefinition extends DomainResource {
} }
/** /**
* @param value {@link #item} (The specific medication, food or laboratory test that interacts.) * @param value {@link #item} (The specific medication, product, food, substance etc. or laboratory test that interacts.)
*/ */
public ClinicalUseDefinitionInteractionInteractantComponent setItem(DataType value) { public ClinicalUseDefinitionInteractionInteractantComponent setItem(DataType value) {
if (value != null && !(value instanceof Reference || value instanceof CodeableConcept)) if (value != null && !(value instanceof Reference || value instanceof CodeableConcept))
@ -2006,16 +2006,16 @@ public class ClinicalUseDefinition extends DomainResource {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|ObservationDefinition)|CodeableConcept", "The specific medication, food or laboratory test that interacts.", 0, 1, item)); children.add(new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|NutritionProduct|BiologicallyDerivedProduct|ObservationDefinition)|CodeableConcept", "The specific medication, product, food, substance etc. or laboratory test that interacts.", 0, 1, item));
} }
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case 2116201613: /*item[x]*/ return new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|ObservationDefinition)|CodeableConcept", "The specific medication, food or laboratory test that interacts.", 0, 1, item); case 2116201613: /*item[x]*/ return new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|NutritionProduct|BiologicallyDerivedProduct|ObservationDefinition)|CodeableConcept", "The specific medication, product, food, substance etc. or laboratory test that interacts.", 0, 1, item);
case 3242771: /*item*/ return new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|ObservationDefinition)|CodeableConcept", "The specific medication, food or laboratory test that interacts.", 0, 1, item); case 3242771: /*item*/ return new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|NutritionProduct|BiologicallyDerivedProduct|ObservationDefinition)|CodeableConcept", "The specific medication, product, food, substance etc. or laboratory test that interacts.", 0, 1, item);
case 1376364920: /*itemReference*/ return new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|ObservationDefinition)", "The specific medication, food or laboratory test that interacts.", 0, 1, item); case 1376364920: /*itemReference*/ return new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|NutritionProduct|BiologicallyDerivedProduct|ObservationDefinition)", "The specific medication, product, food, substance etc. or laboratory test that interacts.", 0, 1, item);
case 106644494: /*itemCodeableConcept*/ return new Property("item[x]", "CodeableConcept", "The specific medication, food or laboratory test that interacts.", 0, 1, item); case 106644494: /*itemCodeableConcept*/ return new Property("item[x]", "CodeableConcept", "The specific medication, product, food, substance etc. or laboratory test that interacts.", 0, 1, item);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
} }
@ -2442,7 +2442,7 @@ public class ClinicalUseDefinition extends DomainResource {
* @param value A textual definition of this warning, with formatting. * @param value A textual definition of this warning, with formatting.
*/ */
public ClinicalUseDefinitionWarningComponent setDescription(String value) { public ClinicalUseDefinitionWarningComponent setDescription(String value) {
if (value == null) if (Utilities.noString(value))
this.description = null; this.description = null;
else { else {
if (this.description == null) if (this.description == null)
@ -2627,10 +2627,10 @@ public class ClinicalUseDefinition extends DomainResource {
protected List<CodeableConcept> category; protected List<CodeableConcept> category;
/** /**
* The medication or procedure for which this is an indication. * The medication, product, substance, device, procedure etc. for which this is an indication.
*/ */
@Child(name = "subject", type = {MedicinalProductDefinition.class, Medication.class, ActivityDefinition.class, PlanDefinition.class, Device.class, DeviceDefinition.class, Substance.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Child(name = "subject", type = {MedicinalProductDefinition.class, Medication.class, ActivityDefinition.class, PlanDefinition.class, Device.class, DeviceDefinition.class, Substance.class, NutritionProduct.class, BiologicallyDerivedProduct.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The medication or procedure for which this is an indication", formalDefinition="The medication or procedure for which this is an indication." ) @Description(shortDefinition="The medication, product, substance, device, procedure etc. for which this is an indication", formalDefinition="The medication, product, substance, device, procedure etc. for which this is an indication." )
protected List<Reference> subject; protected List<Reference> subject;
/** /**
@ -2859,7 +2859,7 @@ public class ClinicalUseDefinition extends DomainResource {
} }
/** /**
* @return {@link #subject} (The medication or procedure for which this is an indication.) * @return {@link #subject} (The medication, product, substance, device, procedure etc. for which this is an indication.)
*/ */
public List<Reference> getSubject() { public List<Reference> getSubject() {
if (this.subject == null) if (this.subject == null)
@ -3174,7 +3174,7 @@ public class ClinicalUseDefinition extends DomainResource {
children.add(new Property("identifier", "Identifier", "Business identifier for this issue.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("identifier", "Identifier", "Business identifier for this issue.", 0, java.lang.Integer.MAX_VALUE, identifier));
children.add(new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | warning.", 0, 1, type)); children.add(new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | warning.", 0, 1, type));
children.add(new Property("category", "CodeableConcept", "A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\".", 0, java.lang.Integer.MAX_VALUE, category)); children.add(new Property("category", "CodeableConcept", "A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\".", 0, java.lang.Integer.MAX_VALUE, category));
children.add(new Property("subject", "Reference(MedicinalProductDefinition|Medication|ActivityDefinition|PlanDefinition|Device|DeviceDefinition|Substance)", "The medication or procedure for which this is an indication.", 0, java.lang.Integer.MAX_VALUE, subject)); children.add(new Property("subject", "Reference(MedicinalProductDefinition|Medication|ActivityDefinition|PlanDefinition|Device|DeviceDefinition|Substance|NutritionProduct|BiologicallyDerivedProduct)", "The medication, product, substance, device, procedure etc. for which this is an indication.", 0, java.lang.Integer.MAX_VALUE, subject));
children.add(new Property("status", "CodeableConcept", "Whether this is a current issue or one that has been retired etc.", 0, 1, status)); children.add(new Property("status", "CodeableConcept", "Whether this is a current issue or one that has been retired etc.", 0, 1, status));
children.add(new Property("contraindication", "", "Specifics for when this is a contraindication.", 0, 1, contraindication)); children.add(new Property("contraindication", "", "Specifics for when this is a contraindication.", 0, 1, contraindication));
children.add(new Property("indication", "", "Specifics for when this is an indication.", 0, 1, indication)); children.add(new Property("indication", "", "Specifics for when this is an indication.", 0, 1, indication));
@ -3191,7 +3191,7 @@ public class ClinicalUseDefinition extends DomainResource {
case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifier for this issue.", 0, java.lang.Integer.MAX_VALUE, identifier); case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifier for this issue.", 0, java.lang.Integer.MAX_VALUE, identifier);
case 3575610: /*type*/ return new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | warning.", 0, 1, type); case 3575610: /*type*/ return new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | warning.", 0, 1, type);
case 50511102: /*category*/ return new Property("category", "CodeableConcept", "A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\".", 0, java.lang.Integer.MAX_VALUE, category); case 50511102: /*category*/ return new Property("category", "CodeableConcept", "A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\".", 0, java.lang.Integer.MAX_VALUE, category);
case -1867885268: /*subject*/ return new Property("subject", "Reference(MedicinalProductDefinition|Medication|ActivityDefinition|PlanDefinition|Device|DeviceDefinition|Substance)", "The medication or procedure for which this is an indication.", 0, java.lang.Integer.MAX_VALUE, subject); case -1867885268: /*subject*/ return new Property("subject", "Reference(MedicinalProductDefinition|Medication|ActivityDefinition|PlanDefinition|Device|DeviceDefinition|Substance|NutritionProduct|BiologicallyDerivedProduct)", "The medication, product, substance, device, procedure etc. for which this is an indication.", 0, java.lang.Integer.MAX_VALUE, subject);
case -892481550: /*status*/ return new Property("status", "CodeableConcept", "Whether this is a current issue or one that has been retired etc.", 0, 1, status); case -892481550: /*status*/ return new Property("status", "CodeableConcept", "Whether this is a current issue or one that has been retired etc.", 0, 1, status);
case 107135229: /*contraindication*/ return new Property("contraindication", "", "Specifics for when this is a contraindication.", 0, 1, contraindication); case 107135229: /*contraindication*/ return new Property("contraindication", "", "Specifics for when this is a contraindication.", 0, 1, contraindication);
case -597168804: /*indication*/ return new Property("indication", "", "Specifics for when this is an indication.", 0, 1, indication); case -597168804: /*indication*/ return new Property("indication", "", "Specifics for when this is an indication.", 0, 1, indication);
@ -3481,17 +3481,17 @@ public class ClinicalUseDefinition extends DomainResource {
* <p> * <p>
* Description: <b>The situation that is being documented as contraindicating against this item, as a reference</b><br> * Description: <b>The situation that is being documented as contraindicating against this item, as a reference</b><br>
* Type: <b>reference</b><br> * Type: <b>reference</b><br>
* Path: <b>ClinicalUseDefinition.contraindication.diseaseSymptomProcedure</b><br> * Path: <b>ClinicalUseDefinition.contraindication.diseaseSymptomProcedure.reference</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="contraindication-reference", path="ClinicalUseDefinition.contraindication.diseaseSymptomProcedure", description="The situation that is being documented as contraindicating against this item, as a reference", type="reference" ) @SearchParamDefinition(name="contraindication-reference", path="ClinicalUseDefinition.contraindication.diseaseSymptomProcedure.reference", description="The situation that is being documented as contraindicating against this item, as a reference", type="reference", target={ObservationDefinition.class } )
public static final String SP_CONTRAINDICATION_REFERENCE = "contraindication-reference"; public static final String SP_CONTRAINDICATION_REFERENCE = "contraindication-reference";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>contraindication-reference</b> * <b>Fluent Client</b> search parameter constant for <b>contraindication-reference</b>
* <p> * <p>
* Description: <b>The situation that is being documented as contraindicating against this item, as a reference</b><br> * Description: <b>The situation that is being documented as contraindicating against this item, as a reference</b><br>
* Type: <b>reference</b><br> * Type: <b>reference</b><br>
* Path: <b>ClinicalUseDefinition.contraindication.diseaseSymptomProcedure</b><br> * Path: <b>ClinicalUseDefinition.contraindication.diseaseSymptomProcedure.reference</b><br>
* </p> * </p>
*/ */
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTRAINDICATION_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONTRAINDICATION_REFERENCE); public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTRAINDICATION_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONTRAINDICATION_REFERENCE);
@ -3507,17 +3507,17 @@ public class ClinicalUseDefinition extends DomainResource {
* <p> * <p>
* Description: <b>The situation that is being documented as contraindicating against this item, as a code</b><br> * Description: <b>The situation that is being documented as contraindicating against this item, as a code</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>ClinicalUseDefinition.contraindication.diseaseSymptomProcedure</b><br> * Path: <b>ClinicalUseDefinition.contraindication.diseaseSymptomProcedure.concept</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="contraindication", path="ClinicalUseDefinition.contraindication.diseaseSymptomProcedure", description="The situation that is being documented as contraindicating against this item, as a code", type="token" ) @SearchParamDefinition(name="contraindication", path="ClinicalUseDefinition.contraindication.diseaseSymptomProcedure.concept", description="The situation that is being documented as contraindicating against this item, as a code", type="token" )
public static final String SP_CONTRAINDICATION = "contraindication"; public static final String SP_CONTRAINDICATION = "contraindication";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>contraindication</b> * <b>Fluent Client</b> search parameter constant for <b>contraindication</b>
* <p> * <p>
* Description: <b>The situation that is being documented as contraindicating against this item, as a code</b><br> * Description: <b>The situation that is being documented as contraindicating against this item, as a code</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>ClinicalUseDefinition.contraindication.diseaseSymptomProcedure</b><br> * Path: <b>ClinicalUseDefinition.contraindication.diseaseSymptomProcedure.concept</b><br>
* </p> * </p>
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTRAINDICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTRAINDICATION); public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTRAINDICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTRAINDICATION);
@ -3527,17 +3527,17 @@ public class ClinicalUseDefinition extends DomainResource {
* <p> * <p>
* Description: <b>The situation in which the undesirable effect may manifest, as a reference</b><br> * Description: <b>The situation in which the undesirable effect may manifest, as a reference</b><br>
* Type: <b>reference</b><br> * Type: <b>reference</b><br>
* Path: <b>ClinicalUseDefinition.undesirableEffect.symptomConditionEffect</b><br> * Path: <b>ClinicalUseDefinition.undesirableEffect.symptomConditionEffect.reference</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="effect-reference", path="ClinicalUseDefinition.undesirableEffect.symptomConditionEffect", description="The situation in which the undesirable effect may manifest, as a reference", type="reference" ) @SearchParamDefinition(name="effect-reference", path="ClinicalUseDefinition.undesirableEffect.symptomConditionEffect.reference", description="The situation in which the undesirable effect may manifest, as a reference", type="reference", target={ObservationDefinition.class } )
public static final String SP_EFFECT_REFERENCE = "effect-reference"; public static final String SP_EFFECT_REFERENCE = "effect-reference";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>effect-reference</b> * <b>Fluent Client</b> search parameter constant for <b>effect-reference</b>
* <p> * <p>
* Description: <b>The situation in which the undesirable effect may manifest, as a reference</b><br> * Description: <b>The situation in which the undesirable effect may manifest, as a reference</b><br>
* Type: <b>reference</b><br> * Type: <b>reference</b><br>
* Path: <b>ClinicalUseDefinition.undesirableEffect.symptomConditionEffect</b><br> * Path: <b>ClinicalUseDefinition.undesirableEffect.symptomConditionEffect.reference</b><br>
* </p> * </p>
*/ */
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam EFFECT_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_EFFECT_REFERENCE); public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam EFFECT_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_EFFECT_REFERENCE);
@ -3553,17 +3553,17 @@ public class ClinicalUseDefinition extends DomainResource {
* <p> * <p>
* Description: <b>The situation in which the undesirable effect may manifest, as a code</b><br> * Description: <b>The situation in which the undesirable effect may manifest, as a code</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>ClinicalUseDefinition.undesirableEffect.symptomConditionEffect</b><br> * Path: <b>ClinicalUseDefinition.undesirableEffect.symptomConditionEffect.concept</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="effect", path="ClinicalUseDefinition.undesirableEffect.symptomConditionEffect", description="The situation in which the undesirable effect may manifest, as a code", type="token" ) @SearchParamDefinition(name="effect", path="ClinicalUseDefinition.undesirableEffect.symptomConditionEffect.concept", description="The situation in which the undesirable effect may manifest, as a code", type="token" )
public static final String SP_EFFECT = "effect"; public static final String SP_EFFECT = "effect";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>effect</b> * <b>Fluent Client</b> search parameter constant for <b>effect</b>
* <p> * <p>
* Description: <b>The situation in which the undesirable effect may manifest, as a code</b><br> * Description: <b>The situation in which the undesirable effect may manifest, as a code</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>ClinicalUseDefinition.undesirableEffect.symptomConditionEffect</b><br> * Path: <b>ClinicalUseDefinition.undesirableEffect.symptomConditionEffect.concept</b><br>
* </p> * </p>
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam EFFECT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EFFECT); public static final ca.uhn.fhir.rest.gclient.TokenClientParam EFFECT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EFFECT);
@ -3593,17 +3593,17 @@ public class ClinicalUseDefinition extends DomainResource {
* <p> * <p>
* Description: <b>The situation that is being documented as an indicaton for this item, as a reference</b><br> * Description: <b>The situation that is being documented as an indicaton for this item, as a reference</b><br>
* Type: <b>reference</b><br> * Type: <b>reference</b><br>
* Path: <b>ClinicalUseDefinition.indication.diseaseSymptomProcedure</b><br> * Path: <b>ClinicalUseDefinition.indication.diseaseSymptomProcedure.reference</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="indication-reference", path="ClinicalUseDefinition.indication.diseaseSymptomProcedure", description="The situation that is being documented as an indicaton for this item, as a reference", type="reference" ) @SearchParamDefinition(name="indication-reference", path="ClinicalUseDefinition.indication.diseaseSymptomProcedure.reference", description="The situation that is being documented as an indicaton for this item, as a reference", type="reference", target={ObservationDefinition.class } )
public static final String SP_INDICATION_REFERENCE = "indication-reference"; public static final String SP_INDICATION_REFERENCE = "indication-reference";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>indication-reference</b> * <b>Fluent Client</b> search parameter constant for <b>indication-reference</b>
* <p> * <p>
* Description: <b>The situation that is being documented as an indicaton for this item, as a reference</b><br> * Description: <b>The situation that is being documented as an indicaton for this item, as a reference</b><br>
* Type: <b>reference</b><br> * Type: <b>reference</b><br>
* Path: <b>ClinicalUseDefinition.indication.diseaseSymptomProcedure</b><br> * Path: <b>ClinicalUseDefinition.indication.diseaseSymptomProcedure.reference</b><br>
* </p> * </p>
*/ */
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INDICATION_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INDICATION_REFERENCE); public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INDICATION_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INDICATION_REFERENCE);
@ -3619,17 +3619,17 @@ public class ClinicalUseDefinition extends DomainResource {
* <p> * <p>
* Description: <b>The situation that is being documented as an indicaton for this item, as a code</b><br> * Description: <b>The situation that is being documented as an indicaton for this item, as a code</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>ClinicalUseDefinition.indication.diseaseSymptomProcedure</b><br> * Path: <b>ClinicalUseDefinition.indication.diseaseSymptomProcedure.concept</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="indication", path="ClinicalUseDefinition.indication.diseaseSymptomProcedure", description="The situation that is being documented as an indicaton for this item, as a code", type="token" ) @SearchParamDefinition(name="indication", path="ClinicalUseDefinition.indication.diseaseSymptomProcedure.concept", description="The situation that is being documented as an indicaton for this item, as a code", type="token" )
public static final String SP_INDICATION = "indication"; public static final String SP_INDICATION = "indication";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>indication</b> * <b>Fluent Client</b> search parameter constant for <b>indication</b>
* <p> * <p>
* Description: <b>The situation that is being documented as an indicaton for this item, as a code</b><br> * Description: <b>The situation that is being documented as an indicaton for this item, as a code</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>ClinicalUseDefinition.indication.diseaseSymptomProcedure</b><br> * Path: <b>ClinicalUseDefinition.indication.diseaseSymptomProcedure.concept</b><br>
* </p> * </p>
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INDICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INDICATION); public static final ca.uhn.fhir.rest.gclient.TokenClientParam INDICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INDICATION);
@ -3683,17 +3683,17 @@ public class ClinicalUseDefinition extends DomainResource {
/** /**
* Search parameter: <b>status</b> * Search parameter: <b>status</b>
* <p> * <p>
* Description: <b>Whether this is a current issue or one that has been retired etc</b><br> * Description: <b>Whether this is a current issue or one that has been retired etc.</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>ClinicalUseDefinition.status</b><br> * Path: <b>ClinicalUseDefinition.status</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="status", path="ClinicalUseDefinition.status", description="Whether this is a current issue or one that has been retired etc", type="token" ) @SearchParamDefinition(name="status", path="ClinicalUseDefinition.status", description="Whether this is a current issue or one that has been retired etc.", type="token" )
public static final String SP_STATUS = "status"; public static final String SP_STATUS = "status";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>status</b> * <b>Fluent Client</b> search parameter constant for <b>status</b>
* <p> * <p>
* Description: <b>Whether this is a current issue or one that has been retired etc</b><br> * Description: <b>Whether this is a current issue or one that has been retired etc.</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>ClinicalUseDefinition.status</b><br> * Path: <b>ClinicalUseDefinition.status</b><br>
* </p> * </p>
@ -3708,7 +3708,7 @@ public class ClinicalUseDefinition extends DomainResource {
* Path: <b>ClinicalUseDefinition.subject</b><br> * Path: <b>ClinicalUseDefinition.subject</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="subject", path="ClinicalUseDefinition.subject", description="The resource for which this is a clinical usage issue", type="reference", target={ActivityDefinition.class, Device.class, DeviceDefinition.class, Medication.class, MedicinalProductDefinition.class, PlanDefinition.class, Substance.class } ) @SearchParamDefinition(name="subject", path="ClinicalUseDefinition.subject", description="The resource for which this is a clinical usage issue", type="reference", target={ActivityDefinition.class, BiologicallyDerivedProduct.class, Device.class, DeviceDefinition.class, Medication.class, MedicinalProductDefinition.class, NutritionProduct.class, PlanDefinition.class, Substance.class } )
public static final String SP_SUBJECT = "subject"; public static final String SP_SUBJECT = "subject";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>subject</b> * <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -3748,3 +3748,4 @@ public class ClinicalUseDefinition extends DomainResource {
} }

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -613,6 +613,5 @@ public class Coding extends DataType implements IBaseCoding, ICompositeType, ICo
} }
// end addition // end addition
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -30,18 +30,18 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR v5.0.0-snapshot2 // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
public class Constants { public class Constants {
public final static String LOCAL_REF_REGEX = "(Account|ActivityDefinition|ActorDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|FormularyItem|GenomicStudy|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestOrchestration|Requirements|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|Transport|ValueSet|VerificationResult|VisionPrescription)\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}"; public final static String LOCAL_REF_REGEX = "(Account|ActivityDefinition|ActorDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BiologicallyDerivedProductDispense|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceAssociation|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentReference|Encounter|EncounterHistory|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|FormularyItem|GenomicStudy|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryItem|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationStatement|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestOrchestration|Requirements|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestPlan|TestReport|TestScript|Transport|ValueSet|VerificationResult|VisionPrescription)\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}";
public final static String NS_SYSTEM_TYPE = "http://hl7.org/fhirpath/System."; public final static String NS_SYSTEM_TYPE = "http://hl7.org/fhirpath/System.";
public final static String VERSION = "5.0.0-snapshot2"; public final static String VERSION = "5.0.0-draft-final";
public final static String VERSION_BASE = "5.0.0"; public final static String VERSION_BASE = "5.0.0";
public final static String VERSION_MM = "5.0"; public final static String VERSION_MM = "5.0";
public final static String DATE = "Tue, Dec 13, 2022 17:53+1100"; public final static String DATE = "Wed, Mar 1, 2023 15:32+1100";
public final static String URI_REGEX = "((http|https):\\/\\/([A-Za-z0-9\\\\\\.\\:\\%\\$\\-]*\\/)*?)?(Account|ActivityDefinition|ActorDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|FormularyItem|GenomicStudy|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestOrchestration|Requirements|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|Transport|ValueSet|VerificationResult|VisionPrescription)\\/[A-Za-z0-9\\-\\.]{1,64}(\\/_history\\/[A-Za-z0-9\\-\\.]{1,64})?"; public final static String URI_REGEX = "((http|https):\\/\\/([A-Za-z0-9\\\\\\.\\:\\%\\$\\-]*\\/)*?)?(Account|ActivityDefinition|ActorDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BiologicallyDerivedProductDispense|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceAssociation|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentReference|Encounter|EncounterHistory|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|FormularyItem|GenomicStudy|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryItem|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationStatement|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestOrchestration|Requirements|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestPlan|TestReport|TestScript|Transport|ValueSet|VerificationResult|VisionPrescription)\\/[A-Za-z0-9\\-\\.]{1,64}(\\/_history\\/[A-Za-z0-9\\-\\.]{1,64})?";
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -73,7 +73,7 @@ public class ContactPoint extends DataType implements ICompositeType {
*/ */
URL, URL,
/** /**
* A contact that can be used for sending an sms message (e.g. mobile phones, some landlines). * A contact that can be used for sending a sms message (e.g. mobile phones, some landlines).
*/ */
SMS, SMS,
/** /**
@ -139,7 +139,7 @@ public class ContactPoint extends DataType implements ICompositeType {
case EMAIL: return "The value is an email address."; case EMAIL: return "The value is an email address.";
case PAGER: return "The value is a pager number. These may be local pager numbers that are only usable on a particular pager system."; case PAGER: return "The value is a pager number. These may be local pager numbers that are only usable on a particular pager system.";
case URL: return "A contact that is not a phone, fax, pager or email address and is expressed as a URL. This is intended for various institutional or personal contacts including web sites, blogs, Skype, Twitter, Facebook, etc. Do not use for email addresses."; case URL: return "A contact that is not a phone, fax, pager or email address and is expressed as a URL. This is intended for various institutional or personal contacts including web sites, blogs, Skype, Twitter, Facebook, etc. Do not use for email addresses.";
case SMS: return "A contact that can be used for sending an sms message (e.g. mobile phones, some landlines)."; case SMS: return "A contact that can be used for sending a sms message (e.g. mobile phones, some landlines).";
case OTHER: return "A contact that is not a phone, fax, page or email address and is not expressible as a URL. E.g. Internal mail address. This SHOULD NOT be used for contacts that are expressible as a URL (e.g. Skype, Twitter, Facebook, etc.) Extensions may be used to distinguish \"other\" contact types."; case OTHER: return "A contact that is not a phone, fax, page or email address and is not expressible as a URL. E.g. Internal mail address. This SHOULD NOT be used for contacts that are expressible as a URL (e.g. Skype, Twitter, Facebook, etc.) Extensions may be used to distinguish \"other\" contact types.";
case NULL: return null; case NULL: return null;
default: return "?"; default: return "?";
@ -813,3 +813,4 @@ public class ContactPoint extends DataType implements ICompositeType {
} }

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -513,3 +513,4 @@ public class Contributor extends DataType implements ICompositeType {
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -326,10 +326,10 @@ public class DataRequirement extends DataType implements ICompositeType {
@Block() @Block()
public static class DataRequirementCodeFilterComponent extends Element implements IBaseDatatypeElement { public static class DataRequirementCodeFilterComponent extends Element implements IBaseDatatypeElement {
/** /**
* The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept. * The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.
*/ */
@Child(name = "path", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true) @Child(name = "path", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="A code-valued attribute to filter on", formalDefinition="The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept." ) @Description(shortDefinition="A code-valued attribute to filter on", formalDefinition="The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept." )
protected StringType path; protected StringType path;
/** /**
@ -343,7 +343,7 @@ public class DataRequirement extends DataType implements ICompositeType {
* The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset. * The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.
*/ */
@Child(name = "valueSet", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=true) @Child(name = "valueSet", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Valueset for the filter", formalDefinition="The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset." ) @Description(shortDefinition="ValueSet for the filter", formalDefinition="The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset." )
protected CanonicalType valueSet; protected CanonicalType valueSet;
/** /**
@ -363,7 +363,7 @@ public class DataRequirement extends DataType implements ICompositeType {
} }
/** /**
* @return {@link #path} (The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value * @return {@link #path} (The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
*/ */
public StringType getPathElement() { public StringType getPathElement() {
if (this.path == null) if (this.path == null)
@ -383,7 +383,7 @@ public class DataRequirement extends DataType implements ICompositeType {
} }
/** /**
* @param value {@link #path} (The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value * @param value {@link #path} (The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
*/ */
public DataRequirementCodeFilterComponent setPathElement(StringType value) { public DataRequirementCodeFilterComponent setPathElement(StringType value) {
this.path = value; this.path = value;
@ -391,14 +391,14 @@ public class DataRequirement extends DataType implements ICompositeType {
} }
/** /**
* @return The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept. * @return The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.
*/ */
public String getPath() { public String getPath() {
return this.path == null ? null : this.path.getValue(); return this.path == null ? null : this.path.getValue();
} }
/** /**
* @param value The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept. * @param value The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.
*/ */
public DataRequirementCodeFilterComponent setPath(String value) { public DataRequirementCodeFilterComponent setPath(String value) {
if (Utilities.noString(value)) if (Utilities.noString(value))
@ -564,7 +564,7 @@ public class DataRequirement extends DataType implements ICompositeType {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("path", "string", "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.", 0, 1, path)); children.add(new Property("path", "string", "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.", 0, 1, path));
children.add(new Property("searchParam", "string", "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.", 0, 1, searchParam)); children.add(new Property("searchParam", "string", "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.", 0, 1, searchParam));
children.add(new Property("valueSet", "canonical(ValueSet)", "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.", 0, 1, valueSet)); children.add(new Property("valueSet", "canonical(ValueSet)", "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.", 0, 1, valueSet));
children.add(new Property("code", "Coding", "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.", 0, java.lang.Integer.MAX_VALUE, code)); children.add(new Property("code", "Coding", "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.", 0, java.lang.Integer.MAX_VALUE, code));
@ -573,7 +573,7 @@ public class DataRequirement extends DataType implements ICompositeType {
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case 3433509: /*path*/ return new Property("path", "string", "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.", 0, 1, path); case 3433509: /*path*/ return new Property("path", "string", "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.", 0, 1, path);
case -553645115: /*searchParam*/ return new Property("searchParam", "string", "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.", 0, 1, searchParam); case -553645115: /*searchParam*/ return new Property("searchParam", "string", "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.", 0, 1, searchParam);
case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.", 0, 1, valueSet); case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.", 0, 1, valueSet);
case 3059181: /*code*/ return new Property("code", "Coding", "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.", 0, java.lang.Integer.MAX_VALUE, code); case 3059181: /*code*/ return new Property("code", "Coding", "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.", 0, java.lang.Integer.MAX_VALUE, code);
@ -726,10 +726,10 @@ public class DataRequirement extends DataType implements ICompositeType {
@Block() @Block()
public static class DataRequirementDateFilterComponent extends Element implements IBaseDatatypeElement { public static class DataRequirementDateFilterComponent extends Element implements IBaseDatatypeElement {
/** /**
* The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing. * The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.
*/ */
@Child(name = "path", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true) @Child(name = "path", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="A date-valued attribute to filter on", formalDefinition="The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing." ) @Description(shortDefinition="A date-valued attribute to filter on", formalDefinition="The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing." )
protected StringType path; protected StringType path;
/** /**
@ -756,7 +756,7 @@ public class DataRequirement extends DataType implements ICompositeType {
} }
/** /**
* @return {@link #path} (The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value * @return {@link #path} (The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
*/ */
public StringType getPathElement() { public StringType getPathElement() {
if (this.path == null) if (this.path == null)
@ -776,7 +776,7 @@ public class DataRequirement extends DataType implements ICompositeType {
} }
/** /**
* @param value {@link #path} (The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value * @param value {@link #path} (The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
*/ */
public DataRequirementDateFilterComponent setPathElement(StringType value) { public DataRequirementDateFilterComponent setPathElement(StringType value) {
this.path = value; this.path = value;
@ -784,14 +784,14 @@ public class DataRequirement extends DataType implements ICompositeType {
} }
/** /**
* @return The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing. * @return The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.
*/ */
public String getPath() { public String getPath() {
return this.path == null ? null : this.path.getValue(); return this.path == null ? null : this.path.getValue();
} }
/** /**
* @param value The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing. * @param value The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.
*/ */
public DataRequirementDateFilterComponent setPath(String value) { public DataRequirementDateFilterComponent setPath(String value) {
if (Utilities.noString(value)) if (Utilities.noString(value))
@ -921,7 +921,7 @@ public class DataRequirement extends DataType implements ICompositeType {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("path", "string", "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.", 0, 1, path)); children.add(new Property("path", "string", "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.", 0, 1, path));
children.add(new Property("searchParam", "string", "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.", 0, 1, searchParam)); children.add(new Property("searchParam", "string", "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.", 0, 1, searchParam));
children.add(new Property("value[x]", "dateTime|Period|Duration", "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.", 0, 1, value)); children.add(new Property("value[x]", "dateTime|Period|Duration", "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.", 0, 1, value));
} }
@ -929,7 +929,7 @@ public class DataRequirement extends DataType implements ICompositeType {
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case 3433509: /*path*/ return new Property("path", "string", "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.", 0, 1, path); case 3433509: /*path*/ return new Property("path", "string", "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.", 0, 1, path);
case -553645115: /*searchParam*/ return new Property("searchParam", "string", "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.", 0, 1, searchParam); case -553645115: /*searchParam*/ return new Property("searchParam", "string", "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.", 0, 1, searchParam);
case -1410166417: /*value[x]*/ return new Property("value[x]", "dateTime|Period|Duration", "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.", 0, 1, value); case -1410166417: /*value[x]*/ return new Property("value[x]", "dateTime|Period|Duration", "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.", 0, 1, value);
case 111972721: /*value*/ return new Property("value[x]", "dateTime|Period|Duration", "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.", 0, 1, value); case 111972721: /*value*/ return new Property("value[x]", "dateTime|Period|Duration", "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.", 0, 1, value);
@ -1078,10 +1078,10 @@ public class DataRequirement extends DataType implements ICompositeType {
@Block() @Block()
public static class DataRequirementValueFilterComponent extends Element implements IBaseDatatypeElement { public static class DataRequirementValueFilterComponent extends Element implements IBaseDatatypeElement {
/** /**
* The attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter. * The attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.
*/ */
@Child(name = "path", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true) @Child(name = "path", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="An attribute to filter on", formalDefinition="The attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter." ) @Description(shortDefinition="An attribute to filter on", formalDefinition="The attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter." )
protected StringType path; protected StringType path;
/** /**
@ -1116,7 +1116,7 @@ public class DataRequirement extends DataType implements ICompositeType {
} }
/** /**
* @return {@link #path} (The attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value * @return {@link #path} (The attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
*/ */
public StringType getPathElement() { public StringType getPathElement() {
if (this.path == null) if (this.path == null)
@ -1136,7 +1136,7 @@ public class DataRequirement extends DataType implements ICompositeType {
} }
/** /**
* @param value {@link #path} (The attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value * @param value {@link #path} (The attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
*/ */
public DataRequirementValueFilterComponent setPathElement(StringType value) { public DataRequirementValueFilterComponent setPathElement(StringType value) {
this.path = value; this.path = value;
@ -1144,14 +1144,14 @@ public class DataRequirement extends DataType implements ICompositeType {
} }
/** /**
* @return The attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter. * @return The attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.
*/ */
public String getPath() { public String getPath() {
return this.path == null ? null : this.path.getValue(); return this.path == null ? null : this.path.getValue();
} }
/** /**
* @param value The attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter. * @param value The attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.
*/ */
public DataRequirementValueFilterComponent setPath(String value) { public DataRequirementValueFilterComponent setPath(String value) {
if (Utilities.noString(value)) if (Utilities.noString(value))
@ -1330,7 +1330,7 @@ public class DataRequirement extends DataType implements ICompositeType {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("path", "string", "The attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.", 0, 1, path)); children.add(new Property("path", "string", "The attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.", 0, 1, path));
children.add(new Property("searchParam", "string", "A search parameter defined on the specified type of the DataRequirement, and which searches on elements of a type compatible with the type of the valueFilter.value[x] for the filter.", 0, 1, searchParam)); children.add(new Property("searchParam", "string", "A search parameter defined on the specified type of the DataRequirement, and which searches on elements of a type compatible with the type of the valueFilter.value[x] for the filter.", 0, 1, searchParam));
children.add(new Property("comparator", "code", "The comparator to be used to determine whether the value is matching.", 0, 1, comparator)); children.add(new Property("comparator", "code", "The comparator to be used to determine whether the value is matching.", 0, 1, comparator));
children.add(new Property("value[x]", "dateTime|Period|Duration", "The value of the filter.", 0, 1, value)); children.add(new Property("value[x]", "dateTime|Period|Duration", "The value of the filter.", 0, 1, value));
@ -1339,7 +1339,7 @@ public class DataRequirement extends DataType implements ICompositeType {
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case 3433509: /*path*/ return new Property("path", "string", "The attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.", 0, 1, path); case 3433509: /*path*/ return new Property("path", "string", "The attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.value[x] element for the filter.", 0, 1, path);
case -553645115: /*searchParam*/ return new Property("searchParam", "string", "A search parameter defined on the specified type of the DataRequirement, and which searches on elements of a type compatible with the type of the valueFilter.value[x] for the filter.", 0, 1, searchParam); case -553645115: /*searchParam*/ return new Property("searchParam", "string", "A search parameter defined on the specified type of the DataRequirement, and which searches on elements of a type compatible with the type of the valueFilter.value[x] for the filter.", 0, 1, searchParam);
case -844673834: /*comparator*/ return new Property("comparator", "code", "The comparator to be used to determine whether the value is matching.", 0, 1, comparator); case -844673834: /*comparator*/ return new Property("comparator", "code", "The comparator to be used to determine whether the value is matching.", 0, 1, comparator);
case -1410166417: /*value[x]*/ return new Property("value[x]", "dateTime|Period|Duration", "The value of the filter.", 0, 1, value); case -1410166417: /*value[x]*/ return new Property("value[x]", "dateTime|Period|Duration", "The value of the filter.", 0, 1, value);
@ -1780,10 +1780,10 @@ public class DataRequirement extends DataType implements ICompositeType {
/** /**
* Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. * Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available.
The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). The value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).
*/ */
@Child(name = "mustSupport", type = {StringType.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Child(name = "mustSupport", type = {StringType.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Indicates specific structure elements that are referenced by the knowledge module", formalDefinition="Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)." ) @Description(shortDefinition="Indicates specific structure elements that are referenced by the knowledge module", formalDefinition="Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)." )
protected List<StringType> mustSupport; protected List<StringType> mustSupport;
/** /**
@ -1998,7 +1998,7 @@ The value of mustSupport SHALL be a FHIRPath resolveable on the type of the Data
/** /**
* @return {@link #mustSupport} (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. * @return {@link #mustSupport} (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available.
The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).) The value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).)
*/ */
public List<StringType> getMustSupport() { public List<StringType> getMustSupport() {
if (this.mustSupport == null) if (this.mustSupport == null)
@ -2026,7 +2026,7 @@ The value of mustSupport SHALL be a FHIRPath resolveable on the type of the Data
/** /**
* @return {@link #mustSupport} (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. * @return {@link #mustSupport} (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available.
The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).) The value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).)
*/ */
public StringType addMustSupportElement() {//2 public StringType addMustSupportElement() {//2
StringType t = new StringType(); StringType t = new StringType();
@ -2039,7 +2039,7 @@ The value of mustSupport SHALL be a FHIRPath resolveable on the type of the Data
/** /**
* @param value {@link #mustSupport} (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. * @param value {@link #mustSupport} (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available.
The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).) The value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).)
*/ */
public DataRequirement addMustSupport(String value) { //1 public DataRequirement addMustSupport(String value) { //1
StringType t = new StringType(); StringType t = new StringType();
@ -2053,7 +2053,7 @@ The value of mustSupport SHALL be a FHIRPath resolveable on the type of the Data
/** /**
* @param value {@link #mustSupport} (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. * @param value {@link #mustSupport} (Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available.
The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).) The value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).)
*/ */
public boolean hasMustSupport(String value) { public boolean hasMustSupport(String value) {
if (this.mustSupport == null) if (this.mustSupport == null)
@ -2326,7 +2326,7 @@ The value of mustSupport SHALL be a FHIRPath resolveable on the type of the Data
children.add(new Property("type", "code", "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.", 0, 1, type)); children.add(new Property("type", "code", "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.", 0, 1, type));
children.add(new Property("profile", "canonical(StructureDefinition)", "The profile of the required data, specified as the uri of the profile definition.", 0, java.lang.Integer.MAX_VALUE, profile)); children.add(new Property("profile", "canonical(StructureDefinition)", "The profile of the required data, specified as the uri of the profile definition.", 0, java.lang.Integer.MAX_VALUE, profile));
children.add(new Property("subject[x]", "CodeableConcept|Reference(Group)", "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", 0, 1, subject)); children.add(new Property("subject[x]", "CodeableConcept|Reference(Group)", "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", 0, 1, subject));
children.add(new Property("mustSupport", "string", "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).", 0, java.lang.Integer.MAX_VALUE, mustSupport)); children.add(new Property("mustSupport", "string", "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).", 0, java.lang.Integer.MAX_VALUE, mustSupport));
children.add(new Property("codeFilter", "", "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.", 0, java.lang.Integer.MAX_VALUE, codeFilter)); children.add(new Property("codeFilter", "", "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.", 0, java.lang.Integer.MAX_VALUE, codeFilter));
children.add(new Property("dateFilter", "", "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.", 0, java.lang.Integer.MAX_VALUE, dateFilter)); children.add(new Property("dateFilter", "", "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.", 0, java.lang.Integer.MAX_VALUE, dateFilter));
children.add(new Property("valueFilter", "", "Value filters specify additional constraints on the data for elements other than code-valued or date-valued. Each value filter specifies an additional constraint on the data (i.e. valueFilters are AND'ed, not OR'ed).", 0, java.lang.Integer.MAX_VALUE, valueFilter)); children.add(new Property("valueFilter", "", "Value filters specify additional constraints on the data for elements other than code-valued or date-valued. Each value filter specifies an additional constraint on the data (i.e. valueFilters are AND'ed, not OR'ed).", 0, java.lang.Integer.MAX_VALUE, valueFilter));
@ -2343,7 +2343,7 @@ The value of mustSupport SHALL be a FHIRPath resolveable on the type of the Data
case -1867885268: /*subject*/ return new Property("subject[x]", "CodeableConcept|Reference(Group)", "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", 0, 1, subject); case -1867885268: /*subject*/ return new Property("subject[x]", "CodeableConcept|Reference(Group)", "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", 0, 1, subject);
case -1257122603: /*subjectCodeableConcept*/ return new Property("subject[x]", "CodeableConcept", "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", 0, 1, subject); case -1257122603: /*subjectCodeableConcept*/ return new Property("subject[x]", "CodeableConcept", "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", 0, 1, subject);
case 772938623: /*subjectReference*/ return new Property("subject[x]", "Reference(Group)", "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", 0, 1, subject); case 772938623: /*subjectReference*/ return new Property("subject[x]", "Reference(Group)", "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", 0, 1, subject);
case -1402857082: /*mustSupport*/ return new Property("mustSupport", "string", "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).", 0, java.lang.Integer.MAX_VALUE, mustSupport); case -1402857082: /*mustSupport*/ return new Property("mustSupport", "string", "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).", 0, java.lang.Integer.MAX_VALUE, mustSupport);
case -1303674939: /*codeFilter*/ return new Property("codeFilter", "", "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.", 0, java.lang.Integer.MAX_VALUE, codeFilter); case -1303674939: /*codeFilter*/ return new Property("codeFilter", "", "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.", 0, java.lang.Integer.MAX_VALUE, codeFilter);
case 149531846: /*dateFilter*/ return new Property("dateFilter", "", "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.", 0, java.lang.Integer.MAX_VALUE, dateFilter); case 149531846: /*dateFilter*/ return new Property("dateFilter", "", "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.", 0, java.lang.Integer.MAX_VALUE, dateFilter);
case -1807110071: /*valueFilter*/ return new Property("valueFilter", "", "Value filters specify additional constraints on the data for elements other than code-valued or date-valued. Each value filter specifies an additional constraint on the data (i.e. valueFilters are AND'ed, not OR'ed).", 0, java.lang.Integer.MAX_VALUE, valueFilter); case -1807110071: /*valueFilter*/ return new Property("valueFilter", "", "Value filters specify additional constraints on the data for elements other than code-valued or date-valued. Each value filter specifies an additional constraint on the data (i.e. valueFilters are AND'ed, not OR'ed).", 0, java.lang.Integer.MAX_VALUE, valueFilter);
@ -2589,3 +2589,4 @@ The value of mustSupport SHALL be a FHIRPath resolveable on the type of the Data
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -524,95 +524,102 @@ public class DeviceDispense extends DomainResource {
/** /**
* A link to a resource representing the person to whom the device is intended. * A link to a resource representing the person to whom the device is intended.
*/ */
@Child(name = "subject", type = {Patient.class}, order=7, min=1, max=1, modifier=false, summary=true) @Child(name = "subject", type = {Patient.class, Practitioner.class}, order=7, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Who the dispense is for", formalDefinition="A link to a resource representing the person to whom the device is intended." ) @Description(shortDefinition="Who the dispense is for", formalDefinition="A link to a resource representing the person to whom the device is intended." )
protected Reference subject; protected Reference subject;
/**
* Identifies the person who picked up the device or the person or location where the device was delivered. This may be a patient or their caregiver, but some cases exist where it can be a healthcare professional or a location.
*/
@Child(name = "receiver", type = {Patient.class, Practitioner.class, RelatedPerson.class, Location.class, PractitionerRole.class}, order=8, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Who collected the device or where the medication was delivered", formalDefinition="Identifies the person who picked up the device or the person or location where the device was delivered. This may be a patient or their caregiver, but some cases exist where it can be a healthcare professional or a location." )
protected Reference receiver;
/** /**
* The encounter that establishes the context for this event. * The encounter that establishes the context for this event.
*/ */
@Child(name = "encounter", type = {Encounter.class}, order=8, min=0, max=1, modifier=false, summary=false) @Child(name = "encounter", type = {Encounter.class}, order=9, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Encounter associated with event", formalDefinition="The encounter that establishes the context for this event." ) @Description(shortDefinition="Encounter associated with event", formalDefinition="The encounter that establishes the context for this event." )
protected Reference encounter; protected Reference encounter;
/** /**
* Additional information that supports the device being dispensed. * Additional information that supports the device being dispensed.
*/ */
@Child(name = "supportingInformation", type = {Reference.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "supportingInformation", type = {Reference.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Information that supports the dispensing of the device", formalDefinition="Additional information that supports the device being dispensed." ) @Description(shortDefinition="Information that supports the dispensing of the device", formalDefinition="Additional information that supports the device being dispensed." )
protected List<Reference> supportingInformation; protected List<Reference> supportingInformation;
/** /**
* Indicates who or what performed the event. * Indicates who or what performed the event.
*/ */
@Child(name = "performer", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "performer", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Who performed event", formalDefinition="Indicates who or what performed the event." ) @Description(shortDefinition="Who performed event", formalDefinition="Indicates who or what performed the event." )
protected List<DeviceDispensePerformerComponent> performer; protected List<DeviceDispensePerformerComponent> performer;
/** /**
* The principal physical location where the dispense was performed. * The principal physical location where the dispense was performed.
*/ */
@Child(name = "location", type = {Location.class}, order=11, min=0, max=1, modifier=false, summary=false) @Child(name = "location", type = {Location.class}, order=12, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Where the dispense occurred", formalDefinition="The principal physical location where the dispense was performed." ) @Description(shortDefinition="Where the dispense occurred", formalDefinition="The principal physical location where the dispense was performed." )
protected Reference location; protected Reference location;
/** /**
* Indicates the type of dispensing event that is performed. * Indicates the type of dispensing event that is performed.
*/ */
@Child(name = "type", type = {CodeableConcept.class}, order=12, min=0, max=1, modifier=false, summary=false) @Child(name = "type", type = {CodeableConcept.class}, order=13, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Trial fill, partial fill, emergency fill, etc.", formalDefinition="Indicates the type of dispensing event that is performed." ) @Description(shortDefinition="Trial fill, partial fill, emergency fill, etc", formalDefinition="Indicates the type of dispensing event that is performed." )
protected CodeableConcept type; protected CodeableConcept type;
/** /**
* The number of devices that have been dispensed. * The number of devices that have been dispensed.
*/ */
@Child(name = "quantity", type = {Quantity.class}, order=13, min=0, max=1, modifier=false, summary=false) @Child(name = "quantity", type = {Quantity.class}, order=14, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Amount dispensed", formalDefinition="The number of devices that have been dispensed." ) @Description(shortDefinition="Amount dispensed", formalDefinition="The number of devices that have been dispensed." )
protected Quantity quantity; protected Quantity quantity;
/** /**
* The time when the dispensed product was packaged and reviewed. * The time when the dispensed product was packaged and reviewed.
*/ */
@Child(name = "preparedDate", type = {DateTimeType.class}, order=14, min=0, max=1, modifier=false, summary=true) @Child(name = "preparedDate", type = {DateTimeType.class}, order=15, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="When product was packaged and reviewed", formalDefinition="The time when the dispensed product was packaged and reviewed." ) @Description(shortDefinition="When product was packaged and reviewed", formalDefinition="The time when the dispensed product was packaged and reviewed." )
protected DateTimeType preparedDate; protected DateTimeType preparedDate;
/** /**
* The time the dispensed product was made available to the patient or their representative. * The time the dispensed product was made available to the patient or their representative.
*/ */
@Child(name = "whenHandedOver", type = {DateTimeType.class}, order=15, min=0, max=1, modifier=false, summary=false) @Child(name = "whenHandedOver", type = {DateTimeType.class}, order=16, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="When product was given out", formalDefinition="The time the dispensed product was made available to the patient or their representative." ) @Description(shortDefinition="When product was given out", formalDefinition="The time the dispensed product was made available to the patient or their representative." )
protected DateTimeType whenHandedOver; protected DateTimeType whenHandedOver;
/** /**
* Identification of the facility/location where the device was /should be shipped to, as part of the dispense process. * Identification of the facility/location where the device was /should be shipped to, as part of the dispense process.
*/ */
@Child(name = "destination", type = {Location.class}, order=16, min=0, max=1, modifier=false, summary=false) @Child(name = "destination", type = {Location.class}, order=17, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Where the device was sent or should be sent", formalDefinition="Identification of the facility/location where the device was /should be shipped to, as part of the dispense process." ) @Description(shortDefinition="Where the device was sent or should be sent", formalDefinition="Identification of the facility/location where the device was /should be shipped to, as part of the dispense process." )
protected Reference destination; protected Reference destination;
/** /**
* Extra information about the dispense that could not be conveyed in the other attributes. * Extra information about the dispense that could not be conveyed in the other attributes.
*/ */
@Child(name = "note", type = {Annotation.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "note", type = {Annotation.class}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Information about the dispense", formalDefinition="Extra information about the dispense that could not be conveyed in the other attributes." ) @Description(shortDefinition="Information about the dispense", formalDefinition="Extra information about the dispense that could not be conveyed in the other attributes." )
protected List<Annotation> note; protected List<Annotation> note;
/** /**
* The full representation of the instructions. * The full representation of the instructions.
*/ */
@Child(name = "usageInstruction", type = {StringType.class}, order=18, min=0, max=1, modifier=false, summary=false) @Child(name = "usageInstruction", type = {StringType.class}, order=19, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Full representation of the usage instructions", formalDefinition="The full representation of the instructions." ) @Description(shortDefinition="Full representation of the usage instructions", formalDefinition="The full representation of the instructions." )
protected StringType usageInstruction; protected StringType usageInstruction;
/** /**
* A summary of the events of interest that have occurred, such as when the dispense was verified. * A summary of the events of interest that have occurred, such as when the dispense was verified.
*/ */
@Child(name = "eventHistory", type = {Provenance.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "eventHistory", type = {Provenance.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="A list of relevant lifecycle events", formalDefinition="A summary of the events of interest that have occurred, such as when the dispense was verified." ) @Description(shortDefinition="A list of relevant lifecycle events", formalDefinition="A summary of the events of interest that have occurred, such as when the dispense was verified." )
protected List<Reference> eventHistory; protected List<Reference> eventHistory;
private static final long serialVersionUID = -1613459109L; private static final long serialVersionUID = -2046629635L;
/** /**
* Constructor * Constructor
@ -960,6 +967,30 @@ public class DeviceDispense extends DomainResource {
return this; return this;
} }
/**
* @return {@link #receiver} (Identifies the person who picked up the device or the person or location where the device was delivered. This may be a patient or their caregiver, but some cases exist where it can be a healthcare professional or a location.)
*/
public Reference getReceiver() {
if (this.receiver == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create DeviceDispense.receiver");
else if (Configuration.doAutoCreate())
this.receiver = new Reference(); // cc
return this.receiver;
}
public boolean hasReceiver() {
return this.receiver != null && !this.receiver.isEmpty();
}
/**
* @param value {@link #receiver} (Identifies the person who picked up the device or the person or location where the device was delivered. This may be a patient or their caregiver, but some cases exist where it can be a healthcare professional or a location.)
*/
public DeviceDispense setReceiver(Reference value) {
this.receiver = value;
return this;
}
/** /**
* @return {@link #encounter} (The encounter that establishes the context for this event.) * @return {@link #encounter} (The encounter that establishes the context for this event.)
*/ */
@ -1448,7 +1479,8 @@ public class DeviceDispense extends DomainResource {
children.add(new Property("statusReason", "CodeableReference(DetectedIssue)", "Indicates the reason why a dispense was or was not performed.", 0, 1, statusReason)); children.add(new Property("statusReason", "CodeableReference(DetectedIssue)", "Indicates the reason why a dispense was or was not performed.", 0, 1, statusReason));
children.add(new Property("category", "CodeableConcept", "Indicates the type of device dispense.", 0, java.lang.Integer.MAX_VALUE, category)); children.add(new Property("category", "CodeableConcept", "Indicates the type of device dispense.", 0, java.lang.Integer.MAX_VALUE, category));
children.add(new Property("device", "CodeableReference(Device|DeviceDefinition)", "Identifies the device being dispensed. This is either a link to a resource representing the details of the device or a simple attribute carrying a code that identifies the device from a known list of devices.", 0, 1, device)); children.add(new Property("device", "CodeableReference(Device|DeviceDefinition)", "Identifies the device being dispensed. This is either a link to a resource representing the details of the device or a simple attribute carrying a code that identifies the device from a known list of devices.", 0, 1, device));
children.add(new Property("subject", "Reference(Patient)", "A link to a resource representing the person to whom the device is intended.", 0, 1, subject)); children.add(new Property("subject", "Reference(Patient|Practitioner)", "A link to a resource representing the person to whom the device is intended.", 0, 1, subject));
children.add(new Property("receiver", "Reference(Patient|Practitioner|RelatedPerson|Location|PractitionerRole)", "Identifies the person who picked up the device or the person or location where the device was delivered. This may be a patient or their caregiver, but some cases exist where it can be a healthcare professional or a location.", 0, 1, receiver));
children.add(new Property("encounter", "Reference(Encounter)", "The encounter that establishes the context for this event.", 0, 1, encounter)); children.add(new Property("encounter", "Reference(Encounter)", "The encounter that establishes the context for this event.", 0, 1, encounter));
children.add(new Property("supportingInformation", "Reference(Any)", "Additional information that supports the device being dispensed.", 0, java.lang.Integer.MAX_VALUE, supportingInformation)); children.add(new Property("supportingInformation", "Reference(Any)", "Additional information that supports the device being dispensed.", 0, java.lang.Integer.MAX_VALUE, supportingInformation));
children.add(new Property("performer", "", "Indicates who or what performed the event.", 0, java.lang.Integer.MAX_VALUE, performer)); children.add(new Property("performer", "", "Indicates who or what performed the event.", 0, java.lang.Integer.MAX_VALUE, performer));
@ -1473,7 +1505,8 @@ public class DeviceDispense extends DomainResource {
case 2051346646: /*statusReason*/ return new Property("statusReason", "CodeableReference(DetectedIssue)", "Indicates the reason why a dispense was or was not performed.", 0, 1, statusReason); case 2051346646: /*statusReason*/ return new Property("statusReason", "CodeableReference(DetectedIssue)", "Indicates the reason why a dispense was or was not performed.", 0, 1, statusReason);
case 50511102: /*category*/ return new Property("category", "CodeableConcept", "Indicates the type of device dispense.", 0, java.lang.Integer.MAX_VALUE, category); case 50511102: /*category*/ return new Property("category", "CodeableConcept", "Indicates the type of device dispense.", 0, java.lang.Integer.MAX_VALUE, category);
case -1335157162: /*device*/ return new Property("device", "CodeableReference(Device|DeviceDefinition)", "Identifies the device being dispensed. This is either a link to a resource representing the details of the device or a simple attribute carrying a code that identifies the device from a known list of devices.", 0, 1, device); case -1335157162: /*device*/ return new Property("device", "CodeableReference(Device|DeviceDefinition)", "Identifies the device being dispensed. This is either a link to a resource representing the details of the device or a simple attribute carrying a code that identifies the device from a known list of devices.", 0, 1, device);
case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient)", "A link to a resource representing the person to whom the device is intended.", 0, 1, subject); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Practitioner)", "A link to a resource representing the person to whom the device is intended.", 0, 1, subject);
case -808719889: /*receiver*/ return new Property("receiver", "Reference(Patient|Practitioner|RelatedPerson|Location|PractitionerRole)", "Identifies the person who picked up the device or the person or location where the device was delivered. This may be a patient or their caregiver, but some cases exist where it can be a healthcare professional or a location.", 0, 1, receiver);
case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The encounter that establishes the context for this event.", 0, 1, encounter); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The encounter that establishes the context for this event.", 0, 1, encounter);
case -1248768647: /*supportingInformation*/ return new Property("supportingInformation", "Reference(Any)", "Additional information that supports the device being dispensed.", 0, java.lang.Integer.MAX_VALUE, supportingInformation); case -1248768647: /*supportingInformation*/ return new Property("supportingInformation", "Reference(Any)", "Additional information that supports the device being dispensed.", 0, java.lang.Integer.MAX_VALUE, supportingInformation);
case 481140686: /*performer*/ return new Property("performer", "", "Indicates who or what performed the event.", 0, java.lang.Integer.MAX_VALUE, performer); case 481140686: /*performer*/ return new Property("performer", "", "Indicates who or what performed the event.", 0, java.lang.Integer.MAX_VALUE, performer);
@ -1502,6 +1535,7 @@ public class DeviceDispense extends DomainResource {
case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept
case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // CodeableReference case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // CodeableReference
case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference
case -808719889: /*receiver*/ return this.receiver == null ? new Base[0] : new Base[] {this.receiver}; // Reference
case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference
case -1248768647: /*supportingInformation*/ return this.supportingInformation == null ? new Base[0] : this.supportingInformation.toArray(new Base[this.supportingInformation.size()]); // Reference case -1248768647: /*supportingInformation*/ return this.supportingInformation == null ? new Base[0] : this.supportingInformation.toArray(new Base[this.supportingInformation.size()]); // Reference
case 481140686: /*performer*/ return this.performer == null ? new Base[0] : this.performer.toArray(new Base[this.performer.size()]); // DeviceDispensePerformerComponent case 481140686: /*performer*/ return this.performer == null ? new Base[0] : this.performer.toArray(new Base[this.performer.size()]); // DeviceDispensePerformerComponent
@ -1547,6 +1581,9 @@ public class DeviceDispense extends DomainResource {
case -1867885268: // subject case -1867885268: // subject
this.subject = TypeConvertor.castToReference(value); // Reference this.subject = TypeConvertor.castToReference(value); // Reference
return value; return value;
case -808719889: // receiver
this.receiver = TypeConvertor.castToReference(value); // Reference
return value;
case 1524132147: // encounter case 1524132147: // encounter
this.encounter = TypeConvertor.castToReference(value); // Reference this.encounter = TypeConvertor.castToReference(value); // Reference
return value; return value;
@ -1607,6 +1644,8 @@ public class DeviceDispense extends DomainResource {
this.device = TypeConvertor.castToCodeableReference(value); // CodeableReference this.device = TypeConvertor.castToCodeableReference(value); // CodeableReference
} else if (name.equals("subject")) { } else if (name.equals("subject")) {
this.subject = TypeConvertor.castToReference(value); // Reference this.subject = TypeConvertor.castToReference(value); // Reference
} else if (name.equals("receiver")) {
this.receiver = TypeConvertor.castToReference(value); // Reference
} else if (name.equals("encounter")) { } else if (name.equals("encounter")) {
this.encounter = TypeConvertor.castToReference(value); // Reference this.encounter = TypeConvertor.castToReference(value); // Reference
} else if (name.equals("supportingInformation")) { } else if (name.equals("supportingInformation")) {
@ -1647,6 +1686,7 @@ public class DeviceDispense extends DomainResource {
case 50511102: return addCategory(); case 50511102: return addCategory();
case -1335157162: return getDevice(); case -1335157162: return getDevice();
case -1867885268: return getSubject(); case -1867885268: return getSubject();
case -808719889: return getReceiver();
case 1524132147: return getEncounter(); case 1524132147: return getEncounter();
case -1248768647: return addSupportingInformation(); case -1248768647: return addSupportingInformation();
case 481140686: return addPerformer(); case 481140686: return addPerformer();
@ -1675,6 +1715,7 @@ public class DeviceDispense extends DomainResource {
case 50511102: /*category*/ return new String[] {"CodeableConcept"}; case 50511102: /*category*/ return new String[] {"CodeableConcept"};
case -1335157162: /*device*/ return new String[] {"CodeableReference"}; case -1335157162: /*device*/ return new String[] {"CodeableReference"};
case -1867885268: /*subject*/ return new String[] {"Reference"}; case -1867885268: /*subject*/ return new String[] {"Reference"};
case -808719889: /*receiver*/ return new String[] {"Reference"};
case 1524132147: /*encounter*/ return new String[] {"Reference"}; case 1524132147: /*encounter*/ return new String[] {"Reference"};
case -1248768647: /*supportingInformation*/ return new String[] {"Reference"}; case -1248768647: /*supportingInformation*/ return new String[] {"Reference"};
case 481140686: /*performer*/ return new String[] {}; case 481140686: /*performer*/ return new String[] {};
@ -1721,6 +1762,10 @@ public class DeviceDispense extends DomainResource {
this.subject = new Reference(); this.subject = new Reference();
return this.subject; return this.subject;
} }
else if (name.equals("receiver")) {
this.receiver = new Reference();
return this.receiver;
}
else if (name.equals("encounter")) { else if (name.equals("encounter")) {
this.encounter = new Reference(); this.encounter = new Reference();
return this.encounter; return this.encounter;
@ -1803,6 +1848,7 @@ public class DeviceDispense extends DomainResource {
}; };
dst.device = device == null ? null : device.copy(); dst.device = device == null ? null : device.copy();
dst.subject = subject == null ? null : subject.copy(); dst.subject = subject == null ? null : subject.copy();
dst.receiver = receiver == null ? null : receiver.copy();
dst.encounter = encounter == null ? null : encounter.copy(); dst.encounter = encounter == null ? null : encounter.copy();
if (supportingInformation != null) { if (supportingInformation != null) {
dst.supportingInformation = new ArrayList<Reference>(); dst.supportingInformation = new ArrayList<Reference>();
@ -1846,10 +1892,10 @@ public class DeviceDispense extends DomainResource {
DeviceDispense o = (DeviceDispense) other_; DeviceDispense o = (DeviceDispense) other_;
return compareDeep(identifier, o.identifier, true) && compareDeep(basedOn, o.basedOn, true) && compareDeep(partOf, o.partOf, true) return compareDeep(identifier, o.identifier, true) && compareDeep(basedOn, o.basedOn, true) && compareDeep(partOf, o.partOf, true)
&& compareDeep(status, o.status, true) && compareDeep(statusReason, o.statusReason, true) && compareDeep(category, o.category, true) && compareDeep(status, o.status, true) && compareDeep(statusReason, o.statusReason, true) && compareDeep(category, o.category, true)
&& compareDeep(device, o.device, true) && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) && compareDeep(device, o.device, true) && compareDeep(subject, o.subject, true) && compareDeep(receiver, o.receiver, true)
&& compareDeep(supportingInformation, o.supportingInformation, true) && compareDeep(performer, o.performer, true) && compareDeep(encounter, o.encounter, true) && compareDeep(supportingInformation, o.supportingInformation, true)
&& compareDeep(location, o.location, true) && compareDeep(type, o.type, true) && compareDeep(quantity, o.quantity, true) && compareDeep(performer, o.performer, true) && compareDeep(location, o.location, true) && compareDeep(type, o.type, true)
&& compareDeep(preparedDate, o.preparedDate, true) && compareDeep(whenHandedOver, o.whenHandedOver, true) && compareDeep(quantity, o.quantity, true) && compareDeep(preparedDate, o.preparedDate, true) && compareDeep(whenHandedOver, o.whenHandedOver, true)
&& compareDeep(destination, o.destination, true) && compareDeep(note, o.note, true) && compareDeep(usageInstruction, o.usageInstruction, true) && compareDeep(destination, o.destination, true) && compareDeep(note, o.note, true) && compareDeep(usageInstruction, o.usageInstruction, true)
&& compareDeep(eventHistory, o.eventHistory, true); && compareDeep(eventHistory, o.eventHistory, true);
} }
@ -1867,7 +1913,7 @@ public class DeviceDispense extends DomainResource {
public boolean isEmpty() { public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, basedOn, partOf return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, basedOn, partOf
, status, statusReason, category, device, subject, encounter, supportingInformation , status, statusReason, category, device, subject, receiver, encounter, supportingInformation
, performer, location, type, quantity, preparedDate, whenHandedOver, destination , performer, location, type, quantity, preparedDate, whenHandedOver, destination
, note, usageInstruction, eventHistory); , note, usageInstruction, eventHistory);
} }
@ -1897,6 +1943,72 @@ public class DeviceDispense extends DomainResource {
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE);
/**
* Search parameter: <b>identifier</b>
* <p>
* Description: <b>The identifier of the dispense</b><br>
* Type: <b>token</b><br>
* Path: <b>DeviceDispense.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DeviceDispense.identifier", description="The identifier of the dispense", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
* <p>
* Description: <b>The identifier of the dispense</b><br>
* Type: <b>token</b><br>
* Path: <b>DeviceDispense.identifier</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER);
/**
* Search parameter: <b>patient</b>
* <p>
* Description: <b>Returns device dispenses for a specific patient</b><br>
* Type: <b>reference</b><br>
* Path: <b>DeviceDispense.subject.where(resolve() is Patient)</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="DeviceDispense.subject.where(resolve() is Patient)", description="Returns device dispenses for a specific patient", type="reference", target={Patient.class } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
* <p>
* Description: <b>Returns device dispenses for a specific patient</b><br>
* Type: <b>reference</b><br>
* Path: <b>DeviceDispense.subject.where(resolve() is Patient)</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "<b>DeviceDispense:patient</b>".
*/
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("DeviceDispense:patient").toLocked();
/**
* Search parameter: <b>status</b>
* <p>
* Description: <b>The status of the dispense</b><br>
* Type: <b>token</b><br>
* Path: <b>DeviceDispense.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="DeviceDispense.status", description="The status of the dispense", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>
* <p>
* Description: <b>The status of the dispense</b><br>
* Type: <b>token</b><br>
* Path: <b>DeviceDispense.status</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS);
/** /**
* Search parameter: <b>subject</b> * Search parameter: <b>subject</b>
* <p> * <p>
@ -1905,7 +2017,7 @@ public class DeviceDispense extends DomainResource {
* Path: <b>DeviceDispense.subject</b><br> * Path: <b>DeviceDispense.subject</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="subject", path="DeviceDispense.subject", description="The identity of a patient for whom to list dispenses", type="reference", target={Patient.class } ) @SearchParamDefinition(name="subject", path="DeviceDispense.subject", description="The identity of a patient for whom to list dispenses", type="reference", target={Patient.class, Practitioner.class } )
public static final String SP_SUBJECT = "subject"; public static final String SP_SUBJECT = "subject";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>subject</b> * <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -1925,3 +2037,4 @@ public class DeviceDispense extends DomainResource {
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -48,7 +48,7 @@ import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.Block; import ca.uhn.fhir.model.api.annotation.Block;
/** /**
* Describes a measurement, calculation or setting capability of a medical device. * Describes a measurement, calculation or setting capability of a device. The DeviceMetric resource is derived from the ISO/IEEE 11073-10201 Domain Information Model standard, but is more widely applicable.
*/ */
@ResourceDef(name="DeviceMetric", profile="http://hl7.org/fhir/StructureDefinition/DeviceMetric") @ResourceDef(name="DeviceMetric", profile="http://hl7.org/fhir/StructureDefinition/DeviceMetric")
public class DeviceMetric extends DomainResource { public class DeviceMetric extends DomainResource {
@ -1108,23 +1108,16 @@ public class DeviceMetric extends DomainResource {
protected CodeableConcept unit; protected CodeableConcept unit;
/** /**
* Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacturer, serial number, etc. * Describes the link to the Device. This is also known as a channel device.
*/ */
@Child(name = "source", type = {Device.class}, order=3, min=0, max=1, modifier=false, summary=true) @Child(name = "device", type = {Device.class}, order=3, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Describes the link to the source Device", formalDefinition="Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacturer, serial number, etc." ) @Description(shortDefinition="Describes the link to the Device", formalDefinition="Describes the link to the Device. This is also known as a channel device." )
protected Reference source; protected Reference device;
/**
* Describes the link to the Device that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a Device that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location.
*/
@Child(name = "parent", type = {Device.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Describes the link to the parent Device", formalDefinition="Describes the link to the Device that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a Device that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location." )
protected Reference parent;
/** /**
* Indicates current operational state of the device. For example: On, Off, Standby, etc. * Indicates current operational state of the device. For example: On, Off, Standby, etc.
*/ */
@Child(name = "operationalStatus", type = {CodeType.class}, order=5, min=0, max=1, modifier=false, summary=true) @Child(name = "operationalStatus", type = {CodeType.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="on | off | standby | entered-in-error", formalDefinition="Indicates current operational state of the device. For example: On, Off, Standby, etc." ) @Description(shortDefinition="on | off | standby | entered-in-error", formalDefinition="Indicates current operational state of the device. For example: On, Off, Standby, etc." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-operational-status") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-operational-status")
protected Enumeration<DeviceMetricOperationalStatus> operationalStatus; protected Enumeration<DeviceMetricOperationalStatus> operationalStatus;
@ -1132,7 +1125,7 @@ public class DeviceMetric extends DomainResource {
/** /**
* Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta. * Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.
*/ */
@Child(name = "color", type = {CodeType.class}, order=6, min=0, max=1, modifier=false, summary=true) @Child(name = "color", type = {CodeType.class}, order=5, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="black | red | green | yellow | blue | magenta | cyan | white", formalDefinition="Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta." ) @Description(shortDefinition="black | red | green | yellow | blue | magenta | cyan | white", formalDefinition="Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-color") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-color")
protected Enumeration<DeviceMetricColor> color; protected Enumeration<DeviceMetricColor> color;
@ -1140,26 +1133,26 @@ public class DeviceMetric extends DomainResource {
/** /**
* Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation. * Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
*/ */
@Child(name = "category", type = {CodeType.class}, order=7, min=1, max=1, modifier=false, summary=true) @Child(name = "category", type = {CodeType.class}, order=6, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="measurement | setting | calculation | unspecified", formalDefinition="Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation." ) @Description(shortDefinition="measurement | setting | calculation | unspecified", formalDefinition="Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-category") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-category")
protected Enumeration<DeviceMetricCategory> category; protected Enumeration<DeviceMetricCategory> category;
/** /**
* Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured. * The frequency at which the metric is taken or recorded. Devices measure metrics at a wide range of frequencies; for example, an ECG might sample measurements in the millisecond range, while an NIBP might trigger only once an hour. Less often, the measurementFrequency may be based on a unit other than time, such as distance (e.g. for a measuring wheel). The update period may be different than the measurement frequency, if the device does not update the published observed value with the same frequency as it was measured.
*/ */
@Child(name = "measurementPeriod", type = {Timing.class}, order=8, min=0, max=1, modifier=false, summary=true) @Child(name = "measurementFrequency", type = {Quantity.class}, order=7, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Describes the measurement repetition time", formalDefinition="Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured." ) @Description(shortDefinition="Indicates how often the metric is taken or recorded", formalDefinition="The frequency at which the metric is taken or recorded. Devices measure metrics at a wide range of frequencies; for example, an ECG might sample measurements in the millisecond range, while an NIBP might trigger only once an hour. Less often, the measurementFrequency may be based on a unit other than time, such as distance (e.g. for a measuring wheel). The update period may be different than the measurement frequency, if the device does not update the published observed value with the same frequency as it was measured." )
protected Timing measurementPeriod; protected Quantity measurementFrequency;
/** /**
* Describes the calibrations that have been performed or that are required to be performed. * Describes the calibrations that have been performed or that are required to be performed.
*/ */
@Child(name = "calibration", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Child(name = "calibration", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Describes the calibrations that have been performed or that are required to be performed", formalDefinition="Describes the calibrations that have been performed or that are required to be performed." ) @Description(shortDefinition="Describes the calibrations that have been performed or that are required to be performed", formalDefinition="Describes the calibrations that have been performed or that are required to be performed." )
protected List<DeviceMetricCalibrationComponent> calibration; protected List<DeviceMetricCalibrationComponent> calibration;
private static final long serialVersionUID = 2132964036L; private static final long serialVersionUID = 1434853344L;
/** /**
* Constructor * Constructor
@ -1171,9 +1164,10 @@ public class DeviceMetric extends DomainResource {
/** /**
* Constructor * Constructor
*/ */
public DeviceMetric(CodeableConcept type, DeviceMetricCategory category) { public DeviceMetric(CodeableConcept type, Reference device, DeviceMetricCategory category) {
super(); super();
this.setType(type); this.setType(type);
this.setDevice(device);
this.setCategory(category); this.setCategory(category);
} }
@ -1279,50 +1273,26 @@ public class DeviceMetric extends DomainResource {
} }
/** /**
* @return {@link #source} (Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacturer, serial number, etc.) * @return {@link #device} (Describes the link to the Device. This is also known as a channel device.)
*/ */
public Reference getSource() { public Reference getDevice() {
if (this.source == null) if (this.device == null)
if (Configuration.errorOnAutoCreate()) if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create DeviceMetric.source"); throw new Error("Attempt to auto-create DeviceMetric.device");
else if (Configuration.doAutoCreate()) else if (Configuration.doAutoCreate())
this.source = new Reference(); // cc this.device = new Reference(); // cc
return this.source; return this.device;
} }
public boolean hasSource() { public boolean hasDevice() {
return this.source != null && !this.source.isEmpty(); return this.device != null && !this.device.isEmpty();
} }
/** /**
* @param value {@link #source} (Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacturer, serial number, etc.) * @param value {@link #device} (Describes the link to the Device. This is also known as a channel device.)
*/ */
public DeviceMetric setSource(Reference value) { public DeviceMetric setDevice(Reference value) {
this.source = value; this.device = value;
return this;
}
/**
* @return {@link #parent} (Describes the link to the Device that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a Device that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location.)
*/
public Reference getParent() {
if (this.parent == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create DeviceMetric.parent");
else if (Configuration.doAutoCreate())
this.parent = new Reference(); // cc
return this.parent;
}
public boolean hasParent() {
return this.parent != null && !this.parent.isEmpty();
}
/**
* @param value {@link #parent} (Describes the link to the Device that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a Device that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location.)
*/
public DeviceMetric setParent(Reference value) {
this.parent = value;
return this; return this;
} }
@ -1470,26 +1440,26 @@ public class DeviceMetric extends DomainResource {
} }
/** /**
* @return {@link #measurementPeriod} (Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.) * @return {@link #measurementFrequency} (The frequency at which the metric is taken or recorded. Devices measure metrics at a wide range of frequencies; for example, an ECG might sample measurements in the millisecond range, while an NIBP might trigger only once an hour. Less often, the measurementFrequency may be based on a unit other than time, such as distance (e.g. for a measuring wheel). The update period may be different than the measurement frequency, if the device does not update the published observed value with the same frequency as it was measured.)
*/ */
public Timing getMeasurementPeriod() { public Quantity getMeasurementFrequency() {
if (this.measurementPeriod == null) if (this.measurementFrequency == null)
if (Configuration.errorOnAutoCreate()) if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create DeviceMetric.measurementPeriod"); throw new Error("Attempt to auto-create DeviceMetric.measurementFrequency");
else if (Configuration.doAutoCreate()) else if (Configuration.doAutoCreate())
this.measurementPeriod = new Timing(); // cc this.measurementFrequency = new Quantity(); // cc
return this.measurementPeriod; return this.measurementFrequency;
} }
public boolean hasMeasurementPeriod() { public boolean hasMeasurementFrequency() {
return this.measurementPeriod != null && !this.measurementPeriod.isEmpty(); return this.measurementFrequency != null && !this.measurementFrequency.isEmpty();
} }
/** /**
* @param value {@link #measurementPeriod} (Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.) * @param value {@link #measurementFrequency} (The frequency at which the metric is taken or recorded. Devices measure metrics at a wide range of frequencies; for example, an ECG might sample measurements in the millisecond range, while an NIBP might trigger only once an hour. Less often, the measurementFrequency may be based on a unit other than time, such as distance (e.g. for a measuring wheel). The update period may be different than the measurement frequency, if the device does not update the published observed value with the same frequency as it was measured.)
*/ */
public DeviceMetric setMeasurementPeriod(Timing value) { public DeviceMetric setMeasurementFrequency(Quantity value) {
this.measurementPeriod = value; this.measurementFrequency = value;
return this; return this;
} }
@ -1551,12 +1521,11 @@ public class DeviceMetric extends DomainResource {
children.add(new Property("identifier", "Identifier", "Unique instance identifiers assigned to a device by the device or gateway software, manufacturers, other organizations or owners. For example: handle ID.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("identifier", "Identifier", "Unique instance identifiers assigned to a device by the device or gateway software, manufacturers, other organizations or owners. For example: handle ID.", 0, java.lang.Integer.MAX_VALUE, identifier));
children.add(new Property("type", "CodeableConcept", "Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.", 0, 1, type)); children.add(new Property("type", "CodeableConcept", "Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.", 0, 1, type));
children.add(new Property("unit", "CodeableConcept", "Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.", 0, 1, unit)); children.add(new Property("unit", "CodeableConcept", "Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.", 0, 1, unit));
children.add(new Property("source", "Reference(Device)", "Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacturer, serial number, etc.", 0, 1, source)); children.add(new Property("device", "Reference(Device)", "Describes the link to the Device. This is also known as a channel device.", 0, 1, device));
children.add(new Property("parent", "Reference(Device)", "Describes the link to the Device that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a Device that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location.", 0, 1, parent));
children.add(new Property("operationalStatus", "code", "Indicates current operational state of the device. For example: On, Off, Standby, etc.", 0, 1, operationalStatus)); children.add(new Property("operationalStatus", "code", "Indicates current operational state of the device. For example: On, Off, Standby, etc.", 0, 1, operationalStatus));
children.add(new Property("color", "code", "Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.", 0, 1, color)); children.add(new Property("color", "code", "Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.", 0, 1, color));
children.add(new Property("category", "code", "Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.", 0, 1, category)); children.add(new Property("category", "code", "Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.", 0, 1, category));
children.add(new Property("measurementPeriod", "Timing", "Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.", 0, 1, measurementPeriod)); children.add(new Property("measurementFrequency", "Quantity", "The frequency at which the metric is taken or recorded. Devices measure metrics at a wide range of frequencies; for example, an ECG might sample measurements in the millisecond range, while an NIBP might trigger only once an hour. Less often, the measurementFrequency may be based on a unit other than time, such as distance (e.g. for a measuring wheel). The update period may be different than the measurement frequency, if the device does not update the published observed value with the same frequency as it was measured.", 0, 1, measurementFrequency));
children.add(new Property("calibration", "", "Describes the calibrations that have been performed or that are required to be performed.", 0, java.lang.Integer.MAX_VALUE, calibration)); children.add(new Property("calibration", "", "Describes the calibrations that have been performed or that are required to be performed.", 0, java.lang.Integer.MAX_VALUE, calibration));
} }
@ -1566,12 +1535,11 @@ public class DeviceMetric extends DomainResource {
case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Unique instance identifiers assigned to a device by the device or gateway software, manufacturers, other organizations or owners. For example: handle ID.", 0, java.lang.Integer.MAX_VALUE, identifier); case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Unique instance identifiers assigned to a device by the device or gateway software, manufacturers, other organizations or owners. For example: handle ID.", 0, java.lang.Integer.MAX_VALUE, identifier);
case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.", 0, 1, type); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.", 0, 1, type);
case 3594628: /*unit*/ return new Property("unit", "CodeableConcept", "Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.", 0, 1, unit); case 3594628: /*unit*/ return new Property("unit", "CodeableConcept", "Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.", 0, 1, unit);
case -896505829: /*source*/ return new Property("source", "Reference(Device)", "Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacturer, serial number, etc.", 0, 1, source); case -1335157162: /*device*/ return new Property("device", "Reference(Device)", "Describes the link to the Device. This is also known as a channel device.", 0, 1, device);
case -995424086: /*parent*/ return new Property("parent", "Reference(Device)", "Describes the link to the Device that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a Device that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location.", 0, 1, parent);
case -2103166364: /*operationalStatus*/ return new Property("operationalStatus", "code", "Indicates current operational state of the device. For example: On, Off, Standby, etc.", 0, 1, operationalStatus); case -2103166364: /*operationalStatus*/ return new Property("operationalStatus", "code", "Indicates current operational state of the device. For example: On, Off, Standby, etc.", 0, 1, operationalStatus);
case 94842723: /*color*/ return new Property("color", "code", "Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.", 0, 1, color); case 94842723: /*color*/ return new Property("color", "code", "Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.", 0, 1, color);
case 50511102: /*category*/ return new Property("category", "code", "Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.", 0, 1, category); case 50511102: /*category*/ return new Property("category", "code", "Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.", 0, 1, category);
case -1300332387: /*measurementPeriod*/ return new Property("measurementPeriod", "Timing", "Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.", 0, 1, measurementPeriod); case 1766341888: /*measurementFrequency*/ return new Property("measurementFrequency", "Quantity", "The frequency at which the metric is taken or recorded. Devices measure metrics at a wide range of frequencies; for example, an ECG might sample measurements in the millisecond range, while an NIBP might trigger only once an hour. Less often, the measurementFrequency may be based on a unit other than time, such as distance (e.g. for a measuring wheel). The update period may be different than the measurement frequency, if the device does not update the published observed value with the same frequency as it was measured.", 0, 1, measurementFrequency);
case 1421318634: /*calibration*/ return new Property("calibration", "", "Describes the calibrations that have been performed or that are required to be performed.", 0, java.lang.Integer.MAX_VALUE, calibration); case 1421318634: /*calibration*/ return new Property("calibration", "", "Describes the calibrations that have been performed or that are required to be performed.", 0, java.lang.Integer.MAX_VALUE, calibration);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
} }
@ -1584,12 +1552,11 @@ public class DeviceMetric extends DomainResource {
case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier
case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept
case 3594628: /*unit*/ return this.unit == null ? new Base[0] : new Base[] {this.unit}; // CodeableConcept case 3594628: /*unit*/ return this.unit == null ? new Base[0] : new Base[] {this.unit}; // CodeableConcept
case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // Reference case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // Reference
case -995424086: /*parent*/ return this.parent == null ? new Base[0] : new Base[] {this.parent}; // Reference
case -2103166364: /*operationalStatus*/ return this.operationalStatus == null ? new Base[0] : new Base[] {this.operationalStatus}; // Enumeration<DeviceMetricOperationalStatus> case -2103166364: /*operationalStatus*/ return this.operationalStatus == null ? new Base[0] : new Base[] {this.operationalStatus}; // Enumeration<DeviceMetricOperationalStatus>
case 94842723: /*color*/ return this.color == null ? new Base[0] : new Base[] {this.color}; // Enumeration<DeviceMetricColor> case 94842723: /*color*/ return this.color == null ? new Base[0] : new Base[] {this.color}; // Enumeration<DeviceMetricColor>
case 50511102: /*category*/ return this.category == null ? new Base[0] : new Base[] {this.category}; // Enumeration<DeviceMetricCategory> case 50511102: /*category*/ return this.category == null ? new Base[0] : new Base[] {this.category}; // Enumeration<DeviceMetricCategory>
case -1300332387: /*measurementPeriod*/ return this.measurementPeriod == null ? new Base[0] : new Base[] {this.measurementPeriod}; // Timing case 1766341888: /*measurementFrequency*/ return this.measurementFrequency == null ? new Base[0] : new Base[] {this.measurementFrequency}; // Quantity
case 1421318634: /*calibration*/ return this.calibration == null ? new Base[0] : this.calibration.toArray(new Base[this.calibration.size()]); // DeviceMetricCalibrationComponent case 1421318634: /*calibration*/ return this.calibration == null ? new Base[0] : this.calibration.toArray(new Base[this.calibration.size()]); // DeviceMetricCalibrationComponent
default: return super.getProperty(hash, name, checkValid); default: return super.getProperty(hash, name, checkValid);
} }
@ -1608,11 +1575,8 @@ public class DeviceMetric extends DomainResource {
case 3594628: // unit case 3594628: // unit
this.unit = TypeConvertor.castToCodeableConcept(value); // CodeableConcept this.unit = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
return value; return value;
case -896505829: // source case -1335157162: // device
this.source = TypeConvertor.castToReference(value); // Reference this.device = TypeConvertor.castToReference(value); // Reference
return value;
case -995424086: // parent
this.parent = TypeConvertor.castToReference(value); // Reference
return value; return value;
case -2103166364: // operationalStatus case -2103166364: // operationalStatus
value = new DeviceMetricOperationalStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); value = new DeviceMetricOperationalStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
@ -1626,8 +1590,8 @@ public class DeviceMetric extends DomainResource {
value = new DeviceMetricCategoryEnumFactory().fromType(TypeConvertor.castToCode(value)); value = new DeviceMetricCategoryEnumFactory().fromType(TypeConvertor.castToCode(value));
this.category = (Enumeration) value; // Enumeration<DeviceMetricCategory> this.category = (Enumeration) value; // Enumeration<DeviceMetricCategory>
return value; return value;
case -1300332387: // measurementPeriod case 1766341888: // measurementFrequency
this.measurementPeriod = TypeConvertor.castToTiming(value); // Timing this.measurementFrequency = TypeConvertor.castToQuantity(value); // Quantity
return value; return value;
case 1421318634: // calibration case 1421318634: // calibration
this.getCalibration().add((DeviceMetricCalibrationComponent) value); // DeviceMetricCalibrationComponent this.getCalibration().add((DeviceMetricCalibrationComponent) value); // DeviceMetricCalibrationComponent
@ -1645,10 +1609,8 @@ public class DeviceMetric extends DomainResource {
this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
} else if (name.equals("unit")) { } else if (name.equals("unit")) {
this.unit = TypeConvertor.castToCodeableConcept(value); // CodeableConcept this.unit = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
} else if (name.equals("source")) { } else if (name.equals("device")) {
this.source = TypeConvertor.castToReference(value); // Reference this.device = TypeConvertor.castToReference(value); // Reference
} else if (name.equals("parent")) {
this.parent = TypeConvertor.castToReference(value); // Reference
} else if (name.equals("operationalStatus")) { } else if (name.equals("operationalStatus")) {
value = new DeviceMetricOperationalStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); value = new DeviceMetricOperationalStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
this.operationalStatus = (Enumeration) value; // Enumeration<DeviceMetricOperationalStatus> this.operationalStatus = (Enumeration) value; // Enumeration<DeviceMetricOperationalStatus>
@ -1658,8 +1620,8 @@ public class DeviceMetric extends DomainResource {
} else if (name.equals("category")) { } else if (name.equals("category")) {
value = new DeviceMetricCategoryEnumFactory().fromType(TypeConvertor.castToCode(value)); value = new DeviceMetricCategoryEnumFactory().fromType(TypeConvertor.castToCode(value));
this.category = (Enumeration) value; // Enumeration<DeviceMetricCategory> this.category = (Enumeration) value; // Enumeration<DeviceMetricCategory>
} else if (name.equals("measurementPeriod")) { } else if (name.equals("measurementFrequency")) {
this.measurementPeriod = TypeConvertor.castToTiming(value); // Timing this.measurementFrequency = TypeConvertor.castToQuantity(value); // Quantity
} else if (name.equals("calibration")) { } else if (name.equals("calibration")) {
this.getCalibration().add((DeviceMetricCalibrationComponent) value); this.getCalibration().add((DeviceMetricCalibrationComponent) value);
} else } else
@ -1673,12 +1635,11 @@ public class DeviceMetric extends DomainResource {
case -1618432855: return addIdentifier(); case -1618432855: return addIdentifier();
case 3575610: return getType(); case 3575610: return getType();
case 3594628: return getUnit(); case 3594628: return getUnit();
case -896505829: return getSource(); case -1335157162: return getDevice();
case -995424086: return getParent();
case -2103166364: return getOperationalStatusElement(); case -2103166364: return getOperationalStatusElement();
case 94842723: return getColorElement(); case 94842723: return getColorElement();
case 50511102: return getCategoryElement(); case 50511102: return getCategoryElement();
case -1300332387: return getMeasurementPeriod(); case 1766341888: return getMeasurementFrequency();
case 1421318634: return addCalibration(); case 1421318634: return addCalibration();
default: return super.makeProperty(hash, name); default: return super.makeProperty(hash, name);
} }
@ -1691,12 +1652,11 @@ public class DeviceMetric extends DomainResource {
case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case -1618432855: /*identifier*/ return new String[] {"Identifier"};
case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case 3575610: /*type*/ return new String[] {"CodeableConcept"};
case 3594628: /*unit*/ return new String[] {"CodeableConcept"}; case 3594628: /*unit*/ return new String[] {"CodeableConcept"};
case -896505829: /*source*/ return new String[] {"Reference"}; case -1335157162: /*device*/ return new String[] {"Reference"};
case -995424086: /*parent*/ return new String[] {"Reference"};
case -2103166364: /*operationalStatus*/ return new String[] {"code"}; case -2103166364: /*operationalStatus*/ return new String[] {"code"};
case 94842723: /*color*/ return new String[] {"code"}; case 94842723: /*color*/ return new String[] {"code"};
case 50511102: /*category*/ return new String[] {"code"}; case 50511102: /*category*/ return new String[] {"code"};
case -1300332387: /*measurementPeriod*/ return new String[] {"Timing"}; case 1766341888: /*measurementFrequency*/ return new String[] {"Quantity"};
case 1421318634: /*calibration*/ return new String[] {}; case 1421318634: /*calibration*/ return new String[] {};
default: return super.getTypesForProperty(hash, name); default: return super.getTypesForProperty(hash, name);
} }
@ -1716,13 +1676,9 @@ public class DeviceMetric extends DomainResource {
this.unit = new CodeableConcept(); this.unit = new CodeableConcept();
return this.unit; return this.unit;
} }
else if (name.equals("source")) { else if (name.equals("device")) {
this.source = new Reference(); this.device = new Reference();
return this.source; return this.device;
}
else if (name.equals("parent")) {
this.parent = new Reference();
return this.parent;
} }
else if (name.equals("operationalStatus")) { else if (name.equals("operationalStatus")) {
throw new FHIRException("Cannot call addChild on a primitive type DeviceMetric.operationalStatus"); throw new FHIRException("Cannot call addChild on a primitive type DeviceMetric.operationalStatus");
@ -1733,9 +1689,9 @@ public class DeviceMetric extends DomainResource {
else if (name.equals("category")) { else if (name.equals("category")) {
throw new FHIRException("Cannot call addChild on a primitive type DeviceMetric.category"); throw new FHIRException("Cannot call addChild on a primitive type DeviceMetric.category");
} }
else if (name.equals("measurementPeriod")) { else if (name.equals("measurementFrequency")) {
this.measurementPeriod = new Timing(); this.measurementFrequency = new Quantity();
return this.measurementPeriod; return this.measurementFrequency;
} }
else if (name.equals("calibration")) { else if (name.equals("calibration")) {
return addCalibration(); return addCalibration();
@ -1764,12 +1720,11 @@ public class DeviceMetric extends DomainResource {
}; };
dst.type = type == null ? null : type.copy(); dst.type = type == null ? null : type.copy();
dst.unit = unit == null ? null : unit.copy(); dst.unit = unit == null ? null : unit.copy();
dst.source = source == null ? null : source.copy(); dst.device = device == null ? null : device.copy();
dst.parent = parent == null ? null : parent.copy();
dst.operationalStatus = operationalStatus == null ? null : operationalStatus.copy(); dst.operationalStatus = operationalStatus == null ? null : operationalStatus.copy();
dst.color = color == null ? null : color.copy(); dst.color = color == null ? null : color.copy();
dst.category = category == null ? null : category.copy(); dst.category = category == null ? null : category.copy();
dst.measurementPeriod = measurementPeriod == null ? null : measurementPeriod.copy(); dst.measurementFrequency = measurementFrequency == null ? null : measurementFrequency.copy();
if (calibration != null) { if (calibration != null) {
dst.calibration = new ArrayList<DeviceMetricCalibrationComponent>(); dst.calibration = new ArrayList<DeviceMetricCalibrationComponent>();
for (DeviceMetricCalibrationComponent i : calibration) for (DeviceMetricCalibrationComponent i : calibration)
@ -1789,8 +1744,8 @@ public class DeviceMetric extends DomainResource {
return false; return false;
DeviceMetric o = (DeviceMetric) other_; DeviceMetric o = (DeviceMetric) other_;
return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(unit, o.unit, true) return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(unit, o.unit, true)
&& compareDeep(source, o.source, true) && compareDeep(parent, o.parent, true) && compareDeep(operationalStatus, o.operationalStatus, true) && compareDeep(device, o.device, true) && compareDeep(operationalStatus, o.operationalStatus, true)
&& compareDeep(color, o.color, true) && compareDeep(category, o.category, true) && compareDeep(measurementPeriod, o.measurementPeriod, true) && compareDeep(color, o.color, true) && compareDeep(category, o.category, true) && compareDeep(measurementFrequency, o.measurementFrequency, true)
&& compareDeep(calibration, o.calibration, true); && compareDeep(calibration, o.calibration, true);
} }
@ -1806,8 +1761,8 @@ public class DeviceMetric extends DomainResource {
} }
public boolean isEmpty() { public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, type, unit, source return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, type, unit, device
, parent, operationalStatus, color, category, measurementPeriod, calibration); , operationalStatus, color, category, measurementFrequency, calibration);
} }
@Override @Override
@ -1835,6 +1790,32 @@ public class DeviceMetric extends DomainResource {
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY);
/**
* Search parameter: <b>device</b>
* <p>
* Description: <b>The device resource</b><br>
* Type: <b>reference</b><br>
* Path: <b>DeviceMetric.device</b><br>
* </p>
*/
@SearchParamDefinition(name="device", path="DeviceMetric.device", description="The device resource", type="reference", target={Device.class } )
public static final String SP_DEVICE = "device";
/**
* <b>Fluent Client</b> search parameter constant for <b>device</b>
* <p>
* Description: <b>The device resource</b><br>
* Type: <b>reference</b><br>
* Path: <b>DeviceMetric.device</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEVICE);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "<b>DeviceMetric:device</b>".
*/
public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE = new ca.uhn.fhir.model.api.Include("DeviceMetric:device").toLocked();
/** /**
* Search parameter: <b>identifier</b> * Search parameter: <b>identifier</b>
* <p> * <p>
@ -1855,72 +1836,20 @@ public class DeviceMetric extends DomainResource {
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER);
/**
* Search parameter: <b>parent</b>
* <p>
* Description: <b>The parent DeviceMetric resource</b><br>
* Type: <b>reference</b><br>
* Path: <b>DeviceMetric.parent</b><br>
* </p>
*/
@SearchParamDefinition(name="parent", path="DeviceMetric.parent", description="The parent DeviceMetric resource", type="reference", target={Device.class } )
public static final String SP_PARENT = "parent";
/**
* <b>Fluent Client</b> search parameter constant for <b>parent</b>
* <p>
* Description: <b>The parent DeviceMetric resource</b><br>
* Type: <b>reference</b><br>
* Path: <b>DeviceMetric.parent</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARENT);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "<b>DeviceMetric:parent</b>".
*/
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT = new ca.uhn.fhir.model.api.Include("DeviceMetric:parent").toLocked();
/**
* Search parameter: <b>source</b>
* <p>
* Description: <b>The device resource</b><br>
* Type: <b>reference</b><br>
* Path: <b>DeviceMetric.source</b><br>
* </p>
*/
@SearchParamDefinition(name="source", path="DeviceMetric.source", description="The device resource", type="reference", target={Device.class } )
public static final String SP_SOURCE = "source";
/**
* <b>Fluent Client</b> search parameter constant for <b>source</b>
* <p>
* Description: <b>The device resource</b><br>
* Type: <b>reference</b><br>
* Path: <b>DeviceMetric.source</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "<b>DeviceMetric:source</b>".
*/
public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("DeviceMetric:source").toLocked();
/** /**
* Search parameter: <b>type</b> * Search parameter: <b>type</b>
* <p> * <p>
* Description: <b>The component type</b><br> * Description: <b>The type of metric</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>DeviceMetric.type</b><br> * Path: <b>DeviceMetric.type</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="type", path="DeviceMetric.type", description="The component type", type="token" ) @SearchParamDefinition(name="type", path="DeviceMetric.type", description="The type of metric", type="token" )
public static final String SP_TYPE = "type"; public static final String SP_TYPE = "type";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>type</b> * <b>Fluent Client</b> search parameter constant for <b>type</b>
* <p> * <p>
* Description: <b>The component type</b><br> * Description: <b>The type of metric</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>DeviceMetric.type</b><br> * Path: <b>DeviceMetric.type</b><br>
* </p> * </p>
@ -1929,3 +1858,4 @@ public class DeviceMetric extends DomainResource {
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

File diff suppressed because one or more lines are too long

View File

@ -29,16 +29,12 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Set;
import org.hl7.fhir.r5.model.Enumerations.*; import org.hl7.fhir.r5.model.Enumerations.*;
import org.hl7.fhir.r5.utils.ToolingExtensions;
import org.hl7.fhir.utilities.StandardsStatus;
import org.hl7.fhir.instance.model.api.IBaseBackboneElement; import org.hl7.fhir.instance.model.api.IBaseBackboneElement;
import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.instance.model.api.ICompositeType; import org.hl7.fhir.instance.model.api.ICompositeType;
@ -51,11 +47,14 @@ import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.Block; import ca.uhn.fhir.model.api.annotation.Block;
import java.util.Collections; import java.util.Collections;
import java.util.Set;
import org.hl7.fhir.instance.model.api.IDomainResource; import org.hl7.fhir.instance.model.api.IDomainResource;
import org.hl7.fhir.instance.model.api.IBaseDatatypeElement; import org.hl7.fhir.instance.model.api.IBaseDatatypeElement;
import org.hl7.fhir.instance.model.api.IBaseHasExtensions; import org.hl7.fhir.instance.model.api.IBaseHasExtensions;
import org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions; import org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions;
import org.hl7.fhir.instance.model.api.IBaseBackboneElement; import org.hl7.fhir.instance.model.api.IBaseBackboneElement;
import org.hl7.fhir.r5.utils.ToolingExtensions;
import org.hl7.fhir.utilities.StandardsStatus;
/** /**
* A resource that includes narrative, extensions, and contained resources. * A resource that includes narrative, extensions, and contained resources.
*/ */
@ -76,19 +75,19 @@ public abstract class DomainResource extends Resource implements IBaseHasExtensi
protected List<Resource> contained; protected List<Resource> contained;
/** /**
* May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. * May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
*/ */
@Child(name = "extension", type = {Extension.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "extension", type = {Extension.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Additional content defined by implementations", formalDefinition="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ) @Description(shortDefinition="Additional content defined by implementations", formalDefinition="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." )
protected List<Extension> extension; protected List<Extension> extension;
/** /**
* May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. * May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
*/ */
@Child(name = "modifierExtension", type = {Extension.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=true, summary=true) @Child(name = "modifierExtension", type = {Extension.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=true, summary=true)
@Description(shortDefinition="Extensions that cannot be ignored", formalDefinition="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ) @Description(shortDefinition="Extensions that cannot be ignored", formalDefinition="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." )
protected List<Extension> modifierExtension; protected List<Extension> modifierExtension;
private static final long serialVersionUID = -970285559L; private static final long serialVersionUID = -970285559L;
@ -160,7 +159,7 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
} }
/** /**
* @return {@link #extension} (May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.) * @return {@link #extension} (May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.)
*/ */
public List<Extension> getExtension() { public List<Extension> getExtension() {
if (this.extension == null) if (this.extension == null)
@ -203,7 +202,7 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
} }
/** /**
* @return {@link #modifierExtension} (May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. * @return {@link #modifierExtension} (May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).) Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).)
*/ */
@ -251,8 +250,8 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
super.listChildren(children); super.listChildren(children);
children.add(new Property("text", "Narrative", "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", 0, 1, text)); children.add(new Property("text", "Narrative", "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", 0, 1, text));
children.add(new Property("contained", "Resource", "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.", 0, java.lang.Integer.MAX_VALUE, contained)); children.add(new Property("contained", "Resource", "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.", 0, java.lang.Integer.MAX_VALUE, contained));
children.add(new Property("extension", "Extension", "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", 0, java.lang.Integer.MAX_VALUE, extension)); children.add(new Property("extension", "Extension", "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", 0, java.lang.Integer.MAX_VALUE, extension));
children.add(new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension)); children.add(new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension));
} }
@Override @Override
@ -260,8 +259,8 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or
switch (_hash) { switch (_hash) {
case 3556653: /*text*/ return new Property("text", "Narrative", "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", 0, 1, text); case 3556653: /*text*/ return new Property("text", "Narrative", "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", 0, 1, text);
case -410956685: /*contained*/ return new Property("contained", "Resource", "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.", 0, java.lang.Integer.MAX_VALUE, contained); case -410956685: /*contained*/ return new Property("contained", "Resource", "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.", 0, java.lang.Integer.MAX_VALUE, contained);
case -612557761: /*extension*/ return new Property("extension", "Extension", "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", 0, java.lang.Integer.MAX_VALUE, extension); case -612557761: /*extension*/ return new Property("extension", "Extension", "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", 0, java.lang.Integer.MAX_VALUE, extension);
case -298878168: /*modifierExtension*/ return new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension); case -298878168: /*modifierExtension*/ return new Property("modifierExtension", "Extension", "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", 0, java.lang.Integer.MAX_VALUE, modifierExtension);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
} }
@ -514,6 +513,7 @@ public void checkNoModifiers(String noun, String verb) throws FHIRException {
return Collections.unmodifiableList(retVal); return Collections.unmodifiableList(retVal);
} }
public StandardsStatus getStandardsStatus() { public StandardsStatus getStandardsStatus() {
return ToolingExtensions.getStandardsStatus(this); return ToolingExtensions.getStandardsStatus(this);
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -58,7 +58,7 @@ public class Dosage extends BackboneType implements ICompositeType {
*/ */
@Child(name = "type", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) @Child(name = "type", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="The kind of dose or rate specified", formalDefinition="The kind of dose or rate specified, for example, ordered or calculated." ) @Description(shortDefinition="The kind of dose or rate specified", formalDefinition="The kind of dose or rate specified, for example, ordered or calculated." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/recommendation-strength") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/dose-rate-type")
protected CodeableConcept type; protected CodeableConcept type;
/** /**

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

View File

@ -29,16 +29,13 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import org.hl7.fhir.utilities.StandardsStatus;
import org.hl7.fhir.utilities.Utilities; import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.r5.model.Enumerations.*; import org.hl7.fhir.r5.model.Enumerations.*;
import org.hl7.fhir.r5.utils.ToolingExtensions;
import org.hl7.fhir.instance.model.api.IBaseDatatypeElement; import org.hl7.fhir.instance.model.api.IBaseDatatypeElement;
import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.instance.model.api.ICompositeType; import org.hl7.fhir.instance.model.api.ICompositeType;
@ -50,6 +47,8 @@ import ca.uhn.fhir.model.api.annotation.Block;
import org.hl7.fhir.instance.model.api.IBaseElement; import org.hl7.fhir.instance.model.api.IBaseElement;
import org.hl7.fhir.instance.model.api.IBaseHasExtensions; import org.hl7.fhir.instance.model.api.IBaseHasExtensions;
import org.hl7.fhir.r5.utils.ToolingExtensions;
import org.hl7.fhir.utilities.StandardsStatus;
/** /**
* Element Type: Base definition for all elements in a resource. * Element Type: Base definition for all elements in a resource.
*/ */
@ -64,10 +63,10 @@ public abstract class Element extends Base implements IBaseHasExtensions, IBaseE
protected StringType id; protected StringType id;
/** /**
* May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. * May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
*/ */
@Child(name = "extension", type = {Extension.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "extension", type = {Extension.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Additional content defined by implementations", formalDefinition="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ) @Description(shortDefinition="Additional content defined by implementations", formalDefinition="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." )
protected List<Extension> extension; protected List<Extension> extension;
private static final long serialVersionUID = -1452745816L; private static final long serialVersionUID = -1452745816L;
@ -129,7 +128,7 @@ public abstract class Element extends Base implements IBaseHasExtensions, IBaseE
} }
/** /**
* @return {@link #extension} (May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.) * @return {@link #extension} (May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.)
*/ */
public List<Extension> getExtension() { public List<Extension> getExtension() {
if (this.extension == null) if (this.extension == null)
@ -184,14 +183,14 @@ public abstract class Element extends Base implements IBaseHasExtensions, IBaseE
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("id", "string", "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", 0, 1, id)); children.add(new Property("id", "string", "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", 0, 1, id));
children.add(new Property("extension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", 0, java.lang.Integer.MAX_VALUE, extension)); children.add(new Property("extension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", 0, java.lang.Integer.MAX_VALUE, extension));
} }
@Override @Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case 3355: /*id*/ return new Property("id", "string", "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", 0, 1, id); case 3355: /*id*/ return new Property("id", "string", "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", 0, 1, id);
case -612557761: /*extension*/ return new Property("extension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", 0, java.lang.Integer.MAX_VALUE, extension); case -612557761: /*extension*/ return new Property("extension", "Extension", "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", 0, java.lang.Integer.MAX_VALUE, extension);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
} }
@ -433,6 +432,7 @@ public abstract class Element extends Base implements IBaseHasExtensions, IBaseE
return ext.get(0).getValue().primitiveValue(); return ext.get(0).getValue().primitiveValue();
} }
public StandardsStatus getStandardsStatus() { public StandardsStatus getStandardsStatus() {
return ToolingExtensions.getStandardsStatus(this); return ToolingExtensions.getStandardsStatus(this);
} }
@ -441,7 +441,6 @@ public abstract class Element extends Base implements IBaseHasExtensions, IBaseE
ToolingExtensions.setStandardsStatus(this, status, null); ToolingExtensions.setStandardsStatus(this, status, null);
} }
// end addition // end addition
} }

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -195,6 +195,281 @@ public class Endpoint extends DomainResource {
public String toSystem(EndpointStatus code) { public String toSystem(EndpointStatus code) {
return code.getSystem(); return code.getSystem();
} }
}
@Block()
public static class EndpointPayloadComponent extends BackboneElement implements IBaseBackboneElement {
/**
* The payload type describes the acceptable content that can be communicated on the endpoint.
*/
@Child(name = "type", type = {CodeableConcept.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)", formalDefinition="The payload type describes the acceptable content that can be communicated on the endpoint." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/endpoint-payload-type")
protected List<CodeableConcept> type;
/**
* The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).
*/
@Child(name = "mimeType", type = {CodeType.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Mimetype to send. If not specified, the content could be anything (including no payload, if the connectionType defined this)", formalDefinition="The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/mimetypes")
protected List<CodeType> mimeType;
private static final long serialVersionUID = -1398955844L;
/**
* Constructor
*/
public EndpointPayloadComponent() {
super();
}
/**
* @return {@link #type} (The payload type describes the acceptable content that can be communicated on the endpoint.)
*/
public List<CodeableConcept> getType() {
if (this.type == null)
this.type = new ArrayList<CodeableConcept>();
return this.type;
}
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public EndpointPayloadComponent setType(List<CodeableConcept> theType) {
this.type = theType;
return this;
}
public boolean hasType() {
if (this.type == null)
return false;
for (CodeableConcept item : this.type)
if (!item.isEmpty())
return true;
return false;
}
public CodeableConcept addType() { //3
CodeableConcept t = new CodeableConcept();
if (this.type == null)
this.type = new ArrayList<CodeableConcept>();
this.type.add(t);
return t;
}
public EndpointPayloadComponent addType(CodeableConcept t) { //3
if (t == null)
return this;
if (this.type == null)
this.type = new ArrayList<CodeableConcept>();
this.type.add(t);
return this;
}
/**
* @return The first repetition of repeating field {@link #type}, creating it if it does not already exist {3}
*/
public CodeableConcept getTypeFirstRep() {
if (getType().isEmpty()) {
addType();
}
return getType().get(0);
}
/**
* @return {@link #mimeType} (The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).)
*/
public List<CodeType> getMimeType() {
if (this.mimeType == null)
this.mimeType = new ArrayList<CodeType>();
return this.mimeType;
}
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public EndpointPayloadComponent setMimeType(List<CodeType> theMimeType) {
this.mimeType = theMimeType;
return this;
}
public boolean hasMimeType() {
if (this.mimeType == null)
return false;
for (CodeType item : this.mimeType)
if (!item.isEmpty())
return true;
return false;
}
/**
* @return {@link #mimeType} (The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).)
*/
public CodeType addMimeTypeElement() {//2
CodeType t = new CodeType();
if (this.mimeType == null)
this.mimeType = new ArrayList<CodeType>();
this.mimeType.add(t);
return t;
}
/**
* @param value {@link #mimeType} (The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).)
*/
public EndpointPayloadComponent addMimeType(String value) { //1
CodeType t = new CodeType();
t.setValue(value);
if (this.mimeType == null)
this.mimeType = new ArrayList<CodeType>();
this.mimeType.add(t);
return this;
}
/**
* @param value {@link #mimeType} (The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).)
*/
public boolean hasMimeType(String value) {
if (this.mimeType == null)
return false;
for (CodeType v : this.mimeType)
if (v.getValue().equals(value)) // code
return true;
return false;
}
protected void listChildren(List<Property> children) {
super.listChildren(children);
children.add(new Property("type", "CodeableConcept", "The payload type describes the acceptable content that can be communicated on the endpoint.", 0, java.lang.Integer.MAX_VALUE, type));
children.add(new Property("mimeType", "code", "The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).", 0, java.lang.Integer.MAX_VALUE, mimeType));
}
@Override
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) {
case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The payload type describes the acceptable content that can be communicated on the endpoint.", 0, java.lang.Integer.MAX_VALUE, type);
case -1392120434: /*mimeType*/ return new Property("mimeType", "code", "The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).", 0, java.lang.Integer.MAX_VALUE, mimeType);
default: return super.getNamedProperty(_hash, _name, _checkValid);
}
}
@Override
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
switch (hash) {
case 3575610: /*type*/ return this.type == null ? new Base[0] : this.type.toArray(new Base[this.type.size()]); // CodeableConcept
case -1392120434: /*mimeType*/ return this.mimeType == null ? new Base[0] : this.mimeType.toArray(new Base[this.mimeType.size()]); // CodeType
default: return super.getProperty(hash, name, checkValid);
}
}
@Override
public Base setProperty(int hash, String name, Base value) throws FHIRException {
switch (hash) {
case 3575610: // type
this.getType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept
return value;
case -1392120434: // mimeType
this.getMimeType().add(TypeConvertor.castToCode(value)); // CodeType
return value;
default: return super.setProperty(hash, name, value);
}
}
@Override
public Base setProperty(String name, Base value) throws FHIRException {
if (name.equals("type")) {
this.getType().add(TypeConvertor.castToCodeableConcept(value));
} else if (name.equals("mimeType")) {
this.getMimeType().add(TypeConvertor.castToCode(value));
} else
return super.setProperty(name, value);
return value;
}
@Override
public Base makeProperty(int hash, String name) throws FHIRException {
switch (hash) {
case 3575610: return addType();
case -1392120434: return addMimeTypeElement();
default: return super.makeProperty(hash, name);
}
}
@Override
public String[] getTypesForProperty(int hash, String name) throws FHIRException {
switch (hash) {
case 3575610: /*type*/ return new String[] {"CodeableConcept"};
case -1392120434: /*mimeType*/ return new String[] {"code"};
default: return super.getTypesForProperty(hash, name);
}
}
@Override
public Base addChild(String name) throws FHIRException {
if (name.equals("type")) {
return addType();
}
else if (name.equals("mimeType")) {
throw new FHIRException("Cannot call addChild on a primitive type Endpoint.payload.mimeType");
}
else
return super.addChild(name);
}
public EndpointPayloadComponent copy() {
EndpointPayloadComponent dst = new EndpointPayloadComponent();
copyValues(dst);
return dst;
}
public void copyValues(EndpointPayloadComponent dst) {
super.copyValues(dst);
if (type != null) {
dst.type = new ArrayList<CodeableConcept>();
for (CodeableConcept i : type)
dst.type.add(i.copy());
};
if (mimeType != null) {
dst.mimeType = new ArrayList<CodeType>();
for (CodeType i : mimeType)
dst.mimeType.add(i.copy());
};
}
@Override
public boolean equalsDeep(Base other_) {
if (!super.equalsDeep(other_))
return false;
if (!(other_ instanceof EndpointPayloadComponent))
return false;
EndpointPayloadComponent o = (EndpointPayloadComponent) other_;
return compareDeep(type, o.type, true) && compareDeep(mimeType, o.mimeType, true);
}
@Override
public boolean equalsShallow(Base other_) {
if (!super.equalsShallow(other_))
return false;
if (!(other_ instanceof EndpointPayloadComponent))
return false;
EndpointPayloadComponent o = (EndpointPayloadComponent) other_;
return compareValues(mimeType, o.mimeType, true);
}
public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, mimeType);
}
public String fhirType() {
return "Endpoint.payload";
}
} }
/** /**
@ -228,17 +503,17 @@ public class Endpoint extends DomainResource {
protected StringType name; protected StringType name;
/** /**
* The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing it's usage/purpose). * The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing its usage/purpose).
*/ */
@Child(name = "description", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) @Child(name = "description", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Additional details about the endpoint that could be displayed as further information to identify the description beyond its name", formalDefinition="The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing it's usage/purpose)." ) @Description(shortDefinition="Additional details about the endpoint that could be displayed as further information to identify the description beyond its name", formalDefinition="The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing its usage/purpose)." )
protected StringType description; protected StringType description;
/** /**
* The type of environment(s) exposed at this endpoint (dev, prod, test, etc). * The type of environment(s) exposed at this endpoint (dev, prod, test, etc.).
*/ */
@Child(name = "environmentType", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Child(name = "environmentType", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The type of environment(s) exposed at this endpoint", formalDefinition="The type of environment(s) exposed at this endpoint (dev, prod, test, etc)." ) @Description(shortDefinition="The type of environment(s) exposed at this endpoint", formalDefinition="The type of environment(s) exposed at this endpoint (dev, prod, test, etc.)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/endpoint-environment") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/endpoint-environment")
protected List<CodeableConcept> environmentType; protected List<CodeableConcept> environmentType;
@ -264,36 +539,27 @@ public class Endpoint extends DomainResource {
protected Period period; protected Period period;
/** /**
* The payload type describes the acceptable content that can be communicated on the endpoint. * The set of payloads that are provided/available at this endpoint.
*/ */
@Child(name = "payloadType", type = {CodeableConcept.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Child(name = "payload", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)", formalDefinition="The payload type describes the acceptable content that can be communicated on the endpoint." ) @Description(shortDefinition="Set of payloads that are provided by this endpoint", formalDefinition="The set of payloads that are provided/available at this endpoint." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/endpoint-payload-type") protected List<EndpointPayloadComponent> payload;
protected List<CodeableConcept> payloadType;
/**
* The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).
*/
@Child(name = "payloadMimeType", type = {CodeType.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Mimetype to send. If not specified, the content could be anything (including no payload, if the connectionType defined this)", formalDefinition="The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/mimetypes")
protected List<CodeType> payloadMimeType;
/** /**
* The uri that describes the actual end-point to connect to. * The uri that describes the actual end-point to connect to.
*/ */
@Child(name = "address", type = {UrlType.class}, order=11, min=1, max=1, modifier=false, summary=true) @Child(name = "address", type = {UrlType.class}, order=10, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="The technical base address for connecting to this endpoint", formalDefinition="The uri that describes the actual end-point to connect to." ) @Description(shortDefinition="The technical base address for connecting to this endpoint", formalDefinition="The uri that describes the actual end-point to connect to." )
protected UrlType address; protected UrlType address;
/** /**
* Additional headers / information to send as part of the notification. * Additional headers / information to send as part of the notification.
*/ */
@Child(name = "header", type = {StringType.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "header", type = {StringType.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Usage depends on the channel type", formalDefinition="Additional headers / information to send as part of the notification." ) @Description(shortDefinition="Usage depends on the channel type", formalDefinition="Additional headers / information to send as part of the notification." )
protected List<StringType> header; protected List<StringType> header;
private static final long serialVersionUID = -775722791L; private static final long serialVersionUID = 1633700267L;
/** /**
* Constructor * Constructor
@ -513,7 +779,7 @@ public class Endpoint extends DomainResource {
} }
/** /**
* @return {@link #description} (The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing it's usage/purpose).). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value * @return {@link #description} (The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing its usage/purpose).). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
*/ */
public StringType getDescriptionElement() { public StringType getDescriptionElement() {
if (this.description == null) if (this.description == null)
@ -533,7 +799,7 @@ public class Endpoint extends DomainResource {
} }
/** /**
* @param value {@link #description} (The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing it's usage/purpose).). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value * @param value {@link #description} (The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing its usage/purpose).). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
*/ */
public Endpoint setDescriptionElement(StringType value) { public Endpoint setDescriptionElement(StringType value) {
this.description = value; this.description = value;
@ -541,14 +807,14 @@ public class Endpoint extends DomainResource {
} }
/** /**
* @return The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing it's usage/purpose). * @return The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing its usage/purpose).
*/ */
public String getDescription() { public String getDescription() {
return this.description == null ? null : this.description.getValue(); return this.description == null ? null : this.description.getValue();
} }
/** /**
* @param value The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing it's usage/purpose). * @param value The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing its usage/purpose).
*/ */
public Endpoint setDescription(String value) { public Endpoint setDescription(String value) {
if (Utilities.noString(value)) if (Utilities.noString(value))
@ -562,7 +828,7 @@ public class Endpoint extends DomainResource {
} }
/** /**
* @return {@link #environmentType} (The type of environment(s) exposed at this endpoint (dev, prod, test, etc).) * @return {@link #environmentType} (The type of environment(s) exposed at this endpoint (dev, prod, test, etc.).)
*/ */
public List<CodeableConcept> getEnvironmentType() { public List<CodeableConcept> getEnvironmentType() {
if (this.environmentType == null) if (this.environmentType == null)
@ -716,117 +982,56 @@ public class Endpoint extends DomainResource {
} }
/** /**
* @return {@link #payloadType} (The payload type describes the acceptable content that can be communicated on the endpoint.) * @return {@link #payload} (The set of payloads that are provided/available at this endpoint.)
*/ */
public List<CodeableConcept> getPayloadType() { public List<EndpointPayloadComponent> getPayload() {
if (this.payloadType == null) if (this.payload == null)
this.payloadType = new ArrayList<CodeableConcept>(); this.payload = new ArrayList<EndpointPayloadComponent>();
return this.payloadType; return this.payload;
} }
/** /**
* @return Returns a reference to <code>this</code> for easy method chaining * @return Returns a reference to <code>this</code> for easy method chaining
*/ */
public Endpoint setPayloadType(List<CodeableConcept> thePayloadType) { public Endpoint setPayload(List<EndpointPayloadComponent> thePayload) {
this.payloadType = thePayloadType; this.payload = thePayload;
return this; return this;
} }
public boolean hasPayloadType() { public boolean hasPayload() {
if (this.payloadType == null) if (this.payload == null)
return false; return false;
for (CodeableConcept item : this.payloadType) for (EndpointPayloadComponent item : this.payload)
if (!item.isEmpty()) if (!item.isEmpty())
return true; return true;
return false; return false;
} }
public CodeableConcept addPayloadType() { //3 public EndpointPayloadComponent addPayload() { //3
CodeableConcept t = new CodeableConcept(); EndpointPayloadComponent t = new EndpointPayloadComponent();
if (this.payloadType == null) if (this.payload == null)
this.payloadType = new ArrayList<CodeableConcept>(); this.payload = new ArrayList<EndpointPayloadComponent>();
this.payloadType.add(t); this.payload.add(t);
return t; return t;
} }
public Endpoint addPayloadType(CodeableConcept t) { //3 public Endpoint addPayload(EndpointPayloadComponent t) { //3
if (t == null) if (t == null)
return this; return this;
if (this.payloadType == null) if (this.payload == null)
this.payloadType = new ArrayList<CodeableConcept>(); this.payload = new ArrayList<EndpointPayloadComponent>();
this.payloadType.add(t); this.payload.add(t);
return this; return this;
} }
/** /**
* @return The first repetition of repeating field {@link #payloadType}, creating it if it does not already exist {3} * @return The first repetition of repeating field {@link #payload}, creating it if it does not already exist {3}
*/ */
public CodeableConcept getPayloadTypeFirstRep() { public EndpointPayloadComponent getPayloadFirstRep() {
if (getPayloadType().isEmpty()) { if (getPayload().isEmpty()) {
addPayloadType(); addPayload();
} }
return getPayloadType().get(0); return getPayload().get(0);
}
/**
* @return {@link #payloadMimeType} (The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).)
*/
public List<CodeType> getPayloadMimeType() {
if (this.payloadMimeType == null)
this.payloadMimeType = new ArrayList<CodeType>();
return this.payloadMimeType;
}
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Endpoint setPayloadMimeType(List<CodeType> thePayloadMimeType) {
this.payloadMimeType = thePayloadMimeType;
return this;
}
public boolean hasPayloadMimeType() {
if (this.payloadMimeType == null)
return false;
for (CodeType item : this.payloadMimeType)
if (!item.isEmpty())
return true;
return false;
}
/**
* @return {@link #payloadMimeType} (The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).)
*/
public CodeType addPayloadMimeTypeElement() {//2
CodeType t = new CodeType();
if (this.payloadMimeType == null)
this.payloadMimeType = new ArrayList<CodeType>();
this.payloadMimeType.add(t);
return t;
}
/**
* @param value {@link #payloadMimeType} (The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).)
*/
public Endpoint addPayloadMimeType(String value) { //1
CodeType t = new CodeType();
t.setValue(value);
if (this.payloadMimeType == null)
this.payloadMimeType = new ArrayList<CodeType>();
this.payloadMimeType.add(t);
return this;
}
/**
* @param value {@link #payloadMimeType} (The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).)
*/
public boolean hasPayloadMimeType(String value) {
if (this.payloadMimeType == null)
return false;
for (CodeType v : this.payloadMimeType)
if (v.getValue().equals(value)) // code
return true;
return false;
} }
/** /**
@ -941,13 +1146,12 @@ public class Endpoint extends DomainResource {
children.add(new Property("status", "code", "The endpoint status represents the general expected availability of an endpoint.", 0, 1, status)); children.add(new Property("status", "code", "The endpoint status represents the general expected availability of an endpoint.", 0, 1, status));
children.add(new Property("connectionType", "CodeableConcept", "A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).", 0, java.lang.Integer.MAX_VALUE, connectionType)); children.add(new Property("connectionType", "CodeableConcept", "A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).", 0, java.lang.Integer.MAX_VALUE, connectionType));
children.add(new Property("name", "string", "A friendly name that this endpoint can be referred to with.", 0, 1, name)); children.add(new Property("name", "string", "A friendly name that this endpoint can be referred to with.", 0, 1, name));
children.add(new Property("description", "string", "The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing it's usage/purpose).", 0, 1, description)); children.add(new Property("description", "string", "The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing its usage/purpose).", 0, 1, description));
children.add(new Property("environmentType", "CodeableConcept", "The type of environment(s) exposed at this endpoint (dev, prod, test, etc).", 0, java.lang.Integer.MAX_VALUE, environmentType)); children.add(new Property("environmentType", "CodeableConcept", "The type of environment(s) exposed at this endpoint (dev, prod, test, etc.).", 0, java.lang.Integer.MAX_VALUE, environmentType));
children.add(new Property("managingOrganization", "Reference(Organization)", "The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data).", 0, 1, managingOrganization)); children.add(new Property("managingOrganization", "Reference(Organization)", "The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data).", 0, 1, managingOrganization));
children.add(new Property("contact", "ContactPoint", "Contact details for a human to contact about the endpoint. The primary use of this for system administrator troubleshooting.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("contact", "ContactPoint", "Contact details for a human to contact about the endpoint. The primary use of this for system administrator troubleshooting.", 0, java.lang.Integer.MAX_VALUE, contact));
children.add(new Property("period", "Period", "The interval during which the endpoint is expected to be operational.", 0, 1, period)); children.add(new Property("period", "Period", "The interval during which the endpoint is expected to be operational.", 0, 1, period));
children.add(new Property("payloadType", "CodeableConcept", "The payload type describes the acceptable content that can be communicated on the endpoint.", 0, java.lang.Integer.MAX_VALUE, payloadType)); children.add(new Property("payload", "", "The set of payloads that are provided/available at this endpoint.", 0, java.lang.Integer.MAX_VALUE, payload));
children.add(new Property("payloadMimeType", "code", "The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).", 0, java.lang.Integer.MAX_VALUE, payloadMimeType));
children.add(new Property("address", "url", "The uri that describes the actual end-point to connect to.", 0, 1, address)); children.add(new Property("address", "url", "The uri that describes the actual end-point to connect to.", 0, 1, address));
children.add(new Property("header", "string", "Additional headers / information to send as part of the notification.", 0, java.lang.Integer.MAX_VALUE, header)); children.add(new Property("header", "string", "Additional headers / information to send as part of the notification.", 0, java.lang.Integer.MAX_VALUE, header));
} }
@ -959,13 +1163,12 @@ public class Endpoint extends DomainResource {
case -892481550: /*status*/ return new Property("status", "code", "The endpoint status represents the general expected availability of an endpoint.", 0, 1, status); case -892481550: /*status*/ return new Property("status", "code", "The endpoint status represents the general expected availability of an endpoint.", 0, 1, status);
case 1270211384: /*connectionType*/ return new Property("connectionType", "CodeableConcept", "A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).", 0, java.lang.Integer.MAX_VALUE, connectionType); case 1270211384: /*connectionType*/ return new Property("connectionType", "CodeableConcept", "A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).", 0, java.lang.Integer.MAX_VALUE, connectionType);
case 3373707: /*name*/ return new Property("name", "string", "A friendly name that this endpoint can be referred to with.", 0, 1, name); case 3373707: /*name*/ return new Property("name", "string", "A friendly name that this endpoint can be referred to with.", 0, 1, name);
case -1724546052: /*description*/ return new Property("description", "string", "The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing it's usage/purpose).", 0, 1, description); case -1724546052: /*description*/ return new Property("description", "string", "The description of the endpoint and what it is for (typically used as supplemental information in an endpoint directory describing its usage/purpose).", 0, 1, description);
case 1680602093: /*environmentType*/ return new Property("environmentType", "CodeableConcept", "The type of environment(s) exposed at this endpoint (dev, prod, test, etc).", 0, java.lang.Integer.MAX_VALUE, environmentType); case 1680602093: /*environmentType*/ return new Property("environmentType", "CodeableConcept", "The type of environment(s) exposed at this endpoint (dev, prod, test, etc.).", 0, java.lang.Integer.MAX_VALUE, environmentType);
case -2058947787: /*managingOrganization*/ return new Property("managingOrganization", "Reference(Organization)", "The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data).", 0, 1, managingOrganization); case -2058947787: /*managingOrganization*/ return new Property("managingOrganization", "Reference(Organization)", "The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data).", 0, 1, managingOrganization);
case 951526432: /*contact*/ return new Property("contact", "ContactPoint", "Contact details for a human to contact about the endpoint. The primary use of this for system administrator troubleshooting.", 0, java.lang.Integer.MAX_VALUE, contact); case 951526432: /*contact*/ return new Property("contact", "ContactPoint", "Contact details for a human to contact about the endpoint. The primary use of this for system administrator troubleshooting.", 0, java.lang.Integer.MAX_VALUE, contact);
case -991726143: /*period*/ return new Property("period", "Period", "The interval during which the endpoint is expected to be operational.", 0, 1, period); case -991726143: /*period*/ return new Property("period", "Period", "The interval during which the endpoint is expected to be operational.", 0, 1, period);
case 909929960: /*payloadType*/ return new Property("payloadType", "CodeableConcept", "The payload type describes the acceptable content that can be communicated on the endpoint.", 0, java.lang.Integer.MAX_VALUE, payloadType); case -786701938: /*payload*/ return new Property("payload", "", "The set of payloads that are provided/available at this endpoint.", 0, java.lang.Integer.MAX_VALUE, payload);
case -1702836932: /*payloadMimeType*/ return new Property("payloadMimeType", "code", "The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).", 0, java.lang.Integer.MAX_VALUE, payloadMimeType);
case -1147692044: /*address*/ return new Property("address", "url", "The uri that describes the actual end-point to connect to.", 0, 1, address); case -1147692044: /*address*/ return new Property("address", "url", "The uri that describes the actual end-point to connect to.", 0, 1, address);
case -1221270899: /*header*/ return new Property("header", "string", "Additional headers / information to send as part of the notification.", 0, java.lang.Integer.MAX_VALUE, header); case -1221270899: /*header*/ return new Property("header", "string", "Additional headers / information to send as part of the notification.", 0, java.lang.Integer.MAX_VALUE, header);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
@ -985,8 +1188,7 @@ public class Endpoint extends DomainResource {
case -2058947787: /*managingOrganization*/ return this.managingOrganization == null ? new Base[0] : new Base[] {this.managingOrganization}; // Reference case -2058947787: /*managingOrganization*/ return this.managingOrganization == null ? new Base[0] : new Base[] {this.managingOrganization}; // Reference
case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactPoint case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactPoint
case -991726143: /*period*/ return this.period == null ? new Base[0] : new Base[] {this.period}; // Period case -991726143: /*period*/ return this.period == null ? new Base[0] : new Base[] {this.period}; // Period
case 909929960: /*payloadType*/ return this.payloadType == null ? new Base[0] : this.payloadType.toArray(new Base[this.payloadType.size()]); // CodeableConcept case -786701938: /*payload*/ return this.payload == null ? new Base[0] : this.payload.toArray(new Base[this.payload.size()]); // EndpointPayloadComponent
case -1702836932: /*payloadMimeType*/ return this.payloadMimeType == null ? new Base[0] : this.payloadMimeType.toArray(new Base[this.payloadMimeType.size()]); // CodeType
case -1147692044: /*address*/ return this.address == null ? new Base[0] : new Base[] {this.address}; // UrlType case -1147692044: /*address*/ return this.address == null ? new Base[0] : new Base[] {this.address}; // UrlType
case -1221270899: /*header*/ return this.header == null ? new Base[0] : this.header.toArray(new Base[this.header.size()]); // StringType case -1221270899: /*header*/ return this.header == null ? new Base[0] : this.header.toArray(new Base[this.header.size()]); // StringType
default: return super.getProperty(hash, name, checkValid); default: return super.getProperty(hash, name, checkValid);
@ -1025,11 +1227,8 @@ public class Endpoint extends DomainResource {
case -991726143: // period case -991726143: // period
this.period = TypeConvertor.castToPeriod(value); // Period this.period = TypeConvertor.castToPeriod(value); // Period
return value; return value;
case 909929960: // payloadType case -786701938: // payload
this.getPayloadType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept this.getPayload().add((EndpointPayloadComponent) value); // EndpointPayloadComponent
return value;
case -1702836932: // payloadMimeType
this.getPayloadMimeType().add(TypeConvertor.castToCode(value)); // CodeType
return value; return value;
case -1147692044: // address case -1147692044: // address
this.address = TypeConvertor.castToUrl(value); // UrlType this.address = TypeConvertor.castToUrl(value); // UrlType
@ -1063,10 +1262,8 @@ public class Endpoint extends DomainResource {
this.getContact().add(TypeConvertor.castToContactPoint(value)); this.getContact().add(TypeConvertor.castToContactPoint(value));
} else if (name.equals("period")) { } else if (name.equals("period")) {
this.period = TypeConvertor.castToPeriod(value); // Period this.period = TypeConvertor.castToPeriod(value); // Period
} else if (name.equals("payloadType")) { } else if (name.equals("payload")) {
this.getPayloadType().add(TypeConvertor.castToCodeableConcept(value)); this.getPayload().add((EndpointPayloadComponent) value);
} else if (name.equals("payloadMimeType")) {
this.getPayloadMimeType().add(TypeConvertor.castToCode(value));
} else if (name.equals("address")) { } else if (name.equals("address")) {
this.address = TypeConvertor.castToUrl(value); // UrlType this.address = TypeConvertor.castToUrl(value); // UrlType
} else if (name.equals("header")) { } else if (name.equals("header")) {
@ -1088,8 +1285,7 @@ public class Endpoint extends DomainResource {
case -2058947787: return getManagingOrganization(); case -2058947787: return getManagingOrganization();
case 951526432: return addContact(); case 951526432: return addContact();
case -991726143: return getPeriod(); case -991726143: return getPeriod();
case 909929960: return addPayloadType(); case -786701938: return addPayload();
case -1702836932: return addPayloadMimeTypeElement();
case -1147692044: return getAddressElement(); case -1147692044: return getAddressElement();
case -1221270899: return addHeaderElement(); case -1221270899: return addHeaderElement();
default: return super.makeProperty(hash, name); default: return super.makeProperty(hash, name);
@ -1109,8 +1305,7 @@ public class Endpoint extends DomainResource {
case -2058947787: /*managingOrganization*/ return new String[] {"Reference"}; case -2058947787: /*managingOrganization*/ return new String[] {"Reference"};
case 951526432: /*contact*/ return new String[] {"ContactPoint"}; case 951526432: /*contact*/ return new String[] {"ContactPoint"};
case -991726143: /*period*/ return new String[] {"Period"}; case -991726143: /*period*/ return new String[] {"Period"};
case 909929960: /*payloadType*/ return new String[] {"CodeableConcept"}; case -786701938: /*payload*/ return new String[] {};
case -1702836932: /*payloadMimeType*/ return new String[] {"code"};
case -1147692044: /*address*/ return new String[] {"url"}; case -1147692044: /*address*/ return new String[] {"url"};
case -1221270899: /*header*/ return new String[] {"string"}; case -1221270899: /*header*/ return new String[] {"string"};
default: return super.getTypesForProperty(hash, name); default: return super.getTypesForProperty(hash, name);
@ -1149,11 +1344,8 @@ public class Endpoint extends DomainResource {
this.period = new Period(); this.period = new Period();
return this.period; return this.period;
} }
else if (name.equals("payloadType")) { else if (name.equals("payload")) {
return addPayloadType(); return addPayload();
}
else if (name.equals("payloadMimeType")) {
throw new FHIRException("Cannot call addChild on a primitive type Endpoint.payloadMimeType");
} }
else if (name.equals("address")) { else if (name.equals("address")) {
throw new FHIRException("Cannot call addChild on a primitive type Endpoint.address"); throw new FHIRException("Cannot call addChild on a primitive type Endpoint.address");
@ -1203,15 +1395,10 @@ public class Endpoint extends DomainResource {
dst.contact.add(i.copy()); dst.contact.add(i.copy());
}; };
dst.period = period == null ? null : period.copy(); dst.period = period == null ? null : period.copy();
if (payloadType != null) { if (payload != null) {
dst.payloadType = new ArrayList<CodeableConcept>(); dst.payload = new ArrayList<EndpointPayloadComponent>();
for (CodeableConcept i : payloadType) for (EndpointPayloadComponent i : payload)
dst.payloadType.add(i.copy()); dst.payload.add(i.copy());
};
if (payloadMimeType != null) {
dst.payloadMimeType = new ArrayList<CodeType>();
for (CodeType i : payloadMimeType)
dst.payloadMimeType.add(i.copy());
}; };
dst.address = address == null ? null : address.copy(); dst.address = address == null ? null : address.copy();
if (header != null) { if (header != null) {
@ -1235,8 +1422,8 @@ public class Endpoint extends DomainResource {
return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(connectionType, o.connectionType, true) return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(connectionType, o.connectionType, true)
&& compareDeep(name, o.name, true) && compareDeep(description, o.description, true) && compareDeep(environmentType, o.environmentType, true) && compareDeep(name, o.name, true) && compareDeep(description, o.description, true) && compareDeep(environmentType, o.environmentType, true)
&& compareDeep(managingOrganization, o.managingOrganization, true) && compareDeep(contact, o.contact, true) && compareDeep(managingOrganization, o.managingOrganization, true) && compareDeep(contact, o.contact, true)
&& compareDeep(period, o.period, true) && compareDeep(payloadType, o.payloadType, true) && compareDeep(payloadMimeType, o.payloadMimeType, true) && compareDeep(period, o.period, true) && compareDeep(payload, o.payload, true) && compareDeep(address, o.address, true)
&& compareDeep(address, o.address, true) && compareDeep(header, o.header, true); && compareDeep(header, o.header, true);
} }
@Override @Override
@ -1247,14 +1434,13 @@ public class Endpoint extends DomainResource {
return false; return false;
Endpoint o = (Endpoint) other_; Endpoint o = (Endpoint) other_;
return compareValues(status, o.status, true) && compareValues(name, o.name, true) && compareValues(description, o.description, true) return compareValues(status, o.status, true) && compareValues(name, o.name, true) && compareValues(description, o.description, true)
&& compareValues(payloadMimeType, o.payloadMimeType, true) && compareValues(address, o.address, true) && compareValues(address, o.address, true) && compareValues(header, o.header, true);
&& compareValues(header, o.header, true);
} }
public boolean isEmpty() { public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, connectionType return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, connectionType
, name, description, environmentType, managingOrganization, contact, period, payloadType , name, description, environmentType, managingOrganization, contact, period, payload
, payloadMimeType, address, header); , address, header);
} }
@Override @Override
@ -1353,17 +1539,17 @@ public class Endpoint extends DomainResource {
* <p> * <p>
* Description: <b>The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)</b><br> * Description: <b>The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>Endpoint.payloadType</b><br> * Path: <b>Endpoint.payload.type</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="payload-type", path="Endpoint.payloadType", description="The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)", type="token" ) @SearchParamDefinition(name="payload-type", path="Endpoint.payload.type", description="The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)", type="token" )
public static final String SP_PAYLOAD_TYPE = "payload-type"; public static final String SP_PAYLOAD_TYPE = "payload-type";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>payload-type</b> * <b>Fluent Client</b> search parameter constant for <b>payload-type</b>
* <p> * <p>
* Description: <b>The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)</b><br> * Description: <b>The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)</b><br>
* Type: <b>token</b><br> * Type: <b>token</b><br>
* Path: <b>Endpoint.payloadType</b><br> * Path: <b>Endpoint.payload.type</b><br>
* </p> * </p>
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PAYLOAD_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PAYLOAD_TYPE); public static final ca.uhn.fhir.rest.gclient.TokenClientParam PAYLOAD_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PAYLOAD_TYPE);
@ -1390,3 +1576,4 @@ public class Endpoint extends DomainResource {
} }

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -870,3 +870,4 @@ public class EnrollmentResponse extends DomainResource {
} }

View File

@ -37,6 +37,7 @@ import java.io.ObjectOutput;
import java.util.ArrayList; import java.util.ArrayList;
import org.hl7.fhir.instance.model.api.IBaseEnumeration; import org.hl7.fhir.instance.model.api.IBaseEnumeration;
import ca.uhn.fhir.model.api.annotation.DatatypeDef; import ca.uhn.fhir.model.api.annotation.DatatypeDef;
/* /*
@ -129,6 +130,18 @@ public class Enumeration<T extends Enum<?>> extends PrimitiveType<T> implements
getExtension().addAll(source.getExtension()); getExtension().addAll(source.getExtension());
} }
/**
* Constructor
*/
public Enumeration(EnumFactory<T> theEnumFactory, CodeType source) {
if (theEnumFactory == null)
throw new IllegalArgumentException("An enumeration factory must be provided");
myEnumFactory = theEnumFactory;
setValue(myEnumFactory.fromCode(source.getCode()));
setId(source.getId());
getExtension().addAll(source.getExtension());
}
@Override @Override
public Enumeration<T> copy() { public Enumeration<T> copy() {
Enumeration dst= new Enumeration(this.myEnumFactory, (Enum)this.getValue()); Enumeration dst= new Enumeration(this.myEnumFactory, (Enum)this.getValue());
@ -231,4 +244,12 @@ public class Enumeration<T extends Enum<?>> extends PrimitiveType<T> implements
public boolean supportsDisplay() { public boolean supportsDisplay() {
return false; return false;
} }
public CodeType getCodeType() {
CodeType ct = new CodeType();
ct.setId(getId());
ct.getExtension().addAll(getExtension());
ct.setValue(asStringValue());
return ct;
}
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -61,9 +61,9 @@ public class Expression extends DataType implements ICompositeType {
/** /**
* A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined. * A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.
*/ */
@Child(name = "name", type = {IdType.class}, order=1, min=0, max=1, modifier=false, summary=true) @Child(name = "name", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Short name assigned to expression for reuse", formalDefinition="A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined." ) @Description(shortDefinition="Short name assigned to expression for reuse", formalDefinition="A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined." )
protected IdType name; protected CodeType name;
/** /**
* The media type of the language for the expression. * The media type of the language for the expression.
@ -87,7 +87,7 @@ public class Expression extends DataType implements ICompositeType {
@Description(shortDefinition="Where the expression is found", formalDefinition="A URI that defines where the expression is found." ) @Description(shortDefinition="Where the expression is found", formalDefinition="A URI that defines where the expression is found." )
protected UriType reference; protected UriType reference;
private static final long serialVersionUID = -465056222L; private static final long serialVersionUID = -1266682572L;
/** /**
* Constructor * Constructor
@ -148,12 +148,12 @@ public class Expression extends DataType implements ICompositeType {
/** /**
* @return {@link #name} (A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value * @return {@link #name} (A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
*/ */
public IdType getNameElement() { public CodeType getNameElement() {
if (this.name == null) if (this.name == null)
if (Configuration.errorOnAutoCreate()) if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create Expression.name"); throw new Error("Attempt to auto-create Expression.name");
else if (Configuration.doAutoCreate()) else if (Configuration.doAutoCreate())
this.name = new IdType(); // bb this.name = new CodeType(); // bb
return this.name; return this.name;
} }
@ -168,7 +168,7 @@ public class Expression extends DataType implements ICompositeType {
/** /**
* @param value {@link #name} (A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value * @param value {@link #name} (A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
*/ */
public Expression setNameElement(IdType value) { public Expression setNameElement(CodeType value) {
this.name = value; this.name = value;
return this; return this;
} }
@ -188,7 +188,7 @@ public class Expression extends DataType implements ICompositeType {
this.name = null; this.name = null;
else { else {
if (this.name == null) if (this.name == null)
this.name = new IdType(); this.name = new CodeType();
this.name.setValue(value); this.name.setValue(value);
} }
return this; return this;
@ -344,7 +344,7 @@ public class Expression extends DataType implements ICompositeType {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("description", "string", "A brief, natural language description of the condition that effectively communicates the intended semantics.", 0, 1, description)); children.add(new Property("description", "string", "A brief, natural language description of the condition that effectively communicates the intended semantics.", 0, 1, description));
children.add(new Property("name", "id", "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.", 0, 1, name)); children.add(new Property("name", "code", "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.", 0, 1, name));
children.add(new Property("language", "code", "The media type of the language for the expression.", 0, 1, language)); children.add(new Property("language", "code", "The media type of the language for the expression.", 0, 1, language));
children.add(new Property("expression", "string", "An expression in the specified language that returns a value.", 0, 1, expression)); children.add(new Property("expression", "string", "An expression in the specified language that returns a value.", 0, 1, expression));
children.add(new Property("reference", "uri", "A URI that defines where the expression is found.", 0, 1, reference)); children.add(new Property("reference", "uri", "A URI that defines where the expression is found.", 0, 1, reference));
@ -354,7 +354,7 @@ public class Expression extends DataType implements ICompositeType {
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case -1724546052: /*description*/ return new Property("description", "string", "A brief, natural language description of the condition that effectively communicates the intended semantics.", 0, 1, description); case -1724546052: /*description*/ return new Property("description", "string", "A brief, natural language description of the condition that effectively communicates the intended semantics.", 0, 1, description);
case 3373707: /*name*/ return new Property("name", "id", "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.", 0, 1, name); case 3373707: /*name*/ return new Property("name", "code", "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.", 0, 1, name);
case -1613589672: /*language*/ return new Property("language", "code", "The media type of the language for the expression.", 0, 1, language); case -1613589672: /*language*/ return new Property("language", "code", "The media type of the language for the expression.", 0, 1, language);
case -1795452264: /*expression*/ return new Property("expression", "string", "An expression in the specified language that returns a value.", 0, 1, expression); case -1795452264: /*expression*/ return new Property("expression", "string", "An expression in the specified language that returns a value.", 0, 1, expression);
case -925155509: /*reference*/ return new Property("reference", "uri", "A URI that defines where the expression is found.", 0, 1, reference); case -925155509: /*reference*/ return new Property("reference", "uri", "A URI that defines where the expression is found.", 0, 1, reference);
@ -367,7 +367,7 @@ public class Expression extends DataType implements ICompositeType {
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
switch (hash) { switch (hash) {
case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType
case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // IdType case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // CodeType
case -1613589672: /*language*/ return this.language == null ? new Base[0] : new Base[] {this.language}; // CodeType case -1613589672: /*language*/ return this.language == null ? new Base[0] : new Base[] {this.language}; // CodeType
case -1795452264: /*expression*/ return this.expression == null ? new Base[0] : new Base[] {this.expression}; // StringType case -1795452264: /*expression*/ return this.expression == null ? new Base[0] : new Base[] {this.expression}; // StringType
case -925155509: /*reference*/ return this.reference == null ? new Base[0] : new Base[] {this.reference}; // UriType case -925155509: /*reference*/ return this.reference == null ? new Base[0] : new Base[] {this.reference}; // UriType
@ -383,7 +383,7 @@ public class Expression extends DataType implements ICompositeType {
this.description = TypeConvertor.castToString(value); // StringType this.description = TypeConvertor.castToString(value); // StringType
return value; return value;
case 3373707: // name case 3373707: // name
this.name = TypeConvertor.castToId(value); // IdType this.name = TypeConvertor.castToCode(value); // CodeType
return value; return value;
case -1613589672: // language case -1613589672: // language
this.language = TypeConvertor.castToCode(value); // CodeType this.language = TypeConvertor.castToCode(value); // CodeType
@ -404,7 +404,7 @@ public class Expression extends DataType implements ICompositeType {
if (name.equals("description")) { if (name.equals("description")) {
this.description = TypeConvertor.castToString(value); // StringType this.description = TypeConvertor.castToString(value); // StringType
} else if (name.equals("name")) { } else if (name.equals("name")) {
this.name = TypeConvertor.castToId(value); // IdType this.name = TypeConvertor.castToCode(value); // CodeType
} else if (name.equals("language")) { } else if (name.equals("language")) {
this.language = TypeConvertor.castToCode(value); // CodeType this.language = TypeConvertor.castToCode(value); // CodeType
} else if (name.equals("expression")) { } else if (name.equals("expression")) {
@ -433,7 +433,7 @@ public class Expression extends DataType implements ICompositeType {
public String[] getTypesForProperty(int hash, String name) throws FHIRException { public String[] getTypesForProperty(int hash, String name) throws FHIRException {
switch (hash) { switch (hash) {
case -1724546052: /*description*/ return new String[] {"string"}; case -1724546052: /*description*/ return new String[] {"string"};
case 3373707: /*name*/ return new String[] {"id"}; case 3373707: /*name*/ return new String[] {"code"};
case -1613589672: /*language*/ return new String[] {"code"}; case -1613589672: /*language*/ return new String[] {"code"};
case -1795452264: /*expression*/ return new String[] {"string"}; case -1795452264: /*expression*/ return new String[] {"string"};
case -925155509: /*reference*/ return new String[] {"uri"}; case -925155509: /*reference*/ return new String[] {"uri"};

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -521,3 +521,4 @@ public class FormularyItem extends DomainResource {
} }

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
// Generated on Tue, Dec 13, 2022 17:53+1100 for FHIR vcurrent // Generated on Wed, Mar 1, 2023 15:32+1100 for FHIR v5.0.0-draft-final
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
@ -53,19 +53,163 @@ import ca.uhn.fhir.model.api.annotation.Block;
@ResourceDef(name="GenomicStudy", profile="http://hl7.org/fhir/StructureDefinition/GenomicStudy") @ResourceDef(name="GenomicStudy", profile="http://hl7.org/fhir/StructureDefinition/GenomicStudy")
public class GenomicStudy extends DomainResource { public class GenomicStudy extends DomainResource {
public enum GenomicStudyStatus {
/**
* The existence of the genomic study is registered, but there is nothing yet available.
*/
REGISTERED,
/**
* At least one instance has been associated with this genomic study.
*/
AVAILABLE,
/**
* The genomic study is unavailable because the genomic study was not started or not completed (also sometimes called \"aborted\").
*/
CANCELLED,
/**
* The genomic study has been withdrawn following a previous final release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"cancelled\" rather than \"entered-in-error\".).
*/
ENTEREDINERROR,
/**
* The system does not know which of the status values currently applies for this request. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, it's just not known which one.
*/
UNKNOWN,
/**
* added to help the parsers with the generic types
*/
NULL;
public static GenomicStudyStatus fromCode(String codeString) throws FHIRException {
if (codeString == null || "".equals(codeString))
return null;
if ("registered".equals(codeString))
return REGISTERED;
if ("available".equals(codeString))
return AVAILABLE;
if ("cancelled".equals(codeString))
return CANCELLED;
if ("entered-in-error".equals(codeString))
return ENTEREDINERROR;
if ("unknown".equals(codeString))
return UNKNOWN;
if (Configuration.isAcceptInvalidEnums())
return null;
else
throw new FHIRException("Unknown GenomicStudyStatus code '"+codeString+"'");
}
public String toCode() {
switch (this) {
case REGISTERED: return "registered";
case AVAILABLE: return "available";
case CANCELLED: return "cancelled";
case ENTEREDINERROR: return "entered-in-error";
case UNKNOWN: return "unknown";
case NULL: return null;
default: return "?";
}
}
public String getSystem() {
switch (this) {
case REGISTERED: return "http://hl7.org/fhir/genomicstudy-status";
case AVAILABLE: return "http://hl7.org/fhir/genomicstudy-status";
case CANCELLED: return "http://hl7.org/fhir/genomicstudy-status";
case ENTEREDINERROR: return "http://hl7.org/fhir/genomicstudy-status";
case UNKNOWN: return "http://hl7.org/fhir/genomicstudy-status";
case NULL: return null;
default: return "?";
}
}
public String getDefinition() {
switch (this) {
case REGISTERED: return "The existence of the genomic study is registered, but there is nothing yet available.";
case AVAILABLE: return "At least one instance has been associated with this genomic study.";
case CANCELLED: return "The genomic study is unavailable because the genomic study was not started or not completed (also sometimes called \"aborted\").";
case ENTEREDINERROR: return "The genomic study has been withdrawn following a previous final release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"cancelled\" rather than \"entered-in-error\".).";
case UNKNOWN: return "The system does not know which of the status values currently applies for this request. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, it's just not known which one.";
case NULL: return null;
default: return "?";
}
}
public String getDisplay() {
switch (this) {
case REGISTERED: return "Registered";
case AVAILABLE: return "Available";
case CANCELLED: return "Cancelled";
case ENTEREDINERROR: return "Entered in Error";
case UNKNOWN: return "Unknown";
case NULL: return null;
default: return "?";
}
}
}
public static class GenomicStudyStatusEnumFactory implements EnumFactory<GenomicStudyStatus> {
public GenomicStudyStatus fromCode(String codeString) throws IllegalArgumentException {
if (codeString == null || "".equals(codeString))
if (codeString == null || "".equals(codeString))
return null;
if ("registered".equals(codeString))
return GenomicStudyStatus.REGISTERED;
if ("available".equals(codeString))
return GenomicStudyStatus.AVAILABLE;
if ("cancelled".equals(codeString))
return GenomicStudyStatus.CANCELLED;
if ("entered-in-error".equals(codeString))
return GenomicStudyStatus.ENTEREDINERROR;
if ("unknown".equals(codeString))
return GenomicStudyStatus.UNKNOWN;
throw new IllegalArgumentException("Unknown GenomicStudyStatus code '"+codeString+"'");
}
public Enumeration<GenomicStudyStatus> fromType(PrimitiveType<?> code) throws FHIRException {
if (code == null)
return null;
if (code.isEmpty())
return new Enumeration<GenomicStudyStatus>(this, GenomicStudyStatus.NULL, code);
String codeString = ((PrimitiveType) code).asStringValue();
if (codeString == null || "".equals(codeString))
return new Enumeration<GenomicStudyStatus>(this, GenomicStudyStatus.NULL, code);
if ("registered".equals(codeString))
return new Enumeration<GenomicStudyStatus>(this, GenomicStudyStatus.REGISTERED, code);
if ("available".equals(codeString))
return new Enumeration<GenomicStudyStatus>(this, GenomicStudyStatus.AVAILABLE, code);
if ("cancelled".equals(codeString))
return new Enumeration<GenomicStudyStatus>(this, GenomicStudyStatus.CANCELLED, code);
if ("entered-in-error".equals(codeString))
return new Enumeration<GenomicStudyStatus>(this, GenomicStudyStatus.ENTEREDINERROR, code);
if ("unknown".equals(codeString))
return new Enumeration<GenomicStudyStatus>(this, GenomicStudyStatus.UNKNOWN, code);
throw new FHIRException("Unknown GenomicStudyStatus code '"+codeString+"'");
}
public String toCode(GenomicStudyStatus code) {
if (code == GenomicStudyStatus.REGISTERED)
return "registered";
if (code == GenomicStudyStatus.AVAILABLE)
return "available";
if (code == GenomicStudyStatus.CANCELLED)
return "cancelled";
if (code == GenomicStudyStatus.ENTEREDINERROR)
return "entered-in-error";
if (code == GenomicStudyStatus.UNKNOWN)
return "unknown";
return "?";
}
public String toSystem(GenomicStudyStatus code) {
return code.getSystem();
}
}
@Block() @Block()
public static class GenomicStudyAnalysisComponent extends BackboneElement implements IBaseBackboneElement { public static class GenomicStudyAnalysisComponent extends BackboneElement implements IBaseBackboneElement {
/** /**
* Identifiers for the analysis event. * Identifiers for the analysis event.
*/ */
@Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Identifiers for the analysis event", formalDefinition="Identifiers for the analysis event." ) @Description(shortDefinition="Identifiers for the analysis event", formalDefinition="Identifiers for the analysis event." )
protected List<Identifier> identifier; protected List<Identifier> identifier;
/** /**
* Type of the methods used in the analysis, e.g., Fluorescence in situ hybridization (FISH), Karyotyping, or Microsatellite instability testing (MSI). * Type of the methods used in the analysis, e.g., Fluorescence in situ hybridization (FISH), Karyotyping, or Microsatellite instability testing (MSI).
*/ */
@Child(name = "methodType", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "methodType", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Type of the methods used in the analysis (e.g., FISH, Karyotyping, MSI)", formalDefinition="Type of the methods used in the analysis, e.g., Fluorescence in situ hybridization (FISH), Karyotyping, or Microsatellite instability testing (MSI)." ) @Description(shortDefinition="Type of the methods used in the analysis (e.g., FISH, Karyotyping, MSI)", formalDefinition="Type of the methods used in the analysis, e.g., Fluorescence in situ hybridization (FISH), Karyotyping, or Microsatellite instability testing (MSI)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/genomicstudy-methodtype") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/genomicstudy-methodtype")
protected List<CodeableConcept> methodType; protected List<CodeableConcept> methodType;
@ -103,21 +247,21 @@ public class GenomicStudy extends DomainResource {
/** /**
* Name of the analysis event (human friendly). * Name of the analysis event (human friendly).
*/ */
@Child(name = "title", type = {StringType.class}, order=7, min=0, max=1, modifier=false, summary=false) @Child(name = "title", type = {StringType.class}, order=7, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Name of the analysis event (human friendly)", formalDefinition="Name of the analysis event (human friendly)." ) @Description(shortDefinition="Name of the analysis event (human friendly)", formalDefinition="Name of the analysis event (human friendly)." )
protected StringType title; protected StringType title;
/** /**
* The subject of the analysis event. * The focus of a genomic analysis when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, child, or sibling. For example, in trio testing, the GenomicStudy.subject would be the child (proband) and the GenomicStudy.analysis.focus of a specific analysis would be the parent.
*/ */
@Child(name = "subject", type = {Patient.class, Group.class, Device.class, Location.class, Organization.class, Procedure.class, Practitioner.class, Medication.class, Substance.class, BiologicallyDerivedProduct.class, NutritionProduct.class}, order=8, min=0, max=1, modifier=false, summary=false) @Child(name = "focus", type = {Reference.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The subject of the analysis event", formalDefinition="The subject of the analysis event." ) @Description(shortDefinition="What the genomic analysis is about, when it is not about the subject of record", formalDefinition="The focus of a genomic analysis when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, child, or sibling. For example, in trio testing, the GenomicStudy.subject would be the child (proband) and the GenomicStudy.analysis.focus of a specific analysis would be the parent." )
protected Reference subject; protected List<Reference> focus;
/** /**
* The specimen used in the analysis event. * The specimen used in the analysis event.
*/ */
@Child(name = "specimen", type = {Specimen.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "specimen", type = {Specimen.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The specimen used in the analysis event", formalDefinition="The specimen used in the analysis event." ) @Description(shortDefinition="The specimen used in the analysis event", formalDefinition="The specimen used in the analysis event." )
protected List<Reference> specimen; protected List<Reference> specimen;
@ -184,7 +328,7 @@ public class GenomicStudy extends DomainResource {
@Description(shortDefinition="Devices used for the analysis (e.g., instruments, software), with settings and parameters", formalDefinition="Devices used for the analysis (e.g., instruments, software), with settings and parameters." ) @Description(shortDefinition="Devices used for the analysis (e.g., instruments, software), with settings and parameters", formalDefinition="Devices used for the analysis (e.g., instruments, software), with settings and parameters." )
protected List<GenomicStudyAnalysisDeviceComponent> device; protected List<GenomicStudyAnalysisDeviceComponent> device;
private static final long serialVersionUID = 400268376L; private static final long serialVersionUID = 467270310L;
/** /**
* Constructor * Constructor
@ -524,29 +668,58 @@ public class GenomicStudy extends DomainResource {
} }
/** /**
* @return {@link #subject} (The subject of the analysis event.) * @return {@link #focus} (The focus of a genomic analysis when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, child, or sibling. For example, in trio testing, the GenomicStudy.subject would be the child (proband) and the GenomicStudy.analysis.focus of a specific analysis would be the parent.)
*/ */
public Reference getSubject() { public List<Reference> getFocus() {
if (this.subject == null) if (this.focus == null)
if (Configuration.errorOnAutoCreate()) this.focus = new ArrayList<Reference>();
throw new Error("Attempt to auto-create GenomicStudyAnalysisComponent.subject"); return this.focus;
else if (Configuration.doAutoCreate())
this.subject = new Reference(); // cc
return this.subject;
}
public boolean hasSubject() {
return this.subject != null && !this.subject.isEmpty();
} }
/** /**
* @param value {@link #subject} (The subject of the analysis event.) * @return Returns a reference to <code>this</code> for easy method chaining
*/ */
public GenomicStudyAnalysisComponent setSubject(Reference value) { public GenomicStudyAnalysisComponent setFocus(List<Reference> theFocus) {
this.subject = value; this.focus = theFocus;
return this; return this;
} }
public boolean hasFocus() {
if (this.focus == null)
return false;
for (Reference item : this.focus)
if (!item.isEmpty())
return true;
return false;
}
public Reference addFocus() { //3
Reference t = new Reference();
if (this.focus == null)
this.focus = new ArrayList<Reference>();
this.focus.add(t);
return t;
}
public GenomicStudyAnalysisComponent addFocus(Reference t) { //3
if (t == null)
return this;
if (this.focus == null)
this.focus = new ArrayList<Reference>();
this.focus.add(t);
return this;
}
/**
* @return The first repetition of repeating field {@link #focus}, creating it if it does not already exist {3}
*/
public Reference getFocusFirstRep() {
if (getFocus().isEmpty()) {
addFocus();
}
return getFocus().get(0);
}
/** /**
* @return {@link #specimen} (The specimen used in the analysis event.) * @return {@link #specimen} (The specimen used in the analysis event.)
*/ */
@ -1053,7 +1226,7 @@ public class GenomicStudy extends DomainResource {
children.add(new Property("instantiatesCanonical", "canonical(PlanDefinition|ActivityDefinition)", "The defined protocol that describes the analysis.", 0, 1, instantiatesCanonical)); children.add(new Property("instantiatesCanonical", "canonical(PlanDefinition|ActivityDefinition)", "The defined protocol that describes the analysis.", 0, 1, instantiatesCanonical));
children.add(new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol that describes the analysis.", 0, 1, instantiatesUri)); children.add(new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol that describes the analysis.", 0, 1, instantiatesUri));
children.add(new Property("title", "string", "Name of the analysis event (human friendly).", 0, 1, title)); children.add(new Property("title", "string", "Name of the analysis event (human friendly).", 0, 1, title));
children.add(new Property("subject", "Reference(Patient|Group|Device|Location|Organization|Procedure|Practitioner|Medication|Substance|BiologicallyDerivedProduct|NutritionProduct)", "The subject of the analysis event.", 0, 1, subject)); children.add(new Property("focus", "Reference(Any)", "The focus of a genomic analysis when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, child, or sibling. For example, in trio testing, the GenomicStudy.subject would be the child (proband) and the GenomicStudy.analysis.focus of a specific analysis would be the parent.", 0, java.lang.Integer.MAX_VALUE, focus));
children.add(new Property("specimen", "Reference(Specimen)", "The specimen used in the analysis event.", 0, java.lang.Integer.MAX_VALUE, specimen)); children.add(new Property("specimen", "Reference(Specimen)", "The specimen used in the analysis event.", 0, java.lang.Integer.MAX_VALUE, specimen));
children.add(new Property("date", "dateTime", "The date of the analysis event.", 0, 1, date)); children.add(new Property("date", "dateTime", "The date of the analysis event.", 0, 1, date));
children.add(new Property("note", "Annotation", "Any notes capture with the analysis event.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("note", "Annotation", "Any notes capture with the analysis event.", 0, java.lang.Integer.MAX_VALUE, note));
@ -1076,7 +1249,7 @@ public class GenomicStudy extends DomainResource {
case 8911915: /*instantiatesCanonical*/ return new Property("instantiatesCanonical", "canonical(PlanDefinition|ActivityDefinition)", "The defined protocol that describes the analysis.", 0, 1, instantiatesCanonical); case 8911915: /*instantiatesCanonical*/ return new Property("instantiatesCanonical", "canonical(PlanDefinition|ActivityDefinition)", "The defined protocol that describes the analysis.", 0, 1, instantiatesCanonical);
case -1926393373: /*instantiatesUri*/ return new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol that describes the analysis.", 0, 1, instantiatesUri); case -1926393373: /*instantiatesUri*/ return new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol that describes the analysis.", 0, 1, instantiatesUri);
case 110371416: /*title*/ return new Property("title", "string", "Name of the analysis event (human friendly).", 0, 1, title); case 110371416: /*title*/ return new Property("title", "string", "Name of the analysis event (human friendly).", 0, 1, title);
case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group|Device|Location|Organization|Procedure|Practitioner|Medication|Substance|BiologicallyDerivedProduct|NutritionProduct)", "The subject of the analysis event.", 0, 1, subject); case 97604824: /*focus*/ return new Property("focus", "Reference(Any)", "The focus of a genomic analysis when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, child, or sibling. For example, in trio testing, the GenomicStudy.subject would be the child (proband) and the GenomicStudy.analysis.focus of a specific analysis would be the parent.", 0, java.lang.Integer.MAX_VALUE, focus);
case -2132868344: /*specimen*/ return new Property("specimen", "Reference(Specimen)", "The specimen used in the analysis event.", 0, java.lang.Integer.MAX_VALUE, specimen); case -2132868344: /*specimen*/ return new Property("specimen", "Reference(Specimen)", "The specimen used in the analysis event.", 0, java.lang.Integer.MAX_VALUE, specimen);
case 3076014: /*date*/ return new Property("date", "dateTime", "The date of the analysis event.", 0, 1, date); case 3076014: /*date*/ return new Property("date", "dateTime", "The date of the analysis event.", 0, 1, date);
case 3387378: /*note*/ return new Property("note", "Annotation", "Any notes capture with the analysis event.", 0, java.lang.Integer.MAX_VALUE, note); case 3387378: /*note*/ return new Property("note", "Annotation", "Any notes capture with the analysis event.", 0, java.lang.Integer.MAX_VALUE, note);
@ -1102,7 +1275,7 @@ public class GenomicStudy extends DomainResource {
case 8911915: /*instantiatesCanonical*/ return this.instantiatesCanonical == null ? new Base[0] : new Base[] {this.instantiatesCanonical}; // CanonicalType case 8911915: /*instantiatesCanonical*/ return this.instantiatesCanonical == null ? new Base[0] : new Base[] {this.instantiatesCanonical}; // CanonicalType
case -1926393373: /*instantiatesUri*/ return this.instantiatesUri == null ? new Base[0] : new Base[] {this.instantiatesUri}; // UriType case -1926393373: /*instantiatesUri*/ return this.instantiatesUri == null ? new Base[0] : new Base[] {this.instantiatesUri}; // UriType
case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType
case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference case 97604824: /*focus*/ return this.focus == null ? new Base[0] : this.focus.toArray(new Base[this.focus.size()]); // Reference
case -2132868344: /*specimen*/ return this.specimen == null ? new Base[0] : this.specimen.toArray(new Base[this.specimen.size()]); // Reference case -2132868344: /*specimen*/ return this.specimen == null ? new Base[0] : this.specimen.toArray(new Base[this.specimen.size()]); // Reference
case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType
case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation
@ -1142,8 +1315,8 @@ public class GenomicStudy extends DomainResource {
case 110371416: // title case 110371416: // title
this.title = TypeConvertor.castToString(value); // StringType this.title = TypeConvertor.castToString(value); // StringType
return value; return value;
case -1867885268: // subject case 97604824: // focus
this.subject = TypeConvertor.castToReference(value); // Reference this.getFocus().add(TypeConvertor.castToReference(value)); // Reference
return value; return value;
case -2132868344: // specimen case -2132868344: // specimen
this.getSpecimen().add(TypeConvertor.castToReference(value)); // Reference this.getSpecimen().add(TypeConvertor.castToReference(value)); // Reference
@ -1196,8 +1369,8 @@ public class GenomicStudy extends DomainResource {
this.instantiatesUri = TypeConvertor.castToUri(value); // UriType this.instantiatesUri = TypeConvertor.castToUri(value); // UriType
} else if (name.equals("title")) { } else if (name.equals("title")) {
this.title = TypeConvertor.castToString(value); // StringType this.title = TypeConvertor.castToString(value); // StringType
} else if (name.equals("subject")) { } else if (name.equals("focus")) {
this.subject = TypeConvertor.castToReference(value); // Reference this.getFocus().add(TypeConvertor.castToReference(value));
} else if (name.equals("specimen")) { } else if (name.equals("specimen")) {
this.getSpecimen().add(TypeConvertor.castToReference(value)); this.getSpecimen().add(TypeConvertor.castToReference(value));
} else if (name.equals("date")) { } else if (name.equals("date")) {
@ -1233,7 +1406,7 @@ public class GenomicStudy extends DomainResource {
case 8911915: return getInstantiatesCanonicalElement(); case 8911915: return getInstantiatesCanonicalElement();
case -1926393373: return getInstantiatesUriElement(); case -1926393373: return getInstantiatesUriElement();
case 110371416: return getTitleElement(); case 110371416: return getTitleElement();
case -1867885268: return getSubject(); case 97604824: return addFocus();
case -2132868344: return addSpecimen(); case -2132868344: return addSpecimen();
case 3076014: return getDateElement(); case 3076014: return getDateElement();
case 3387378: return addNote(); case 3387378: return addNote();
@ -1259,7 +1432,7 @@ public class GenomicStudy extends DomainResource {
case 8911915: /*instantiatesCanonical*/ return new String[] {"canonical"}; case 8911915: /*instantiatesCanonical*/ return new String[] {"canonical"};
case -1926393373: /*instantiatesUri*/ return new String[] {"uri"}; case -1926393373: /*instantiatesUri*/ return new String[] {"uri"};
case 110371416: /*title*/ return new String[] {"string"}; case 110371416: /*title*/ return new String[] {"string"};
case -1867885268: /*subject*/ return new String[] {"Reference"}; case 97604824: /*focus*/ return new String[] {"Reference"};
case -2132868344: /*specimen*/ return new String[] {"Reference"}; case -2132868344: /*specimen*/ return new String[] {"Reference"};
case 3076014: /*date*/ return new String[] {"dateTime"}; case 3076014: /*date*/ return new String[] {"dateTime"};
case 3387378: /*note*/ return new String[] {"Annotation"}; case 3387378: /*note*/ return new String[] {"Annotation"};
@ -1299,9 +1472,8 @@ public class GenomicStudy extends DomainResource {
else if (name.equals("title")) { else if (name.equals("title")) {
throw new FHIRException("Cannot call addChild on a primitive type GenomicStudy.analysis.title"); throw new FHIRException("Cannot call addChild on a primitive type GenomicStudy.analysis.title");
} }
else if (name.equals("subject")) { else if (name.equals("focus")) {
this.subject = new Reference(); return addFocus();
return this.subject;
} }
else if (name.equals("specimen")) { else if (name.equals("specimen")) {
return addSpecimen(); return addSpecimen();
@ -1365,7 +1537,11 @@ public class GenomicStudy extends DomainResource {
dst.instantiatesCanonical = instantiatesCanonical == null ? null : instantiatesCanonical.copy(); dst.instantiatesCanonical = instantiatesCanonical == null ? null : instantiatesCanonical.copy();
dst.instantiatesUri = instantiatesUri == null ? null : instantiatesUri.copy(); dst.instantiatesUri = instantiatesUri == null ? null : instantiatesUri.copy();
dst.title = title == null ? null : title.copy(); dst.title = title == null ? null : title.copy();
dst.subject = subject == null ? null : subject.copy(); if (focus != null) {
dst.focus = new ArrayList<Reference>();
for (Reference i : focus)
dst.focus.add(i.copy());
};
if (specimen != null) { if (specimen != null) {
dst.specimen = new ArrayList<Reference>(); dst.specimen = new ArrayList<Reference>();
for (Reference i : specimen) for (Reference i : specimen)
@ -1420,7 +1596,7 @@ public class GenomicStudy extends DomainResource {
return compareDeep(identifier, o.identifier, true) && compareDeep(methodType, o.methodType, true) return compareDeep(identifier, o.identifier, true) && compareDeep(methodType, o.methodType, true)
&& compareDeep(changeType, o.changeType, true) && compareDeep(genomeBuild, o.genomeBuild, true) && compareDeep(changeType, o.changeType, true) && compareDeep(genomeBuild, o.genomeBuild, true)
&& compareDeep(instantiatesCanonical, o.instantiatesCanonical, true) && compareDeep(instantiatesUri, o.instantiatesUri, true) && compareDeep(instantiatesCanonical, o.instantiatesCanonical, true) && compareDeep(instantiatesUri, o.instantiatesUri, true)
&& compareDeep(title, o.title, true) && compareDeep(subject, o.subject, true) && compareDeep(specimen, o.specimen, true) && compareDeep(title, o.title, true) && compareDeep(focus, o.focus, true) && compareDeep(specimen, o.specimen, true)
&& compareDeep(date, o.date, true) && compareDeep(note, o.note, true) && compareDeep(protocolPerformed, o.protocolPerformed, true) && compareDeep(date, o.date, true) && compareDeep(note, o.note, true) && compareDeep(protocolPerformed, o.protocolPerformed, true)
&& compareDeep(regionsStudied, o.regionsStudied, true) && compareDeep(regionsCalled, o.regionsCalled, true) && compareDeep(regionsStudied, o.regionsStudied, true) && compareDeep(regionsCalled, o.regionsCalled, true)
&& compareDeep(input, o.input, true) && compareDeep(output, o.output, true) && compareDeep(performer, o.performer, true) && compareDeep(input, o.input, true) && compareDeep(output, o.output, true) && compareDeep(performer, o.performer, true)
@ -1440,9 +1616,9 @@ public class GenomicStudy extends DomainResource {
public boolean isEmpty() { public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, methodType, changeType return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, methodType, changeType
, genomeBuild, instantiatesCanonical, instantiatesUri, title, subject, specimen , genomeBuild, instantiatesCanonical, instantiatesUri, title, focus, specimen, date
, date, note, protocolPerformed, regionsStudied, regionsCalled, input, output , note, protocolPerformed, regionsStudied, regionsCalled, input, output, performer
, performer, device); , device);
} }
public String fhirType() { public String fhirType() {
@ -1457,7 +1633,7 @@ public class GenomicStudy extends DomainResource {
/** /**
* File containing input data. * File containing input data.
*/ */
@Child(name = "file", type = {DocumentReference.class}, order=1, min=0, max=1, modifier=false, summary=false) @Child(name = "file", type = {DocumentReference.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="File containing input data", formalDefinition="File containing input data." ) @Description(shortDefinition="File containing input data", formalDefinition="File containing input data." )
protected Reference file; protected Reference file;
@ -1742,14 +1918,14 @@ public class GenomicStudy extends DomainResource {
/** /**
* File containing output data. * File containing output data.
*/ */
@Child(name = "file", type = {DocumentReference.class}, order=1, min=0, max=1, modifier=false, summary=false) @Child(name = "file", type = {DocumentReference.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="File containing output data", formalDefinition="File containing output data." ) @Description(shortDefinition="File containing output data", formalDefinition="File containing output data." )
protected Reference file; protected Reference file;
/** /**
* Type of output data, e.g., VCF, MAF, or BAM. * Type of output data, e.g., VCF, MAF, or BAM.
*/ */
@Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=false) @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Type of output data (e.g., VCF, MAF, or BAM)", formalDefinition="Type of output data, e.g., VCF, MAF, or BAM." ) @Description(shortDefinition="Type of output data (e.g., VCF, MAF, or BAM)", formalDefinition="Type of output data, e.g., VCF, MAF, or BAM." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/genomicstudy-dataformat") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/genomicstudy-dataformat")
protected CodeableConcept type; protected CodeableConcept type;
@ -2344,22 +2520,22 @@ public class GenomicStudy extends DomainResource {
/** /**
* Identifiers for this genomic study. * Identifiers for this genomic study.
*/ */
@Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Identifiers for this genomic study", formalDefinition="Identifiers for this genomic study." ) @Description(shortDefinition="Identifiers for this genomic study", formalDefinition="Identifiers for this genomic study." )
protected List<Identifier> identifier; protected List<Identifier> identifier;
/** /**
* The status of the genomic study. * The status of the genomic study.
*/ */
@Child(name = "status", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=true, summary=true) @Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="The status of the genomic study", formalDefinition="The status of the genomic study." ) @Description(shortDefinition="registered | available | cancelled | entered-in-error | unknown", formalDefinition="The status of the genomic study." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/genomicstudy-status") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/genomicstudy-status")
protected CodeableConcept status; protected Enumeration<GenomicStudyStatus> status;
/** /**
* The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling. * The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling.
*/ */
@Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The type of the study (e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling)", formalDefinition="The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling." ) @Description(shortDefinition="The type of the study (e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling)", formalDefinition="The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/genomicstudy-type") @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/genomicstudy-type")
protected List<CodeableConcept> type; protected List<CodeableConcept> type;
@ -2367,14 +2543,14 @@ public class GenomicStudy extends DomainResource {
/** /**
* The primary subject of the genomic study. * The primary subject of the genomic study.
*/ */
@Child(name = "subject", type = {Patient.class, Group.class, Device.class, Location.class, Organization.class, Procedure.class, Practitioner.class, Medication.class, Substance.class, BiologicallyDerivedProduct.class, NutritionProduct.class}, order=3, min=1, max=1, modifier=false, summary=true) @Child(name = "subject", type = {Patient.class, Group.class, Substance.class, BiologicallyDerivedProduct.class, NutritionProduct.class}, order=3, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="The primary subject of the genomic study", formalDefinition="The primary subject of the genomic study." ) @Description(shortDefinition="The primary subject of the genomic study", formalDefinition="The primary subject of the genomic study." )
protected Reference subject; protected Reference subject;
/** /**
* The healthcare event with which this genomics study is associated. * The healthcare event with which this genomics study is associated.
*/ */
@Child(name = "encounter", type = {Encounter.class}, order=4, min=0, max=1, modifier=false, summary=false) @Child(name = "encounter", type = {Encounter.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="The healthcare event with which this genomics study is associated", formalDefinition="The healthcare event with which this genomics study is associated." ) @Description(shortDefinition="The healthcare event with which this genomics study is associated", formalDefinition="The healthcare event with which this genomics study is associated." )
protected Reference encounter; protected Reference encounter;
@ -2437,9 +2613,9 @@ public class GenomicStudy extends DomainResource {
/** /**
* Description of the genomic study. * Description of the genomic study.
*/ */
@Child(name = "description", type = {StringType.class}, order=13, min=0, max=1, modifier=false, summary=false) @Child(name = "description", type = {MarkdownType.class}, order=13, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Description of the genomic study", formalDefinition="Description of the genomic study." ) @Description(shortDefinition="Description of the genomic study", formalDefinition="Description of the genomic study." )
protected StringType description; protected MarkdownType description;
/** /**
* The details about a specific analysis that was performed in this GenomicStudy. * The details about a specific analysis that was performed in this GenomicStudy.
@ -2448,7 +2624,7 @@ public class GenomicStudy extends DomainResource {
@Description(shortDefinition="Genomic Analysis Event", formalDefinition="The details about a specific analysis that was performed in this GenomicStudy." ) @Description(shortDefinition="Genomic Analysis Event", formalDefinition="The details about a specific analysis that was performed in this GenomicStudy." )
protected List<GenomicStudyAnalysisComponent> analysis; protected List<GenomicStudyAnalysisComponent> analysis;
private static final long serialVersionUID = -345111606L; private static final long serialVersionUID = 644053021L;
/** /**
* Constructor * Constructor
@ -2460,7 +2636,7 @@ public class GenomicStudy extends DomainResource {
/** /**
* Constructor * Constructor
*/ */
public GenomicStudy(CodeableConcept status, Reference subject) { public GenomicStudy(GenomicStudyStatus status, Reference subject) {
super(); super();
this.setStatus(status); this.setStatus(status);
this.setSubject(subject); this.setSubject(subject);
@ -2520,29 +2696,50 @@ public class GenomicStudy extends DomainResource {
} }
/** /**
* @return {@link #status} (The status of the genomic study.) * @return {@link #status} (The status of the genomic study.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/ */
public CodeableConcept getStatus() { public Enumeration<GenomicStudyStatus> getStatusElement() {
if (this.status == null) if (this.status == null)
if (Configuration.errorOnAutoCreate()) if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create GenomicStudy.status"); throw new Error("Attempt to auto-create GenomicStudy.status");
else if (Configuration.doAutoCreate()) else if (Configuration.doAutoCreate())
this.status = new CodeableConcept(); // cc this.status = new Enumeration<GenomicStudyStatus>(new GenomicStudyStatusEnumFactory()); // bb
return this.status; return this.status;
} }
public boolean hasStatusElement() {
return this.status != null && !this.status.isEmpty();
}
public boolean hasStatus() { public boolean hasStatus() {
return this.status != null && !this.status.isEmpty(); return this.status != null && !this.status.isEmpty();
} }
/** /**
* @param value {@link #status} (The status of the genomic study.) * @param value {@link #status} (The status of the genomic study.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/ */
public GenomicStudy setStatus(CodeableConcept value) { public GenomicStudy setStatusElement(Enumeration<GenomicStudyStatus> value) {
this.status = value; this.status = value;
return this; return this;
} }
/**
* @return The status of the genomic study.
*/
public GenomicStudyStatus getStatus() {
return this.status == null ? null : this.status.getValue();
}
/**
* @param value The status of the genomic study.
*/
public GenomicStudy setStatus(GenomicStudyStatus value) {
if (this.status == null)
this.status = new Enumeration<GenomicStudyStatus>(new GenomicStudyStatusEnumFactory());
this.status.setValue(value);
return this;
}
/** /**
* @return {@link #type} (The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling.) * @return {@link #type} (The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling.)
*/ */
@ -3030,12 +3227,12 @@ public class GenomicStudy extends DomainResource {
/** /**
* @return {@link #description} (Description of the genomic study.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value * @return {@link #description} (Description of the genomic study.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
*/ */
public StringType getDescriptionElement() { public MarkdownType getDescriptionElement() {
if (this.description == null) if (this.description == null)
if (Configuration.errorOnAutoCreate()) if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create GenomicStudy.description"); throw new Error("Attempt to auto-create GenomicStudy.description");
else if (Configuration.doAutoCreate()) else if (Configuration.doAutoCreate())
this.description = new StringType(); // bb this.description = new MarkdownType(); // bb
return this.description; return this.description;
} }
@ -3050,7 +3247,7 @@ public class GenomicStudy extends DomainResource {
/** /**
* @param value {@link #description} (Description of the genomic study.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value * @param value {@link #description} (Description of the genomic study.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
*/ */
public GenomicStudy setDescriptionElement(StringType value) { public GenomicStudy setDescriptionElement(MarkdownType value) {
this.description = value; this.description = value;
return this; return this;
} }
@ -3070,7 +3267,7 @@ public class GenomicStudy extends DomainResource {
this.description = null; this.description = null;
else { else {
if (this.description == null) if (this.description == null)
this.description = new StringType(); this.description = new MarkdownType();
this.description.setValue(value); this.description.setValue(value);
} }
return this; return this;
@ -3132,9 +3329,9 @@ public class GenomicStudy extends DomainResource {
protected void listChildren(List<Property> children) { protected void listChildren(List<Property> children) {
super.listChildren(children); super.listChildren(children);
children.add(new Property("identifier", "Identifier", "Identifiers for this genomic study.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("identifier", "Identifier", "Identifiers for this genomic study.", 0, java.lang.Integer.MAX_VALUE, identifier));
children.add(new Property("status", "CodeableConcept", "The status of the genomic study.", 0, 1, status)); children.add(new Property("status", "code", "The status of the genomic study.", 0, 1, status));
children.add(new Property("type", "CodeableConcept", "The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling.", 0, java.lang.Integer.MAX_VALUE, type)); children.add(new Property("type", "CodeableConcept", "The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling.", 0, java.lang.Integer.MAX_VALUE, type));
children.add(new Property("subject", "Reference(Patient|Group|Device|Location|Organization|Procedure|Practitioner|Medication|Substance|BiologicallyDerivedProduct|NutritionProduct)", "The primary subject of the genomic study.", 0, 1, subject)); children.add(new Property("subject", "Reference(Patient|Group|Substance|BiologicallyDerivedProduct|NutritionProduct)", "The primary subject of the genomic study.", 0, 1, subject));
children.add(new Property("encounter", "Reference(Encounter)", "The healthcare event with which this genomics study is associated.", 0, 1, encounter)); children.add(new Property("encounter", "Reference(Encounter)", "The healthcare event with which this genomics study is associated.", 0, 1, encounter));
children.add(new Property("startDate", "dateTime", "When the genomic study was started.", 0, 1, startDate)); children.add(new Property("startDate", "dateTime", "When the genomic study was started.", 0, 1, startDate));
children.add(new Property("basedOn", "Reference(ServiceRequest|Task)", "Event resources that the genomic study is based on.", 0, java.lang.Integer.MAX_VALUE, basedOn)); children.add(new Property("basedOn", "Reference(ServiceRequest|Task)", "Event resources that the genomic study is based on.", 0, java.lang.Integer.MAX_VALUE, basedOn));
@ -3144,7 +3341,7 @@ public class GenomicStudy extends DomainResource {
children.add(new Property("instantiatesCanonical", "canonical(PlanDefinition)", "The defined protocol that describes the study.", 0, 1, instantiatesCanonical)); children.add(new Property("instantiatesCanonical", "canonical(PlanDefinition)", "The defined protocol that describes the study.", 0, 1, instantiatesCanonical));
children.add(new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol that describes the study.", 0, 1, instantiatesUri)); children.add(new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol that describes the study.", 0, 1, instantiatesUri));
children.add(new Property("note", "Annotation", "Comments related to the genomic study.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("note", "Annotation", "Comments related to the genomic study.", 0, java.lang.Integer.MAX_VALUE, note));
children.add(new Property("description", "string", "Description of the genomic study.", 0, 1, description)); children.add(new Property("description", "markdown", "Description of the genomic study.", 0, 1, description));
children.add(new Property("analysis", "", "The details about a specific analysis that was performed in this GenomicStudy.", 0, java.lang.Integer.MAX_VALUE, analysis)); children.add(new Property("analysis", "", "The details about a specific analysis that was performed in this GenomicStudy.", 0, java.lang.Integer.MAX_VALUE, analysis));
} }
@ -3152,9 +3349,9 @@ public class GenomicStudy extends DomainResource {
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
switch (_hash) { switch (_hash) {
case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifiers for this genomic study.", 0, java.lang.Integer.MAX_VALUE, identifier); case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifiers for this genomic study.", 0, java.lang.Integer.MAX_VALUE, identifier);
case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status of the genomic study.", 0, 1, status); case -892481550: /*status*/ return new Property("status", "code", "The status of the genomic study.", 0, 1, status);
case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling.", 0, java.lang.Integer.MAX_VALUE, type); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The type of the study, e.g., Familial variant segregation, Functional variation detection, or Gene expression profiling.", 0, java.lang.Integer.MAX_VALUE, type);
case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group|Device|Location|Organization|Procedure|Practitioner|Medication|Substance|BiologicallyDerivedProduct|NutritionProduct)", "The primary subject of the genomic study.", 0, 1, subject); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group|Substance|BiologicallyDerivedProduct|NutritionProduct)", "The primary subject of the genomic study.", 0, 1, subject);
case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The healthcare event with which this genomics study is associated.", 0, 1, encounter); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The healthcare event with which this genomics study is associated.", 0, 1, encounter);
case -2129778896: /*startDate*/ return new Property("startDate", "dateTime", "When the genomic study was started.", 0, 1, startDate); case -2129778896: /*startDate*/ return new Property("startDate", "dateTime", "When the genomic study was started.", 0, 1, startDate);
case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(ServiceRequest|Task)", "Event resources that the genomic study is based on.", 0, java.lang.Integer.MAX_VALUE, basedOn); case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(ServiceRequest|Task)", "Event resources that the genomic study is based on.", 0, java.lang.Integer.MAX_VALUE, basedOn);
@ -3164,7 +3361,7 @@ public class GenomicStudy extends DomainResource {
case 8911915: /*instantiatesCanonical*/ return new Property("instantiatesCanonical", "canonical(PlanDefinition)", "The defined protocol that describes the study.", 0, 1, instantiatesCanonical); case 8911915: /*instantiatesCanonical*/ return new Property("instantiatesCanonical", "canonical(PlanDefinition)", "The defined protocol that describes the study.", 0, 1, instantiatesCanonical);
case -1926393373: /*instantiatesUri*/ return new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol that describes the study.", 0, 1, instantiatesUri); case -1926393373: /*instantiatesUri*/ return new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol that describes the study.", 0, 1, instantiatesUri);
case 3387378: /*note*/ return new Property("note", "Annotation", "Comments related to the genomic study.", 0, java.lang.Integer.MAX_VALUE, note); case 3387378: /*note*/ return new Property("note", "Annotation", "Comments related to the genomic study.", 0, java.lang.Integer.MAX_VALUE, note);
case -1724546052: /*description*/ return new Property("description", "string", "Description of the genomic study.", 0, 1, description); case -1724546052: /*description*/ return new Property("description", "markdown", "Description of the genomic study.", 0, 1, description);
case -1024445732: /*analysis*/ return new Property("analysis", "", "The details about a specific analysis that was performed in this GenomicStudy.", 0, java.lang.Integer.MAX_VALUE, analysis); case -1024445732: /*analysis*/ return new Property("analysis", "", "The details about a specific analysis that was performed in this GenomicStudy.", 0, java.lang.Integer.MAX_VALUE, analysis);
default: return super.getNamedProperty(_hash, _name, _checkValid); default: return super.getNamedProperty(_hash, _name, _checkValid);
} }
@ -3175,7 +3372,7 @@ public class GenomicStudy extends DomainResource {
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
switch (hash) { switch (hash) {
case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier
case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // CodeableConcept case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<GenomicStudyStatus>
case 3575610: /*type*/ return this.type == null ? new Base[0] : this.type.toArray(new Base[this.type.size()]); // CodeableConcept case 3575610: /*type*/ return this.type == null ? new Base[0] : this.type.toArray(new Base[this.type.size()]); // CodeableConcept
case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference
case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference
@ -3187,7 +3384,7 @@ public class GenomicStudy extends DomainResource {
case 8911915: /*instantiatesCanonical*/ return this.instantiatesCanonical == null ? new Base[0] : new Base[] {this.instantiatesCanonical}; // CanonicalType case 8911915: /*instantiatesCanonical*/ return this.instantiatesCanonical == null ? new Base[0] : new Base[] {this.instantiatesCanonical}; // CanonicalType
case -1926393373: /*instantiatesUri*/ return this.instantiatesUri == null ? new Base[0] : new Base[] {this.instantiatesUri}; // UriType case -1926393373: /*instantiatesUri*/ return this.instantiatesUri == null ? new Base[0] : new Base[] {this.instantiatesUri}; // UriType
case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation
case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType
case -1024445732: /*analysis*/ return this.analysis == null ? new Base[0] : this.analysis.toArray(new Base[this.analysis.size()]); // GenomicStudyAnalysisComponent case -1024445732: /*analysis*/ return this.analysis == null ? new Base[0] : this.analysis.toArray(new Base[this.analysis.size()]); // GenomicStudyAnalysisComponent
default: return super.getProperty(hash, name, checkValid); default: return super.getProperty(hash, name, checkValid);
} }
@ -3201,7 +3398,8 @@ public class GenomicStudy extends DomainResource {
this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier
return value; return value;
case -892481550: // status case -892481550: // status
this.status = TypeConvertor.castToCodeableConcept(value); // CodeableConcept value = new GenomicStudyStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
this.status = (Enumeration) value; // Enumeration<GenomicStudyStatus>
return value; return value;
case 3575610: // type case 3575610: // type
this.getType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept this.getType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept
@ -3237,7 +3435,7 @@ public class GenomicStudy extends DomainResource {
this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation
return value; return value;
case -1724546052: // description case -1724546052: // description
this.description = TypeConvertor.castToString(value); // StringType this.description = TypeConvertor.castToMarkdown(value); // MarkdownType
return value; return value;
case -1024445732: // analysis case -1024445732: // analysis
this.getAnalysis().add((GenomicStudyAnalysisComponent) value); // GenomicStudyAnalysisComponent this.getAnalysis().add((GenomicStudyAnalysisComponent) value); // GenomicStudyAnalysisComponent
@ -3252,7 +3450,8 @@ public class GenomicStudy extends DomainResource {
if (name.equals("identifier")) { if (name.equals("identifier")) {
this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); this.getIdentifier().add(TypeConvertor.castToIdentifier(value));
} else if (name.equals("status")) { } else if (name.equals("status")) {
this.status = TypeConvertor.castToCodeableConcept(value); // CodeableConcept value = new GenomicStudyStatusEnumFactory().fromType(TypeConvertor.castToCode(value));
this.status = (Enumeration) value; // Enumeration<GenomicStudyStatus>
} else if (name.equals("type")) { } else if (name.equals("type")) {
this.getType().add(TypeConvertor.castToCodeableConcept(value)); this.getType().add(TypeConvertor.castToCodeableConcept(value));
} else if (name.equals("subject")) { } else if (name.equals("subject")) {
@ -3276,7 +3475,7 @@ public class GenomicStudy extends DomainResource {
} else if (name.equals("note")) { } else if (name.equals("note")) {
this.getNote().add(TypeConvertor.castToAnnotation(value)); this.getNote().add(TypeConvertor.castToAnnotation(value));
} else if (name.equals("description")) { } else if (name.equals("description")) {
this.description = TypeConvertor.castToString(value); // StringType this.description = TypeConvertor.castToMarkdown(value); // MarkdownType
} else if (name.equals("analysis")) { } else if (name.equals("analysis")) {
this.getAnalysis().add((GenomicStudyAnalysisComponent) value); this.getAnalysis().add((GenomicStudyAnalysisComponent) value);
} else } else
@ -3288,7 +3487,7 @@ public class GenomicStudy extends DomainResource {
public Base makeProperty(int hash, String name) throws FHIRException { public Base makeProperty(int hash, String name) throws FHIRException {
switch (hash) { switch (hash) {
case -1618432855: return addIdentifier(); case -1618432855: return addIdentifier();
case -892481550: return getStatus(); case -892481550: return getStatusElement();
case 3575610: return addType(); case 3575610: return addType();
case -1867885268: return getSubject(); case -1867885268: return getSubject();
case 1524132147: return getEncounter(); case 1524132147: return getEncounter();
@ -3311,7 +3510,7 @@ public class GenomicStudy extends DomainResource {
public String[] getTypesForProperty(int hash, String name) throws FHIRException { public String[] getTypesForProperty(int hash, String name) throws FHIRException {
switch (hash) { switch (hash) {
case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case -1618432855: /*identifier*/ return new String[] {"Identifier"};
case -892481550: /*status*/ return new String[] {"CodeableConcept"}; case -892481550: /*status*/ return new String[] {"code"};
case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case 3575610: /*type*/ return new String[] {"CodeableConcept"};
case -1867885268: /*subject*/ return new String[] {"Reference"}; case -1867885268: /*subject*/ return new String[] {"Reference"};
case 1524132147: /*encounter*/ return new String[] {"Reference"}; case 1524132147: /*encounter*/ return new String[] {"Reference"};
@ -3323,7 +3522,7 @@ public class GenomicStudy extends DomainResource {
case 8911915: /*instantiatesCanonical*/ return new String[] {"canonical"}; case 8911915: /*instantiatesCanonical*/ return new String[] {"canonical"};
case -1926393373: /*instantiatesUri*/ return new String[] {"uri"}; case -1926393373: /*instantiatesUri*/ return new String[] {"uri"};
case 3387378: /*note*/ return new String[] {"Annotation"}; case 3387378: /*note*/ return new String[] {"Annotation"};
case -1724546052: /*description*/ return new String[] {"string"}; case -1724546052: /*description*/ return new String[] {"markdown"};
case -1024445732: /*analysis*/ return new String[] {}; case -1024445732: /*analysis*/ return new String[] {};
default: return super.getTypesForProperty(hash, name); default: return super.getTypesForProperty(hash, name);
} }
@ -3336,8 +3535,7 @@ public class GenomicStudy extends DomainResource {
return addIdentifier(); return addIdentifier();
} }
else if (name.equals("status")) { else if (name.equals("status")) {
this.status = new CodeableConcept(); throw new FHIRException("Cannot call addChild on a primitive type GenomicStudy.status");
return this.status;
} }
else if (name.equals("type")) { else if (name.equals("type")) {
return addType(); return addType();
@ -3469,7 +3667,7 @@ public class GenomicStudy extends DomainResource {
if (!(other_ instanceof GenomicStudy)) if (!(other_ instanceof GenomicStudy))
return false; return false;
GenomicStudy o = (GenomicStudy) other_; GenomicStudy o = (GenomicStudy) other_;
return compareValues(startDate, o.startDate, true) && compareValues(instantiatesCanonical, o.instantiatesCanonical, true) return compareValues(status, o.status, true) && compareValues(startDate, o.startDate, true) && compareValues(instantiatesCanonical, o.instantiatesCanonical, true)
&& compareValues(instantiatesUri, o.instantiatesUri, true) && compareValues(description, o.description, true) && compareValues(instantiatesUri, o.instantiatesUri, true) && compareValues(description, o.description, true)
; ;
} }
@ -3486,56 +3684,30 @@ public class GenomicStudy extends DomainResource {
} }
/** /**
* Search parameter: <b>analysis-patient</b> * Search parameter: <b>focus</b>
* <p> * <p>
* Description: <b>Who the analysis is about</b><br> * Description: <b>What the genomic study analysis is about, when it is not about the subject of record</b><br>
* Type: <b>reference</b><br> * Type: <b>reference</b><br>
* Path: <b>GenomicStudy.analysis.subject.where(resolve() is Patient)</b><br> * Path: <b>GenomicStudy.analysis.focus</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="analysis-patient", path="GenomicStudy.analysis.subject.where(resolve() is Patient)", description="Who the analysis is about", type="reference", target={BiologicallyDerivedProduct.class, Device.class, Group.class, Location.class, Medication.class, NutritionProduct.class, Organization.class, Patient.class, Practitioner.class, Procedure.class, Substance.class } ) @SearchParamDefinition(name="focus", path="GenomicStudy.analysis.focus", description="What the genomic study analysis is about, when it is not about the subject of record", type="reference", target={Account.class, ActivityDefinition.class, ActorDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BiologicallyDerivedProductDispense.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceAssociation.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentReference.class, Encounter.class, EncounterHistory.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, FormularyItem.class, GenomicStudy.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryItem.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationStatement.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Parameters.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestOrchestration.class, Requirements.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestPlan.class, TestReport.class, TestScript.class, Transport.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
public static final String SP_ANALYSIS_PATIENT = "analysis-patient"; public static final String SP_FOCUS = "focus";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>analysis-patient</b> * <b>Fluent Client</b> search parameter constant for <b>focus</b>
* <p> * <p>
* Description: <b>Who the analysis is about</b><br> * Description: <b>What the genomic study analysis is about, when it is not about the subject of record</b><br>
* Type: <b>reference</b><br> * Type: <b>reference</b><br>
* Path: <b>GenomicStudy.analysis.subject.where(resolve() is Patient)</b><br> * Path: <b>GenomicStudy.analysis.focus</b><br>
* </p> * </p>
*/ */
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ANALYSIS_PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ANALYSIS_PATIENT); public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FOCUS = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FOCUS);
/** /**
* Constant for fluent queries to be used to add include statements. Specifies * Constant for fluent queries to be used to add include statements. Specifies
* the path value of "<b>GenomicStudy:analysis-patient</b>". * the path value of "<b>GenomicStudy:focus</b>".
*/ */
public static final ca.uhn.fhir.model.api.Include INCLUDE_ANALYSIS_PATIENT = new ca.uhn.fhir.model.api.Include("GenomicStudy:analysis-patient").toLocked(); public static final ca.uhn.fhir.model.api.Include INCLUDE_FOCUS = new ca.uhn.fhir.model.api.Include("GenomicStudy:focus").toLocked();
/**
* Search parameter: <b>analysis-subject</b>
* <p>
* Description: <b>Who the analysis is about</b><br>
* Type: <b>reference</b><br>
* Path: <b>GenomicStudy.analysis.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="analysis-subject", path="GenomicStudy.analysis.subject", description="Who the analysis is about", type="reference", target={BiologicallyDerivedProduct.class, Device.class, Group.class, Location.class, Medication.class, NutritionProduct.class, Organization.class, Patient.class, Practitioner.class, Procedure.class, Substance.class } )
public static final String SP_ANALYSIS_SUBJECT = "analysis-subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>analysis-subject</b>
* <p>
* Description: <b>Who the analysis is about</b><br>
* Type: <b>reference</b><br>
* Path: <b>GenomicStudy.analysis.subject</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ANALYSIS_SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ANALYSIS_SUBJECT);
/**
* Constant for fluent queries to be used to add include statements. Specifies
* the path value of "<b>GenomicStudy:analysis-subject</b>".
*/
public static final ca.uhn.fhir.model.api.Include INCLUDE_ANALYSIS_SUBJECT = new ca.uhn.fhir.model.api.Include("GenomicStudy:analysis-subject").toLocked();
/** /**
* Search parameter: <b>identifier</b> * Search parameter: <b>identifier</b>
@ -3565,7 +3737,7 @@ public class GenomicStudy extends DomainResource {
* Path: <b>GenomicStudy.subject.where(resolve() is Patient)</b><br> * Path: <b>GenomicStudy.subject.where(resolve() is Patient)</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="patient", path="GenomicStudy.subject.where(resolve() is Patient)", description="Who the study is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={BiologicallyDerivedProduct.class, Device.class, Group.class, Location.class, Medication.class, NutritionProduct.class, Organization.class, Patient.class, Practitioner.class, Procedure.class, Substance.class } ) @SearchParamDefinition(name="patient", path="GenomicStudy.subject.where(resolve() is Patient)", description="Who the study is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } )
public static final String SP_PATIENT = "patient"; public static final String SP_PATIENT = "patient";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>patient</b> * <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -3611,7 +3783,7 @@ public class GenomicStudy extends DomainResource {
* Path: <b>GenomicStudy.subject</b><br> * Path: <b>GenomicStudy.subject</b><br>
* </p> * </p>
*/ */
@SearchParamDefinition(name="subject", path="GenomicStudy.subject", description="Who the study is about", type="reference", target={BiologicallyDerivedProduct.class, Device.class, Group.class, Location.class, Medication.class, NutritionProduct.class, Organization.class, Patient.class, Practitioner.class, Procedure.class, Substance.class } ) @SearchParamDefinition(name="subject", path="GenomicStudy.subject", description="Who the study is about", type="reference", target={BiologicallyDerivedProduct.class, Group.class, NutritionProduct.class, Patient.class, Substance.class } )
public static final String SP_SUBJECT = "subject"; public static final String SP_SUBJECT = "subject";
/** /**
* <b>Fluent Client</b> search parameter constant for <b>subject</b> * <b>Fluent Client</b> search parameter constant for <b>subject</b>

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More