Package org.hl7.fhir.dstu2.model
Enum MedicationDispense.MedicationDispenseStatus
- java.lang.Object
-
- java.lang.Enum<MedicationDispense.MedicationDispenseStatus>
-
- org.hl7.fhir.dstu2.model.MedicationDispense.MedicationDispenseStatus
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationDispense.MedicationDispenseStatus>
- Enclosing class:
- MedicationDispense
public static enum MedicationDispense.MedicationDispenseStatus extends Enum<MedicationDispense.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.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 MedicationDispense.MedicationDispenseStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static MedicationDispense.MedicationDispenseStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationDispense.MedicationDispenseStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INPROGRESS
public static final MedicationDispense.MedicationDispenseStatus INPROGRESS
The dispense has started but has not yet completed.
-
ONHOLD
public static final MedicationDispense.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 MedicationDispense.MedicationDispenseStatus COMPLETED
All actions that are implied by the dispense have occurred.
-
ENTEREDINERROR
public static final MedicationDispense.MedicationDispenseStatus ENTEREDINERROR
The dispense was entered in error and therefore nullified.
-
STOPPED
public static final MedicationDispense.MedicationDispenseStatus STOPPED
Actions implied by the dispense have been permanently halted, before all of them occurred.
-
NULL
public static final MedicationDispense.MedicationDispenseStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static MedicationDispense.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 (MedicationDispense.MedicationDispenseStatus c : MedicationDispense.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 MedicationDispense.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 MedicationDispense.MedicationDispenseStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-