Package org.hl7.fhir
Class SpecimenCollection
java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.BackboneElement
org.hl7.fhir.SpecimenCollection
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class SpecimenCollection
extends BackboneElement
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A sample to be used for analysis.
Java class for Specimen.Collection complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Specimen.Collection">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="collector" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="comment" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<choice minOccurs="0">
<element name="collectedDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="collectedPeriod" type="{http://hl7.org/fhir}Period"/>
</choice>
<element name="quantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<element name="method" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="bodySite" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptprotected DateTimeprotected Periodprotected Referenceprotected Stringprotected CodeableConceptprotected SimpleQuantityFields inherited from class org.hl7.fhir.BackboneElement
modifierExtension -
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 bodySite property.Gets the value of the collectedDateTime property.Gets the value of the collectedPeriod property.Gets the value of the collector property.Gets the value of the comment property.Gets the value of the method property.Gets the value of the quantity property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetBodySite(CodeableConcept value) Sets the value of the bodySite property.voidsetCollectedDateTime(DateTime value) Sets the value of the collectedDateTime property.voidsetCollectedPeriod(Period value) Sets the value of the collectedPeriod property.voidsetCollector(Reference value) Sets the value of the collector property.voidsetComment(String value) Sets the value of the comment property.voidsetMethod(CodeableConcept value) Sets the value of the method property.voidsetQuantity(SimpleQuantity value) Sets the value of the quantity property.toString()withBodySite(CodeableConcept value) withCollectedDateTime(DateTime value) withCollectedPeriod(Period value) withCollector(Reference value) withComment(String value) withExtension(Collection<Extension> values) withExtension(Extension... values) withMethod(CodeableConcept value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withQuantity(SimpleQuantity value) Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
collector
-
comment
-
collectedDateTime
-
collectedPeriod
-
quantity
-
method
-
bodySite
-
-
Constructor Details
-
SpecimenCollection
public SpecimenCollection()
-
-
Method Details
-
getCollector
Gets the value of the collector property.- Returns:
- possible object is
Reference
-
setCollector
Sets the value of the collector property.- Parameters:
value- allowed object isReference
-
getComment
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
getCollectedDateTime
Gets the value of the collectedDateTime property.- Returns:
- possible object is
DateTime
-
setCollectedDateTime
Sets the value of the collectedDateTime property.- Parameters:
value- allowed object isDateTime
-
getCollectedPeriod
Gets the value of the collectedPeriod property.- Returns:
- possible object is
Period
-
setCollectedPeriod
Sets the value of the collectedPeriod property.- Parameters:
value- allowed object isPeriod
-
getQuantity
Gets the value of the quantity property.- Returns:
- possible object is
SimpleQuantity
-
setQuantity
Sets the value of the quantity property.- Parameters:
value- allowed object isSimpleQuantity
-
getMethod
Gets the value of the method property.- Returns:
- possible object is
CodeableConcept
-
setMethod
Sets the value of the method property.- Parameters:
value- allowed object isCodeableConcept
-
getBodySite
Gets the value of the bodySite property.- Returns:
- possible object is
CodeableConcept
-
setBodySite
Sets the value of the bodySite property.- Parameters:
value- allowed object isCodeableConcept
-
withCollector
-
withComment
-
withCollectedDateTime
-
withCollectedPeriod
-
withQuantity
-
withMethod
-
withBodySite
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- Overrides:
withIdin classBackboneElement
-
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 classBackboneElement
-
equals
- Overrides:
equalsin classBackboneElement
-
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 classBackboneElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classBackboneElement
-
toString
- Overrides:
toStringin classBackboneElement
-
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 classBackboneElement
-
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 classBackboneElement
-