Class Specimen
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Identifierprotected SpecimenCollectionprotected List<SpecimenContainer> protected List<Identifier> protected DateTimeprotected SpecimenStatusprotected Referenceprotected List<SpecimenTreatment> protected CodeableConceptFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the accessionIdentifier property.Gets the value of the collection property.Gets the value of the container property.Gets the value of the identifier property.Gets the value of the parent property.Gets the value of the receivedTime property.Gets the value of the status property.Gets the value of the subject property.Gets the value of the treatment property.getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAccessionIdentifier(Identifier value) Sets the value of the accessionIdentifier property.voidsetCollection(SpecimenCollection value) Sets the value of the collection property.voidsetContainer(List<SpecimenContainer> value) voidsetIdentifier(List<Identifier> value) voidvoidsetReceivedTime(DateTime value) Sets the value of the receivedTime property.voidsetStatus(SpecimenStatus value) Sets the value of the status property.voidsetSubject(Reference value) Sets the value of the subject property.voidsetTreatment(List<SpecimenTreatment> value) voidsetType(CodeableConcept value) Sets the value of the type property.toString()withCollection(SpecimenCollection value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withContainer(Collection<SpecimenContainer> values) withContainer(SpecimenContainer... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withParent(Collection<Reference> values) withParent(Reference... values) withReceivedTime(DateTime value) withStatus(SpecimenStatus value) withSubject(Reference value) withTreatment(Collection<SpecimenTreatment> values) withTreatment(SpecimenTreatment... values) withType(CodeableConcept value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
accessionIdentifier
-
status
-
type
-
subject
-
receivedTime
-
parent
-
collection
-
treatment
-
container
-
-
Constructor Details
-
Specimen
public Specimen()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getAccessionIdentifier
Gets the value of the accessionIdentifier property.- Returns:
- possible object is
Identifier
-
setAccessionIdentifier
Sets the value of the accessionIdentifier property.- Parameters:
value- allowed object isIdentifier
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
SpecimenStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isSpecimenStatus
-
getType
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getSubject
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getReceivedTime
Gets the value of the receivedTime property.- Returns:
- possible object is
DateTime
-
setReceivedTime
Sets the value of the receivedTime property.- Parameters:
value- allowed object isDateTime
-
getParent
Gets the value of the parent property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getCollection
Gets the value of the collection property.- Returns:
- possible object is
SpecimenCollection
-
setCollection
Sets the value of the collection property.- Parameters:
value- allowed object isSpecimenCollection
-
getTreatment
Gets the value of the treatment property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getContainer
Gets the value of the container property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
withIdentifier
-
withIdentifier
-
withAccessionIdentifier
-
withStatus
-
withType
-
withSubject
-
withReceivedTime
-
withParent
-
withParent
-
withCollection
-
withTreatment
-
withTreatment
-
withContainer
-
withContainer
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setParent
-
setTreatment
-
setContainer
-