Package ca.uhn.fhir.model.dstu2.valueset
Enum MedicationOrderStatusEnum
- java.lang.Object
-
- java.lang.Enum<MedicationOrderStatusEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.MedicationOrderStatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationOrderStatusEnum>
public enum MedicationOrderStatusEnum extends Enum<MedicationOrderStatusEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEDisplay: Active
Code Value: active The prescription is 'actionable', but not all actions that are implied by it have occurred yet.COMPLETEDDisplay: Completed
Code Value: completed All actions that are implied by the prescription have occurred.DRAFTDisplay: Draft
Code Value: draft The prescription is not yet 'actionable', i.e.ENTERED_IN_ERRORDisplay: Entered In Error
Code Value: entered-in-error The prescription was entered in error.ON_HOLDDisplay: On Hold
Code Value: on-hold Actions implied by the prescription are to be temporarily halted, but are expected to continue later.STOPPEDDisplay: Stopped
Code Value: stopped Actions implied by the prescription are to be permanently halted, before all of them occurred.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<MedicationOrderStatusEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: MedicationOrderStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationOrderStatusEnumforCode(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 MedicationOrderStatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationOrderStatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final MedicationOrderStatusEnum ACTIVE
Display: Active
Code Value: active The prescription is 'actionable', but not all actions that are implied by it have occurred yet.
-
ON_HOLD
public static final MedicationOrderStatusEnum ON_HOLD
Display: On Hold
Code Value: on-hold Actions implied by the prescription are to be temporarily halted, but are expected to continue later. May also be called "suspended".
-
COMPLETED
public static final MedicationOrderStatusEnum COMPLETED
Display: Completed
Code Value: completed All actions that are implied by the prescription have occurred.
-
ENTERED_IN_ERROR
public static final MedicationOrderStatusEnum ENTERED_IN_ERROR
Display: Entered In Error
Code Value: entered-in-error The prescription was entered in error.
-
STOPPED
public static final MedicationOrderStatusEnum STOPPED
Display: Stopped
Code Value: stopped Actions implied by the prescription are to be permanently halted, before all of them occurred.
-
DRAFT
public static final MedicationOrderStatusEnum DRAFT
Display: Draft
Code Value: draft The prescription is not yet 'actionable', i.e. it is a work in progress, requires sign-off or verification, and needs to be run through decision support process.
-
-
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: MedicationOrderStatus- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<MedicationOrderStatusEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static MedicationOrderStatusEnum[] 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 (MedicationOrderStatusEnum c : MedicationOrderStatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MedicationOrderStatusEnum 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 MedicationOrderStatusEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-