Class Observation.Component
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class Observation.Component extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Observation.component ()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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Component()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Observation.ReferenceRangeaddReferenceRange()Adds and returns a new value for referenceRange ()Observation.ComponentaddReferenceRange(Observation.ReferenceRange theValue)Adds a given new value for referenceRange ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)CodeableConceptDtgetCode()Gets the value(s) for code (what).CodeableConceptDtgetDataAbsentReason()Gets the value(s) for dataAbsentReason ().List<Observation.ReferenceRange>getReferenceRange()Gets the value(s) for referenceRange ().Observation.ReferenceRangegetReferenceRangeFirstRep()Gets the first repetition for referenceRange (), creating it if it does not already exist.ca.uhn.fhir.model.api.IDatatypegetValue()Gets the value(s) for value[x] ().booleanisEmpty()Observation.ComponentsetCode(CodeableConceptDt theValue)Sets the value(s) for code (what)Observation.ComponentsetDataAbsentReason(CodeableConceptDt theValue)Sets the value(s) for dataAbsentReason ()Observation.ComponentsetReferenceRange(List<Observation.ReferenceRange> theValue)Sets the value(s) for referenceRange ()Observation.ComponentsetValue(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
-
-
-
-
Constructor Detail
-
Component
public Component()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCode
public CodeableConceptDt 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
public Observation.Component setCode(CodeableConceptDt theValue)
Sets the value(s) for code (what)Definition: Describes what was observed. Sometimes this is called the observation \"code\"
-
getValue
public ca.uhn.fhir.model.api.IDatatype 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
public Observation.Component setValue(ca.uhn.fhir.model.api.IDatatype theValue)
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
public CodeableConceptDt 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
public Observation.Component setDataAbsentReason(CodeableConceptDt theValue)
Sets the value(s) for dataAbsentReason ()Definition: Provides a reason why the expected value in the element Observation.value[x] is missing.
-
getReferenceRange
public List<Observation.ReferenceRange> 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
public Observation.Component setReferenceRange(List<Observation.ReferenceRange> theValue)
Sets the value(s) for referenceRange ()Definition: Guidance on how to interpret the value by comparison to a normal or recommended range
-
addReferenceRange
public Observation.ReferenceRange 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
public Observation.Component addReferenceRange(Observation.ReferenceRange theValue)
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
public Observation.ReferenceRange 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
-
-