Class Observation
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptprotected CodeableConceptprotected CodeableConceptprotected Stringprotected List<ObservationComponent> protected CodeableConceptprotected Referenceprotected DateTimeprotected Periodprotected Referenceprotected List<Identifier> protected CodeableConceptprotected Instantprotected CodeableConceptprotected List<ObservationReferenceRange> protected List<ObservationRelated> protected Referenceprotected ObservationStatusprotected Referenceprotected Attachmentprotected CodeableConceptprotected DateTimeprotected Periodprotected Quantityprotected Rangeprotected Ratioprotected SampledDataprotected Stringprotected TimeFields 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 bodySite property.Gets the value of the category property.getCode()Gets the value of the code property.Gets the value of the comment property.Gets the value of the component property.Gets the value of the dataAbsentReason property.Gets the value of the device property.Gets the value of the effectiveDateTime property.Gets the value of the effectivePeriod property.Gets the value of the encounter property.Gets the value of the identifier property.Gets the value of the interpretation property.Gets the value of the issued property.Gets the value of the method property.Gets the value of the performer property.Gets the value of the referenceRange property.Gets the value of the related property.Gets the value of the specimen property.Gets the value of the status property.Gets the value of the subject property.Gets the value of the valueAttachment property.Gets the value of the valueCodeableConcept property.Gets the value of the valueDateTime property.Gets the value of the valuePeriod property.Gets the value of the valueQuantity property.Gets the value of the valueRange property.Gets the value of the valueRatio property.Gets the value of the valueSampledData property.Gets the value of the valueString property.Gets the value of the valueTime 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.voidsetCategory(CodeableConcept value) Sets the value of the category property.voidsetCode(CodeableConcept value) Sets the value of the code property.voidsetComment(String value) Sets the value of the comment property.voidsetComponent(List<ObservationComponent> value) voidSets the value of the dataAbsentReason property.voidSets the value of the device property.voidsetEffectiveDateTime(DateTime value) Sets the value of the effectiveDateTime property.voidsetEffectivePeriod(Period value) Sets the value of the effectivePeriod property.voidsetEncounter(Reference value) Sets the value of the encounter property.voidsetIdentifier(List<Identifier> value) voidsetInterpretation(CodeableConcept value) Sets the value of the interpretation property.voidSets the value of the issued property.voidsetMethod(CodeableConcept value) Sets the value of the method property.voidsetPerformer(List<Reference> value) voidvoidsetRelated(List<ObservationRelated> value) voidsetSpecimen(Reference value) Sets the value of the specimen property.voidsetStatus(ObservationStatus value) Sets the value of the status property.voidsetSubject(Reference value) Sets the value of the subject property.voidsetValueAttachment(Attachment value) Sets the value of the valueAttachment property.voidSets the value of the valueCodeableConcept property.voidsetValueDateTime(DateTime value) Sets the value of the valueDateTime property.voidsetValuePeriod(Period value) Sets the value of the valuePeriod property.voidsetValueQuantity(Quantity value) Sets the value of the valueQuantity property.voidsetValueRange(Range value) Sets the value of the valueRange property.voidsetValueRatio(Ratio value) Sets the value of the valueRatio property.voidsetValueSampledData(SampledData value) Sets the value of the valueSampledData property.voidsetValueString(String value) Sets the value of the valueString property.voidsetValueTime(Time value) Sets the value of the valueTime property.toString()withBodySite(CodeableConcept value) withCategory(CodeableConcept value) withCode(CodeableConcept value) withComment(String value) withComponent(Collection<ObservationComponent> values) withComponent(ObservationComponent... values) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withDevice(Reference value) withEffectiveDateTime(DateTime value) withEffectivePeriod(Period value) withEncounter(Reference value) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withIssued(Instant value) withLanguage(Code value) withMethod(CodeableConcept value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPerformer(Collection<Reference> values) withPerformer(Reference... values) withReferenceRange(ObservationReferenceRange... values) withRelated(Collection<ObservationRelated> values) withRelated(ObservationRelated... values) withSpecimen(Reference value) withStatus(ObservationStatus value) withSubject(Reference value) withValueAttachment(Attachment value) withValueDateTime(DateTime value) withValuePeriod(Period value) withValueQuantity(Quantity value) withValueRange(Range value) withValueRatio(Ratio value) withValueSampledData(SampledData value) withValueString(String value) withValueTime(Time 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
-
status
-
category
-
code
-
subject
-
encounter
-
effectiveDateTime
-
effectivePeriod
-
issued
-
performer
-
valueQuantity
-
valueCodeableConcept
-
valueString
-
valueRange
-
valueRatio
-
valueSampledData
-
valueAttachment
-
valueTime
-
valueDateTime
-
valuePeriod
-
dataAbsentReason
-
interpretation
-
comment
-
bodySite
-
method
-
specimen
-
device
-
referenceRange
-
component
-
-
Constructor Details
-
Observation
public Observation()
-
-
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 -
getStatus
Gets the value of the status property.- Returns:
- possible object is
ObservationStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isObservationStatus
-
getCategory
Gets the value of the category property.- Returns:
- possible object is
CodeableConcept
-
setCategory
Sets the value of the category property.- Parameters:
value- allowed object isCodeableConcept
-
getCode
Gets the value of the code property.- Returns:
- possible object is
CodeableConcept
-
setCode
Sets the value of the code 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
-
getEncounter
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getEffectiveDateTime
Gets the value of the effectiveDateTime property.- Returns:
- possible object is
DateTime
-
setEffectiveDateTime
Sets the value of the effectiveDateTime property.- Parameters:
value- allowed object isDateTime
-
getEffectivePeriod
Gets the value of the effectivePeriod property.- Returns:
- possible object is
Period
-
setEffectivePeriod
Sets the value of the effectivePeriod property.- Parameters:
value- allowed object isPeriod
-
getIssued
Gets the value of the issued property.- Returns:
- possible object is
Instant
-
setIssued
Sets the value of the issued property.- Parameters:
value- allowed object isInstant
-
getPerformer
Gets the value of the performer 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 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 -
getValueQuantity
Gets the value of the valueQuantity property.- Returns:
- possible object is
Quantity
-
setValueQuantity
Sets the value of the valueQuantity property.- Parameters:
value- allowed object isQuantity
-
getValueCodeableConcept
Gets the value of the valueCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setValueCodeableConcept
Sets the value of the valueCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getValueString
Gets the value of the valueString property.- Returns:
- possible object is
String
-
setValueString
Sets the value of the valueString property.- Parameters:
value- allowed object isString
-
getValueRange
Gets the value of the valueRange property.- Returns:
- possible object is
Range
-
setValueRange
Sets the value of the valueRange property.- Parameters:
value- allowed object isRange
-
getValueRatio
Gets the value of the valueRatio property.- Returns:
- possible object is
Ratio
-
setValueRatio
Sets the value of the valueRatio property.- Parameters:
value- allowed object isRatio
-
getValueSampledData
Gets the value of the valueSampledData property.- Returns:
- possible object is
SampledData
-
setValueSampledData
Sets the value of the valueSampledData property.- Parameters:
value- allowed object isSampledData
-
getValueAttachment
Gets the value of the valueAttachment property.- Returns:
- possible object is
Attachment
-
setValueAttachment
Sets the value of the valueAttachment property.- Parameters:
value- allowed object isAttachment
-
getValueTime
Gets the value of the valueTime property.- Returns:
- possible object is
Time
-
setValueTime
Sets the value of the valueTime property.- Parameters:
value- allowed object isTime
-
getValueDateTime
Gets the value of the valueDateTime property.- Returns:
- possible object is
DateTime
-
setValueDateTime
Sets the value of the valueDateTime property.- Parameters:
value- allowed object isDateTime
-
getValuePeriod
Gets the value of the valuePeriod property.- Returns:
- possible object is
Period
-
setValuePeriod
Sets the value of the valuePeriod property.- Parameters:
value- allowed object isPeriod
-
getDataAbsentReason
Gets the value of the dataAbsentReason property.- Returns:
- possible object is
CodeableConcept
-
setDataAbsentReason
Sets the value of the dataAbsentReason property.- Parameters:
value- allowed object isCodeableConcept
-
getInterpretation
Gets the value of the interpretation property.- Returns:
- possible object is
CodeableConcept
-
setInterpretation
Sets the value of the interpretation property.- Parameters:
value- allowed object isCodeableConcept
-
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
-
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
-
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
-
getSpecimen
Gets the value of the specimen property.- Returns:
- possible object is
Reference
-
setSpecimen
Sets the value of the specimen property.- Parameters:
value- allowed object isReference
-
getDevice
Gets the value of the device property.- Returns:
- possible object is
Reference
-
setDevice
Sets the value of the device property.- Parameters:
value- allowed object isReference
-
getReferenceRange
Gets the value of the referenceRange 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 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 -
getRelated
Gets the value of the related 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 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 -
getComponent
Gets the value of the component 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 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 -
withIdentifier
-
withIdentifier
-
withStatus
-
withCategory
-
withCode
-
withSubject
-
withEncounter
-
withEffectiveDateTime
-
withEffectivePeriod
-
withIssued
-
withPerformer
-
withPerformer
-
withValueQuantity
-
withValueCodeableConcept
-
withValueString
-
withValueRange
-
withValueRatio
-
withValueSampledData
-
withValueAttachment
-
withValueTime
-
withValueDateTime
-
withValuePeriod
-
withDataAbsentReason
-
withInterpretation
-
withComment
-
withBodySite
-
withMethod
-
withSpecimen
-
withDevice
-
withReferenceRange
-
withReferenceRange
-
withRelated
-
withRelated
-
withComponent
-
withComponent
-
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
-
setPerformer
-
setReferenceRange
-
setRelated
-
setComponent
-