Enum MedicationDispenseStatus.ValueSet
- java.lang.Object
-
- java.lang.Enum<MedicationDispenseStatus.ValueSet>
-
- com.ibm.fhir.model.type.code.MedicationDispenseStatus.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationDispenseStatus.ValueSet>
- Enclosing class:
- MedicationDispenseStatus
public static enum MedicationDispenseStatus.ValueSet extends Enum<MedicationDispenseStatus.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDCancelledCOMPLETEDCompletedDECLINEDDeclinedENTERED_IN_ERROREntered in ErrorIN_PROGRESSIn ProgressON_HOLDOn HoldPREPARATIONPreparationSTOPPEDStoppedUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationDispenseStatus.ValueSetfrom(String value)Factory method for creating MedicationDispenseStatus.ValueSet values from a passed string value.Stringvalue()static MedicationDispenseStatus.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationDispenseStatus.ValueSet[]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.ValueSet PREPARATION
PreparationThe 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.
-
IN_PROGRESS
public static final MedicationDispenseStatus.ValueSet IN_PROGRESS
In ProgressThe dispensed product is ready for pickup.
-
CANCELLED
public static final MedicationDispenseStatus.ValueSet CANCELLED
CancelledThe dispensed product was not and will never be picked up by the patient.
-
ON_HOLD
public static final MedicationDispenseStatus.ValueSet ON_HOLD
On HoldThe 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.ValueSet COMPLETED
CompletedThe dispensed product has been picked up.
-
ENTERED_IN_ERROR
public static final MedicationDispenseStatus.ValueSet ENTERED_IN_ERROR
Entered in ErrorThe dispense was entered in error and therefore nullified.
-
STOPPED
public static final MedicationDispenseStatus.ValueSet STOPPED
StoppedActions implied by the dispense have been permanently halted, before all of them occurred.
-
DECLINED
public static final MedicationDispenseStatus.ValueSet DECLINED
DeclinedThe dispense was declined and not performed.
-
UNKNOWN
public static final MedicationDispenseStatus.ValueSet UNKNOWN
UnknownThe 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.
-
-
Method Detail
-
values
public static MedicationDispenseStatus.ValueSet[] 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.ValueSet c : MedicationDispenseStatus.ValueSet.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.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static MedicationDispenseStatus.ValueSet from(String value)
Factory method for creating MedicationDispenseStatus.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-