Class DeviceMetricCategory

  • All Implemented Interfaces:
    Visitable

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

      • MEASUREMENT

        public static final DeviceMetricCategory MEASUREMENT
        Measurement

        DeviceObservations generated for this DeviceMetric are measured.

      • SETTING

        public static final DeviceMetricCategory SETTING
        Setting

        DeviceObservations generated for this DeviceMetric is a setting that will influence the behavior of the Device.

      • CALCULATION

        public static final DeviceMetricCategory CALCULATION
        Calculation

        DeviceObservations generated for this DeviceMetric are calculated.

      • UNSPECIFIED

        public static final DeviceMetricCategory UNSPECIFIED
        Unspecified

        The category of this DeviceMetric is unspecified.

    • Method Detail

      • of

        public static DeviceMetricCategory of​(String value)
        Factory method for creating DeviceMetricCategory 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 DeviceMetricCategory 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 DeviceMetricCategory 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