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:
  • Constructor Details

  • Method Details

    • 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

      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\"

    • setCode

      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 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

      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.

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

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