Package org.hl7.fhir.dstu2.model
Enum MedicationOrder.MedicationOrderStatus
- java.lang.Object
-
- java.lang.Enum<MedicationOrder.MedicationOrderStatus>
-
- org.hl7.fhir.dstu2.model.MedicationOrder.MedicationOrderStatus
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationOrder.MedicationOrderStatus>
- Enclosing class:
- MedicationOrder
public static enum MedicationOrder.MedicationOrderStatus extends Enum<MedicationOrder.MedicationOrderStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEThe prescription is 'actionable', but not all actions that are implied by it have occurred yet.COMPLETEDAll actions that are implied by the prescription have occurred.DRAFTThe prescription is not yet 'actionable', i.e.ENTEREDINERRORThe prescription was entered in error.NULLadded to help the parsersONHOLDActions implied by the prescription are to be temporarily halted, but are expected to continue later.STOPPEDActions implied by the prescription are to be permanently halted, before all of them occurred.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationOrder.MedicationOrderStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static MedicationOrder.MedicationOrderStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationOrder.MedicationOrderStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final MedicationOrder.MedicationOrderStatus ACTIVE
The prescription is 'actionable', but not all actions that are implied by it have occurred yet.
-
ONHOLD
public static final MedicationOrder.MedicationOrderStatus ONHOLD
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 MedicationOrder.MedicationOrderStatus COMPLETED
All actions that are implied by the prescription have occurred.
-
ENTEREDINERROR
public static final MedicationOrder.MedicationOrderStatus ENTEREDINERROR
The prescription was entered in error.
-
STOPPED
public static final MedicationOrder.MedicationOrderStatus STOPPED
Actions implied by the prescription are to be permanently halted, before all of them occurred.
-
DRAFT
public static final MedicationOrder.MedicationOrderStatus 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.
-
NULL
public static final MedicationOrder.MedicationOrderStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static MedicationOrder.MedicationOrderStatus[] 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 (MedicationOrder.MedicationOrderStatus c : MedicationOrder.MedicationOrderStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MedicationOrder.MedicationOrderStatus 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 MedicationOrder.MedicationOrderStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-