Package ca.uhn.fhir.model.dstu2.valueset
Enum MedicationDispenseStatusEnum
- java.lang.Object
-
- java.lang.Enum<MedicationDispenseStatusEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.MedicationDispenseStatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationDispenseStatusEnum>
public enum MedicationDispenseStatusEnum extends Enum<MedicationDispenseStatusEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEDDisplay: Completed
Code Value: completed All actions that are implied by the dispense have occurred.ENTERED_IN_ERRORDisplay: Entered in-Error
Code Value: entered-in-error The dispense was entered in error and therefore nullified.IN_PROGRESSDisplay: In Progress
Code Value: in-progress The dispense has started but has not yet completed.ON_HOLDDisplay: On Hold
Code Value: on-hold Actions implied by the administration have been temporarily halted, but are expected to continue later.STOPPEDDisplay: Stopped
Code Value: stopped Actions implied by the dispense have been permanently halted, before all of them occurred.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<MedicationDispenseStatusEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: MedicationDispenseStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationDispenseStatusEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic MedicationDispenseStatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationDispenseStatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_PROGRESS
public static final MedicationDispenseStatusEnum IN_PROGRESS
Display: In Progress
Code Value: in-progress The dispense has started but has not yet completed.
-
ON_HOLD
public static final MedicationDispenseStatusEnum ON_HOLD
Display: On Hold
Code Value: on-hold Actions implied by the administration have been temporarily halted, but are expected to continue later. May also be called "suspended"
-
COMPLETED
public static final MedicationDispenseStatusEnum COMPLETED
Display: Completed
Code Value: completed All actions that are implied by the dispense have occurred.
-
ENTERED_IN_ERROR
public static final MedicationDispenseStatusEnum ENTERED_IN_ERROR
Display: Entered in-Error
Code Value: entered-in-error The dispense was entered in error and therefore nullified.
-
STOPPED
public static final MedicationDispenseStatusEnum STOPPED
Display: Stopped
Code Value: stopped Actions implied by the dispense have been permanently halted, before all of them occurred.
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: MedicationDispenseStatus- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<MedicationDispenseStatusEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static MedicationDispenseStatusEnum[] 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 (MedicationDispenseStatusEnum c : MedicationDispenseStatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MedicationDispenseStatusEnum 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
-
forCode
public static MedicationDispenseStatusEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-