More work on narrative gen

This commit is contained in:
jamesagnew 2014-03-24 18:33:51 -04:00
parent b55a4e140e
commit 1481eb8ae5
113 changed files with 3836 additions and 1187 deletions

View File

@ -90,17 +90,17 @@
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar" sourcepath="M2_REPO/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/thymeleaf/thymeleaf/2.1.2.RELEASE/thymeleaf-2.1.2.RELEASE.jar" sourcepath="M2_REPO/org/thymeleaf/thymeleaf/2.1.2.RELEASE/thymeleaf-2.1.2.RELEASE-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/codehaus/woodstox/woodstox-core-asl/4.2.0/woodstox-core-asl-4.2.0.jar" sourcepath="M2_REPO/org/codehaus/woodstox/woodstox-core-asl/4.2.0/woodstox-core-asl-4.2.0-sources.jar">
<attributes>
<attribute name="javadoc_location" value="jar:file:/Users/james/.m2/repository/org/codehaus/woodstox/woodstox-core-asl/4.2.0/woodstox-core-asl-4.2.0-javadoc.jar!/"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/thymeleaf/thymeleaf/2.1.2.RELEASE/thymeleaf-2.1.2.RELEASE.jar" sourcepath="/M2_REPO/org/thymeleaf/thymeleaf/2.1.2.RELEASE/thymeleaf-2.1.2.RELEASE-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/xmlunit/xmlunit/1.5/xmlunit-1.5.jar" sourcepath="M2_REPO/xmlunit/xmlunit/1.5/xmlunit-1.5-sources.jar">
<attributes>
<attribute name="javadoc_location" value="jar:file:/Users/james/.m2/repository/xmlunit/xmlunit/1.5/xmlunit-1.5-javadoc.jar!/"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="M2_REPO/org/codehaus/woodstox/woodstox-core-asl/4.2.0/woodstox-core-asl-4.2.0.jar" sourcepath="M2_REPO/org/codehaus/woodstox/woodstox-core-asl/4.2.0/woodstox-core-asl-4.2.0-sources.jar">
<attributes>
<attribute name="javadoc_location" value="jar:file:/Users/james/.m2/repository/org/codehaus/woodstox/woodstox-core-asl/4.2.0/woodstox-core-asl-4.2.0-javadoc.jar!/"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -16,18 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>Address</b> Datatype
@ -145,8 +160,9 @@ public class AddressDt
* The purpose of this address
* </p>
*/
public void setUse(BoundCodeDt<AddressUseEnum> theValue) {
public AddressDt setUse(BoundCodeDt<AddressUseEnum> theValue) {
myUse = theValue;
return this;
}
/**
@ -157,8 +173,9 @@ public class AddressDt
* The purpose of this address
* </p>
*/
public void setUse(AddressUseEnum theValue) {
public AddressDt setUse(AddressUseEnum theValue) {
getUse().setValueAsEnum(theValue);
return this;
}
@ -187,8 +204,9 @@ public class AddressDt
* A full text representation of the address
* </p>
*/
public void setText(StringDt theValue) {
public AddressDt setText(StringDt theValue) {
myText = theValue;
return this;
}
/**
@ -230,8 +248,9 @@ public class AddressDt
* This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
* </p>
*/
public void setLine(java.util.List<StringDt> theValue) {
public AddressDt setLine(java.util.List<StringDt> theValue) {
myLine = theValue;
return this;
}
/**
@ -307,8 +326,9 @@ public class AddressDt
* The name of the city, town, village or other community or delivery center.
* </p>
*/
public void setCity(StringDt theValue) {
public AddressDt setCity(StringDt theValue) {
myCity = theValue;
return this;
}
/**
@ -350,8 +370,9 @@ public class AddressDt
* Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).
* </p>
*/
public void setState(StringDt theValue) {
public AddressDt setState(StringDt theValue) {
myState = theValue;
return this;
}
/**
@ -393,8 +414,9 @@ public class AddressDt
* A postal code designating a region defined by the postal service.
* </p>
*/
public void setZip(StringDt theValue) {
public AddressDt setZip(StringDt theValue) {
myZip = theValue;
return this;
}
/**
@ -436,8 +458,9 @@ public class AddressDt
* Country - a nation as commonly understood or generally accepted
* </p>
*/
public void setCountry(StringDt theValue) {
public AddressDt setCountry(StringDt theValue) {
myCountry = theValue;
return this;
}
/**
@ -479,8 +502,9 @@ public class AddressDt
* Time period when address was/is in use
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public AddressDt setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}

View File

@ -16,16 +16,30 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
@ -139,8 +153,9 @@ public class AttachmentDt
* Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate
* </p>
*/
public void setContentType(CodeDt theValue) {
public AttachmentDt setContentType(CodeDt theValue) {
myContentType = theValue;
return this;
}
/**
@ -182,8 +197,9 @@ public class AttachmentDt
* The human language of the content. The value can be any valid value according to BCP 47
* </p>
*/
public void setLanguage(CodeDt theValue) {
public AttachmentDt setLanguage(CodeDt theValue) {
myLanguage = theValue;
return this;
}
/**
@ -225,8 +241,9 @@ public class AttachmentDt
* The actual data of the attachment - a sequence of bytes. In XML, represented using base64
* </p>
*/
public void setData(Base64BinaryDt theValue) {
public AttachmentDt setData(Base64BinaryDt theValue) {
myData = theValue;
return this;
}
/**
@ -268,8 +285,9 @@ public class AttachmentDt
* An alternative location where the data can be accessed
* </p>
*/
public void setUrl(UriDt theValue) {
public AttachmentDt setUrl(UriDt theValue) {
myUrl = theValue;
return this;
}
/**
@ -311,8 +329,9 @@ public class AttachmentDt
* The number of bytes of data that make up this attachment.
* </p>
*/
public void setSize(IntegerDt theValue) {
public AttachmentDt setSize(IntegerDt theValue) {
mySize = theValue;
return this;
}
/**
@ -354,8 +373,9 @@ public class AttachmentDt
* The calculated hash of the data using SHA-1. Represented using base64
* </p>
*/
public void setHash(Base64BinaryDt theValue) {
public AttachmentDt setHash(Base64BinaryDt theValue) {
myHash = theValue;
return this;
}
/**
@ -397,8 +417,9 @@ public class AttachmentDt
* A label or set of text to display in place of the data
* </p>
*/
public void setTitle(StringDt theValue) {
public AttachmentDt setTitle(StringDt theValue) {
myTitle = theValue;
return this;
}
/**

View File

@ -16,15 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>CodeableConcept</b> Datatype
@ -100,8 +118,9 @@ public class CodeableConceptDt
* A reference to a code defined by a terminology system
* </p>
*/
public void setCoding(java.util.List<CodingDt> theValue) {
public CodeableConceptDt setCoding(java.util.List<CodingDt> theValue) {
myCoding = theValue;
return this;
}
/**
@ -159,8 +178,9 @@ public class CodeableConceptDt
* A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user
* </p>
*/
public void setText(StringDt theValue) {
public CodeableConceptDt setText(StringDt theValue) {
myText = theValue;
return this;
}
/**

View File

@ -16,17 +16,31 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IQueryParameterType;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
@ -148,8 +162,9 @@ public class CodingDt
* The identification of the code system that defines the meaning of the symbol in the code.
* </p>
*/
public void setSystem(UriDt theValue) {
public CodingDt setSystem(UriDt theValue) {
mySystem = theValue;
return this;
}
/**
@ -191,8 +206,9 @@ public class CodingDt
* The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and When the meaning is not guaranteed to be consistent, the version SHOULD be exchanged
* </p>
*/
public void setVersion(StringDt theValue) {
public CodingDt setVersion(StringDt theValue) {
myVersion = theValue;
return this;
}
/**
@ -234,8 +250,9 @@ public class CodingDt
* A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)
* </p>
*/
public void setCode(CodeDt theValue) {
public CodingDt setCode(CodeDt theValue) {
myCode = theValue;
return this;
}
/**
@ -277,8 +294,9 @@ public class CodingDt
* A representation of the meaning of the code in the system, following the rules of the system.
* </p>
*/
public void setDisplay(StringDt theValue) {
public CodingDt setDisplay(StringDt theValue) {
myDisplay = theValue;
return this;
}
/**
@ -320,8 +338,9 @@ public class CodingDt
* Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
* </p>
*/
public void setPrimary(BooleanDt theValue) {
public CodingDt setPrimary(BooleanDt theValue) {
myPrimary = theValue;
return this;
}
/**
@ -363,8 +382,9 @@ public class CodingDt
* The set of possible coded values this coding was chosen from or constrained by
* </p>
*/
public void setValueSet(ResourceReferenceDt theValue) {
public CodingDt setValueSet(ResourceReferenceDt theValue) {
myValueSet = theValue;
return this;
}

View File

@ -16,19 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>Contact</b> Datatype
@ -118,8 +132,9 @@ public class ContactDt
* Telecommunications form for contact - what communications system is required to make use of the contact
* </p>
*/
public void setSystem(BoundCodeDt<ContactSystemEnum> theValue) {
public ContactDt setSystem(BoundCodeDt<ContactSystemEnum> theValue) {
mySystem = theValue;
return this;
}
/**
@ -130,8 +145,9 @@ public class ContactDt
* Telecommunications form for contact - what communications system is required to make use of the contact
* </p>
*/
public void setSystem(ContactSystemEnum theValue) {
public ContactDt setSystem(ContactSystemEnum theValue) {
getSystem().setValueAsEnum(theValue);
return this;
}
@ -160,8 +176,9 @@ public class ContactDt
* The actual contact details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
* </p>
*/
public void setValue(StringDt theValue) {
public ContactDt setValue(StringDt theValue) {
myValue = theValue;
return this;
}
/**
@ -203,8 +220,9 @@ public class ContactDt
* Identifies the purpose for the address
* </p>
*/
public void setUse(BoundCodeDt<ContactUseEnum> theValue) {
public ContactDt setUse(BoundCodeDt<ContactUseEnum> theValue) {
myUse = theValue;
return this;
}
/**
@ -215,8 +233,9 @@ public class ContactDt
* Identifies the purpose for the address
* </p>
*/
public void setUse(ContactUseEnum theValue) {
public ContactDt setUse(ContactUseEnum theValue) {
getUse().setValueAsEnum(theValue);
return this;
}
@ -245,8 +264,9 @@ public class ContactDt
* Time period when the contact was/is in use
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public ContactDt setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}

View File

@ -16,19 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.util.DatatypeUtil;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>HumanName</b> Datatype
@ -139,8 +153,9 @@ public class HumanNameDt
* Identifies the purpose for this name
* </p>
*/
public void setUse(BoundCodeDt<NameUseEnum> theValue) {
public HumanNameDt setUse(BoundCodeDt<NameUseEnum> theValue) {
myUse = theValue;
return this;
}
/**
@ -151,8 +166,9 @@ public class HumanNameDt
* Identifies the purpose for this name
* </p>
*/
public void setUse(NameUseEnum theValue) {
public HumanNameDt setUse(NameUseEnum theValue) {
getUse().setValueAsEnum(theValue);
return this;
}
@ -181,8 +197,9 @@ public class HumanNameDt
* A full text representation of the name
* </p>
*/
public void setText(StringDt theValue) {
public HumanNameDt setText(StringDt theValue) {
myText = theValue;
return this;
}
/**
@ -224,8 +241,9 @@ public class HumanNameDt
* The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.
* </p>
*/
public void setFamily(java.util.List<StringDt> theValue) {
public HumanNameDt setFamily(java.util.List<StringDt> theValue) {
myFamily = theValue;
return this;
}
/**
@ -301,8 +319,9 @@ public class HumanNameDt
* Given name
* </p>
*/
public void setGiven(java.util.List<StringDt> theValue) {
public HumanNameDt setGiven(java.util.List<StringDt> theValue) {
myGiven = theValue;
return this;
}
/**
@ -378,8 +397,9 @@ public class HumanNameDt
* Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name
* </p>
*/
public void setPrefix(java.util.List<StringDt> theValue) {
public HumanNameDt setPrefix(java.util.List<StringDt> theValue) {
myPrefix = theValue;
return this;
}
/**
@ -455,8 +475,9 @@ public class HumanNameDt
* Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name
* </p>
*/
public void setSuffix(java.util.List<StringDt> theValue) {
public HumanNameDt setSuffix(java.util.List<StringDt> theValue) {
mySuffix = theValue;
return this;
}
/**
@ -532,8 +553,9 @@ public class HumanNameDt
* Indicates the period of time when this name was valid for the named person.
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public HumanNameDt setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}

View File

@ -16,18 +16,31 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IQueryParameterType;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
@ -149,8 +162,9 @@ public class IdentifierDt
* The purpose of this identifier
* </p>
*/
public void setUse(BoundCodeDt<IdentifierUseEnum> theValue) {
public IdentifierDt setUse(BoundCodeDt<IdentifierUseEnum> theValue) {
myUse = theValue;
return this;
}
/**
@ -161,8 +175,9 @@ public class IdentifierDt
* The purpose of this identifier
* </p>
*/
public void setUse(IdentifierUseEnum theValue) {
public IdentifierDt setUse(IdentifierUseEnum theValue) {
getUse().setValueAsEnum(theValue);
return this;
}
@ -191,8 +206,9 @@ public class IdentifierDt
* A text string for the identifier that can be displayed to a human so they can recognize the identifier
* </p>
*/
public void setLabel(StringDt theValue) {
public IdentifierDt setLabel(StringDt theValue) {
myLabel = theValue;
return this;
}
/**
@ -234,8 +250,9 @@ public class IdentifierDt
* Establishes the namespace in which set of possible id values is unique.
* </p>
*/
public void setSystem(UriDt theValue) {
public IdentifierDt setSystem(UriDt theValue) {
mySystem = theValue;
return this;
}
/**
@ -277,8 +294,9 @@ public class IdentifierDt
* The portion of the identifier typically displayed to the user and which is unique within the context of the system.
* </p>
*/
public void setValue(StringDt theValue) {
public IdentifierDt setValue(StringDt theValue) {
myValue = theValue;
return this;
}
/**
@ -320,8 +338,9 @@ public class IdentifierDt
* Time period during which identifier is/was valid for use
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public IdentifierDt setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}
@ -350,8 +369,9 @@ public class IdentifierDt
* Organization that issued/manages the identifier
* </p>
*/
public void setAssigner(ResourceReferenceDt theValue) {
public IdentifierDt setAssigner(ResourceReferenceDt theValue) {
myAssigner = theValue;
return this;
}

View File

@ -16,17 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>Period</b> Datatype
@ -102,8 +118,9 @@ public class PeriodDt
* The start of the period. The boundary is inclusive.
* </p>
*/
public void setStart(DateTimeDt theValue) {
public PeriodDt setStart(DateTimeDt theValue) {
myStart = theValue;
return this;
}
/**
@ -158,8 +175,9 @@ public class PeriodDt
* The end of the period. If the end of the period is missing, it means that the period is ongoing
* </p>
*/
public void setEnd(DateTimeDt theValue) {
public PeriodDt setEnd(DateTimeDt theValue) {
myEnd = theValue;
return this;
}
/**

View File

@ -16,18 +16,31 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
@ -85,6 +98,61 @@ public class QuantityDt
)
private CodeDt myCode;
/**
* Constructor
*/
public QuantityDt() {
// nothing
}
/**
* Constructor
*/
public QuantityDt(double theValue) {
setValue(theValue);
}
/**
* Constructor
*/
public QuantityDt(long theValue) {
setValue(theValue);
}
/**
* Constructor
*/
public QuantityDt(double theValue, String theUnits) {
setValue(theValue);
setUnits(theUnits);
}
/**
* Constructor
*/
public QuantityDt(long theValue, String theUnits) {
setValue(theValue);
setUnits(theUnits);
}
/**
* Constructor
*/
public QuantityDt(QuantityCompararatorEnum theCompararatorEnum, double theValue, String theUnits) {
setComparator(theCompararatorEnum);
setValue(theValue);
setUnits(theUnits);
}
/**
* Constructor
*/
public QuantityDt(QuantityCompararatorEnum theCompararatorEnum, long theValue, String theUnits) {
setComparator(theCompararatorEnum);
setValue(theValue);
setUnits(theUnits);
}
@Override
public boolean isEmpty() {
@ -126,8 +194,9 @@ public class QuantityDt
* The value of the measured amount. The value includes an implicit precision in the presentation of the value
* </p>
*/
public void setValue(DecimalDt theValue) {
public QuantityDt setValue(DecimalDt theValue) {
myValue = theValue;
return this;
}
/**
@ -195,8 +264,9 @@ public class QuantityDt
* How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is \"<\" , then the real value is < stated value
* </p>
*/
public void setComparator(BoundCodeDt<QuantityCompararatorEnum> theValue) {
public QuantityDt setComparator(BoundCodeDt<QuantityCompararatorEnum> theValue) {
myComparator = theValue;
return this;
}
/**
@ -207,8 +277,9 @@ public class QuantityDt
* How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is \"<\" , then the real value is < stated value
* </p>
*/
public void setComparator(QuantityCompararatorEnum theValue) {
public QuantityDt setComparator(QuantityCompararatorEnum theValue) {
getComparator().setValueAsEnum(theValue);
return this;
}
@ -237,8 +308,9 @@ public class QuantityDt
* A human-readable form of the units
* </p>
*/
public void setUnits(StringDt theValue) {
public QuantityDt setUnits(StringDt theValue) {
myUnits = theValue;
return this;
}
/**
@ -280,8 +352,9 @@ public class QuantityDt
* The identification of the system that provides the coded form of the unit
* </p>
*/
public void setSystem(UriDt theValue) {
public QuantityDt setSystem(UriDt theValue) {
mySystem = theValue;
return this;
}
/**
@ -323,8 +396,9 @@ public class QuantityDt
* A computer processable form of the units in some unit representation system
* </p>
*/
public void setCode(CodeDt theValue) {
public QuantityDt setCode(CodeDt theValue) {
myCode = theValue;
return this;
}
/**

View File

@ -16,14 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>Range</b> Datatype
@ -99,8 +118,9 @@ public class RangeDt
* The low limit. The boundary is inclusive.
* </p>
*/
public void setLow(QuantityDt theValue) {
public RangeDt setLow(QuantityDt theValue) {
myLow = theValue;
return this;
}
@ -129,8 +149,9 @@ public class RangeDt
* The high limit. The boundary is inclusive.
* </p>
*/
public void setHigh(QuantityDt theValue) {
public RangeDt setHigh(QuantityDt theValue) {
myHigh = theValue;
return this;
}

View File

@ -16,14 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>Ratio</b> Datatype
@ -99,8 +118,9 @@ public class RatioDt
* The value of the numerator
* </p>
*/
public void setNumerator(QuantityDt theValue) {
public RatioDt setNumerator(QuantityDt theValue) {
myNumerator = theValue;
return this;
}
@ -129,8 +149,9 @@ public class RatioDt
* The value of the denominator
* </p>
*/
public void setDenominator(QuantityDt theValue) {
public RatioDt setDenominator(QuantityDt theValue) {
myDenominator = theValue;
return this;
}

View File

@ -16,15 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseResourceReference;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>ResourceReference</b> Datatype
@ -100,8 +118,9 @@ public class ResourceReferenceDt
* A reference to a location at which the other resource is found. The reference may a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources
* </p>
*/
public void setReference(StringDt theValue) {
public ResourceReferenceDt setReference(StringDt theValue) {
myReference = theValue;
return this;
}
/**
@ -143,8 +162,9 @@ public class ResourceReferenceDt
* Plain text narrative that identifies the resource in addition to the resource reference
* </p>
*/
public void setDisplay(StringDt theValue) {
public ResourceReferenceDt setDisplay(StringDt theValue) {
myDisplay = theValue;
return this;
}
/**

View File

@ -16,17 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>SampledData</b> Datatype
@ -137,8 +153,9 @@ public class SampledDataDt
* The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series
* </p>
*/
public void setOrigin(QuantityDt theValue) {
public SampledDataDt setOrigin(QuantityDt theValue) {
myOrigin = theValue;
return this;
}
@ -167,8 +184,9 @@ public class SampledDataDt
* The length of time between sampling times, measured in milliseconds
* </p>
*/
public void setPeriod(DecimalDt theValue) {
public SampledDataDt setPeriod(DecimalDt theValue) {
myPeriod = theValue;
return this;
}
/**
@ -236,8 +254,9 @@ public class SampledDataDt
* A correction factor that is applied to the sampled data points before they are added to the origin
* </p>
*/
public void setFactor(DecimalDt theValue) {
public SampledDataDt setFactor(DecimalDt theValue) {
myFactor = theValue;
return this;
}
/**
@ -305,8 +324,9 @@ public class SampledDataDt
* The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit)
* </p>
*/
public void setLowerLimit(DecimalDt theValue) {
public SampledDataDt setLowerLimit(DecimalDt theValue) {
myLowerLimit = theValue;
return this;
}
/**
@ -374,8 +394,9 @@ public class SampledDataDt
* The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit)
* </p>
*/
public void setUpperLimit(DecimalDt theValue) {
public SampledDataDt setUpperLimit(DecimalDt theValue) {
myUpperLimit = theValue;
return this;
}
/**
@ -443,8 +464,9 @@ public class SampledDataDt
* The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once
* </p>
*/
public void setDimensions(IntegerDt theValue) {
public SampledDataDt setDimensions(IntegerDt theValue) {
myDimensions = theValue;
return this;
}
/**
@ -486,8 +508,9 @@ public class SampledDataDt
* A series of data points which are decimal values separated by a single space (character u20). The special values \"E\" (error), \"L\" (below detection limit) and \"U\" (above detection limit) can also be used in place of a decimal value
* </p>
*/
public void setData(StringDt theValue) {
public SampledDataDt setData(StringDt theValue) {
myData = theValue;
return this;
}
/**

View File

@ -16,25 +16,33 @@
package ca.uhn.fhir.model.dstu.composite;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
* HAPI/FHIR <b>Schedule</b> Datatype
@ -110,8 +118,9 @@ public class ScheduleDt
* Identifies specific time periods when the event should occur
* </p>
*/
public void setEvent(java.util.List<PeriodDt> theValue) {
public ScheduleDt setEvent(java.util.List<PeriodDt> theValue) {
myEvent = theValue;
return this;
}
/**
@ -169,8 +178,9 @@ public class ScheduleDt
* Identifies a repeating pattern to the intended time periods.
* </p>
*/
public void setRepeat(Repeat theValue) {
public ScheduleDt setRepeat(Repeat theValue) {
myRepeat = theValue;
return this;
}
@ -268,8 +278,9 @@ public class ScheduleDt
* Indicates how often the event should occur.
* </p>
*/
public void setFrequency(IntegerDt theValue) {
public Repeat setFrequency(IntegerDt theValue) {
myFrequency = theValue;
return this;
}
/**
@ -311,8 +322,9 @@ public class ScheduleDt
* Identifies the occurrence of daily life that determines timing
* </p>
*/
public void setWhen(BoundCodeDt<EventTimingEnum> theValue) {
public Repeat setWhen(BoundCodeDt<EventTimingEnum> theValue) {
myWhen = theValue;
return this;
}
/**
@ -323,8 +335,9 @@ public class ScheduleDt
* Identifies the occurrence of daily life that determines timing
* </p>
*/
public void setWhen(EventTimingEnum theValue) {
public Repeat setWhen(EventTimingEnum theValue) {
getWhen().setValueAsEnum(theValue);
return this;
}
@ -353,8 +366,9 @@ public class ScheduleDt
* How long each repetition should last
* </p>
*/
public void setDuration(DecimalDt theValue) {
public Repeat setDuration(DecimalDt theValue) {
myDuration = theValue;
return this;
}
/**
@ -422,8 +436,9 @@ public class ScheduleDt
* The units of time for the duration
* </p>
*/
public void setUnits(BoundCodeDt<UnitsOfTimeEnum> theValue) {
public Repeat setUnits(BoundCodeDt<UnitsOfTimeEnum> theValue) {
myUnits = theValue;
return this;
}
/**
@ -434,8 +449,9 @@ public class ScheduleDt
* The units of time for the duration
* </p>
*/
public void setUnits(UnitsOfTimeEnum theValue) {
public Repeat setUnits(UnitsOfTimeEnum theValue) {
getUnits().setValueAsEnum(theValue);
return this;
}
@ -464,8 +480,9 @@ public class ScheduleDt
* A total count of the desired number of repetitions
* </p>
*/
public void setCount(IntegerDt theValue) {
public Repeat setCount(IntegerDt theValue) {
myCount = theValue;
return this;
}
/**
@ -507,8 +524,9 @@ public class ScheduleDt
* When to stop repeating the schedule
* </p>
*/
public void setEnd(DateTimeDt theValue) {
public Repeat setEnd(DateTimeDt theValue) {
myEnd = theValue;
return this;
}
/**

View File

@ -17,41 +17,111 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
@ -403,8 +473,9 @@ public class Conformance extends BaseResource implements IResource {
* The identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI)
* </p>
*/
public void setIdentifier(StringDt theValue) {
public Conformance setIdentifier(StringDt theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -446,8 +517,9 @@ public class Conformance extends BaseResource implements IResource {
* The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp
* </p>
*/
public void setVersion(StringDt theValue) {
public Conformance setVersion(StringDt theValue) {
myVersion = theValue;
return this;
}
/**
@ -489,8 +561,9 @@ public class Conformance extends BaseResource implements IResource {
* A free text natural language name identifying the conformance statement
* </p>
*/
public void setName(StringDt theValue) {
public Conformance setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
@ -532,8 +605,9 @@ public class Conformance extends BaseResource implements IResource {
* Name of Organization publishing this conformance statement
* </p>
*/
public void setPublisher(StringDt theValue) {
public Conformance setPublisher(StringDt theValue) {
myPublisher = theValue;
return this;
}
/**
@ -575,8 +649,9 @@ public class Conformance extends BaseResource implements IResource {
* Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc.
* </p>
*/
public void setTelecom(java.util.List<ContactDt> theValue) {
public Conformance setTelecom(java.util.List<ContactDt> theValue) {
myTelecom = theValue;
return this;
}
/**
@ -634,8 +709,9 @@ public class Conformance extends BaseResource implements IResource {
* A free text natural language description of the conformance statement and its use. Typically, this is used when the profile describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP
* </p>
*/
public void setDescription(StringDt theValue) {
public Conformance setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -677,8 +753,9 @@ public class Conformance extends BaseResource implements IResource {
* The status of this conformance statement
* </p>
*/
public void setStatus(BoundCodeDt<ConformanceStatementStatusEnum> theValue) {
public Conformance setStatus(BoundCodeDt<ConformanceStatementStatusEnum> theValue) {
myStatus = theValue;
return this;
}
/**
@ -689,8 +766,9 @@ public class Conformance extends BaseResource implements IResource {
* The status of this conformance statement
* </p>
*/
public void setStatus(ConformanceStatementStatusEnum theValue) {
public Conformance setStatus(ConformanceStatementStatusEnum theValue) {
getStatus().setValueAsEnum(theValue);
return this;
}
@ -719,8 +797,9 @@ public class Conformance extends BaseResource implements IResource {
* A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
* </p>
*/
public void setExperimental(BooleanDt theValue) {
public Conformance setExperimental(BooleanDt theValue) {
myExperimental = theValue;
return this;
}
/**
@ -762,8 +841,9 @@ public class Conformance extends BaseResource implements IResource {
* The date when the conformance statement was published
* </p>
*/
public void setDate(DateTimeDt theValue) {
public Conformance setDate(DateTimeDt theValue) {
myDate = theValue;
return this;
}
/**
@ -818,8 +898,9 @@ public class Conformance extends BaseResource implements IResource {
* Software that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation.
* </p>
*/
public void setSoftware(Software theValue) {
public Conformance setSoftware(Software theValue) {
mySoftware = theValue;
return this;
}
@ -848,8 +929,9 @@ public class Conformance extends BaseResource implements IResource {
* Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program
* </p>
*/
public void setImplementation(Implementation theValue) {
public Conformance setImplementation(Implementation theValue) {
myImplementation = theValue;
return this;
}
@ -878,8 +960,9 @@ public class Conformance extends BaseResource implements IResource {
* The version of the FHIR specification on which this conformance statement is based
* </p>
*/
public void setFhirVersion(IdDt theValue) {
public Conformance setFhirVersion(IdDt theValue) {
myFhirVersion = theValue;
return this;
}
/**
@ -921,8 +1004,9 @@ public class Conformance extends BaseResource implements IResource {
* A flag that indicates whether the application accepts unknown elements as part of a resource.
* </p>
*/
public void setAcceptUnknown(BooleanDt theValue) {
public Conformance setAcceptUnknown(BooleanDt theValue) {
myAcceptUnknown = theValue;
return this;
}
/**
@ -964,8 +1048,9 @@ public class Conformance extends BaseResource implements IResource {
* A list of the formats supported by this implementation
* </p>
*/
public void setFormat(java.util.List<CodeDt> theValue) {
public Conformance setFormat(java.util.List<CodeDt> theValue) {
myFormat = theValue;
return this;
}
/**
@ -1041,8 +1126,9 @@ public class Conformance extends BaseResource implements IResource {
* A list of profiles supported by the system. For a server, \"supported by the system\" means the system hosts/produces a set of recourses, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile.
* </p>
*/
public void setProfile(java.util.List<ResourceReferenceDt> theValue) {
public Conformance setProfile(java.util.List<ResourceReferenceDt> theValue) {
myProfile = theValue;
return this;
}
/**
@ -1084,8 +1170,9 @@ public class Conformance extends BaseResource implements IResource {
* A definition of the restful capabilities of the solution, if any
* </p>
*/
public void setRest(java.util.List<Rest> theValue) {
public Conformance setRest(java.util.List<Rest> theValue) {
myRest = theValue;
return this;
}
/**
@ -1143,8 +1230,9 @@ public class Conformance extends BaseResource implements IResource {
* A description of the messaging capabilities of the solution
* </p>
*/
public void setMessaging(java.util.List<Messaging> theValue) {
public Conformance setMessaging(java.util.List<Messaging> theValue) {
myMessaging = theValue;
return this;
}
/**
@ -1202,8 +1290,9 @@ public class Conformance extends BaseResource implements IResource {
* A document definition
* </p>
*/
public void setDocument(java.util.List<Document> theValue) {
public Conformance setDocument(java.util.List<Document> theValue) {
myDocument = theValue;
return this;
}
/**
@ -1309,8 +1398,9 @@ public class Conformance extends BaseResource implements IResource {
* Name software is known by
* </p>
*/
public void setName(StringDt theValue) {
public Software setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
@ -1352,8 +1442,9 @@ public class Conformance extends BaseResource implements IResource {
* The version identifier for the software covered by this statement
* </p>
*/
public void setVersion(StringDt theValue) {
public Software setVersion(StringDt theValue) {
myVersion = theValue;
return this;
}
/**
@ -1395,8 +1486,9 @@ public class Conformance extends BaseResource implements IResource {
* Date this version of the software released
* </p>
*/
public void setReleaseDate(DateTimeDt theValue) {
public Software setReleaseDate(DateTimeDt theValue) {
myReleaseDate = theValue;
return this;
}
/**
@ -1496,8 +1588,9 @@ public class Conformance extends BaseResource implements IResource {
* Information about the specific installation that this conformance statement relates to
* </p>
*/
public void setDescription(StringDt theValue) {
public Implementation setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -1539,8 +1632,9 @@ public class Conformance extends BaseResource implements IResource {
* A base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces.
* </p>
*/
public void setUrl(UriDt theValue) {
public Implementation setUrl(UriDt theValue) {
myUrl = theValue;
return this;
}
/**
@ -1662,8 +1756,9 @@ public class Conformance extends BaseResource implements IResource {
* Identifies whether this portion of the statement is describing ability to initiate or receive restful operations
* </p>
*/
public void setMode(BoundCodeDt<RestfulConformanceModeEnum> theValue) {
public Rest setMode(BoundCodeDt<RestfulConformanceModeEnum> theValue) {
myMode = theValue;
return this;
}
/**
@ -1674,8 +1769,9 @@ public class Conformance extends BaseResource implements IResource {
* Identifies whether this portion of the statement is describing ability to initiate or receive restful operations
* </p>
*/
public void setMode(RestfulConformanceModeEnum theValue) {
public Rest setMode(RestfulConformanceModeEnum theValue) {
getMode().setValueAsEnum(theValue);
return this;
}
@ -1704,8 +1800,9 @@ public class Conformance extends BaseResource implements IResource {
* Information about the system's restful capabilities that apply across all applications, such as security
* </p>
*/
public void setDocumentation(StringDt theValue) {
public Rest setDocumentation(StringDt theValue) {
myDocumentation = theValue;
return this;
}
/**
@ -1747,8 +1844,9 @@ public class Conformance extends BaseResource implements IResource {
* Information about security of implementation
* </p>
*/
public void setSecurity(RestSecurity theValue) {
public Rest setSecurity(RestSecurity theValue) {
mySecurity = theValue;
return this;
}
@ -1777,8 +1875,9 @@ public class Conformance extends BaseResource implements IResource {
* A specification of the restful capabilities of the solution for a specific resource type
* </p>
*/
public void setResource(java.util.List<RestResource> theValue) {
public Rest setResource(java.util.List<RestResource> theValue) {
myResource = theValue;
return this;
}
/**
@ -1836,8 +1935,9 @@ public class Conformance extends BaseResource implements IResource {
* A specification of restful operations supported by the system
* </p>
*/
public void setOperation(java.util.List<RestOperation> theValue) {
public Rest setOperation(java.util.List<RestOperation> theValue) {
myOperation = theValue;
return this;
}
/**
@ -1895,8 +1995,9 @@ public class Conformance extends BaseResource implements IResource {
* Definition of a named query and its parameters and their meaning
* </p>
*/
public void setQuery(java.util.List<RestQuery> theValue) {
public Rest setQuery(java.util.List<RestQuery> theValue) {
myQuery = theValue;
return this;
}
/**
@ -1954,8 +2055,9 @@ public class Conformance extends BaseResource implements IResource {
* A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier \"http://hl7.org/fhir/documents/mailbox\". Other specifications can declare their own identifier for this purpose
* </p>
*/
public void setDocumentMailbox(java.util.List<UriDt> theValue) {
public Rest setDocumentMailbox(java.util.List<UriDt> theValue) {
myDocumentMailbox = theValue;
return this;
}
/**
@ -2089,8 +2191,9 @@ public class Conformance extends BaseResource implements IResource {
* Server adds CORS headers when responding to requests - this enables javascript applications to yuse the server
* </p>
*/
public void setCors(BooleanDt theValue) {
public RestSecurity setCors(BooleanDt theValue) {
myCors = theValue;
return this;
}
/**
@ -2132,8 +2235,9 @@ public class Conformance extends BaseResource implements IResource {
* Types of security services are supported/required by the system
* </p>
*/
public void setService(java.util.List<BoundCodeableConceptDt<RestfulSecurityServiceEnum>> theValue) {
public RestSecurity setService(java.util.List<BoundCodeableConceptDt<RestfulSecurityServiceEnum>> theValue) {
myService = theValue;
return this;
}
/**
@ -2156,9 +2260,10 @@ public class Conformance extends BaseResource implements IResource {
* Types of security services are supported/required by the system
* </p>
*/
public void setService(RestfulSecurityServiceEnum theValue) {
public RestSecurity setService(RestfulSecurityServiceEnum theValue) {
getService().clear();
addService(theValue);
return this;
}
@ -2187,8 +2292,9 @@ public class Conformance extends BaseResource implements IResource {
* General description of how security works
* </p>
*/
public void setDescription(StringDt theValue) {
public RestSecurity setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -2230,8 +2336,9 @@ public class Conformance extends BaseResource implements IResource {
* Certificates associated with security profiles
* </p>
*/
public void setCertificate(java.util.List<RestSecurityCertificate> theValue) {
public RestSecurity setCertificate(java.util.List<RestSecurityCertificate> theValue) {
myCertificate = theValue;
return this;
}
/**
@ -2333,8 +2440,9 @@ public class Conformance extends BaseResource implements IResource {
* Mime type for certificate
* </p>
*/
public void setType(CodeDt theValue) {
public RestSecurityCertificate setType(CodeDt theValue) {
myType = theValue;
return this;
}
/**
@ -2376,8 +2484,9 @@ public class Conformance extends BaseResource implements IResource {
* Actual certificate
* </p>
*/
public void setBlob(Base64BinaryDt theValue) {
public RestSecurityCertificate setBlob(Base64BinaryDt theValue) {
myBlob = theValue;
return this;
}
/**
@ -2502,8 +2611,9 @@ public class Conformance extends BaseResource implements IResource {
* A type of resource exposed via the restful interface
* </p>
*/
public void setType(BoundCodeDt<ResourceTypeEnum> theValue) {
public RestResource setType(BoundCodeDt<ResourceTypeEnum> theValue) {
myType = theValue;
return this;
}
/**
@ -2514,8 +2624,9 @@ public class Conformance extends BaseResource implements IResource {
* A type of resource exposed via the restful interface
* </p>
*/
public void setType(ResourceTypeEnum theValue) {
public RestResource setType(ResourceTypeEnum theValue) {
getType().setValueAsEnum(theValue);
return this;
}
@ -2544,8 +2655,9 @@ public class Conformance extends BaseResource implements IResource {
* A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations
* </p>
*/
public void setProfile(ResourceReferenceDt theValue) {
public RestResource setProfile(ResourceReferenceDt theValue) {
myProfile = theValue;
return this;
}
@ -2574,8 +2686,9 @@ public class Conformance extends BaseResource implements IResource {
* Identifies a restful operation supported by the solution
* </p>
*/
public void setOperation(java.util.List<RestResourceOperation> theValue) {
public RestResource setOperation(java.util.List<RestResourceOperation> theValue) {
myOperation = theValue;
return this;
}
/**
@ -2633,8 +2746,9 @@ public class Conformance extends BaseResource implements IResource {
* A flag for whether the server is able to return past versions as part of the vRead operation
* </p>
*/
public void setReadHistory(BooleanDt theValue) {
public RestResource setReadHistory(BooleanDt theValue) {
myReadHistory = theValue;
return this;
}
/**
@ -2676,8 +2790,9 @@ public class Conformance extends BaseResource implements IResource {
* A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server
* </p>
*/
public void setUpdateCreate(BooleanDt theValue) {
public RestResource setUpdateCreate(BooleanDt theValue) {
myUpdateCreate = theValue;
return this;
}
/**
@ -2719,8 +2834,9 @@ public class Conformance extends BaseResource implements IResource {
* A list of _include values supported by the server
* </p>
*/
public void setSearchInclude(java.util.List<StringDt> theValue) {
public RestResource setSearchInclude(java.util.List<StringDt> theValue) {
mySearchInclude = theValue;
return this;
}
/**
@ -2796,8 +2912,9 @@ public class Conformance extends BaseResource implements IResource {
* Additional search parameters for implementations to support and/or make use of
* </p>
*/
public void setSearchParam(java.util.List<RestResourceSearchParam> theValue) {
public RestResource setSearchParam(java.util.List<RestResourceSearchParam> theValue) {
mySearchParam = theValue;
return this;
}
/**
@ -2899,8 +3016,9 @@ public class Conformance extends BaseResource implements IResource {
* Coded identifier of the operation, supported by the system resource
* </p>
*/
public void setCode(BoundCodeDt<RestfulOperationTypeEnum> theValue) {
public RestResourceOperation setCode(BoundCodeDt<RestfulOperationTypeEnum> theValue) {
myCode = theValue;
return this;
}
/**
@ -2911,8 +3029,9 @@ public class Conformance extends BaseResource implements IResource {
* Coded identifier of the operation, supported by the system resource
* </p>
*/
public void setCode(RestfulOperationTypeEnum theValue) {
public RestResourceOperation setCode(RestfulOperationTypeEnum theValue) {
getCode().setValueAsEnum(theValue);
return this;
}
@ -2941,8 +3060,9 @@ public class Conformance extends BaseResource implements IResource {
* Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'
* </p>
*/
public void setDocumentation(StringDt theValue) {
public RestResourceOperation setDocumentation(StringDt theValue) {
myDocumentation = theValue;
return this;
}
/**
@ -3057,8 +3177,9 @@ public class Conformance extends BaseResource implements IResource {
* The name of the search parameter used in the interface
* </p>
*/
public void setName(StringDt theValue) {
public RestResourceSearchParam setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
@ -3100,8 +3221,9 @@ public class Conformance extends BaseResource implements IResource {
* A formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter
* </p>
*/
public void setDefinition(UriDt theValue) {
public RestResourceSearchParam setDefinition(UriDt theValue) {
myDefinition = theValue;
return this;
}
/**
@ -3143,8 +3265,9 @@ public class Conformance extends BaseResource implements IResource {
* The type of value a search parameter refers to, and how the content is interpreted
* </p>
*/
public void setType(BoundCodeDt<SearchParamTypeEnum> theValue) {
public RestResourceSearchParam setType(BoundCodeDt<SearchParamTypeEnum> theValue) {
myType = theValue;
return this;
}
/**
@ -3155,8 +3278,9 @@ public class Conformance extends BaseResource implements IResource {
* The type of value a search parameter refers to, and how the content is interpreted
* </p>
*/
public void setType(SearchParamTypeEnum theValue) {
public RestResourceSearchParam setType(SearchParamTypeEnum theValue) {
getType().setValueAsEnum(theValue);
return this;
}
@ -3185,8 +3309,9 @@ public class Conformance extends BaseResource implements IResource {
* This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.
* </p>
*/
public void setDocumentation(StringDt theValue) {
public RestResourceSearchParam setDocumentation(StringDt theValue) {
myDocumentation = theValue;
return this;
}
/**
@ -3228,8 +3353,9 @@ public class Conformance extends BaseResource implements IResource {
* Types of resource (if a resource is referenced)
* </p>
*/
public void setTarget(java.util.List<BoundCodeDt<ResourceTypeEnum>> theValue) {
public RestResourceSearchParam setTarget(java.util.List<BoundCodeDt<ResourceTypeEnum>> theValue) {
myTarget = theValue;
return this;
}
/**
@ -3252,9 +3378,10 @@ public class Conformance extends BaseResource implements IResource {
* Types of resource (if a resource is referenced)
* </p>
*/
public void setTarget(ResourceTypeEnum theValue) {
public RestResourceSearchParam setTarget(ResourceTypeEnum theValue) {
getTarget().clear();
addTarget(theValue);
return this;
}
@ -3283,8 +3410,9 @@ public class Conformance extends BaseResource implements IResource {
*
* </p>
*/
public void setChain(java.util.List<StringDt> theValue) {
public RestResourceSearchParam setChain(java.util.List<StringDt> theValue) {
myChain = theValue;
return this;
}
/**
@ -3406,8 +3534,9 @@ public class Conformance extends BaseResource implements IResource {
* A coded identifier of the operation, supported by the system
* </p>
*/
public void setCode(BoundCodeDt<RestfulOperationSystemEnum> theValue) {
public RestOperation setCode(BoundCodeDt<RestfulOperationSystemEnum> theValue) {
myCode = theValue;
return this;
}
/**
@ -3418,8 +3547,9 @@ public class Conformance extends BaseResource implements IResource {
* A coded identifier of the operation, supported by the system
* </p>
*/
public void setCode(RestfulOperationSystemEnum theValue) {
public RestOperation setCode(RestfulOperationSystemEnum theValue) {
getCode().setValueAsEnum(theValue);
return this;
}
@ -3448,8 +3578,9 @@ public class Conformance extends BaseResource implements IResource {
* Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented
* </p>
*/
public void setDocumentation(StringDt theValue) {
public RestOperation setDocumentation(StringDt theValue) {
myDocumentation = theValue;
return this;
}
/**
@ -3550,8 +3681,9 @@ public class Conformance extends BaseResource implements IResource {
* The name of a query, which is used in the _query parameter when the query is called
* </p>
*/
public void setName(StringDt theValue) {
public RestQuery setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
@ -3593,8 +3725,9 @@ public class Conformance extends BaseResource implements IResource {
* Identifies the custom query, defined either in FHIR core or another profile
* </p>
*/
public void setDefinition(UriDt theValue) {
public RestQuery setDefinition(UriDt theValue) {
myDefinition = theValue;
return this;
}
/**
@ -3636,8 +3769,9 @@ public class Conformance extends BaseResource implements IResource {
* Additional information about how the query functions in this particular implementation
* </p>
*/
public void setDocumentation(StringDt theValue) {
public RestQuery setDocumentation(StringDt theValue) {
myDocumentation = theValue;
return this;
}
/**
@ -3679,8 +3813,9 @@ public class Conformance extends BaseResource implements IResource {
* Identifies which of the parameters for the named query are supported
* </p>
*/
public void setParameter(java.util.List<RestResourceSearchParam> theValue) {
public RestQuery setParameter(java.util.List<RestResourceSearchParam> theValue) {
myParameter = theValue;
return this;
}
/**
@ -3798,8 +3933,9 @@ public class Conformance extends BaseResource implements IResource {
* An address to which messages and/or replies are to be sent.
* </p>
*/
public void setEndpoint(UriDt theValue) {
public Messaging setEndpoint(UriDt theValue) {
myEndpoint = theValue;
return this;
}
/**
@ -3841,8 +3977,9 @@ public class Conformance extends BaseResource implements IResource {
* Length if the receiver's reliable messaging cache (if a receiver) or how long the cache length on the receiver should be (if a sender)
* </p>
*/
public void setReliableCache(IntegerDt theValue) {
public Messaging setReliableCache(IntegerDt theValue) {
myReliableCache = theValue;
return this;
}
/**
@ -3884,8 +4021,9 @@ public class Conformance extends BaseResource implements IResource {
* Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner.
* </p>
*/
public void setDocumentation(StringDt theValue) {
public Messaging setDocumentation(StringDt theValue) {
myDocumentation = theValue;
return this;
}
/**
@ -3927,8 +4065,9 @@ public class Conformance extends BaseResource implements IResource {
* A description of the solution's support for an event at this end point.
* </p>
*/
public void setEvent(java.util.List<MessagingEvent> theValue) {
public Messaging setEvent(java.util.List<MessagingEvent> theValue) {
myEvent = theValue;
return this;
}
/**
@ -4076,8 +4215,9 @@ public class Conformance extends BaseResource implements IResource {
* A coded identifier of a supported messaging event
* </p>
*/
public void setCode(CodingDt theValue) {
public MessagingEvent setCode(CodingDt theValue) {
myCode = theValue;
return this;
}
@ -4106,8 +4246,9 @@ public class Conformance extends BaseResource implements IResource {
* The impact of the content of the message
* </p>
*/
public void setCategory(BoundCodeDt<MessageSignificanceCategoryEnum> theValue) {
public MessagingEvent setCategory(BoundCodeDt<MessageSignificanceCategoryEnum> theValue) {
myCategory = theValue;
return this;
}
/**
@ -4118,8 +4259,9 @@ public class Conformance extends BaseResource implements IResource {
* The impact of the content of the message
* </p>
*/
public void setCategory(MessageSignificanceCategoryEnum theValue) {
public MessagingEvent setCategory(MessageSignificanceCategoryEnum theValue) {
getCategory().setValueAsEnum(theValue);
return this;
}
@ -4148,8 +4290,9 @@ public class Conformance extends BaseResource implements IResource {
* The mode of this event declaration - whether application is sender or receiver
* </p>
*/
public void setMode(BoundCodeDt<ConformanceEventModeEnum> theValue) {
public MessagingEvent setMode(BoundCodeDt<ConformanceEventModeEnum> theValue) {
myMode = theValue;
return this;
}
/**
@ -4160,8 +4303,9 @@ public class Conformance extends BaseResource implements IResource {
* The mode of this event declaration - whether application is sender or receiver
* </p>
*/
public void setMode(ConformanceEventModeEnum theValue) {
public MessagingEvent setMode(ConformanceEventModeEnum theValue) {
getMode().setValueAsEnum(theValue);
return this;
}
@ -4190,8 +4334,9 @@ public class Conformance extends BaseResource implements IResource {
* A list of the messaging transport protocol(s) identifiers, supported by this endpoint
* </p>
*/
public void setProtocol(java.util.List<CodingDt> theValue) {
public MessagingEvent setProtocol(java.util.List<CodingDt> theValue) {
myProtocol = theValue;
return this;
}
/**
@ -4249,8 +4394,9 @@ public class Conformance extends BaseResource implements IResource {
* A resource associated with the event. This is the resource that defines the event.
* </p>
*/
public void setFocus(BoundCodeDt<ResourceTypeEnum> theValue) {
public MessagingEvent setFocus(BoundCodeDt<ResourceTypeEnum> theValue) {
myFocus = theValue;
return this;
}
/**
@ -4261,8 +4407,9 @@ public class Conformance extends BaseResource implements IResource {
* A resource associated with the event. This is the resource that defines the event.
* </p>
*/
public void setFocus(ResourceTypeEnum theValue) {
public MessagingEvent setFocus(ResourceTypeEnum theValue) {
getFocus().setValueAsEnum(theValue);
return this;
}
@ -4291,8 +4438,9 @@ public class Conformance extends BaseResource implements IResource {
* Information about the request for this event
* </p>
*/
public void setRequest(ResourceReferenceDt theValue) {
public MessagingEvent setRequest(ResourceReferenceDt theValue) {
myRequest = theValue;
return this;
}
@ -4321,8 +4469,9 @@ public class Conformance extends BaseResource implements IResource {
* Information about the response for this event
* </p>
*/
public void setResponse(ResourceReferenceDt theValue) {
public MessagingEvent setResponse(ResourceReferenceDt theValue) {
myResponse = theValue;
return this;
}
@ -4351,8 +4500,9 @@ public class Conformance extends BaseResource implements IResource {
* Guidance on how this event is handled, such as internal system trigger points, business rules, etc.
* </p>
*/
public void setDocumentation(StringDt theValue) {
public MessagingEvent setDocumentation(StringDt theValue) {
myDocumentation = theValue;
return this;
}
/**
@ -4449,8 +4599,9 @@ public class Conformance extends BaseResource implements IResource {
* Mode of this document declaration - whether application is producer or consumer
* </p>
*/
public void setMode(BoundCodeDt<DocumentModeEnum> theValue) {
public Document setMode(BoundCodeDt<DocumentModeEnum> theValue) {
myMode = theValue;
return this;
}
/**
@ -4461,8 +4612,9 @@ public class Conformance extends BaseResource implements IResource {
* Mode of this document declaration - whether application is producer or consumer
* </p>
*/
public void setMode(DocumentModeEnum theValue) {
public Document setMode(DocumentModeEnum theValue) {
getMode().setValueAsEnum(theValue);
return this;
}
@ -4491,8 +4643,9 @@ public class Conformance extends BaseResource implements IResource {
* A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc.
* </p>
*/
public void setDocumentation(StringDt theValue) {
public Document setDocumentation(StringDt theValue) {
myDocumentation = theValue;
return this;
}
/**
@ -4534,8 +4687,9 @@ public class Conformance extends BaseResource implements IResource {
* A constraint on a resource used in the document
* </p>
*/
public void setProfile(ResourceReferenceDt theValue) {
public Document setProfile(ResourceReferenceDt theValue) {
myProfile = theValue;
return this;
}

View File

@ -17,21 +17,111 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
@ -272,8 +362,9 @@ public class Device extends BaseResource implements IResource {
* Identifiers assigned to this device by various organizations. The most likely organizations to assign identifiers are the manufacturer and the owner, though regulatory agencies may also assign an identifier. The identifiers identify the particular device, not the kind of device
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public Device setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -331,8 +422,9 @@ public class Device extends BaseResource implements IResource {
* A kind of this device
* </p>
*/
public void setType(CodeableConceptDt theValue) {
public Device setType(CodeableConceptDt theValue) {
myType = theValue;
return this;
}
@ -361,8 +453,9 @@ public class Device extends BaseResource implements IResource {
* A name of the manufacturer
* </p>
*/
public void setManufacturer(StringDt theValue) {
public Device setManufacturer(StringDt theValue) {
myManufacturer = theValue;
return this;
}
/**
@ -404,8 +497,9 @@ public class Device extends BaseResource implements IResource {
* The \"model\" - an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type
* </p>
*/
public void setModel(StringDt theValue) {
public Device setModel(StringDt theValue) {
myModel = theValue;
return this;
}
/**
@ -447,8 +541,9 @@ public class Device extends BaseResource implements IResource {
* The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware
* </p>
*/
public void setVersion(StringDt theValue) {
public Device setVersion(StringDt theValue) {
myVersion = theValue;
return this;
}
/**
@ -490,8 +585,9 @@ public class Device extends BaseResource implements IResource {
* Date of expiry of this device (if applicable)
* </p>
*/
public void setExpiry(DateDt theValue) {
public Device setExpiry(DateDt theValue) {
myExpiry = theValue;
return this;
}
/**
@ -546,8 +642,9 @@ public class Device extends BaseResource implements IResource {
* FDA Mandated Unique Device Identifier. Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
* </p>
*/
public void setUdi(StringDt theValue) {
public Device setUdi(StringDt theValue) {
myUdi = theValue;
return this;
}
/**
@ -589,8 +686,9 @@ public class Device extends BaseResource implements IResource {
* Lot number assigned by the manufacturer
* </p>
*/
public void setLotNumber(StringDt theValue) {
public Device setLotNumber(StringDt theValue) {
myLotNumber = theValue;
return this;
}
/**
@ -632,8 +730,9 @@ public class Device extends BaseResource implements IResource {
* An organization that is responsible for the provision and ongoing maintenance of the device
* </p>
*/
public void setOwner(ResourceReferenceDt theValue) {
public Device setOwner(ResourceReferenceDt theValue) {
myOwner = theValue;
return this;
}
@ -662,8 +761,9 @@ public class Device extends BaseResource implements IResource {
* The resource may be found in a literal location (i.e. GPS coordinates), a logical place (i.e. \"in/with the patient\"), or a coded location
* </p>
*/
public void setLocation(ResourceReferenceDt theValue) {
public Device setLocation(ResourceReferenceDt theValue) {
myLocation = theValue;
return this;
}
@ -692,8 +792,9 @@ public class Device extends BaseResource implements IResource {
* Patient information, if the resource is affixed to a person
* </p>
*/
public void setPatient(ResourceReferenceDt theValue) {
public Device setPatient(ResourceReferenceDt theValue) {
myPatient = theValue;
return this;
}
@ -722,8 +823,9 @@ public class Device extends BaseResource implements IResource {
* Contact details for an organization or a particular human that is responsible for the device
* </p>
*/
public void setContact(java.util.List<ContactDt> theValue) {
public Device setContact(java.util.List<ContactDt> theValue) {
myContact = theValue;
return this;
}
/**
@ -781,8 +883,9 @@ public class Device extends BaseResource implements IResource {
* A network address on which the device may be contacted directly
* </p>
*/
public void setUrl(UriDt theValue) {
public Device setUrl(UriDt theValue) {
myUrl = theValue;
return this;
}
/**

View File

@ -17,28 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -338,8 +423,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* Who or what the investigation is to be performed on. This is usually a human patient, but diagnostic tests can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans)
* </p>
*/
public void setSubject(ResourceReferenceDt theValue) {
public DiagnosticOrder setSubject(ResourceReferenceDt theValue) {
mySubject = theValue;
return this;
}
@ -368,8 +454,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The practitioner that holds legal responsibility for ordering the investigation
* </p>
*/
public void setOrderer(ResourceReferenceDt theValue) {
public DiagnosticOrder setOrderer(ResourceReferenceDt theValue) {
myOrderer = theValue;
return this;
}
@ -398,8 +485,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* Identifiers assigned to this order by the order or by the receiver
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public DiagnosticOrder setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -457,8 +545,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* An encounter that provides additional informaton about the healthcare context in which this request is made
* </p>
*/
public void setEncounter(ResourceReferenceDt theValue) {
public DiagnosticOrder setEncounter(ResourceReferenceDt theValue) {
myEncounter = theValue;
return this;
}
@ -487,8 +576,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* An explanation or justification for why this diagnostic investigation is being requested
* </p>
*/
public void setClinicalNotes(StringDt theValue) {
public DiagnosticOrder setClinicalNotes(StringDt theValue) {
myClinicalNotes = theValue;
return this;
}
/**
@ -530,8 +620,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* One or more specimens that the diagnostic investigation is about
* </p>
*/
public void setSpecimen(java.util.List<ResourceReferenceDt> theValue) {
public DiagnosticOrder setSpecimen(java.util.List<ResourceReferenceDt> theValue) {
mySpecimen = theValue;
return this;
}
/**
@ -573,8 +664,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The status of the order
* </p>
*/
public void setStatus(BoundCodeDt<DiagnosticOrderStatusEnum> theValue) {
public DiagnosticOrder setStatus(BoundCodeDt<DiagnosticOrderStatusEnum> theValue) {
myStatus = theValue;
return this;
}
/**
@ -585,8 +677,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The status of the order
* </p>
*/
public void setStatus(DiagnosticOrderStatusEnum theValue) {
public DiagnosticOrder setStatus(DiagnosticOrderStatusEnum theValue) {
getStatus().setValueAsEnum(theValue);
return this;
}
@ -615,8 +708,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The clinical priority associated with this order
* </p>
*/
public void setPriority(BoundCodeDt<DiagnosticOrderPriorityEnum> theValue) {
public DiagnosticOrder setPriority(BoundCodeDt<DiagnosticOrderPriorityEnum> theValue) {
myPriority = theValue;
return this;
}
/**
@ -627,8 +721,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The clinical priority associated with this order
* </p>
*/
public void setPriority(DiagnosticOrderPriorityEnum theValue) {
public DiagnosticOrder setPriority(DiagnosticOrderPriorityEnum theValue) {
getPriority().setValueAsEnum(theValue);
return this;
}
@ -657,8 +752,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* A summary of the events of interest that have occurred as the request is processed. E.g. when the order was made, various processing steps (specimens received), when it was completed
* </p>
*/
public void setEvent(java.util.List<Event> theValue) {
public DiagnosticOrder setEvent(java.util.List<Event> theValue) {
myEvent = theValue;
return this;
}
/**
@ -716,8 +812,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
* </p>
*/
public void setItem(java.util.List<Item> theValue) {
public DiagnosticOrder setItem(java.util.List<Item> theValue) {
myItem = theValue;
return this;
}
/**
@ -833,8 +930,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The status for the event
* </p>
*/
public void setStatus(BoundCodeDt<DiagnosticOrderStatusEnum> theValue) {
public Event setStatus(BoundCodeDt<DiagnosticOrderStatusEnum> theValue) {
myStatus = theValue;
return this;
}
/**
@ -845,8 +943,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The status for the event
* </p>
*/
public void setStatus(DiagnosticOrderStatusEnum theValue) {
public Event setStatus(DiagnosticOrderStatusEnum theValue) {
getStatus().setValueAsEnum(theValue);
return this;
}
@ -875,8 +974,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* Additional information about the event that occurred - e.g. if the status remained unchanged
* </p>
*/
public void setDescription(CodeableConceptDt theValue) {
public Event setDescription(CodeableConceptDt theValue) {
myDescription = theValue;
return this;
}
@ -905,8 +1005,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The date/time at which the event occurred
* </p>
*/
public void setDateTime(DateTimeDt theValue) {
public Event setDateTime(DateTimeDt theValue) {
myDateTime = theValue;
return this;
}
/**
@ -958,8 +1059,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The person who was responsible for performing or recording the action
* </p>
*/
public void setActor(ResourceReferenceDt theValue) {
public Event setActor(ResourceReferenceDt theValue) {
myActor = theValue;
return this;
}
@ -1056,8 +1158,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested
* </p>
*/
public void setCode(CodeableConceptDt theValue) {
public Item setCode(CodeableConceptDt theValue) {
myCode = theValue;
return this;
}
@ -1086,8 +1189,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* If the item is related to a specific speciment
* </p>
*/
public void setSpecimen(java.util.List<ResourceReferenceDt> theValue) {
public Item setSpecimen(java.util.List<ResourceReferenceDt> theValue) {
mySpecimen = theValue;
return this;
}
/**
@ -1129,8 +1233,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* Anatomical location where the request test should be performed
* </p>
*/
public void setBodySite(CodeableConceptDt theValue) {
public Item setBodySite(CodeableConceptDt theValue) {
myBodySite = theValue;
return this;
}
@ -1159,8 +1264,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The status of this individual item within the order
* </p>
*/
public void setStatus(BoundCodeDt<DiagnosticOrderStatusEnum> theValue) {
public Item setStatus(BoundCodeDt<DiagnosticOrderStatusEnum> theValue) {
myStatus = theValue;
return this;
}
/**
@ -1171,8 +1277,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* The status of this individual item within the order
* </p>
*/
public void setStatus(DiagnosticOrderStatusEnum theValue) {
public Item setStatus(DiagnosticOrderStatusEnum theValue) {
getStatus().setValueAsEnum(theValue);
return this;
}
@ -1201,8 +1308,9 @@ public class DiagnosticOrder extends BaseResource implements IResource {
* A summary of the events of interest that have occurred as this item of the request is processed
* </p>
*/
public void setEvent(java.util.List<Event> theValue) {
public Item setEvent(java.util.List<Event> theValue) {
myEvent = theValue;
return this;
}
/**

View File

@ -17,30 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -363,8 +446,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* A code or name that describes this diagnostic report
* </p>
*/
public void setName(CodeableConceptDt theValue) {
public DiagnosticReport setName(CodeableConceptDt theValue) {
myName = theValue;
return this;
}
@ -393,8 +477,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* The status of the diagnostic report as a whole
* </p>
*/
public void setStatus(BoundCodeDt<DiagnosticReportStatusEnum> theValue) {
public DiagnosticReport setStatus(BoundCodeDt<DiagnosticReportStatusEnum> theValue) {
myStatus = theValue;
return this;
}
/**
@ -405,8 +490,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* The status of the diagnostic report as a whole
* </p>
*/
public void setStatus(DiagnosticReportStatusEnum theValue) {
public DiagnosticReport setStatus(DiagnosticReportStatusEnum theValue) {
getStatus().setValueAsEnum(theValue);
return this;
}
@ -435,8 +521,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* The date and/or time that this version of the report was released from the source diagnostic service
* </p>
*/
public void setIssued(DateTimeDt theValue) {
public DiagnosticReport setIssued(DateTimeDt theValue) {
myIssued = theValue;
return this;
}
/**
@ -488,8 +575,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources
* </p>
*/
public void setSubject(ResourceReferenceDt theValue) {
public DiagnosticReport setSubject(ResourceReferenceDt theValue) {
mySubject = theValue;
return this;
}
@ -515,8 +603,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* The diagnostic service that is responsible for issuing the report
* </p>
*/
public void setPerformer(ResourceReferenceDt theValue) {
public DiagnosticReport setPerformer(ResourceReferenceDt theValue) {
myPerformer = theValue;
return this;
}
@ -545,8 +634,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider
* </p>
*/
public void setIdentifier(IdentifierDt theValue) {
public DiagnosticReport setIdentifier(IdentifierDt theValue) {
myIdentifier = theValue;
return this;
}
@ -575,8 +665,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* Details concerning a test requested.
* </p>
*/
public void setRequestDetail(java.util.List<ResourceReferenceDt> theValue) {
public DiagnosticReport setRequestDetail(java.util.List<ResourceReferenceDt> theValue) {
myRequestDetail = theValue;
return this;
}
/**
@ -618,8 +709,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* The section of the diagnostic service that performs the examination e.g. biochemistry, hematology, MRI
* </p>
*/
public void setServiceCategory(CodeableConceptDt theValue) {
public DiagnosticReport setServiceCategory(CodeableConceptDt theValue) {
myServiceCategory = theValue;
return this;
}
@ -645,8 +737,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* The time or time-period the observed values are related to. This is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself
* </p>
*/
public void setDiagnostic(IDatatype theValue) {
public DiagnosticReport setDiagnostic(IDatatype theValue) {
myDiagnostic = theValue;
return this;
}
@ -675,8 +768,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* Details about the specimens on which this Disagnostic report is based
* </p>
*/
public void setSpecimen(java.util.List<ResourceReferenceDt> theValue) {
public DiagnosticReport setSpecimen(java.util.List<ResourceReferenceDt> theValue) {
mySpecimen = theValue;
return this;
}
/**
@ -718,8 +812,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\")
* </p>
*/
public void setResult(java.util.List<ResourceReferenceDt> theValue) {
public DiagnosticReport setResult(java.util.List<ResourceReferenceDt> theValue) {
myResult = theValue;
return this;
}
/**
@ -761,8 +856,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images
* </p>
*/
public void setImagingStudy(java.util.List<ResourceReferenceDt> theValue) {
public DiagnosticReport setImagingStudy(java.util.List<ResourceReferenceDt> theValue) {
myImagingStudy = theValue;
return this;
}
/**
@ -804,8 +900,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest)
* </p>
*/
public void setImage(java.util.List<Image> theValue) {
public DiagnosticReport setImage(java.util.List<Image> theValue) {
myImage = theValue;
return this;
}
/**
@ -863,8 +960,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* Concise and clinically contextualized narrative interpretation of the diagnostic report
* </p>
*/
public void setConclusion(StringDt theValue) {
public DiagnosticReport setConclusion(StringDt theValue) {
myConclusion = theValue;
return this;
}
/**
@ -906,8 +1004,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
*
* </p>
*/
public void setCodedDiagnosis(java.util.List<CodeableConceptDt> theValue) {
public DiagnosticReport setCodedDiagnosis(java.util.List<CodeableConceptDt> theValue) {
myCodedDiagnosis = theValue;
return this;
}
/**
@ -965,8 +1064,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.
* </p>
*/
public void setPresentedForm(java.util.List<AttachmentDt> theValue) {
public DiagnosticReport setPresentedForm(java.util.List<AttachmentDt> theValue) {
myPresentedForm = theValue;
return this;
}
/**
@ -1067,8 +1167,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
* A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features
* </p>
*/
public void setComment(StringDt theValue) {
public Image setComment(StringDt theValue) {
myComment = theValue;
return this;
}
/**
@ -1110,8 +1211,9 @@ public class DiagnosticReport extends BaseResource implements IResource {
*
* </p>
*/
public void setLink(ResourceReferenceDt theValue) {
public Image setLink(ResourceReferenceDt theValue) {
myLink = theValue;
return this;
}

View File

@ -17,32 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -307,8 +388,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public Encounter setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -366,8 +448,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setStatus(BoundCodeDt<EncounterStateEnum> theValue) {
public Encounter setStatus(BoundCodeDt<EncounterStateEnum> theValue) {
myStatus = theValue;
return this;
}
/**
@ -378,8 +461,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setStatus(EncounterStateEnum theValue) {
public Encounter setStatus(EncounterStateEnum theValue) {
getStatus().setValueAsEnum(theValue);
return this;
}
@ -408,8 +492,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setClassElement(BoundCodeDt<EncounterClassEnum> theValue) {
public Encounter setClassElement(BoundCodeDt<EncounterClassEnum> theValue) {
myClassElement = theValue;
return this;
}
/**
@ -420,8 +505,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setClassElement(EncounterClassEnum theValue) {
public Encounter setClassElement(EncounterClassEnum theValue) {
getClassElement().setValueAsEnum(theValue);
return this;
}
@ -450,8 +536,9 @@ public class Encounter extends BaseResource implements IResource {
* Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
* </p>
*/
public void setType(java.util.List<BoundCodeableConceptDt<EncounterTypeEnum>> theValue) {
public Encounter setType(java.util.List<BoundCodeableConceptDt<EncounterTypeEnum>> theValue) {
myType = theValue;
return this;
}
/**
@ -474,9 +561,10 @@ public class Encounter extends BaseResource implements IResource {
* Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
* </p>
*/
public void setType(EncounterTypeEnum theValue) {
public Encounter setType(EncounterTypeEnum theValue) {
getType().clear();
addType(theValue);
return this;
}
@ -505,8 +593,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setSubject(ResourceReferenceDt theValue) {
public Encounter setSubject(ResourceReferenceDt theValue) {
mySubject = theValue;
return this;
}
@ -535,8 +624,9 @@ public class Encounter extends BaseResource implements IResource {
* The main practitioner responsible for providing the service
* </p>
*/
public void setParticipant(java.util.List<Participant> theValue) {
public Encounter setParticipant(java.util.List<Participant> theValue) {
myParticipant = theValue;
return this;
}
/**
@ -594,8 +684,9 @@ public class Encounter extends BaseResource implements IResource {
* The start and end time of the encounter
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public Encounter setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}
@ -624,8 +715,9 @@ public class Encounter extends BaseResource implements IResource {
* Quantity of time the encounter lasted. This excludes the time during leaves of absence.
* </p>
*/
public void setLength(DurationDt theValue) {
public Encounter setLength(DurationDt theValue) {
myLength = theValue;
return this;
}
@ -654,8 +746,9 @@ public class Encounter extends BaseResource implements IResource {
* Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.
* </p>
*/
public void setReason(BoundCodeableConceptDt<EncounterReasonCodesEnum> theValue) {
public Encounter setReason(BoundCodeableConceptDt<EncounterReasonCodesEnum> theValue) {
myReason = theValue;
return this;
}
/**
@ -666,8 +759,9 @@ public class Encounter extends BaseResource implements IResource {
* Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.
* </p>
*/
public void setReason(EncounterReasonCodesEnum theValue) {
public Encounter setReason(EncounterReasonCodesEnum theValue) {
getReason().setValueAsEnum(theValue);
return this;
}
@ -696,8 +790,9 @@ public class Encounter extends BaseResource implements IResource {
* Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis.
* </p>
*/
public void setIndication(ResourceReferenceDt theValue) {
public Encounter setIndication(ResourceReferenceDt theValue) {
myIndication = theValue;
return this;
}
@ -726,8 +821,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setPriority(CodeableConceptDt theValue) {
public Encounter setPriority(CodeableConceptDt theValue) {
myPriority = theValue;
return this;
}
@ -756,8 +852,9 @@ public class Encounter extends BaseResource implements IResource {
* Details about an admission to a clinic
* </p>
*/
public void setHospitalization(Hospitalization theValue) {
public Encounter setHospitalization(Hospitalization theValue) {
myHospitalization = theValue;
return this;
}
@ -786,8 +883,9 @@ public class Encounter extends BaseResource implements IResource {
* List of locations at which the patient has been
* </p>
*/
public void setLocation(java.util.List<Location> theValue) {
public Encounter setLocation(java.util.List<Location> theValue) {
myLocation = theValue;
return this;
}
/**
@ -845,8 +943,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setServiceProvider(ResourceReferenceDt theValue) {
public Encounter setServiceProvider(ResourceReferenceDt theValue) {
myServiceProvider = theValue;
return this;
}
@ -875,8 +974,9 @@ public class Encounter extends BaseResource implements IResource {
* Another Encounter of which this encounter is a part of (administratively or in time).
* </p>
*/
public void setPartOf(ResourceReferenceDt theValue) {
public Encounter setPartOf(ResourceReferenceDt theValue) {
myPartOf = theValue;
return this;
}
@ -949,8 +1049,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setType(java.util.List<BoundCodeableConceptDt<ParticipantTypeEnum>> theValue) {
public Participant setType(java.util.List<BoundCodeableConceptDt<ParticipantTypeEnum>> theValue) {
myType = theValue;
return this;
}
/**
@ -973,9 +1074,10 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setType(ParticipantTypeEnum theValue) {
public Participant setType(ParticipantTypeEnum theValue) {
getType().clear();
addType(theValue);
return this;
}
@ -1001,8 +1103,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setIndividual(ResourceReferenceDt theValue) {
public Participant setIndividual(ResourceReferenceDt theValue) {
myIndividual = theValue;
return this;
}
@ -1152,8 +1255,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setPreAdmissionIdentifier(IdentifierDt theValue) {
public Hospitalization setPreAdmissionIdentifier(IdentifierDt theValue) {
myPreAdmissionIdentifier = theValue;
return this;
}
@ -1182,8 +1286,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setOrigin(ResourceReferenceDt theValue) {
public Hospitalization setOrigin(ResourceReferenceDt theValue) {
myOrigin = theValue;
return this;
}
@ -1212,8 +1317,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setAdmitSource(BoundCodeableConceptDt<AdmitSourceEnum> theValue) {
public Hospitalization setAdmitSource(BoundCodeableConceptDt<AdmitSourceEnum> theValue) {
myAdmitSource = theValue;
return this;
}
/**
@ -1224,8 +1330,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setAdmitSource(AdmitSourceEnum theValue) {
public Hospitalization setAdmitSource(AdmitSourceEnum theValue) {
getAdmitSource().setValueAsEnum(theValue);
return this;
}
@ -1254,8 +1361,9 @@ public class Encounter extends BaseResource implements IResource {
* Period during which the patient was admitted
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public Hospitalization setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}
@ -1284,8 +1392,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setAccomodation(java.util.List<HospitalizationAccomodation> theValue) {
public Hospitalization setAccomodation(java.util.List<HospitalizationAccomodation> theValue) {
myAccomodation = theValue;
return this;
}
/**
@ -1343,8 +1452,9 @@ public class Encounter extends BaseResource implements IResource {
* Dietary restrictions for the patient
* </p>
*/
public void setDiet(CodeableConceptDt theValue) {
public Hospitalization setDiet(CodeableConceptDt theValue) {
myDiet = theValue;
return this;
}
@ -1373,8 +1483,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setSpecialCourtesy(java.util.List<CodeableConceptDt> theValue) {
public Hospitalization setSpecialCourtesy(java.util.List<CodeableConceptDt> theValue) {
mySpecialCourtesy = theValue;
return this;
}
/**
@ -1432,8 +1543,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setSpecialArrangement(java.util.List<CodeableConceptDt> theValue) {
public Hospitalization setSpecialArrangement(java.util.List<CodeableConceptDt> theValue) {
mySpecialArrangement = theValue;
return this;
}
/**
@ -1491,8 +1603,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setDestination(ResourceReferenceDt theValue) {
public Hospitalization setDestination(ResourceReferenceDt theValue) {
myDestination = theValue;
return this;
}
@ -1521,8 +1634,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setDischargeDisposition(CodeableConceptDt theValue) {
public Hospitalization setDischargeDisposition(CodeableConceptDt theValue) {
myDischargeDisposition = theValue;
return this;
}
@ -1551,8 +1665,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setDischargeDiagnosis(ResourceReferenceDt theValue) {
public Hospitalization setDischargeDiagnosis(ResourceReferenceDt theValue) {
myDischargeDiagnosis = theValue;
return this;
}
@ -1581,8 +1696,9 @@ public class Encounter extends BaseResource implements IResource {
* Whether this hospitalization is a readmission
* </p>
*/
public void setReAdmission(BooleanDt theValue) {
public Hospitalization setReAdmission(BooleanDt theValue) {
myReAdmission = theValue;
return this;
}
/**
@ -1670,8 +1786,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setBed(ResourceReferenceDt theValue) {
public HospitalizationAccomodation setBed(ResourceReferenceDt theValue) {
myBed = theValue;
return this;
}
@ -1700,8 +1817,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public HospitalizationAccomodation setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}
@ -1778,8 +1896,9 @@ public class Encounter extends BaseResource implements IResource {
* The location where the encounter takes place
* </p>
*/
public void setLocation(ResourceReferenceDt theValue) {
public Location setLocation(ResourceReferenceDt theValue) {
myLocation = theValue;
return this;
}
@ -1808,8 +1927,9 @@ public class Encounter extends BaseResource implements IResource {
*
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public Location setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}

View File

@ -17,29 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -253,8 +337,9 @@ public class Group extends BaseResource implements IResource {
* A unique business identifier for this group
* </p>
*/
public void setIdentifier(IdentifierDt theValue) {
public Group setIdentifier(IdentifierDt theValue) {
myIdentifier = theValue;
return this;
}
@ -283,8 +368,9 @@ public class Group extends BaseResource implements IResource {
* Identifies the broad classification of the kind of resources the group includes
* </p>
*/
public void setType(BoundCodeDt<GroupTypeEnum> theValue) {
public Group setType(BoundCodeDt<GroupTypeEnum> theValue) {
myType = theValue;
return this;
}
/**
@ -295,8 +381,9 @@ public class Group extends BaseResource implements IResource {
* Identifies the broad classification of the kind of resources the group includes
* </p>
*/
public void setType(GroupTypeEnum theValue) {
public Group setType(GroupTypeEnum theValue) {
getType().setValueAsEnum(theValue);
return this;
}
@ -325,8 +412,9 @@ public class Group extends BaseResource implements IResource {
* If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals
* </p>
*/
public void setActual(BooleanDt theValue) {
public Group setActual(BooleanDt theValue) {
myActual = theValue;
return this;
}
/**
@ -368,8 +456,9 @@ public class Group extends BaseResource implements IResource {
* Provides a specific type of resource the group includes. E.g. \"cow\", \"syringe\", etc.
* </p>
*/
public void setCode(CodeableConceptDt theValue) {
public Group setCode(CodeableConceptDt theValue) {
myCode = theValue;
return this;
}
@ -398,8 +487,9 @@ public class Group extends BaseResource implements IResource {
* A label assigned to the group for human identification and communication
* </p>
*/
public void setName(StringDt theValue) {
public Group setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
@ -441,8 +531,9 @@ public class Group extends BaseResource implements IResource {
* A count of the number of resource instances that are part of the group
* </p>
*/
public void setQuantity(IntegerDt theValue) {
public Group setQuantity(IntegerDt theValue) {
myQuantity = theValue;
return this;
}
/**
@ -484,8 +575,9 @@ public class Group extends BaseResource implements IResource {
* Identifies the traits shared by members of the group
* </p>
*/
public void setCharacteristic(java.util.List<Characteristic> theValue) {
public Group setCharacteristic(java.util.List<Characteristic> theValue) {
myCharacteristic = theValue;
return this;
}
/**
@ -540,8 +632,9 @@ public class Group extends BaseResource implements IResource {
* Identifies the resource instances that are members of the group.
* </p>
*/
public void setMember(java.util.List<ResourceReferenceDt> theValue) {
public Group setMember(java.util.List<ResourceReferenceDt> theValue) {
myMember = theValue;
return this;
}
/**
@ -636,8 +729,9 @@ public class Group extends BaseResource implements IResource {
* A code that identifies the kind of trait being asserted
* </p>
*/
public void setCode(CodeableConceptDt theValue) {
public Characteristic setCode(CodeableConceptDt theValue) {
myCode = theValue;
return this;
}
@ -663,8 +757,9 @@ public class Group extends BaseResource implements IResource {
* The value of the trait that holds (or does not hold - see 'exclude') for members of the group
* </p>
*/
public void setValue(IDatatype theValue) {
public Characteristic setValue(IDatatype theValue) {
myValue = theValue;
return this;
}
@ -693,8 +788,9 @@ public class Group extends BaseResource implements IResource {
* If true, indicates the characteristic is one that is NOT held by members of the group
* </p>
*/
public void setExclude(BooleanDt theValue) {
public Characteristic setExclude(BooleanDt theValue) {
myExclude = theValue;
return this;
}
/**

View File

@ -17,28 +17,109 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
@ -331,8 +412,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Date and Time the study took place
* </p>
*/
public void setDateTime(DateTimeDt theValue) {
public ImagingStudy setDateTime(DateTimeDt theValue) {
myDateTime = theValue;
return this;
}
/**
@ -387,8 +469,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Who the images are of
* </p>
*/
public void setSubject(ResourceReferenceDt theValue) {
public ImagingStudy setSubject(ResourceReferenceDt theValue) {
mySubject = theValue;
return this;
}
@ -417,8 +500,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Formal identifier for the study
* </p>
*/
public void setUid(OidDt theValue) {
public ImagingStudy setUid(OidDt theValue) {
myUid = theValue;
return this;
}
@ -447,8 +531,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Accession Number
* </p>
*/
public void setAccessionNo(IdentifierDt theValue) {
public ImagingStudy setAccessionNo(IdentifierDt theValue) {
myAccessionNo = theValue;
return this;
}
@ -477,8 +562,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Other identifiers for the study
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public ImagingStudy setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -536,8 +622,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* A list of the diagnostic orders that resulted in this imaging study being performed
* </p>
*/
public void setOrder(java.util.List<ResourceReferenceDt> theValue) {
public ImagingStudy setOrder(java.util.List<ResourceReferenceDt> theValue) {
myOrder = theValue;
return this;
}
/**
@ -579,8 +666,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19)
* </p>
*/
public void setModality(java.util.List<BoundCodeDt<ImagingModalityEnum>> theValue) {
public ImagingStudy setModality(java.util.List<BoundCodeDt<ImagingModalityEnum>> theValue) {
myModality = theValue;
return this;
}
/**
@ -603,9 +691,10 @@ public class ImagingStudy extends BaseResource implements IResource {
* A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19)
* </p>
*/
public void setModality(ImagingModalityEnum theValue) {
public ImagingStudy setModality(ImagingModalityEnum theValue) {
getModality().clear();
addModality(theValue);
return this;
}
@ -634,8 +723,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* The requesting/referring physician
* </p>
*/
public void setReferrer(ResourceReferenceDt theValue) {
public ImagingStudy setReferrer(ResourceReferenceDt theValue) {
myReferrer = theValue;
return this;
}
@ -664,8 +754,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Availability of study (online, offline or nearline)
* </p>
*/
public void setAvailability(BoundCodeDt<InstanceAvailabilityEnum> theValue) {
public ImagingStudy setAvailability(BoundCodeDt<InstanceAvailabilityEnum> theValue) {
myAvailability = theValue;
return this;
}
/**
@ -676,8 +767,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Availability of study (online, offline or nearline)
* </p>
*/
public void setAvailability(InstanceAvailabilityEnum theValue) {
public ImagingStudy setAvailability(InstanceAvailabilityEnum theValue) {
getAvailability().setValueAsEnum(theValue);
return this;
}
@ -706,8 +798,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* WADO-RS URI where Study is available
* </p>
*/
public void setUrl(UriDt theValue) {
public ImagingStudy setUrl(UriDt theValue) {
myUrl = theValue;
return this;
}
/**
@ -749,8 +842,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Number of Series in Study
* </p>
*/
public void setNumberOfSeries(IntegerDt theValue) {
public ImagingStudy setNumberOfSeries(IntegerDt theValue) {
myNumberOfSeries = theValue;
return this;
}
/**
@ -792,8 +886,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Number of SOP Instances in Study
* </p>
*/
public void setNumberOfInstances(IntegerDt theValue) {
public ImagingStudy setNumberOfInstances(IntegerDt theValue) {
myNumberOfInstances = theValue;
return this;
}
/**
@ -835,8 +930,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Diagnoses etc provided with request
* </p>
*/
public void setClinicalInformation(StringDt theValue) {
public ImagingStudy setClinicalInformation(StringDt theValue) {
myClinicalInformation = theValue;
return this;
}
/**
@ -878,8 +974,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Type of procedure performed
* </p>
*/
public void setProcedure(java.util.List<CodingDt> theValue) {
public ImagingStudy setProcedure(java.util.List<CodingDt> theValue) {
myProcedure = theValue;
return this;
}
/**
@ -937,8 +1034,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Who read study and interpreted the images
* </p>
*/
public void setInterpreter(ResourceReferenceDt theValue) {
public ImagingStudy setInterpreter(ResourceReferenceDt theValue) {
myInterpreter = theValue;
return this;
}
@ -967,8 +1065,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Institution-generated description or classification of the Study (component) performed
* </p>
*/
public void setDescription(StringDt theValue) {
public ImagingStudy setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -1010,8 +1109,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Each study has one or more series of image instances
* </p>
*/
public void setSeries(java.util.List<Series> theValue) {
public ImagingStudy setSeries(java.util.List<Series> theValue) {
mySeries = theValue;
return this;
}
/**
@ -1166,8 +1266,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* The number of this series in the overall sequence
* </p>
*/
public void setNumber(IntegerDt theValue) {
public Series setNumber(IntegerDt theValue) {
myNumber = theValue;
return this;
}
/**
@ -1209,8 +1310,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* The modality of this series sequence
* </p>
*/
public void setModality(BoundCodeDt<ModalityEnum> theValue) {
public Series setModality(BoundCodeDt<ModalityEnum> theValue) {
myModality = theValue;
return this;
}
/**
@ -1221,8 +1323,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* The modality of this series sequence
* </p>
*/
public void setModality(ModalityEnum theValue) {
public Series setModality(ModalityEnum theValue) {
getModality().setValueAsEnum(theValue);
return this;
}
@ -1251,8 +1354,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Formal identifier for this series
* </p>
*/
public void setUid(OidDt theValue) {
public Series setUid(OidDt theValue) {
myUid = theValue;
return this;
}
@ -1281,8 +1385,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* A description of the series
* </p>
*/
public void setDescription(StringDt theValue) {
public Series setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -1324,8 +1429,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Sequence that contains attributes from the
* </p>
*/
public void setNumberOfInstances(IntegerDt theValue) {
public Series setNumberOfInstances(IntegerDt theValue) {
myNumberOfInstances = theValue;
return this;
}
/**
@ -1367,8 +1473,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Availability of series (online, offline or nearline)
* </p>
*/
public void setAvailability(BoundCodeDt<InstanceAvailabilityEnum> theValue) {
public Series setAvailability(BoundCodeDt<InstanceAvailabilityEnum> theValue) {
myAvailability = theValue;
return this;
}
/**
@ -1379,8 +1486,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Availability of series (online, offline or nearline)
* </p>
*/
public void setAvailability(InstanceAvailabilityEnum theValue) {
public Series setAvailability(InstanceAvailabilityEnum theValue) {
getAvailability().setValueAsEnum(theValue);
return this;
}
@ -1409,8 +1517,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* WADO-RS URI where Series is available
* </p>
*/
public void setUrl(UriDt theValue) {
public Series setUrl(UriDt theValue) {
myUrl = theValue;
return this;
}
/**
@ -1452,8 +1561,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Body part examined. See DICOM Part 16 Annex L for the mapping from DICOM to Snomed
* </p>
*/
public void setBodySite(CodingDt theValue) {
public Series setBodySite(CodingDt theValue) {
myBodySite = theValue;
return this;
}
@ -1482,8 +1592,9 @@ public class ImagingStudy extends BaseResource implements IResource {
*
* </p>
*/
public void setDateTime(DateTimeDt theValue) {
public Series setDateTime(DateTimeDt theValue) {
myDateTime = theValue;
return this;
}
/**
@ -1538,8 +1649,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* A single image taken from a patient
* </p>
*/
public void setInstance(java.util.List<SeriesInstance> theValue) {
public Series setInstance(java.util.List<SeriesInstance> theValue) {
myInstance = theValue;
return this;
}
/**
@ -1678,8 +1790,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* The number of this image in the series
* </p>
*/
public void setNumber(IntegerDt theValue) {
public SeriesInstance setNumber(IntegerDt theValue) {
myNumber = theValue;
return this;
}
/**
@ -1721,8 +1834,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* Formal identifier for this image
* </p>
*/
public void setUid(OidDt theValue) {
public SeriesInstance setUid(OidDt theValue) {
myUid = theValue;
return this;
}
@ -1751,8 +1865,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* DICOM Image type
* </p>
*/
public void setSopclass(OidDt theValue) {
public SeriesInstance setSopclass(OidDt theValue) {
mySopclass = theValue;
return this;
}
@ -1781,8 +1896,9 @@ public class ImagingStudy extends BaseResource implements IResource {
*
* </p>
*/
public void setType(StringDt theValue) {
public SeriesInstance setType(StringDt theValue) {
myType = theValue;
return this;
}
/**
@ -1824,8 +1940,9 @@ public class ImagingStudy extends BaseResource implements IResource {
*
* </p>
*/
public void setTitle(StringDt theValue) {
public SeriesInstance setTitle(StringDt theValue) {
myTitle = theValue;
return this;
}
/**
@ -1867,8 +1984,9 @@ public class ImagingStudy extends BaseResource implements IResource {
* WADO-RS url where image is available
* </p>
*/
public void setUrl(UriDt theValue) {
public SeriesInstance setUrl(UriDt theValue) {
myUrl = theValue;
return this;
}
/**
@ -1910,8 +2028,9 @@ public class ImagingStudy extends BaseResource implements IResource {
*
* </p>
*/
public void setAttachment(ResourceReferenceDt theValue) {
public SeriesInstance setAttachment(ResourceReferenceDt theValue) {
myAttachment = theValue;
return this;
}

View File

@ -17,30 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -270,8 +353,9 @@ public class Location extends BaseResource implements IResource {
* Unique code or number identifying the location to its users
* </p>
*/
public void setIdentifier(IdentifierDt theValue) {
public Location setIdentifier(IdentifierDt theValue) {
myIdentifier = theValue;
return this;
}
@ -300,8 +384,9 @@ public class Location extends BaseResource implements IResource {
* Name of the location as used by humans. Does not need to be unique.
* </p>
*/
public void setName(StringDt theValue) {
public Location setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
@ -343,8 +428,9 @@ public class Location extends BaseResource implements IResource {
* Description of the Location, which helps in finding or referencing the place
* </p>
*/
public void setDescription(StringDt theValue) {
public Location setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -386,8 +472,9 @@ public class Location extends BaseResource implements IResource {
* Indicates the type of function performed at the location
* </p>
*/
public void setType(BoundCodeableConceptDt<LocationTypeEnum> theValue) {
public Location setType(BoundCodeableConceptDt<LocationTypeEnum> theValue) {
myType = theValue;
return this;
}
/**
@ -398,8 +485,9 @@ public class Location extends BaseResource implements IResource {
* Indicates the type of function performed at the location
* </p>
*/
public void setType(LocationTypeEnum theValue) {
public Location setType(LocationTypeEnum theValue) {
getType().setValueAsEnum(theValue);
return this;
}
@ -428,8 +516,9 @@ public class Location extends BaseResource implements IResource {
* The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
* </p>
*/
public void setTelecom(java.util.List<ContactDt> theValue) {
public Location setTelecom(java.util.List<ContactDt> theValue) {
myTelecom = theValue;
return this;
}
/**
@ -487,8 +576,9 @@ public class Location extends BaseResource implements IResource {
*
* </p>
*/
public void setAddress(AddressDt theValue) {
public Location setAddress(AddressDt theValue) {
myAddress = theValue;
return this;
}
@ -517,8 +607,9 @@ public class Location extends BaseResource implements IResource {
* Physical form of the location, e.g. building, room, vehicle, road
* </p>
*/
public void setPhysicalType(CodeableConceptDt theValue) {
public Location setPhysicalType(CodeableConceptDt theValue) {
myPhysicalType = theValue;
return this;
}
@ -547,8 +638,9 @@ public class Location extends BaseResource implements IResource {
* The absolute geographic location of the Location, expressed in a KML compatible manner (see notes below for KML)
* </p>
*/
public void setPosition(Position theValue) {
public Location setPosition(Position theValue) {
myPosition = theValue;
return this;
}
@ -577,8 +669,9 @@ public class Location extends BaseResource implements IResource {
*
* </p>
*/
public void setManagingOrganization(ResourceReferenceDt theValue) {
public Location setManagingOrganization(ResourceReferenceDt theValue) {
myManagingOrganization = theValue;
return this;
}
@ -607,8 +700,9 @@ public class Location extends BaseResource implements IResource {
*
* </p>
*/
public void setStatus(BoundCodeDt<LocationStatusEnum> theValue) {
public Location setStatus(BoundCodeDt<LocationStatusEnum> theValue) {
myStatus = theValue;
return this;
}
/**
@ -619,8 +713,9 @@ public class Location extends BaseResource implements IResource {
*
* </p>
*/
public void setStatus(LocationStatusEnum theValue) {
public Location setStatus(LocationStatusEnum theValue) {
getStatus().setValueAsEnum(theValue);
return this;
}
@ -649,8 +744,9 @@ public class Location extends BaseResource implements IResource {
*
* </p>
*/
public void setPartOf(ResourceReferenceDt theValue) {
public Location setPartOf(ResourceReferenceDt theValue) {
myPartOf = theValue;
return this;
}
@ -679,8 +775,9 @@ public class Location extends BaseResource implements IResource {
* Indicates whether a resource instance represents a specific location or a class of locations
* </p>
*/
public void setMode(BoundCodeDt<LocationModeEnum> theValue) {
public Location setMode(BoundCodeDt<LocationModeEnum> theValue) {
myMode = theValue;
return this;
}
/**
@ -691,8 +788,9 @@ public class Location extends BaseResource implements IResource {
* Indicates whether a resource instance represents a specific location or a class of locations
* </p>
*/
public void setMode(LocationModeEnum theValue) {
public Location setMode(LocationModeEnum theValue) {
getMode().setValueAsEnum(theValue);
return this;
}
@ -769,8 +867,9 @@ public class Location extends BaseResource implements IResource {
* Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
* </p>
*/
public void setLongitude(DecimalDt theValue) {
public Position setLongitude(DecimalDt theValue) {
myLongitude = theValue;
return this;
}
/**
@ -838,8 +937,9 @@ public class Location extends BaseResource implements IResource {
* Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
* </p>
*/
public void setLatitude(DecimalDt theValue) {
public Position setLatitude(DecimalDt theValue) {
myLatitude = theValue;
return this;
}
/**
@ -907,8 +1007,9 @@ public class Location extends BaseResource implements IResource {
* Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
* </p>
*/
public void setAltitude(DecimalDt theValue) {
public Position setAltitude(DecimalDt theValue) {
myAltitude = theValue;
return this;
}
/**

View File

@ -17,26 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -267,8 +354,9 @@ public class Media extends BaseResource implements IResource {
* Whether the media is a photo (still image), an audio recording, or a video recording
* </p>
*/
public void setType(BoundCodeDt<MediaTypeEnum> theValue) {
public Media setType(BoundCodeDt<MediaTypeEnum> theValue) {
myType = theValue;
return this;
}
/**
@ -279,8 +367,9 @@ public class Media extends BaseResource implements IResource {
* Whether the media is a photo (still image), an audio recording, or a video recording
* </p>
*/
public void setType(MediaTypeEnum theValue) {
public Media setType(MediaTypeEnum theValue) {
getType().setValueAsEnum(theValue);
return this;
}
@ -309,8 +398,9 @@ public class Media extends BaseResource implements IResource {
* Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality
* </p>
*/
public void setSubtype(CodeableConceptDt theValue) {
public Media setSubtype(CodeableConceptDt theValue) {
mySubtype = theValue;
return this;
}
@ -339,8 +429,9 @@ public class Media extends BaseResource implements IResource {
* Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public Media setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -398,8 +489,9 @@ public class Media extends BaseResource implements IResource {
* When the media was originally recorded. For video and audio, if the length of the recording is not insignificant, this is the end of the recording
* </p>
*/
public void setDateTime(DateTimeDt theValue) {
public Media setDateTime(DateTimeDt theValue) {
myDateTime = theValue;
return this;
}
/**
@ -451,8 +543,9 @@ public class Media extends BaseResource implements IResource {
* Who/What this Media is a record of
* </p>
*/
public void setSubject(ResourceReferenceDt theValue) {
public Media setSubject(ResourceReferenceDt theValue) {
mySubject = theValue;
return this;
}
@ -481,8 +574,9 @@ public class Media extends BaseResource implements IResource {
* The person who administered the collection of the image
* </p>
*/
public void setOperator(ResourceReferenceDt theValue) {
public Media setOperator(ResourceReferenceDt theValue) {
myOperator = theValue;
return this;
}
@ -511,8 +605,9 @@ public class Media extends BaseResource implements IResource {
* The name of the imaging view e.g Lateral or Antero-posterior (AP).
* </p>
*/
public void setView(CodeableConceptDt theValue) {
public Media setView(CodeableConceptDt theValue) {
myView = theValue;
return this;
}
@ -541,8 +636,9 @@ public class Media extends BaseResource implements IResource {
* The name of the device / manufacturer of the device that was used to make the recording
* </p>
*/
public void setDeviceName(StringDt theValue) {
public Media setDeviceName(StringDt theValue) {
myDeviceName = theValue;
return this;
}
/**
@ -584,8 +680,9 @@ public class Media extends BaseResource implements IResource {
* Height of the image in pixels(photo/video)
* </p>
*/
public void setHeight(IntegerDt theValue) {
public Media setHeight(IntegerDt theValue) {
myHeight = theValue;
return this;
}
/**
@ -627,8 +724,9 @@ public class Media extends BaseResource implements IResource {
* Width of the image in pixels (photo/video)
* </p>
*/
public void setWidth(IntegerDt theValue) {
public Media setWidth(IntegerDt theValue) {
myWidth = theValue;
return this;
}
/**
@ -670,8 +768,9 @@ public class Media extends BaseResource implements IResource {
* The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required
* </p>
*/
public void setFrames(IntegerDt theValue) {
public Media setFrames(IntegerDt theValue) {
myFrames = theValue;
return this;
}
/**
@ -713,8 +812,9 @@ public class Media extends BaseResource implements IResource {
* The length of the recording in seconds - for audio and video
* </p>
*/
public void setLength(IntegerDt theValue) {
public Media setLength(IntegerDt theValue) {
myLength = theValue;
return this;
}
/**
@ -756,8 +856,9 @@ public class Media extends BaseResource implements IResource {
* The actual content of the media - inline or by direct reference to the media source file
* </p>
*/
public void setContent(AttachmentDt theValue) {
public Media setContent(AttachmentDt theValue) {
myContent = theValue;
return this;
}

View File

@ -17,25 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -218,8 +306,9 @@ public class Medication extends BaseResource implements IResource {
* The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code
* </p>
*/
public void setName(StringDt theValue) {
public Medication setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
@ -261,8 +350,9 @@ public class Medication extends BaseResource implements IResource {
* A code (or set of codes) that identify this medication. Usage note: This could be a standard drug code such as a drug regulator code, RxNorm code, SNOMED CT code, etc. It could also be a local formulary code, optionally with translations to the standard drug codes
* </p>
*/
public void setCode(CodeableConceptDt theValue) {
public Medication setCode(CodeableConceptDt theValue) {
myCode = theValue;
return this;
}
@ -291,8 +381,9 @@ public class Medication extends BaseResource implements IResource {
* Set to true if the item is attributable to a specific manufacturer (even if we don't know who that is)
* </p>
*/
public void setIsBrand(BooleanDt theValue) {
public Medication setIsBrand(BooleanDt theValue) {
myIsBrand = theValue;
return this;
}
/**
@ -334,8 +425,9 @@ public class Medication extends BaseResource implements IResource {
* Describes the details of the manufacturer
* </p>
*/
public void setManufacturer(ResourceReferenceDt theValue) {
public Medication setManufacturer(ResourceReferenceDt theValue) {
myManufacturer = theValue;
return this;
}
@ -364,8 +456,9 @@ public class Medication extends BaseResource implements IResource {
* Medications are either a single administrable product or a package that contains one or more products.
* </p>
*/
public void setKind(BoundCodeDt<MedicationKindEnum> theValue) {
public Medication setKind(BoundCodeDt<MedicationKindEnum> theValue) {
myKind = theValue;
return this;
}
/**
@ -376,8 +469,9 @@ public class Medication extends BaseResource implements IResource {
* Medications are either a single administrable product or a package that contains one or more products.
* </p>
*/
public void setKind(MedicationKindEnum theValue) {
public Medication setKind(MedicationKindEnum theValue) {
getKind().setValueAsEnum(theValue);
return this;
}
@ -406,8 +500,9 @@ public class Medication extends BaseResource implements IResource {
* Information that only applies to products (not packages)
* </p>
*/
public void setProduct(Product theValue) {
public Medication setProduct(Product theValue) {
myProduct = theValue;
return this;
}
@ -436,8 +531,9 @@ public class Medication extends BaseResource implements IResource {
* Information that only applies to packages (not products)
* </p>
*/
public void setPackage(CodeDt theValue) {
public Medication setPackage(CodeDt theValue) {
myPackage = theValue;
return this;
}
/**
@ -520,8 +616,9 @@ public class Medication extends BaseResource implements IResource {
* Describes the form of the item. Powder; tables; carton
* </p>
*/
public void setForm(CodeableConceptDt theValue) {
public Product setForm(CodeableConceptDt theValue) {
myForm = theValue;
return this;
}
@ -550,8 +647,9 @@ public class Medication extends BaseResource implements IResource {
* Identifies a particular constituent of interest in the product
* </p>
*/
public void setIngredient(java.util.List<ProductIngredient> theValue) {
public Product setIngredient(java.util.List<ProductIngredient> theValue) {
myIngredient = theValue;
return this;
}
/**
@ -653,8 +751,9 @@ public class Medication extends BaseResource implements IResource {
* The actual ingredient - either a substance (simple ingredient) or another medication
* </p>
*/
public void setItem(ResourceReferenceDt theValue) {
public ProductIngredient setItem(ResourceReferenceDt theValue) {
myItem = theValue;
return this;
}
@ -683,8 +782,9 @@ public class Medication extends BaseResource implements IResource {
* Specifies how many (or how much) of the items there are in this Medication. E.g. 250 mg per tablet
* </p>
*/
public void setAmount(RatioDt theValue) {
public ProductIngredient setAmount(RatioDt theValue) {
myAmount = theValue;
return this;
}

View File

@ -17,39 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -395,8 +469,9 @@ public class Observation extends BaseResource implements IResource {
* Describes what was observed. Sometimes this is called the observation \"code\"
* </p>
*/
public void setName(CodeableConceptDt theValue) {
public Observation setName(CodeableConceptDt theValue) {
myName = theValue;
return this;
}
@ -422,8 +497,9 @@ public class Observation extends BaseResource implements IResource {
* The information determined as a result of making the observation, if the information has a simple value
* </p>
*/
public void setValue(IDatatype theValue) {
public Observation setValue(IDatatype theValue) {
myValue = theValue;
return this;
}
@ -452,8 +528,9 @@ public class Observation extends BaseResource implements IResource {
* The assessment made based on the result of the observation.
* </p>
*/
public void setInterpretation(BoundCodeableConceptDt<ObservationInterpretationCodesEnum> theValue) {
public Observation setInterpretation(BoundCodeableConceptDt<ObservationInterpretationCodesEnum> theValue) {
myInterpretation = theValue;
return this;
}
/**
@ -464,8 +541,9 @@ public class Observation extends BaseResource implements IResource {
* The assessment made based on the result of the observation.
* </p>
*/
public void setInterpretation(ObservationInterpretationCodesEnum theValue) {
public Observation setInterpretation(ObservationInterpretationCodesEnum theValue) {
getInterpretation().setValueAsEnum(theValue);
return this;
}
@ -494,8 +572,9 @@ public class Observation extends BaseResource implements IResource {
* May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.
* </p>
*/
public void setComments(StringDt theValue) {
public Observation setComments(StringDt theValue) {
myComments = theValue;
return this;
}
/**
@ -534,8 +613,9 @@ public class Observation extends BaseResource implements IResource {
* The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself
* </p>
*/
public void setApplies(IDatatype theValue) {
public Observation setApplies(IDatatype theValue) {
myApplies = theValue;
return this;
}
@ -564,8 +644,9 @@ public class Observation extends BaseResource implements IResource {
*
* </p>
*/
public void setIssued(InstantDt theValue) {
public Observation setIssued(InstantDt theValue) {
myIssued = theValue;
return this;
}
/**
@ -620,8 +701,9 @@ public class Observation extends BaseResource implements IResource {
* The status of the result value
* </p>
*/
public void setStatus(BoundCodeDt<ObservationStatusEnum> theValue) {
public Observation setStatus(BoundCodeDt<ObservationStatusEnum> theValue) {
myStatus = theValue;
return this;
}
/**
@ -632,8 +714,9 @@ public class Observation extends BaseResource implements IResource {
* The status of the result value
* </p>
*/
public void setStatus(ObservationStatusEnum theValue) {
public Observation setStatus(ObservationStatusEnum theValue) {
getStatus().setValueAsEnum(theValue);
return this;
}
@ -662,8 +745,9 @@ public class Observation extends BaseResource implements IResource {
* An estimate of the degree to which quality issues have impacted on the value reported
* </p>
*/
public void setReliability(BoundCodeDt<ObservationReliabilityEnum> theValue) {
public Observation setReliability(BoundCodeDt<ObservationReliabilityEnum> theValue) {
myReliability = theValue;
return this;
}
/**
@ -674,8 +758,9 @@ public class Observation extends BaseResource implements IResource {
* An estimate of the degree to which quality issues have impacted on the value reported
* </p>
*/
public void setReliability(ObservationReliabilityEnum theValue) {
public Observation setReliability(ObservationReliabilityEnum theValue) {
getReliability().setValueAsEnum(theValue);
return this;
}
@ -704,8 +789,9 @@ public class Observation extends BaseResource implements IResource {
* Indicates where on the subject's body the observation was made.
* </p>
*/
public void setBodySite(CodeableConceptDt theValue) {
public Observation setBodySite(CodeableConceptDt theValue) {
myBodySite = theValue;
return this;
}
@ -734,8 +820,9 @@ public class Observation extends BaseResource implements IResource {
* Indicates the mechanism used to perform the observation
* </p>
*/
public void setMethod(CodeableConceptDt theValue) {
public Observation setMethod(CodeableConceptDt theValue) {
myMethod = theValue;
return this;
}
@ -764,8 +851,9 @@ public class Observation extends BaseResource implements IResource {
* A unique identifier for the simple observation
* </p>
*/
public void setIdentifier(IdentifierDt theValue) {
public Observation setIdentifier(IdentifierDt theValue) {
myIdentifier = theValue;
return this;
}
@ -791,8 +879,9 @@ public class Observation extends BaseResource implements IResource {
* The thing the observation is being made about
* </p>
*/
public void setSubject(ResourceReferenceDt theValue) {
public Observation setSubject(ResourceReferenceDt theValue) {
mySubject = theValue;
return this;
}
@ -821,8 +910,9 @@ public class Observation extends BaseResource implements IResource {
* The specimen that was used when this observation was made
* </p>
*/
public void setSpecimen(ResourceReferenceDt theValue) {
public Observation setSpecimen(ResourceReferenceDt theValue) {
mySpecimen = theValue;
return this;
}
@ -848,8 +938,9 @@ public class Observation extends BaseResource implements IResource {
* Who was responsible for asserting the observed value as \"true\"
* </p>
*/
public void setPerformer(java.util.List<ResourceReferenceDt> theValue) {
public Observation setPerformer(java.util.List<ResourceReferenceDt> theValue) {
myPerformer = theValue;
return this;
}
/**
@ -891,8 +982,9 @@ public class Observation extends BaseResource implements IResource {
* Guidance on how to interpret the value by comparison to a normal or recommended range
* </p>
*/
public void setReferenceRange(java.util.List<ReferenceRange> theValue) {
public Observation setReferenceRange(java.util.List<ReferenceRange> theValue) {
myReferenceRange = theValue;
return this;
}
/**
@ -950,8 +1042,9 @@ public class Observation extends BaseResource implements IResource {
* Related observations - either components, or previous observations, or statements of derivation
* </p>
*/
public void setRelated(java.util.List<Related> theValue) {
public Observation setRelated(java.util.List<Related> theValue) {
myRelated = theValue;
return this;
}
/**
@ -1064,8 +1157,9 @@ public class Observation extends BaseResource implements IResource {
* The value of the low bound of the reference range. If this is omitted, the low bound of the reference range is assumed to be meaningless. E.g. <2.3
* </p>
*/
public void setLow(QuantityDt theValue) {
public ReferenceRange setLow(QuantityDt theValue) {
myLow = theValue;
return this;
}
@ -1094,8 +1188,9 @@ public class Observation extends BaseResource implements IResource {
* The value of the high bound of the reference range. If this is omitted, the high bound of the reference range is assumed to be meaningless. E.g. >5
* </p>
*/
public void setHigh(QuantityDt theValue) {
public ReferenceRange setHigh(QuantityDt theValue) {
myHigh = theValue;
return this;
}
@ -1124,8 +1219,9 @@ public class Observation extends BaseResource implements IResource {
* Code for the meaning of the reference range
* </p>
*/
public void setMeaning(CodeableConceptDt theValue) {
public ReferenceRange setMeaning(CodeableConceptDt theValue) {
myMeaning = theValue;
return this;
}
@ -1154,8 +1250,9 @@ public class Observation extends BaseResource implements IResource {
* The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so
* </p>
*/
public void setAge(RangeDt theValue) {
public ReferenceRange setAge(RangeDt theValue) {
myAge = theValue;
return this;
}
@ -1231,8 +1328,9 @@ public class Observation extends BaseResource implements IResource {
* A code specifying the kind of relationship that exists with the target observation
* </p>
*/
public void setType(BoundCodeDt<ObservationRelationshipTypeEnum> theValue) {
public Related setType(BoundCodeDt<ObservationRelationshipTypeEnum> theValue) {
myType = theValue;
return this;
}
/**
@ -1243,8 +1341,9 @@ public class Observation extends BaseResource implements IResource {
* A code specifying the kind of relationship that exists with the target observation
* </p>
*/
public void setType(ObservationRelationshipTypeEnum theValue) {
public Related setType(ObservationRelationshipTypeEnum theValue) {
getType().setValueAsEnum(theValue);
return this;
}
@ -1273,8 +1372,9 @@ public class Observation extends BaseResource implements IResource {
* A reference to the observation that is related to this observation
* </p>
*/
public void setTarget(ResourceReferenceDt theValue) {
public Related setTarget(ResourceReferenceDt theValue) {
myTarget = theValue;
return this;
}

View File

@ -17,28 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -237,8 +322,9 @@ public class Organization extends BaseResource implements IResource {
* Identifier for the organization that is used to identify the organization across multiple disparate systems
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public Organization setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -296,8 +382,9 @@ public class Organization extends BaseResource implements IResource {
* A name associated with the organization
* </p>
*/
public void setName(StringDt theValue) {
public Organization setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
@ -339,8 +426,9 @@ public class Organization extends BaseResource implements IResource {
* The kind of organization that this is
* </p>
*/
public void setType(BoundCodeableConceptDt<OrganizationTypeEnum> theValue) {
public Organization setType(BoundCodeableConceptDt<OrganizationTypeEnum> theValue) {
myType = theValue;
return this;
}
/**
@ -351,8 +439,9 @@ public class Organization extends BaseResource implements IResource {
* The kind of organization that this is
* </p>
*/
public void setType(OrganizationTypeEnum theValue) {
public Organization setType(OrganizationTypeEnum theValue) {
getType().setValueAsEnum(theValue);
return this;
}
@ -381,8 +470,9 @@ public class Organization extends BaseResource implements IResource {
* A contact detail for the organization
* </p>
*/
public void setTelecom(java.util.List<ContactDt> theValue) {
public Organization setTelecom(java.util.List<ContactDt> theValue) {
myTelecom = theValue;
return this;
}
/**
@ -440,8 +530,9 @@ public class Organization extends BaseResource implements IResource {
* An address for the organization
* </p>
*/
public void setAddress(java.util.List<AddressDt> theValue) {
public Organization setAddress(java.util.List<AddressDt> theValue) {
myAddress = theValue;
return this;
}
/**
@ -499,8 +590,9 @@ public class Organization extends BaseResource implements IResource {
* The organization of which this organization forms a part
* </p>
*/
public void setPartOf(ResourceReferenceDt theValue) {
public Organization setPartOf(ResourceReferenceDt theValue) {
myPartOf = theValue;
return this;
}
@ -529,8 +621,9 @@ public class Organization extends BaseResource implements IResource {
*
* </p>
*/
public void setContact(java.util.List<Contact> theValue) {
public Organization setContact(java.util.List<Contact> theValue) {
myContact = theValue;
return this;
}
/**
@ -588,8 +681,9 @@ public class Organization extends BaseResource implements IResource {
* Location(s) the organization uses to provide services
* </p>
*/
public void setLocation(java.util.List<ResourceReferenceDt> theValue) {
public Organization setLocation(java.util.List<ResourceReferenceDt> theValue) {
myLocation = theValue;
return this;
}
/**
@ -631,8 +725,9 @@ public class Organization extends BaseResource implements IResource {
* Whether the organization's record is still in active use
* </p>
*/
public void setActive(BooleanDt theValue) {
public Organization setActive(BooleanDt theValue) {
myActive = theValue;
return this;
}
/**
@ -736,8 +831,9 @@ public class Organization extends BaseResource implements IResource {
* Indicates a purpose for which the contact can be reached
* </p>
*/
public void setPurpose(CodeableConceptDt theValue) {
public Contact setPurpose(CodeableConceptDt theValue) {
myPurpose = theValue;
return this;
}
@ -766,8 +862,9 @@ public class Organization extends BaseResource implements IResource {
* A name associated with the contact
* </p>
*/
public void setName(HumanNameDt theValue) {
public Contact setName(HumanNameDt theValue) {
myName = theValue;
return this;
}
@ -796,8 +893,9 @@ public class Organization extends BaseResource implements IResource {
* A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.
* </p>
*/
public void setTelecom(java.util.List<ContactDt> theValue) {
public Contact setTelecom(java.util.List<ContactDt> theValue) {
myTelecom = theValue;
return this;
}
/**
@ -855,8 +953,9 @@ public class Organization extends BaseResource implements IResource {
* Visiting or postal addresses for the contact
* </p>
*/
public void setAddress(AddressDt theValue) {
public Contact setAddress(AddressDt theValue) {
myAddress = theValue;
return this;
}
@ -885,8 +984,9 @@ public class Organization extends BaseResource implements IResource {
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
public Contact setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
myGender = theValue;
return this;
}
/**
@ -897,8 +997,9 @@ public class Organization extends BaseResource implements IResource {
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(AdministrativeGenderCodesEnum theValue) {
public Contact setGender(AdministrativeGenderCodesEnum theValue) {
getGender().setValueAsEnum(theValue);
return this;
}

View File

@ -17,37 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -389,8 +465,9 @@ public class Patient extends BaseResource implements IResource {
* An identifier that applies to this person as a patient
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public Patient setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -448,8 +525,9 @@ public class Patient extends BaseResource implements IResource {
* A name associated with the individual.
* </p>
*/
public void setName(java.util.List<HumanNameDt> theValue) {
public Patient setName(java.util.List<HumanNameDt> theValue) {
myName = theValue;
return this;
}
/**
@ -507,8 +585,9 @@ public class Patient extends BaseResource implements IResource {
* A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.
* </p>
*/
public void setTelecom(java.util.List<ContactDt> theValue) {
public Patient setTelecom(java.util.List<ContactDt> theValue) {
myTelecom = theValue;
return this;
}
/**
@ -566,8 +645,9 @@ public class Patient extends BaseResource implements IResource {
* Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
public Patient setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
myGender = theValue;
return this;
}
/**
@ -578,8 +658,9 @@ public class Patient extends BaseResource implements IResource {
* Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(AdministrativeGenderCodesEnum theValue) {
public Patient setGender(AdministrativeGenderCodesEnum theValue) {
getGender().setValueAsEnum(theValue);
return this;
}
@ -608,8 +689,9 @@ public class Patient extends BaseResource implements IResource {
* The date and time of birth for the individual
* </p>
*/
public void setBirthDate(DateTimeDt theValue) {
public Patient setBirthDate(DateTimeDt theValue) {
myBirthDate = theValue;
return this;
}
/**
@ -661,8 +743,9 @@ public class Patient extends BaseResource implements IResource {
* Indicates if the individual is deceased or not
* </p>
*/
public void setDeceased(IDatatype theValue) {
public Patient setDeceased(IDatatype theValue) {
myDeceased = theValue;
return this;
}
@ -691,8 +774,9 @@ public class Patient extends BaseResource implements IResource {
* Addresses for the individual
* </p>
*/
public void setAddress(java.util.List<AddressDt> theValue) {
public Patient setAddress(java.util.List<AddressDt> theValue) {
myAddress = theValue;
return this;
}
/**
@ -750,8 +834,9 @@ public class Patient extends BaseResource implements IResource {
* This field contains a patient's most recent marital (civil) status.
* </p>
*/
public void setMaritalStatus(BoundCodeableConceptDt<MaritalStatusCodesEnum> theValue) {
public Patient setMaritalStatus(BoundCodeableConceptDt<MaritalStatusCodesEnum> theValue) {
myMaritalStatus = theValue;
return this;
}
/**
@ -762,8 +847,9 @@ public class Patient extends BaseResource implements IResource {
* This field contains a patient's most recent marital (civil) status.
* </p>
*/
public void setMaritalStatus(MaritalStatusCodesEnum theValue) {
public Patient setMaritalStatus(MaritalStatusCodesEnum theValue) {
getMaritalStatus().setValueAsEnum(theValue);
return this;
}
@ -789,8 +875,9 @@ public class Patient extends BaseResource implements IResource {
* Indicates whether the patient is part of a multiple or indicates the actual birth order.
* </p>
*/
public void setMultipleBirth(IDatatype theValue) {
public Patient setMultipleBirth(IDatatype theValue) {
myMultipleBirth = theValue;
return this;
}
@ -819,8 +906,9 @@ public class Patient extends BaseResource implements IResource {
* Image of the person
* </p>
*/
public void setPhoto(java.util.List<AttachmentDt> theValue) {
public Patient setPhoto(java.util.List<AttachmentDt> theValue) {
myPhoto = theValue;
return this;
}
/**
@ -878,8 +966,9 @@ public class Patient extends BaseResource implements IResource {
* A contact party (e.g. guardian, partner, friend) for the patient
* </p>
*/
public void setContact(java.util.List<Contact> theValue) {
public Patient setContact(java.util.List<Contact> theValue) {
myContact = theValue;
return this;
}
/**
@ -937,8 +1026,9 @@ public class Patient extends BaseResource implements IResource {
* This element has a value if the patient is an animal
* </p>
*/
public void setAnimal(Animal theValue) {
public Patient setAnimal(Animal theValue) {
myAnimal = theValue;
return this;
}
@ -967,8 +1057,9 @@ public class Patient extends BaseResource implements IResource {
* Languages which may be used to communicate with the patient about his or her health
* </p>
*/
public void setCommunication(java.util.List<CodeableConceptDt> theValue) {
public Patient setCommunication(java.util.List<CodeableConceptDt> theValue) {
myCommunication = theValue;
return this;
}
/**
@ -1023,8 +1114,9 @@ public class Patient extends BaseResource implements IResource {
* Patient's nominated care provider
* </p>
*/
public void setCareProvider(java.util.List<ResourceReferenceDt> theValue) {
public Patient setCareProvider(java.util.List<ResourceReferenceDt> theValue) {
myCareProvider = theValue;
return this;
}
/**
@ -1066,8 +1158,9 @@ public class Patient extends BaseResource implements IResource {
* Organization that is the custodian of the patient record
* </p>
*/
public void setManagingOrganization(ResourceReferenceDt theValue) {
public Patient setManagingOrganization(ResourceReferenceDt theValue) {
myManagingOrganization = theValue;
return this;
}
@ -1096,8 +1189,9 @@ public class Patient extends BaseResource implements IResource {
* Link to another patient resource that concerns the same actual person
* </p>
*/
public void setLink(java.util.List<Link> theValue) {
public Patient setLink(java.util.List<Link> theValue) {
myLink = theValue;
return this;
}
/**
@ -1155,8 +1249,9 @@ public class Patient extends BaseResource implements IResource {
* Whether this patient record is in active use
* </p>
*/
public void setActive(BooleanDt theValue) {
public Patient setActive(BooleanDt theValue) {
myActive = theValue;
return this;
}
/**
@ -1269,8 +1364,9 @@ public class Patient extends BaseResource implements IResource {
* The nature of the relationship between the patient and the contact person
* </p>
*/
public void setRelationship(java.util.List<CodeableConceptDt> theValue) {
public Contact setRelationship(java.util.List<CodeableConceptDt> theValue) {
myRelationship = theValue;
return this;
}
/**
@ -1328,8 +1424,9 @@ public class Patient extends BaseResource implements IResource {
* A name associated with the person
* </p>
*/
public void setName(HumanNameDt theValue) {
public Contact setName(HumanNameDt theValue) {
myName = theValue;
return this;
}
@ -1358,8 +1455,9 @@ public class Patient extends BaseResource implements IResource {
* A contact detail for the person, e.g. a telephone number or an email address.
* </p>
*/
public void setTelecom(java.util.List<ContactDt> theValue) {
public Contact setTelecom(java.util.List<ContactDt> theValue) {
myTelecom = theValue;
return this;
}
/**
@ -1417,8 +1515,9 @@ public class Patient extends BaseResource implements IResource {
* Address for the contact person
* </p>
*/
public void setAddress(AddressDt theValue) {
public Contact setAddress(AddressDt theValue) {
myAddress = theValue;
return this;
}
@ -1447,8 +1546,9 @@ public class Patient extends BaseResource implements IResource {
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
public Contact setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
myGender = theValue;
return this;
}
/**
@ -1459,8 +1559,9 @@ public class Patient extends BaseResource implements IResource {
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(AdministrativeGenderCodesEnum theValue) {
public Contact setGender(AdministrativeGenderCodesEnum theValue) {
getGender().setValueAsEnum(theValue);
return this;
}
@ -1489,8 +1590,9 @@ public class Patient extends BaseResource implements IResource {
* Organization on behalf of which the contact is acting or for which the contact is working.
* </p>
*/
public void setOrganization(ResourceReferenceDt theValue) {
public Contact setOrganization(ResourceReferenceDt theValue) {
myOrganization = theValue;
return this;
}
@ -1571,8 +1673,9 @@ public class Patient extends BaseResource implements IResource {
* Identifies the high level categorization of the kind of animal
* </p>
*/
public void setSpecies(BoundCodeableConceptDt<AnimalSpeciesEnum> theValue) {
public Animal setSpecies(BoundCodeableConceptDt<AnimalSpeciesEnum> theValue) {
mySpecies = theValue;
return this;
}
/**
@ -1583,8 +1686,9 @@ public class Patient extends BaseResource implements IResource {
* Identifies the high level categorization of the kind of animal
* </p>
*/
public void setSpecies(AnimalSpeciesEnum theValue) {
public Animal setSpecies(AnimalSpeciesEnum theValue) {
getSpecies().setValueAsEnum(theValue);
return this;
}
@ -1613,8 +1717,9 @@ public class Patient extends BaseResource implements IResource {
* Identifies the detailed categorization of the kind of animal.
* </p>
*/
public void setBreed(CodeableConceptDt theValue) {
public Animal setBreed(CodeableConceptDt theValue) {
myBreed = theValue;
return this;
}
@ -1643,8 +1748,9 @@ public class Patient extends BaseResource implements IResource {
* Indicates the current state of the animal's reproductive organs
* </p>
*/
public void setGenderStatus(CodeableConceptDt theValue) {
public Animal setGenderStatus(CodeableConceptDt theValue) {
myGenderStatus = theValue;
return this;
}
@ -1720,8 +1826,9 @@ public class Patient extends BaseResource implements IResource {
* The other patient resource that the link refers to
* </p>
*/
public void setOther(ResourceReferenceDt theValue) {
public Link setOther(ResourceReferenceDt theValue) {
myOther = theValue;
return this;
}
@ -1750,8 +1857,9 @@ public class Patient extends BaseResource implements IResource {
* The type of link between this patient resource and another patient resource.
* </p>
*/
public void setType(BoundCodeDt<LinkTypeEnum> theValue) {
public Link setType(BoundCodeDt<LinkTypeEnum> theValue) {
myType = theValue;
return this;
}
/**
@ -1762,8 +1870,9 @@ public class Patient extends BaseResource implements IResource {
* The type of link between this patient resource and another patient resource.
* </p>
*/
public void setType(LinkTypeEnum theValue) {
public Link setType(LinkTypeEnum theValue) {
getType().setValueAsEnum(theValue);
return this;
}

View File

@ -17,32 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -296,8 +377,9 @@ public class Practitioner extends BaseResource implements IResource {
* An identifier that applies to this person in this role
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public Practitioner setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -355,8 +437,9 @@ public class Practitioner extends BaseResource implements IResource {
* A name associated with the person
* </p>
*/
public void setName(HumanNameDt theValue) {
public Practitioner setName(HumanNameDt theValue) {
myName = theValue;
return this;
}
@ -385,8 +468,9 @@ public class Practitioner extends BaseResource implements IResource {
* A contact detail for the practitioner, e.g. a telephone number or an email address.
* </p>
*/
public void setTelecom(java.util.List<ContactDt> theValue) {
public Practitioner setTelecom(java.util.List<ContactDt> theValue) {
myTelecom = theValue;
return this;
}
/**
@ -444,8 +528,9 @@ public class Practitioner extends BaseResource implements IResource {
* The postal address where the practitioner can be found or visited or to which mail can be delivered
* </p>
*/
public void setAddress(AddressDt theValue) {
public Practitioner setAddress(AddressDt theValue) {
myAddress = theValue;
return this;
}
@ -474,8 +559,9 @@ public class Practitioner extends BaseResource implements IResource {
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
public Practitioner setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
myGender = theValue;
return this;
}
/**
@ -486,8 +572,9 @@ public class Practitioner extends BaseResource implements IResource {
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(AdministrativeGenderCodesEnum theValue) {
public Practitioner setGender(AdministrativeGenderCodesEnum theValue) {
getGender().setValueAsEnum(theValue);
return this;
}
@ -516,8 +603,9 @@ public class Practitioner extends BaseResource implements IResource {
* The date and time of birth for the practitioner
* </p>
*/
public void setBirthDate(DateTimeDt theValue) {
public Practitioner setBirthDate(DateTimeDt theValue) {
myBirthDate = theValue;
return this;
}
/**
@ -572,8 +660,9 @@ public class Practitioner extends BaseResource implements IResource {
* Image of the person
* </p>
*/
public void setPhoto(java.util.List<AttachmentDt> theValue) {
public Practitioner setPhoto(java.util.List<AttachmentDt> theValue) {
myPhoto = theValue;
return this;
}
/**
@ -631,8 +720,9 @@ public class Practitioner extends BaseResource implements IResource {
* The organization that the practitioner represents
* </p>
*/
public void setOrganization(ResourceReferenceDt theValue) {
public Practitioner setOrganization(ResourceReferenceDt theValue) {
myOrganization = theValue;
return this;
}
@ -661,8 +751,9 @@ public class Practitioner extends BaseResource implements IResource {
* Roles which this practitioner is authorized to perform for the organization
* </p>
*/
public void setRole(java.util.List<BoundCodeableConceptDt<PractitionerRoleEnum>> theValue) {
public Practitioner setRole(java.util.List<BoundCodeableConceptDt<PractitionerRoleEnum>> theValue) {
myRole = theValue;
return this;
}
/**
@ -685,9 +776,10 @@ public class Practitioner extends BaseResource implements IResource {
* Roles which this practitioner is authorized to perform for the organization
* </p>
*/
public void setRole(PractitionerRoleEnum theValue) {
public Practitioner setRole(PractitionerRoleEnum theValue) {
getRole().clear();
addRole(theValue);
return this;
}
@ -716,8 +808,9 @@ public class Practitioner extends BaseResource implements IResource {
* Specific specialty of the practitioner
* </p>
*/
public void setSpecialty(java.util.List<BoundCodeableConceptDt<PractitionerSpecialtyEnum>> theValue) {
public Practitioner setSpecialty(java.util.List<BoundCodeableConceptDt<PractitionerSpecialtyEnum>> theValue) {
mySpecialty = theValue;
return this;
}
/**
@ -740,9 +833,10 @@ public class Practitioner extends BaseResource implements IResource {
* Specific specialty of the practitioner
* </p>
*/
public void setSpecialty(PractitionerSpecialtyEnum theValue) {
public Practitioner setSpecialty(PractitionerSpecialtyEnum theValue) {
getSpecialty().clear();
addSpecialty(theValue);
return this;
}
@ -771,8 +865,9 @@ public class Practitioner extends BaseResource implements IResource {
* The period during which the person is authorized to act as a practitioner in these role(s) for the organization
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public Practitioner setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}
@ -801,8 +896,9 @@ public class Practitioner extends BaseResource implements IResource {
* The location(s) at which this practitioner provides care
* </p>
*/
public void setLocation(java.util.List<ResourceReferenceDt> theValue) {
public Practitioner setLocation(java.util.List<ResourceReferenceDt> theValue) {
myLocation = theValue;
return this;
}
/**
@ -844,8 +940,9 @@ public class Practitioner extends BaseResource implements IResource {
*
* </p>
*/
public void setQualification(java.util.List<Qualification> theValue) {
public Practitioner setQualification(java.util.List<Qualification> theValue) {
myQualification = theValue;
return this;
}
/**
@ -903,8 +1000,9 @@ public class Practitioner extends BaseResource implements IResource {
* A language the practitioner is able to use in patient communication
* </p>
*/
public void setCommunication(java.util.List<CodeableConceptDt> theValue) {
public Practitioner setCommunication(java.util.List<CodeableConceptDt> theValue) {
myCommunication = theValue;
return this;
}
/**
@ -1012,8 +1110,9 @@ public class Practitioner extends BaseResource implements IResource {
*
* </p>
*/
public void setCode(CodeableConceptDt theValue) {
public Qualification setCode(CodeableConceptDt theValue) {
myCode = theValue;
return this;
}
@ -1042,8 +1141,9 @@ public class Practitioner extends BaseResource implements IResource {
* Period during which the qualification is valid
* </p>
*/
public void setPeriod(PeriodDt theValue) {
public Qualification setPeriod(PeriodDt theValue) {
myPeriod = theValue;
return this;
}
@ -1072,8 +1172,9 @@ public class Practitioner extends BaseResource implements IResource {
* Organization that regulates and issues the qualification
* </p>
*/
public void setIssuer(ResourceReferenceDt theValue) {
public Qualification setIssuer(ResourceReferenceDt theValue) {
myIssuer = theValue;
return this;
}

View File

@ -17,24 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -224,8 +313,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* Identifier for a person within a particular scope.
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public RelatedPerson setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -283,8 +373,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* The patient this person is related to
* </p>
*/
public void setPatient(ResourceReferenceDt theValue) {
public RelatedPerson setPatient(ResourceReferenceDt theValue) {
myPatient = theValue;
return this;
}
@ -313,8 +404,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* The nature of the relationship between a patient and the related person
* </p>
*/
public void setRelationship(BoundCodeableConceptDt<PatientRelationshipTypeEnum> theValue) {
public RelatedPerson setRelationship(BoundCodeableConceptDt<PatientRelationshipTypeEnum> theValue) {
myRelationship = theValue;
return this;
}
/**
@ -325,8 +417,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* The nature of the relationship between a patient and the related person
* </p>
*/
public void setRelationship(PatientRelationshipTypeEnum theValue) {
public RelatedPerson setRelationship(PatientRelationshipTypeEnum theValue) {
getRelationship().setValueAsEnum(theValue);
return this;
}
@ -355,8 +448,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* A name associated with the person
* </p>
*/
public void setName(HumanNameDt theValue) {
public RelatedPerson setName(HumanNameDt theValue) {
myName = theValue;
return this;
}
@ -385,8 +479,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* A contact detail for the person, e.g. a telephone number or an email address.
* </p>
*/
public void setTelecom(java.util.List<ContactDt> theValue) {
public RelatedPerson setTelecom(java.util.List<ContactDt> theValue) {
myTelecom = theValue;
return this;
}
/**
@ -444,8 +539,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
public RelatedPerson setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue) {
myGender = theValue;
return this;
}
/**
@ -456,8 +552,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
* </p>
*/
public void setGender(AdministrativeGenderCodesEnum theValue) {
public RelatedPerson setGender(AdministrativeGenderCodesEnum theValue) {
getGender().setValueAsEnum(theValue);
return this;
}
@ -486,8 +583,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* Address where the related person can be contacted or visited
* </p>
*/
public void setAddress(AddressDt theValue) {
public RelatedPerson setAddress(AddressDt theValue) {
myAddress = theValue;
return this;
}
@ -516,8 +614,9 @@ public class RelatedPerson extends BaseResource implements IResource {
* Image of the person
* </p>
*/
public void setPhoto(java.util.List<AttachmentDt> theValue) {
public RelatedPerson setPhoto(java.util.List<AttachmentDt> theValue) {
myPhoto = theValue;
return this;
}
/**

View File

@ -17,33 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -183,8 +263,9 @@ public class Specimen extends BaseResource implements IResource {
* Id for specimen
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public Specimen setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -242,8 +323,9 @@ public class Specimen extends BaseResource implements IResource {
* Kind of material that forms the specimen
* </p>
*/
public void setType(CodeableConceptDt theValue) {
public Specimen setType(CodeableConceptDt theValue) {
myType = theValue;
return this;
}
@ -272,8 +354,9 @@ public class Specimen extends BaseResource implements IResource {
* Parent specimen from which the focal specimen was a component
* </p>
*/
public void setSource(java.util.List<Source> theValue) {
public Specimen setSource(java.util.List<Source> theValue) {
mySource = theValue;
return this;
}
/**
@ -328,8 +411,9 @@ public class Specimen extends BaseResource implements IResource {
*
* </p>
*/
public void setSubject(ResourceReferenceDt theValue) {
public Specimen setSubject(ResourceReferenceDt theValue) {
mySubject = theValue;
return this;
}
@ -358,8 +442,9 @@ public class Specimen extends BaseResource implements IResource {
* The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures.
* </p>
*/
public void setAccessionIdentifier(IdentifierDt theValue) {
public Specimen setAccessionIdentifier(IdentifierDt theValue) {
myAccessionIdentifier = theValue;
return this;
}
@ -388,8 +473,9 @@ public class Specimen extends BaseResource implements IResource {
* Time when specimen was received for processing or testing
* </p>
*/
public void setReceivedTime(DateTimeDt theValue) {
public Specimen setReceivedTime(DateTimeDt theValue) {
myReceivedTime = theValue;
return this;
}
/**
@ -444,8 +530,9 @@ public class Specimen extends BaseResource implements IResource {
* Details concerning the specimen collection
* </p>
*/
public void setCollection(Collection theValue) {
public Specimen setCollection(Collection theValue) {
myCollection = theValue;
return this;
}
@ -474,8 +561,9 @@ public class Specimen extends BaseResource implements IResource {
* Details concerning treatment and processing steps for the specimen
* </p>
*/
public void setTreatment(java.util.List<Treatment> theValue) {
public Specimen setTreatment(java.util.List<Treatment> theValue) {
myTreatment = theValue;
return this;
}
/**
@ -533,8 +621,9 @@ public class Specimen extends BaseResource implements IResource {
* The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.
* </p>
*/
public void setContainer(java.util.List<Container> theValue) {
public Specimen setContainer(java.util.List<Container> theValue) {
myContainer = theValue;
return this;
}
/**
@ -635,8 +724,9 @@ public class Specimen extends BaseResource implements IResource {
* Whether this relationship is to a parent or to a child
* </p>
*/
public void setRelationship(BoundCodeDt<HierarchicalRelationshipTypeEnum> theValue) {
public Source setRelationship(BoundCodeDt<HierarchicalRelationshipTypeEnum> theValue) {
myRelationship = theValue;
return this;
}
/**
@ -647,8 +737,9 @@ public class Specimen extends BaseResource implements IResource {
* Whether this relationship is to a parent or to a child
* </p>
*/
public void setRelationship(HierarchicalRelationshipTypeEnum theValue) {
public Source setRelationship(HierarchicalRelationshipTypeEnum theValue) {
getRelationship().setValueAsEnum(theValue);
return this;
}
@ -677,8 +768,9 @@ public class Specimen extends BaseResource implements IResource {
* The specimen resource that is the target of this relationship
* </p>
*/
public void setTarget(java.util.List<ResourceReferenceDt> theValue) {
public Source setTarget(java.util.List<ResourceReferenceDt> theValue) {
myTarget = theValue;
return this;
}
/**
@ -798,8 +890,9 @@ public class Specimen extends BaseResource implements IResource {
* Person who collected the specimen
* </p>
*/
public void setCollector(ResourceReferenceDt theValue) {
public Collection setCollector(ResourceReferenceDt theValue) {
myCollector = theValue;
return this;
}
@ -828,8 +921,9 @@ public class Specimen extends BaseResource implements IResource {
* To communicate any details or issues encountered during the specimen collection procedure.
* </p>
*/
public void setComment(java.util.List<StringDt> theValue) {
public Collection setComment(java.util.List<StringDt> theValue) {
myComment = theValue;
return this;
}
/**
@ -902,8 +996,9 @@ public class Specimen extends BaseResource implements IResource {
* Time when specimen was collected from subject - the physiologically relevant time
* </p>
*/
public void setCollected(IDatatype theValue) {
public Collection setCollected(IDatatype theValue) {
myCollected = theValue;
return this;
}
@ -932,8 +1027,9 @@ public class Specimen extends BaseResource implements IResource {
* The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample
* </p>
*/
public void setQuantity(QuantityDt theValue) {
public Collection setQuantity(QuantityDt theValue) {
myQuantity = theValue;
return this;
}
@ -962,8 +1058,9 @@ public class Specimen extends BaseResource implements IResource {
* A coded value specifying the technique that is used to perform the procedure
* </p>
*/
public void setMethod(BoundCodeableConceptDt<SpecimenCollectionMethodEnum> theValue) {
public Collection setMethod(BoundCodeableConceptDt<SpecimenCollectionMethodEnum> theValue) {
myMethod = theValue;
return this;
}
/**
@ -974,8 +1071,9 @@ public class Specimen extends BaseResource implements IResource {
* A coded value specifying the technique that is used to perform the procedure
* </p>
*/
public void setMethod(SpecimenCollectionMethodEnum theValue) {
public Collection setMethod(SpecimenCollectionMethodEnum theValue) {
getMethod().setValueAsEnum(theValue);
return this;
}
@ -1004,8 +1102,9 @@ public class Specimen extends BaseResource implements IResource {
* Anatomical location from which the specimen should be collected (if subject is a patient). This element is not used for environmental specimens.
* </p>
*/
public void setSourceSite(CodeableConceptDt theValue) {
public Collection setSourceSite(CodeableConceptDt theValue) {
mySourceSite = theValue;
return this;
}
@ -1088,8 +1187,9 @@ public class Specimen extends BaseResource implements IResource {
*
* </p>
*/
public void setDescription(StringDt theValue) {
public Treatment setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -1131,8 +1231,9 @@ public class Specimen extends BaseResource implements IResource {
* A coded value specifying the procedure used to process the specimen
* </p>
*/
public void setProcedure(BoundCodeableConceptDt<SpecimenTreatmentProcedureEnum> theValue) {
public Treatment setProcedure(BoundCodeableConceptDt<SpecimenTreatmentProcedureEnum> theValue) {
myProcedure = theValue;
return this;
}
/**
@ -1143,8 +1244,9 @@ public class Specimen extends BaseResource implements IResource {
* A coded value specifying the procedure used to process the specimen
* </p>
*/
public void setProcedure(SpecimenTreatmentProcedureEnum theValue) {
public Treatment setProcedure(SpecimenTreatmentProcedureEnum theValue) {
getProcedure().setValueAsEnum(theValue);
return this;
}
@ -1173,8 +1275,9 @@ public class Specimen extends BaseResource implements IResource {
*
* </p>
*/
public void setAdditive(java.util.List<ResourceReferenceDt> theValue) {
public Treatment setAdditive(java.util.List<ResourceReferenceDt> theValue) {
myAdditive = theValue;
return this;
}
/**
@ -1291,8 +1394,9 @@ public class Specimen extends BaseResource implements IResource {
* Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances
* </p>
*/
public void setIdentifier(java.util.List<IdentifierDt> theValue) {
public Container setIdentifier(java.util.List<IdentifierDt> theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -1350,8 +1454,9 @@ public class Specimen extends BaseResource implements IResource {
*
* </p>
*/
public void setDescription(StringDt theValue) {
public Container setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -1393,8 +1498,9 @@ public class Specimen extends BaseResource implements IResource {
* The type of container associated with the specimen (e.g. slide, aliquot, etc)
* </p>
*/
public void setType(CodeableConceptDt theValue) {
public Container setType(CodeableConceptDt theValue) {
myType = theValue;
return this;
}
@ -1423,8 +1529,9 @@ public class Specimen extends BaseResource implements IResource {
* The capacity (volume or other measure) the container may contain.
* </p>
*/
public void setCapacity(QuantityDt theValue) {
public Container setCapacity(QuantityDt theValue) {
myCapacity = theValue;
return this;
}
@ -1453,8 +1560,9 @@ public class Specimen extends BaseResource implements IResource {
* The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type
* </p>
*/
public void setSpecimenQuantity(QuantityDt theValue) {
public Container setSpecimenQuantity(QuantityDt theValue) {
mySpecimenQuantity = theValue;
return this;
}
@ -1483,8 +1591,9 @@ public class Specimen extends BaseResource implements IResource {
* Additive associated with the container
* </p>
*/
public void setAdditive(ResourceReferenceDt theValue) {
public Container setAdditive(ResourceReferenceDt theValue) {
myAdditive = theValue;
return this;
}

View File

@ -17,28 +17,113 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
/**
@ -178,8 +263,9 @@ public class Substance extends BaseResource implements IResource {
* A code (or set of codes) that identify this substance
* </p>
*/
public void setType(BoundCodeableConceptDt<SubstanceTypeEnum> theValue) {
public Substance setType(BoundCodeableConceptDt<SubstanceTypeEnum> theValue) {
myType = theValue;
return this;
}
/**
@ -190,8 +276,9 @@ public class Substance extends BaseResource implements IResource {
* A code (or set of codes) that identify this substance
* </p>
*/
public void setType(SubstanceTypeEnum theValue) {
public Substance setType(SubstanceTypeEnum theValue) {
getType().setValueAsEnum(theValue);
return this;
}
@ -220,8 +307,9 @@ public class Substance extends BaseResource implements IResource {
* A description of the substance - its appearance, handling requirements, and other usage notes
* </p>
*/
public void setDescription(StringDt theValue) {
public Substance setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -263,8 +351,9 @@ public class Substance extends BaseResource implements IResource {
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance
* </p>
*/
public void setInstance(Instance theValue) {
public Substance setInstance(Instance theValue) {
myInstance = theValue;
return this;
}
@ -293,8 +382,9 @@ public class Substance extends BaseResource implements IResource {
* A substance can be composed of other substances
* </p>
*/
public void setIngredient(java.util.List<Ingredient> theValue) {
public Substance setIngredient(java.util.List<Ingredient> theValue) {
myIngredient = theValue;
return this;
}
/**
@ -400,8 +490,9 @@ public class Substance extends BaseResource implements IResource {
* Identifier associated with the package/container (usually a label affixed directly)
* </p>
*/
public void setIdentifier(IdentifierDt theValue) {
public Instance setIdentifier(IdentifierDt theValue) {
myIdentifier = theValue;
return this;
}
@ -430,8 +521,9 @@ public class Substance extends BaseResource implements IResource {
* When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
* </p>
*/
public void setExpiry(DateTimeDt theValue) {
public Instance setExpiry(DateTimeDt theValue) {
myExpiry = theValue;
return this;
}
/**
@ -486,8 +578,9 @@ public class Substance extends BaseResource implements IResource {
* The amount of the substance
* </p>
*/
public void setQuantity(QuantityDt theValue) {
public Instance setQuantity(QuantityDt theValue) {
myQuantity = theValue;
return this;
}
@ -563,8 +656,9 @@ public class Substance extends BaseResource implements IResource {
* The amount of the ingredient in the substance - a concentration ratio
* </p>
*/
public void setQuantity(RatioDt theValue) {
public Ingredient setQuantity(RatioDt theValue) {
myQuantity = theValue;
return this;
}
@ -593,8 +687,9 @@ public class Substance extends BaseResource implements IResource {
* Another substance that is a component of this substance
* </p>
*/
public void setSubstance(ResourceReferenceDt theValue) {
public Ingredient setSubstance(ResourceReferenceDt theValue) {
mySubstance = theValue;
return this;
}

View File

@ -17,28 +17,111 @@
package ca.uhn.fhir.model.dstu.resource;
import java.util.Date;
import java.util.List;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.model.api.BaseElement;
import ca.uhn.fhir.model.api.BaseResource;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.api.IResourceBlock;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.api.annotation.Block;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;
@ -310,8 +393,9 @@ public class ValueSet extends BaseResource implements IResource {
* The identifier that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI)
* </p>
*/
public void setIdentifier(StringDt theValue) {
public ValueSet setIdentifier(StringDt theValue) {
myIdentifier = theValue;
return this;
}
/**
@ -353,8 +437,9 @@ public class ValueSet extends BaseResource implements IResource {
* The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp
* </p>
*/
public void setVersion(StringDt theValue) {
public ValueSet setVersion(StringDt theValue) {
myVersion = theValue;
return this;
}
/**
@ -396,8 +481,9 @@ public class ValueSet extends BaseResource implements IResource {
* A free text natural language name describing the value set
* </p>
*/
public void setName(StringDt theValue) {
public ValueSet setName(StringDt theValue) {
myName = theValue;
return this;
}
/**
@ -439,8 +525,9 @@ public class ValueSet extends BaseResource implements IResource {
* The name of the individual or organization that published the value set
* </p>
*/
public void setPublisher(StringDt theValue) {
public ValueSet setPublisher(StringDt theValue) {
myPublisher = theValue;
return this;
}
/**
@ -482,8 +569,9 @@ public class ValueSet extends BaseResource implements IResource {
* Contacts of the publisher to assist a user in finding and communicating with the publisher
* </p>
*/
public void setTelecom(java.util.List<ContactDt> theValue) {
public ValueSet setTelecom(java.util.List<ContactDt> theValue) {
myTelecom = theValue;
return this;
}
/**
@ -541,8 +629,9 @@ public class ValueSet extends BaseResource implements IResource {
* A free text natural language description of the use of the value set - reason for definition, conditions of use, etc.
* </p>
*/
public void setDescription(StringDt theValue) {
public ValueSet setDescription(StringDt theValue) {
myDescription = theValue;
return this;
}
/**
@ -584,8 +673,9 @@ public class ValueSet extends BaseResource implements IResource {
* A copyright statement relating to the value set and/or its contents
* </p>
*/
public void setCopyright(StringDt theValue) {
public ValueSet setCopyright(StringDt theValue) {
myCopyright = theValue;
return this;
}
/**
@ -627,8 +717,9 @@ public class ValueSet extends BaseResource implements IResource {
* The status of the value set
* </p>
*/
public void setStatus(BoundCodeDt<ValueSetStatusEnum> theValue) {
public ValueSet setStatus(BoundCodeDt<ValueSetStatusEnum> theValue) {
myStatus = theValue;
return this;
}
/**
@ -639,8 +730,9 @@ public class ValueSet extends BaseResource implements IResource {
* The status of the value set
* </p>
*/
public void setStatus(ValueSetStatusEnum theValue) {
public ValueSet setStatus(ValueSetStatusEnum theValue) {
getStatus().setValueAsEnum(theValue);
return this;
}
@ -669,8 +761,9 @@ public class ValueSet extends BaseResource implements IResource {
* This valueset was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
* </p>
*/
public void setExperimental(BooleanDt theValue) {
public ValueSet setExperimental(BooleanDt theValue) {
myExperimental = theValue;
return this;
}
/**
@ -712,8 +805,9 @@ public class ValueSet extends BaseResource implements IResource {
* Whether this is intended to be used with an extensible binding or not
* </p>
*/
public void setExtensible(BooleanDt theValue) {
public ValueSet setExtensible(BooleanDt theValue) {
myExtensible = theValue;
return this;
}
/**
@ -755,8 +849,9 @@ public class ValueSet extends BaseResource implements IResource {
* The date that the value set status was last changed
* </p>
*/
public void setDate(DateTimeDt theValue) {
public ValueSet setDate(DateTimeDt theValue) {
myDate = theValue;
return this;
}
/**
@ -811,8 +906,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setDefine(Define theValue) {
public ValueSet setDefine(Define theValue) {
myDefine = theValue;
return this;
}
@ -841,8 +937,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setCompose(Compose theValue) {
public ValueSet setCompose(Compose theValue) {
myCompose = theValue;
return this;
}
@ -871,8 +968,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setExpansion(Expansion theValue) {
public ValueSet setExpansion(Expansion theValue) {
myExpansion = theValue;
return this;
}
@ -956,8 +1054,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setSystem(UriDt theValue) {
public Define setSystem(UriDt theValue) {
mySystem = theValue;
return this;
}
/**
@ -999,8 +1098,9 @@ public class ValueSet extends BaseResource implements IResource {
* The version of this code system that defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked
* </p>
*/
public void setVersion(StringDt theValue) {
public Define setVersion(StringDt theValue) {
myVersion = theValue;
return this;
}
/**
@ -1042,8 +1142,9 @@ public class ValueSet extends BaseResource implements IResource {
* If code comparison is case sensitive when codes within this system are compared to each other
* </p>
*/
public void setCaseSensitive(BooleanDt theValue) {
public Define setCaseSensitive(BooleanDt theValue) {
myCaseSensitive = theValue;
return this;
}
/**
@ -1085,8 +1186,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setConcept(java.util.List<DefineConcept> theValue) {
public Define setConcept(java.util.List<DefineConcept> theValue) {
myConcept = theValue;
return this;
}
/**
@ -1209,8 +1311,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setCode(CodeDt theValue) {
public DefineConcept setCode(CodeDt theValue) {
myCode = theValue;
return this;
}
/**
@ -1252,8 +1355,9 @@ public class ValueSet extends BaseResource implements IResource {
* If this code is not for use as a real concept
* </p>
*/
public void setAbstract(BooleanDt theValue) {
public DefineConcept setAbstract(BooleanDt theValue) {
myAbstract = theValue;
return this;
}
/**
@ -1295,8 +1399,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setDisplay(StringDt theValue) {
public DefineConcept setDisplay(StringDt theValue) {
myDisplay = theValue;
return this;
}
/**
@ -1338,8 +1443,9 @@ public class ValueSet extends BaseResource implements IResource {
* The formal definition of the concept. Formal definitions are not required, because of the prevalence of legacy systems without them, but they are highly recommended, as without them there is no formal meaning associated with the concept
* </p>
*/
public void setDefinition(StringDt theValue) {
public DefineConcept setDefinition(StringDt theValue) {
myDefinition = theValue;
return this;
}
/**
@ -1381,8 +1487,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setConcept(java.util.List<DefineConcept> theValue) {
public DefineConcept setConcept(java.util.List<DefineConcept> theValue) {
myConcept = theValue;
return this;
}
/**
@ -1493,8 +1600,9 @@ public class ValueSet extends BaseResource implements IResource {
* Includes the contents of the referenced value set as a part of the contents of this value set
* </p>
*/
public void setImport(java.util.List<UriDt> theValue) {
public Compose setImport(java.util.List<UriDt> theValue) {
myImport = theValue;
return this;
}
/**
@ -1570,8 +1678,9 @@ public class ValueSet extends BaseResource implements IResource {
* Include one or more codes from a code system
* </p>
*/
public void setInclude(java.util.List<ComposeInclude> theValue) {
public Compose setInclude(java.util.List<ComposeInclude> theValue) {
myInclude = theValue;
return this;
}
/**
@ -1629,8 +1738,9 @@ public class ValueSet extends BaseResource implements IResource {
* Exclude one or more codes from the value set
* </p>
*/
public void setExclude(java.util.List<ComposeInclude> theValue) {
public Compose setExclude(java.util.List<ComposeInclude> theValue) {
myExclude = theValue;
return this;
}
/**
@ -1746,8 +1856,9 @@ public class ValueSet extends BaseResource implements IResource {
* The code system from which the selected codes come from
* </p>
*/
public void setSystem(UriDt theValue) {
public ComposeInclude setSystem(UriDt theValue) {
mySystem = theValue;
return this;
}
/**
@ -1789,8 +1900,9 @@ public class ValueSet extends BaseResource implements IResource {
* The version of the code system that the codes are selected from
* </p>
*/
public void setVersion(StringDt theValue) {
public ComposeInclude setVersion(StringDt theValue) {
myVersion = theValue;
return this;
}
/**
@ -1832,8 +1944,9 @@ public class ValueSet extends BaseResource implements IResource {
* Specifies a code or concept to be included or excluded. The list of codes is considered ordered, though the order may not have any particular significance
* </p>
*/
public void setCode(java.util.List<CodeDt> theValue) {
public ComposeInclude setCode(java.util.List<CodeDt> theValue) {
myCode = theValue;
return this;
}
/**
@ -1909,8 +2022,9 @@ public class ValueSet extends BaseResource implements IResource {
* Select concepts by specify a matching criteria based on the properties (including relationships) defined by the system. If multiple filters are specified, they SHALL all be true.
* </p>
*/
public void setFilter(java.util.List<ComposeIncludeFilter> theValue) {
public ComposeInclude setFilter(java.util.List<ComposeIncludeFilter> theValue) {
myFilter = theValue;
return this;
}
/**
@ -2019,8 +2133,9 @@ public class ValueSet extends BaseResource implements IResource {
* A code that identifies a property defined in the code system
* </p>
*/
public void setProperty(CodeDt theValue) {
public ComposeIncludeFilter setProperty(CodeDt theValue) {
myProperty = theValue;
return this;
}
/**
@ -2062,8 +2177,9 @@ public class ValueSet extends BaseResource implements IResource {
* The kind of operation to perform as a part of the filter criteria
* </p>
*/
public void setOp(BoundCodeDt<FilterOperatorEnum> theValue) {
public ComposeIncludeFilter setOp(BoundCodeDt<FilterOperatorEnum> theValue) {
myOp = theValue;
return this;
}
/**
@ -2074,8 +2190,9 @@ public class ValueSet extends BaseResource implements IResource {
* The kind of operation to perform as a part of the filter criteria
* </p>
*/
public void setOp(FilterOperatorEnum theValue) {
public ComposeIncludeFilter setOp(FilterOperatorEnum theValue) {
getOp().setValueAsEnum(theValue);
return this;
}
@ -2104,8 +2221,9 @@ public class ValueSet extends BaseResource implements IResource {
* The match value may be either a code defined by the system, or a string value which is used a regex match on the literal string of the property value
* </p>
*/
public void setValue(CodeDt theValue) {
public ComposeIncludeFilter setValue(CodeDt theValue) {
myValue = theValue;
return this;
}
/**
@ -2201,8 +2319,9 @@ public class ValueSet extends BaseResource implements IResource {
* An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so
* </p>
*/
public void setIdentifier(IdentifierDt theValue) {
public Expansion setIdentifier(IdentifierDt theValue) {
myIdentifier = theValue;
return this;
}
@ -2231,8 +2350,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setTimestamp(InstantDt theValue) {
public Expansion setTimestamp(InstantDt theValue) {
myTimestamp = theValue;
return this;
}
/**
@ -2287,8 +2407,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setContains(java.util.List<ExpansionContains> theValue) {
public Expansion setContains(java.util.List<ExpansionContains> theValue) {
myContains = theValue;
return this;
}
/**
@ -2404,8 +2525,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setSystem(UriDt theValue) {
public ExpansionContains setSystem(UriDt theValue) {
mySystem = theValue;
return this;
}
/**
@ -2447,8 +2569,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setCode(CodeDt theValue) {
public ExpansionContains setCode(CodeDt theValue) {
myCode = theValue;
return this;
}
/**
@ -2490,8 +2613,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setDisplay(StringDt theValue) {
public ExpansionContains setDisplay(StringDt theValue) {
myDisplay = theValue;
return this;
}
/**
@ -2533,8 +2657,9 @@ public class ValueSet extends BaseResource implements IResource {
*
* </p>
*/
public void setContains(java.util.List<ExpansionContains> theValue) {
public ExpansionContains setContains(java.util.List<ExpansionContains> theValue) {
myContains = theValue;
return this;
}
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum AddressUseEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum AdministrativeGenderCodesEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum AdmitSourceEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum AggregationModeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum AnimalSpeciesEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum BindingConformanceEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ConformanceEventModeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ConformanceStatementStatusEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ConstraintSeverityEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ContactSystemEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ContactUseEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum DataTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum DiagnosticOrderPriorityEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum DiagnosticOrderStatusEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum DiagnosticReportStatusEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum DocumentModeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum EncounterClassEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum EncounterReasonCodesEnum {
;

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum EncounterStateEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum EncounterTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum EventTimingEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ExtensionContextEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum FHIRDefinedTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum FilterOperatorEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum GroupTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum HierarchicalRelationshipTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum IdentifierUseEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ImagingModalityEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum InstanceAvailabilityEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum LinkTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum LocationModeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum LocationStatusEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum LocationTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum MaritalStatusCodesEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum MediaTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum MedicationKindEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum MessageEventEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum MessageSignificanceCategoryEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum MessageTransportEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ModalityEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum NameUseEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ObservationInterpretationCodesEnum {
;

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ObservationRelationshipTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ObservationReliabilityEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ObservationStatusEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum OrganizationTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ParticipantTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum PatientRelationshipTypeEnum {
;

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum PractitionerRoleEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum PractitionerSpecialtyEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum PropertyRepresentationEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum QuantityCompararatorEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ResourceProfileStatusEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ResourceTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum RestfulConformanceModeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum RestfulOperationSystemEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum RestfulOperationTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum RestfulSecurityServiceEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum SearchParamTypeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum SlicingRulesEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum SpecimenCollectionMethodEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum SpecimenTreatmentProcedureEnum {
;

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum SubstanceTypeEnum {
;

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum UnitsOfTimeEnum {
/**

View File

@ -1,11 +1,10 @@
package ca.uhn.fhir.model.dstu.valueset;
import ca.uhn.fhir.model.api.*;
import java.util.HashMap;
import java.util.Map;
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
public enum ValueSetStatusEnum {
/**

View File

@ -21,6 +21,10 @@ public class DecimalDt extends BasePrimitive<BigDecimal> {
super();
}
public Number getValueAsNumber() {
return myValue;
}
/**
* Constructor
*/
@ -70,6 +74,13 @@ public class DecimalDt extends BasePrimitive<BigDecimal> {
setValue(new BigDecimal(theValue));
}
/**
* Constructor
*/
public DecimalDt(String theValue) {
setValue(new BigDecimal(theValue));
}
@Override
public void setValueAsString(String theValue) throws DataFormatException {
if (theValue == null) {

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