Class Observation.ReferenceRange

  • All Implemented Interfaces:
    Visitable
    Enclosing class:
    Observation

    public static class Observation.ReferenceRange
    extends BackboneElement
    Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an "OR". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.
    • Method Detail

      • getLow

        public SimpleQuantity getLow()
        The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).
        Returns:
        An immutable object of type SimpleQuantity that may be null.
      • getHigh

        public SimpleQuantity getHigh()
        The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).
        Returns:
        An immutable object of type SimpleQuantity that may be null.
      • getType

        public CodeableConcept getType()
        Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getAppliesTo

        public java.util.List<CodeableConcept> getAppliesTo()
        Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an "AND" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getAge

        public Range getAge()
        The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.
        Returns:
        An immutable object of type Range that may be null.
      • getText

        public String getText()
        Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of "Negative" or a list or table of "normals".
        Returns:
        An immutable object of type String that may be null.
      • accept

        public void accept​(java.lang.String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object