Enum DeviceStatusReason
- java.lang.Object
-
- java.lang.Enum<DeviceStatusReason>
-
- org.hl7.fhir.r4.model.codesystems.DeviceStatusReason
-
- All Implemented Interfaces:
Serializable,Comparable<DeviceStatusReason>
public enum DeviceStatusReason extends Enum<DeviceStatusReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HWDISCONThe device hardware is disconnected.NOTREADYThe device is not ready.NULLadded to help the parsersOFFThe device is off.OFFLINEThe device is offline.ONLINEThe device is off.PAUSEDThe device is paused.STANDBYThe device is ready but not actively operating.TRANSDUCDISCONThe device transducer is disconnected.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceStatusReasonfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static DeviceStatusReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static DeviceStatusReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONLINE
public static final DeviceStatusReason ONLINE
The device is off.
-
PAUSED
public static final DeviceStatusReason PAUSED
The device is paused.
-
STANDBY
public static final DeviceStatusReason STANDBY
The device is ready but not actively operating.
-
OFFLINE
public static final DeviceStatusReason OFFLINE
The device is offline.
-
NOTREADY
public static final DeviceStatusReason NOTREADY
The device is not ready.
-
TRANSDUCDISCON
public static final DeviceStatusReason TRANSDUCDISCON
The device transducer is disconnected.
-
HWDISCON
public static final DeviceStatusReason HWDISCON
The device hardware is disconnected.
-
OFF
public static final DeviceStatusReason OFF
The device is off.
-
NULL
public static final DeviceStatusReason NULL
added to help the parsers
-
-
Method Detail
-
values
public static DeviceStatusReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeviceStatusReason c : DeviceStatusReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceStatusReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromCode
public static DeviceStatusReason fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-