public class Specimen extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Specimen complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Specimen">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="accessionIdentifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}SpecimenStatus" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference"/>
<element name="receivedTime" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="parent" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="collection" type="{http://hl7.org/fhir}Specimen.Collection" minOccurs="0"/>
<element name="treatment" type="{http://hl7.org/fhir}Specimen.Treatment" maxOccurs="unbounded" minOccurs="0"/>
<element name="container" type="{http://hl7.org/fhir}Specimen.Container" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Identifier |
accessionIdentifier |
protected SpecimenCollection |
collection |
protected java.util.List<SpecimenContainer> |
container |
protected java.util.List<Identifier> |
identifier |
protected java.util.List<Reference> |
parent |
protected DateTime |
receivedTime |
protected SpecimenStatus |
status |
protected Reference |
subject |
protected java.util.List<SpecimenTreatment> |
treatment |
protected CodeableConcept |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Specimen() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Identifier |
getAccessionIdentifier()
Gets the value of the accessionIdentifier property.
|
SpecimenCollection |
getCollection()
Gets the value of the collection property.
|
java.util.List<SpecimenContainer> |
getContainer()
Gets the value of the container property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<Reference> |
getParent()
Gets the value of the parent property.
|
DateTime |
getReceivedTime()
Gets the value of the receivedTime property.
|
SpecimenStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
java.util.List<SpecimenTreatment> |
getTreatment()
Gets the value of the treatment property.
|
CodeableConcept |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAccessionIdentifier(Identifier value)
Sets the value of the accessionIdentifier property.
|
void |
setCollection(SpecimenCollection value)
Sets the value of the collection property.
|
void |
setReceivedTime(DateTime value)
Sets the value of the receivedTime property.
|
void |
setStatus(SpecimenStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Specimen |
withAccessionIdentifier(Identifier value) |
Specimen |
withCollection(SpecimenCollection value) |
Specimen |
withContained(java.util.Collection<ResourceContainer> values) |
Specimen |
withContained(ResourceContainer... values) |
Specimen |
withContainer(java.util.Collection<SpecimenContainer> values) |
Specimen |
withContainer(SpecimenContainer... values) |
Specimen |
withExtension(java.util.Collection<Extension> values) |
Specimen |
withExtension(Extension... values) |
Specimen |
withId(Id value) |
Specimen |
withIdentifier(java.util.Collection<Identifier> values) |
Specimen |
withIdentifier(Identifier... values) |
Specimen |
withImplicitRules(Uri value) |
Specimen |
withLanguage(Code value) |
Specimen |
withMeta(Meta value) |
Specimen |
withModifierExtension(java.util.Collection<Extension> values) |
Specimen |
withModifierExtension(Extension... values) |
Specimen |
withParent(java.util.Collection<Reference> values) |
Specimen |
withParent(Reference... values) |
Specimen |
withReceivedTime(DateTime value) |
Specimen |
withStatus(SpecimenStatus value) |
Specimen |
withSubject(Reference value) |
Specimen |
withText(Narrative value) |
Specimen |
withTreatment(java.util.Collection<SpecimenTreatment> values) |
Specimen |
withTreatment(SpecimenTreatment... values) |
Specimen |
withType(CodeableConcept value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Identifier accessionIdentifier
protected SpecimenStatus status
protected CodeableConcept type
protected Reference subject
protected DateTime receivedTime
protected java.util.List<Reference> parent
protected SpecimenCollection collection
protected java.util.List<SpecimenTreatment> treatment
protected java.util.List<SpecimenContainer> container
public java.util.List<Identifier> getIdentifier()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public Identifier getAccessionIdentifier()
Identifierpublic void setAccessionIdentifier(Identifier value)
value - allowed object is
Identifierpublic SpecimenStatus getStatus()
SpecimenStatuspublic void setStatus(SpecimenStatus value)
value - allowed object is
SpecimenStatuspublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic DateTime getReceivedTime()
DateTimepublic void setReceivedTime(DateTime value)
value - allowed object is
DateTimepublic java.util.List<Reference> getParent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the parent property.
For example, to add a new item, do as follows:
getParent().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public SpecimenCollection getCollection()
SpecimenCollectionpublic void setCollection(SpecimenCollection value)
value - allowed object is
SpecimenCollectionpublic java.util.List<SpecimenTreatment> getTreatment()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the treatment property.
For example, to add a new item, do as follows:
getTreatment().add(newItem);
Objects of the following type(s) are allowed in the list
SpecimenTreatment
public java.util.List<SpecimenContainer> getContainer()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the container property.
For example, to add a new item, do as follows:
getContainer().add(newItem);
Objects of the following type(s) are allowed in the list
SpecimenContainer
public Specimen withIdentifier(Identifier... values)
public Specimen withIdentifier(java.util.Collection<Identifier> values)
public Specimen withAccessionIdentifier(Identifier value)
public Specimen withStatus(SpecimenStatus value)
public Specimen withType(CodeableConcept value)
public Specimen withCollection(SpecimenCollection value)
public Specimen withTreatment(SpecimenTreatment... values)
public Specimen withTreatment(java.util.Collection<SpecimenTreatment> values)
public Specimen withContainer(SpecimenContainer... values)
public Specimen withContainer(java.util.Collection<SpecimenContainer> values)
public Specimen withText(Narrative value)
withText in class DomainResourcepublic Specimen withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Specimen withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Specimen withExtension(Extension... values)
withExtension in class DomainResourcepublic Specimen withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Specimen withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Specimen withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Specimen withId(Id value)
withId in class DomainResourcepublic Specimen withMeta(Meta value)
withMeta in class DomainResourcepublic Specimen withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Specimen withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource