Package org.hl7.fhir.r4.model
Enum MedicationDispense.MedicationDispenseStatus
- java.lang.Object
-
- java.lang.Enum<MedicationDispense.MedicationDispenseStatus>
-
- org.hl7.fhir.r4.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 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 medication dispense.
-
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
-
PREPARATION
public static final MedicationDispense.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 MedicationDispense.MedicationDispenseStatus INPROGRESS
The dispensed product is ready for pickup.
-
CANCELLED
public static final MedicationDispense.MedicationDispenseStatus CANCELLED
The dispensed product was not and will never be picked up by the patient.
-
ONHOLD
public static final MedicationDispense.MedicationDispenseStatus 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 MedicationDispense.MedicationDispenseStatus COMPLETED
The dispensed product has been picked up.
-
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.
-
DECLINED
public static final MedicationDispense.MedicationDispenseStatus DECLINED
The dispense was declined and not performed.
-
UNKNOWN
public static final MedicationDispense.MedicationDispenseStatus UNKNOWN
The authoring system does not know which of the status values applies for this medication 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 MedicationDispense.MedicationDispenseStatus NULL
added to help the parsers with the generic types
-
-
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()
-
-