Enum MedicationDispenseStatus
- java.lang.Object
-
- java.lang.Enum<MedicationDispenseStatus>
-
- org.hl7.fhir.dstu3.model.codesystems.MedicationDispenseStatus
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationDispenseStatus>
public enum MedicationDispenseStatus extends Enum<MedicationDispenseStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEDAll actions that are implied by the dispense have occurred.ENTEREDINERRORThe dispense was entered in error and therefore nullified.INPROGRESSThe dispense has started but has not yet completed.NULLadded to help the parsersONHOLDActions implied by the administration have been temporarily halted, but are expected to continue later.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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationDispenseStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static MedicationDispenseStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationDispenseStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARATION
public static final MedicationDispenseStatus PREPARATION
The core event has not started yet, but some staging activities have begun (e.g. initial compounding or packaging of medication). Preparation stages may be tracked for billing purposes.
-
INPROGRESS
public static final MedicationDispenseStatus INPROGRESS
The dispense has started but has not yet completed.
-
ONHOLD
public static final MedicationDispenseStatus ONHOLD
Actions implied by the administration have been temporarily halted, but are expected to continue later. May also be called "suspended"
-
COMPLETED
public static final MedicationDispenseStatus COMPLETED
All actions that are implied by the dispense have occurred.
-
ENTEREDINERROR
public static final MedicationDispenseStatus ENTEREDINERROR
The dispense was entered in error and therefore nullified.
-
STOPPED
public static final MedicationDispenseStatus STOPPED
Actions implied by the dispense have been permanently halted, before all of them occurred.
-
NULL
public static final MedicationDispenseStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static MedicationDispenseStatus[] 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 (MedicationDispenseStatus c : MedicationDispenseStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MedicationDispenseStatus 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 MedicationDispenseStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-