Class FHIRDeviceStatus

  • All Implemented Interfaces:
    Visitable

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

      • ACTIVE

        public static final FHIRDeviceStatus ACTIVE
        Active

        The device is available for use. Note: For *implanted devices* this means that the device is implanted in the patient.

      • INACTIVE

        public static final FHIRDeviceStatus INACTIVE
        Inactive

        The device is no longer available for use (e.g. lost, expired, damaged). Note: For *implanted devices* this means that the device has been removed from the patient.

      • ENTERED_IN_ERROR

        public static final FHIRDeviceStatus ENTERED_IN_ERROR
        Entered in Error

        The device was entered in error and voided.

      • UNKNOWN

        public static final FHIRDeviceStatus UNKNOWN
        Unknown

        The status of the device has not been determined.

    • Method Detail

      • of

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