Enum MedicationdispenseStatus
- java.lang.Object
-
- java.lang.Enum<MedicationdispenseStatus>
-
- org.hl7.fhir.r4.model.codesystems.MedicationdispenseStatus
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationdispenseStatus>
public enum MedicationdispenseStatus extends Enum<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 parsersONHOLDThe 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 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 dispensed product is ready for pickup.
-
CANCELLED
public static final MedicationdispenseStatus CANCELLED
The dispensed product was not and will never be picked up by the patient.
-
ONHOLD
public static final 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 MedicationdispenseStatus COMPLETED
The dispensed product has been picked up.
-
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.
-
DECLINED
public static final MedicationdispenseStatus DECLINED
The dispense was declined and not performed.
-
UNKNOWN
public static final 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 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()
-
-