Class Observation.Component
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
Observation
Definition: Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for referenceRange ()addReferenceRange
(Observation.ReferenceRange theValue) Adds a given new value for referenceRange ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getCode()
Gets the value(s) for code (what).Gets the value(s) for dataAbsentReason ().Gets the value(s) for referenceRange ().Gets the first repetition for referenceRange (), creating it if it does not already exist.ca.uhn.fhir.model.api.IDatatype
getValue()
Gets the value(s) for value[x] ().boolean
isEmpty()
setCode
(CodeableConceptDt theValue) Sets the value(s) for code (what)setDataAbsentReason
(CodeableConceptDt theValue) Sets the value(s) for dataAbsentReason ()setReferenceRange
(List<Observation.ReferenceRange> theValue) Sets the value(s) for referenceRange ()setValue
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for value[x] ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Component
public Component()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCode
Gets the value(s) for code (what). creating it if it does not exist. Will not returnnull
.Definition: Describes what was observed. Sometimes this is called the observation \"code\"
-
setCode
Sets the value(s) for code (what)Definition: Describes what was observed. Sometimes this is called the observation \"code\"
-
getValue
Gets the value(s) for value[x] (). creating it if it does not exist. Will not returnnull
.Definition: The information determined as a result of making the observation, if the information has a simple value
-
setValue
Sets the value(s) for value[x] ()Definition: The information determined as a result of making the observation, if the information has a simple value
-
getDataAbsentReason
Gets the value(s) for dataAbsentReason (). creating it if it does not exist. Will not returnnull
.Definition: Provides a reason why the expected value in the element Observation.value[x] is missing.
-
setDataAbsentReason
Sets the value(s) for dataAbsentReason ()Definition: Provides a reason why the expected value in the element Observation.value[x] is missing.
-
getReferenceRange
Gets the value(s) for referenceRange (). creating it if it does not exist. Will not returnnull
.Definition: Guidance on how to interpret the value by comparison to a normal or recommended range
-
setReferenceRange
Sets the value(s) for referenceRange ()Definition: Guidance on how to interpret the value by comparison to a normal or recommended range
-
addReferenceRange
Adds and returns a new value for referenceRange ()Definition: Guidance on how to interpret the value by comparison to a normal or recommended range
-
addReferenceRange
Adds a given new value for referenceRange ()Definition: Guidance on how to interpret the value by comparison to a normal or recommended range
- Parameters:
theValue
- The referenceRange to add (must not benull
)
-
getReferenceRangeFirstRep
Gets the first repetition for referenceRange (), creating it if it does not already exist.Definition: Guidance on how to interpret the value by comparison to a normal or recommended range
-