Package org.hl7.fhir.r5.model
Enum DeviceDispense.DeviceDispenseStatusCodes
- java.lang.Object
-
- java.lang.Enum<DeviceDispense.DeviceDispenseStatusCodes>
-
- org.hl7.fhir.r5.model.DeviceDispense.DeviceDispenseStatusCodes
-
- All Implemented Interfaces:
Serializable,Comparable<DeviceDispense.DeviceDispenseStatusCodes>
- Enclosing class:
- DeviceDispense
public static enum DeviceDispense.DeviceDispenseStatusCodes extends Enum<DeviceDispense.DeviceDispenseStatusCodes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDThe dispensed product was not and will never be picked up by the patient.COMPLETEDThe dispensed product has been picked up.DECLINEDThe dispense was declined and not performed.ENTEREDINERRORThe dispense was entered in error and therefore nullified.INPROGRESSThe dispensed product is ready for pickup.NULLadded to help the parsers with the generic typesONHOLDThe dispense process is paused while waiting for an external event to reactivate the dispense.PREPARATIONThe core event has not started yet, but some staging activities have begun (e.g.STOPPEDActions implied by the dispense have been permanently halted, before all of them occurred.UNKNOWNThe authoring system does not know which of the status values applies for this dispense.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceDispense.DeviceDispenseStatusCodesfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static DeviceDispense.DeviceDispenseStatusCodesvalueOf(String name)Returns the enum constant of this type with the specified name.static DeviceDispense.DeviceDispenseStatusCodes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARATION
public static final DeviceDispense.DeviceDispenseStatusCodes PREPARATION
The core event has not started yet, but some staging activities have begun (e.g. initial preparing of the device. Preparation stages may be tracked e.g. for planning, supply or billing purposes.
-
INPROGRESS
public static final DeviceDispense.DeviceDispenseStatusCodes INPROGRESS
The dispensed product is ready for pickup.
-
CANCELLED
public static final DeviceDispense.DeviceDispenseStatusCodes CANCELLED
The dispensed product was not and will never be picked up by the patient.
-
ONHOLD
public static final DeviceDispense.DeviceDispenseStatusCodes ONHOLD
The dispense process is paused while waiting for an external event to reactivate the dispense. For example, new stock has arrived or the prescriber has called.
-
COMPLETED
public static final DeviceDispense.DeviceDispenseStatusCodes COMPLETED
The dispensed product has been picked up.
-
ENTEREDINERROR
public static final DeviceDispense.DeviceDispenseStatusCodes ENTEREDINERROR
The dispense was entered in error and therefore nullified.
-
STOPPED
public static final DeviceDispense.DeviceDispenseStatusCodes STOPPED
Actions implied by the dispense have been permanently halted, before all of them occurred.
-
DECLINED
public static final DeviceDispense.DeviceDispenseStatusCodes DECLINED
The dispense was declined and not performed.
-
UNKNOWN
public static final DeviceDispense.DeviceDispenseStatusCodes UNKNOWN
The authoring system does not know which of the status values applies for this dispense. Note: this concept is not to be used for other - one of the listed statuses is presumed to apply, it's just now known which one.
-
NULL
public static final DeviceDispense.DeviceDispenseStatusCodes NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static DeviceDispense.DeviceDispenseStatusCodes[] 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 (DeviceDispense.DeviceDispenseStatusCodes c : DeviceDispense.DeviceDispenseStatusCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceDispense.DeviceDispenseStatusCodes 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 DeviceDispense.DeviceDispenseStatusCodes fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-