public class Observation extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Observation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Observation">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}ObservationStatus"/>
<element name="category" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<choice minOccurs="0">
<element name="effectiveDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="effectivePeriod" type="{http://hl7.org/fhir}Period"/>
</choice>
<element name="issued" type="{http://hl7.org/fhir}instant" minOccurs="0"/>
<element name="performer" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<choice minOccurs="0">
<element name="valueQuantity" type="{http://hl7.org/fhir}Quantity"/>
<element name="valueCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="valueString" type="{http://hl7.org/fhir}string"/>
<element name="valueRange" type="{http://hl7.org/fhir}Range"/>
<element name="valueRatio" type="{http://hl7.org/fhir}Ratio"/>
<element name="valueSampledData" type="{http://hl7.org/fhir}SampledData"/>
<element name="valueAttachment" type="{http://hl7.org/fhir}Attachment"/>
<element name="valueTime" type="{http://hl7.org/fhir}time"/>
<element name="valueDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="valuePeriod" type="{http://hl7.org/fhir}Period"/>
</choice>
<element name="dataAbsentReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="interpretation" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="comment" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="bodySite" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="method" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="specimen" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="device" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="referenceRange" type="{http://hl7.org/fhir}Observation.ReferenceRange" maxOccurs="unbounded" minOccurs="0"/>
<element name="related" type="{http://hl7.org/fhir}Observation.Related" maxOccurs="unbounded" minOccurs="0"/>
<element name="component" type="{http://hl7.org/fhir}Observation.Component" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Observation() |
| 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.
|
CodeableConcept |
getCategory()
Gets the value of the category property.
|
CodeableConcept |
getCode()
Gets the value of the code property.
|
String |
getComment()
Gets the value of the comment property.
|
java.util.List<ObservationComponent> |
getComponent()
Gets the value of the component property.
|
CodeableConcept |
getDataAbsentReason()
Gets the value of the dataAbsentReason property.
|
Reference |
getDevice()
Gets the value of the device property.
|
DateTime |
getEffectiveDateTime()
Gets the value of the effectiveDateTime property.
|
Period |
getEffectivePeriod()
Gets the value of the effectivePeriod property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
CodeableConcept |
getInterpretation()
Gets the value of the interpretation property.
|
Instant |
getIssued()
Gets the value of the issued property.
|
CodeableConcept |
getMethod()
Gets the value of the method property.
|
java.util.List<Reference> |
getPerformer()
Gets the value of the performer property.
|
java.util.List<ObservationReferenceRange> |
getReferenceRange()
Gets the value of the referenceRange property.
|
java.util.List<ObservationRelated> |
getRelated()
Gets the value of the related property.
|
Reference |
getSpecimen()
Gets the value of the specimen property.
|
ObservationStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
Attachment |
getValueAttachment()
Gets the value of the valueAttachment property.
|
CodeableConcept |
getValueCodeableConcept()
Gets the value of the valueCodeableConcept property.
|
DateTime |
getValueDateTime()
Gets the value of the valueDateTime property.
|
Period |
getValuePeriod()
Gets the value of the valuePeriod property.
|
Quantity |
getValueQuantity()
Gets the value of the valueQuantity property.
|
Range |
getValueRange()
Gets the value of the valueRange property.
|
Ratio |
getValueRatio()
Gets the value of the valueRatio property.
|
SampledData |
getValueSampledData()
Gets the value of the valueSampledData property.
|
String |
getValueString()
Gets the value of the valueString property.
|
Time |
getValueTime()
Gets the value of the valueTime 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 |
setCategory(CodeableConcept value)
Sets the value of the category property.
|
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setDataAbsentReason(CodeableConcept value)
Sets the value of the dataAbsentReason property.
|
void |
setDevice(Reference value)
Sets the value of the device property.
|
void |
setEffectiveDateTime(DateTime value)
Sets the value of the effectiveDateTime property.
|
void |
setEffectivePeriod(Period value)
Sets the value of the effectivePeriod property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setInterpretation(CodeableConcept value)
Sets the value of the interpretation property.
|
void |
setIssued(Instant value)
Sets the value of the issued property.
|
void |
setMethod(CodeableConcept value)
Sets the value of the method property.
|
void |
setSpecimen(Reference value)
Sets the value of the specimen property.
|
void |
setStatus(ObservationStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setValueAttachment(Attachment value)
Sets the value of the valueAttachment property.
|
void |
setValueCodeableConcept(CodeableConcept value)
Sets the value of the valueCodeableConcept property.
|
void |
setValueDateTime(DateTime value)
Sets the value of the valueDateTime property.
|
void |
setValuePeriod(Period value)
Sets the value of the valuePeriod property.
|
void |
setValueQuantity(Quantity value)
Sets the value of the valueQuantity property.
|
void |
setValueRange(Range value)
Sets the value of the valueRange property.
|
void |
setValueRatio(Ratio value)
Sets the value of the valueRatio property.
|
void |
setValueSampledData(SampledData value)
Sets the value of the valueSampledData property.
|
void |
setValueString(String value)
Sets the value of the valueString property.
|
void |
setValueTime(Time value)
Sets the value of the valueTime property.
|
java.lang.String |
toString() |
Observation |
withBodySite(CodeableConcept value) |
Observation |
withCategory(CodeableConcept value) |
Observation |
withCode(CodeableConcept value) |
Observation |
withComment(String value) |
Observation |
withComponent(java.util.Collection<ObservationComponent> values) |
Observation |
withComponent(ObservationComponent... values) |
Observation |
withContained(java.util.Collection<ResourceContainer> values) |
Observation |
withContained(ResourceContainer... values) |
Observation |
withDataAbsentReason(CodeableConcept value) |
Observation |
withDevice(Reference value) |
Observation |
withEffectiveDateTime(DateTime value) |
Observation |
withEffectivePeriod(Period value) |
Observation |
withEncounter(Reference value) |
Observation |
withExtension(java.util.Collection<Extension> values) |
Observation |
withExtension(Extension... values) |
Observation |
withId(Id value) |
Observation |
withIdentifier(java.util.Collection<Identifier> values) |
Observation |
withIdentifier(Identifier... values) |
Observation |
withImplicitRules(Uri value) |
Observation |
withInterpretation(CodeableConcept value) |
Observation |
withIssued(Instant value) |
Observation |
withLanguage(Code value) |
Observation |
withMeta(Meta value) |
Observation |
withMethod(CodeableConcept value) |
Observation |
withModifierExtension(java.util.Collection<Extension> values) |
Observation |
withModifierExtension(Extension... values) |
Observation |
withPerformer(java.util.Collection<Reference> values) |
Observation |
withPerformer(Reference... values) |
Observation |
withReferenceRange(java.util.Collection<ObservationReferenceRange> values) |
Observation |
withReferenceRange(ObservationReferenceRange... values) |
Observation |
withRelated(java.util.Collection<ObservationRelated> values) |
Observation |
withRelated(ObservationRelated... values) |
Observation |
withSpecimen(Reference value) |
Observation |
withStatus(ObservationStatus value) |
Observation |
withSubject(Reference value) |
Observation |
withText(Narrative value) |
Observation |
withValueAttachment(Attachment value) |
Observation |
withValueCodeableConcept(CodeableConcept value) |
Observation |
withValueDateTime(DateTime value) |
Observation |
withValuePeriod(Period value) |
Observation |
withValueQuantity(Quantity value) |
Observation |
withValueRange(Range value) |
Observation |
withValueRatio(Ratio value) |
Observation |
withValueSampledData(SampledData value) |
Observation |
withValueString(String value) |
Observation |
withValueTime(Time value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected ObservationStatus status
protected CodeableConcept category
protected CodeableConcept code
protected Reference subject
protected Reference encounter
protected DateTime effectiveDateTime
protected Period effectivePeriod
protected Instant issued
protected java.util.List<Reference> performer
protected Quantity valueQuantity
protected CodeableConcept valueCodeableConcept
protected String valueString
protected Range valueRange
protected Ratio valueRatio
protected SampledData valueSampledData
protected Attachment valueAttachment
protected Time valueTime
protected DateTime valueDateTime
protected Period valuePeriod
protected CodeableConcept dataAbsentReason
protected CodeableConcept interpretation
protected String comment
protected CodeableConcept bodySite
protected CodeableConcept method
protected Reference specimen
protected Reference device
protected java.util.List<ObservationReferenceRange> referenceRange
protected java.util.List<ObservationRelated> related
protected java.util.List<ObservationComponent> component
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 ObservationStatus getStatus()
ObservationStatuspublic void setStatus(ObservationStatus value)
value - allowed object is
ObservationStatuspublic CodeableConcept getCategory()
CodeableConceptpublic void setCategory(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic DateTime getEffectiveDateTime()
DateTimepublic void setEffectiveDateTime(DateTime value)
value - allowed object is
DateTimepublic Period getEffectivePeriod()
Periodpublic void setEffectivePeriod(Period value)
value - allowed object is
Periodpublic Instant getIssued()
Instantpublic void setIssued(Instant value)
value - allowed object is
Instantpublic java.util.List<Reference> getPerformer()
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 performer property.
For example, to add a new item, do as follows:
getPerformer().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public Quantity getValueQuantity()
Quantitypublic void setValueQuantity(Quantity value)
value - allowed object is
Quantitypublic CodeableConcept getValueCodeableConcept()
CodeableConceptpublic void setValueCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic String getValueString()
Stringpublic void setValueString(String value)
value - allowed object is
Stringpublic Range getValueRange()
Rangepublic void setValueRange(Range value)
value - allowed object is
Rangepublic Ratio getValueRatio()
Ratiopublic void setValueRatio(Ratio value)
value - allowed object is
Ratiopublic SampledData getValueSampledData()
SampledDatapublic void setValueSampledData(SampledData value)
value - allowed object is
SampledDatapublic Attachment getValueAttachment()
Attachmentpublic void setValueAttachment(Attachment value)
value - allowed object is
Attachmentpublic Time getValueTime()
Timepublic void setValueTime(Time value)
value - allowed object is
Timepublic DateTime getValueDateTime()
DateTimepublic void setValueDateTime(DateTime value)
value - allowed object is
DateTimepublic Period getValuePeriod()
Periodpublic void setValuePeriod(Period value)
value - allowed object is
Periodpublic CodeableConcept getDataAbsentReason()
CodeableConceptpublic void setDataAbsentReason(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getInterpretation()
CodeableConceptpublic void setInterpretation(CodeableConcept value)
value - allowed object is
CodeableConceptpublic String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic CodeableConcept getBodySite()
CodeableConceptpublic void setBodySite(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getMethod()
CodeableConceptpublic void setMethod(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSpecimen()
Referencepublic void setSpecimen(Reference value)
value - allowed object is
Referencepublic Reference getDevice()
Referencepublic void setDevice(Reference value)
value - allowed object is
Referencepublic java.util.List<ObservationReferenceRange> getReferenceRange()
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 referenceRange property.
For example, to add a new item, do as follows:
getReferenceRange().add(newItem);
Objects of the following type(s) are allowed in the list
ObservationReferenceRange
public java.util.List<ObservationRelated> getRelated()
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 related property.
For example, to add a new item, do as follows:
getRelated().add(newItem);
Objects of the following type(s) are allowed in the list
ObservationRelated
public java.util.List<ObservationComponent> getComponent()
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 component property.
For example, to add a new item, do as follows:
getComponent().add(newItem);
Objects of the following type(s) are allowed in the list
ObservationComponent
public Observation withIdentifier(Identifier... values)
public Observation withIdentifier(java.util.Collection<Identifier> values)
public Observation withStatus(ObservationStatus value)
public Observation withCategory(CodeableConcept value)
public Observation withCode(CodeableConcept value)
public Observation withSubject(Reference value)
public Observation withEncounter(Reference value)
public Observation withEffectiveDateTime(DateTime value)
public Observation withEffectivePeriod(Period value)
public Observation withIssued(Instant value)
public Observation withPerformer(Reference... values)
public Observation withPerformer(java.util.Collection<Reference> values)
public Observation withValueQuantity(Quantity value)
public Observation withValueCodeableConcept(CodeableConcept value)
public Observation withValueString(String value)
public Observation withValueRange(Range value)
public Observation withValueRatio(Ratio value)
public Observation withValueSampledData(SampledData value)
public Observation withValueAttachment(Attachment value)
public Observation withValueTime(Time value)
public Observation withValueDateTime(DateTime value)
public Observation withValuePeriod(Period value)
public Observation withDataAbsentReason(CodeableConcept value)
public Observation withInterpretation(CodeableConcept value)
public Observation withComment(String value)
public Observation withBodySite(CodeableConcept value)
public Observation withMethod(CodeableConcept value)
public Observation withSpecimen(Reference value)
public Observation withDevice(Reference value)
public Observation withReferenceRange(ObservationReferenceRange... values)
public Observation withReferenceRange(java.util.Collection<ObservationReferenceRange> values)
public Observation withRelated(ObservationRelated... values)
public Observation withRelated(java.util.Collection<ObservationRelated> values)
public Observation withComponent(ObservationComponent... values)
public Observation withComponent(java.util.Collection<ObservationComponent> values)
public Observation withText(Narrative value)
withText in class DomainResourcepublic Observation withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Observation withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Observation withExtension(Extension... values)
withExtension in class DomainResourcepublic Observation withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Observation withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Observation withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Observation withId(Id value)
withId in class DomainResourcepublic Observation withMeta(Meta value)
withMeta in class DomainResourcepublic Observation withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Observation 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