public class SpecimenCollection extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
bodySite |
protected DateTime |
collectedDateTime |
protected Period |
collectedPeriod |
protected Reference |
collector |
protected String |
comment |
protected CodeableConcept |
method |
protected SimpleQuantity |
quantity |
modifierExtension| Constructor and Description |
|---|
SpecimenCollection() |
| 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) |
CodeableConcept |
getBodySite()
Gets the value of the bodySite property.
|
DateTime |
getCollectedDateTime()
Gets the value of the collectedDateTime property.
|
Period |
getCollectedPeriod()
Gets the value of the collectedPeriod property.
|
Reference |
getCollector()
Gets the value of the collector property.
|
String |
getComment()
Gets the value of the comment property.
|
CodeableConcept |
getMethod()
Gets the value of the method property.
|
SimpleQuantity |
getQuantity()
Gets the value of the quantity property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setBodySite(CodeableConcept value)
Sets the value of the bodySite property.
|
void |
setCollectedDateTime(DateTime value)
Sets the value of the collectedDateTime property.
|
void |
setCollectedPeriod(Period value)
Sets the value of the collectedPeriod property.
|
void |
setCollector(Reference value)
Sets the value of the collector property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setMethod(CodeableConcept value)
Sets the value of the method property.
|
void |
setQuantity(SimpleQuantity value)
Sets the value of the quantity property.
|
java.lang.String |
toString() |
SpecimenCollection |
withBodySite(CodeableConcept value) |
SpecimenCollection |
withCollectedDateTime(DateTime value) |
SpecimenCollection |
withCollectedPeriod(Period value) |
SpecimenCollection |
withCollector(Reference value) |
SpecimenCollection |
withComment(String value) |
SpecimenCollection |
withExtension(java.util.Collection<Extension> values) |
SpecimenCollection |
withExtension(Extension... values) |
SpecimenCollection |
withId(java.lang.String value) |
SpecimenCollection |
withMethod(CodeableConcept value) |
SpecimenCollection |
withModifierExtension(java.util.Collection<Extension> values) |
SpecimenCollection |
withModifierExtension(Extension... values) |
SpecimenCollection |
withQuantity(SimpleQuantity value) |
getModifierExtensiongetExtension, getId, setIdprotected Reference collector
protected String comment
protected DateTime collectedDateTime
protected Period collectedPeriod
protected SimpleQuantity quantity
protected CodeableConcept method
protected CodeableConcept bodySite
public Reference getCollector()
Referencepublic void setCollector(Reference value)
value - allowed object is
Referencepublic String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic DateTime getCollectedDateTime()
DateTimepublic void setCollectedDateTime(DateTime value)
value - allowed object is
DateTimepublic Period getCollectedPeriod()
Periodpublic void setCollectedPeriod(Period value)
value - allowed object is
Periodpublic SimpleQuantity getQuantity()
SimpleQuantitypublic void setQuantity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic CodeableConcept getMethod()
CodeableConceptpublic void setMethod(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getBodySite()
CodeableConceptpublic void setBodySite(CodeableConcept value)
value - allowed object is
CodeableConceptpublic SpecimenCollection withCollector(Reference value)
public SpecimenCollection withComment(String value)
public SpecimenCollection withCollectedDateTime(DateTime value)
public SpecimenCollection withCollectedPeriod(Period value)
public SpecimenCollection withQuantity(SimpleQuantity value)
public SpecimenCollection withMethod(CodeableConcept value)
public SpecimenCollection withBodySite(CodeableConcept value)
public SpecimenCollection withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic SpecimenCollection withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic SpecimenCollection withExtension(Extension... values)
withExtension in class BackboneElementpublic SpecimenCollection withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic SpecimenCollection withId(java.lang.String value)
withId in class BackboneElementpublic 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 BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic 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 BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic 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 BackboneElementpublic 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 BackboneElement