Regenerate R5 for 5.0.0-draft-final
This commit is contained in:
parent
abba72d099
commit
2e11041fc5
|
@ -80,11 +80,7 @@ public abstract class FormatUtilities {
|
||||||
public static final String XHTML_NS = "http://www.w3.org/1999/xhtml";
|
public static final String XHTML_NS = "http://www.w3.org/1999/xhtml";
|
||||||
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 it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
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 it is too large
Load Diff
|
@ -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
|
@ -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
|
@ -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 it is too large
Load Diff
|
@ -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
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
@ -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;
|
||||||
|
|
|
@ -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 it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -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
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
@ -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})?";
|
||||||
}
|
}
|
|
@ -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 it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -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
File diff suppressed because it is too large
Load Diff
|
@ -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
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
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
|
@ -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 it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -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 org.hl7.fhir.instance.model.api.IDomainResource;
|
import java.util.Set;
|
||||||
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -471,7 +470,7 @@ public void checkNoModifiers(String noun, String verb) throws FHIRException {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Resource getContained(String ref) {
|
public Resource getContained(String ref) {
|
||||||
if (ref == null)
|
if (ref == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
@ -513,7 +512,8 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 it is too large
Load Diff
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
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -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 it is too large
Load Diff
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
|
@ -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"};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 it is too large
Load Diff
|
@ -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
Loading…
Reference in New Issue