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

    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
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.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 interface ca.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 return null.

        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 return null.

        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 return null.

        Definition: Provides a reason why the expected value in the element Observation.value[x] is missing.

      • getReferenceRange

        public List<Observation.ReferenceRangegetReferenceRange()
        Gets the value(s) for referenceRange (). creating it if it does not exist. Will not return null.

        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 be null)
      • 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