Class ObservationDataType

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class ObservationDataType
    extends Code
    • Field Detail

      • CODEABLE_CONCEPT

        public static final ObservationDataType CODEABLE_CONCEPT
        CodeableConcept

        A coded concept from a reference terminology and/or text.

      • STRING

        public static final ObservationDataType STRING
        string

        A sequence of Unicode characters.

      • RANGE

        public static final ObservationDataType RANGE
        Range

        A set of values bounded by low and high.

      • RATIO

        public static final ObservationDataType RATIO
        Ratio

        A ratio of two Quantity values - a numerator and a denominator.

      • SAMPLED_DATA

        public static final ObservationDataType SAMPLED_DATA
        SampledData

        A series of measurements taken by a device.

      • TIME

        public static final ObservationDataType TIME
        time

        A time during the day, in the format hh:mm:ss.

      • DATE_TIME

        public static final ObservationDataType DATE_TIME
        dateTime

        A date, date-time or partial date (e.g. just year or year + month) as used in human communication.

      • PERIOD

        public static final ObservationDataType PERIOD
        Period

        A time range defined by start and end date/time.

    • Method Detail

      • of

        public static ObservationDataType of​(String value)
        Factory method for creating ObservationDataType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating ObservationDataType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating ObservationDataType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code