Enum MedicationRequestStatus.ValueSet
- java.lang.Object
-
- java.lang.Enum<MedicationRequestStatus.ValueSet>
-
- com.ibm.fhir.model.type.code.MedicationRequestStatus.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationRequestStatus.ValueSet>
- Enclosing class:
- MedicationRequestStatus
public static enum MedicationRequestStatus.ValueSet extends Enum<MedicationRequestStatus.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationRequestStatus.ValueSetfrom(String value)Factory method for creating MedicationRequestStatus.ValueSet values from a passed string value.Stringvalue()static MedicationRequestStatus.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationRequestStatus.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final MedicationRequestStatus.ValueSet ACTIVE
ActiveThe prescription is 'actionable', but not all actions that are implied by it have occurred yet.
-
ON_HOLD
public static final MedicationRequestStatus.ValueSet ON_HOLD
On HoldActions implied by the prescription are to be temporarily halted, but are expected to continue later. May also be called 'suspended'.
-
CANCELLED
public static final MedicationRequestStatus.ValueSet CANCELLED
CancelledThe prescription has been withdrawn before any administrations have occurred
-
COMPLETED
public static final MedicationRequestStatus.ValueSet COMPLETED
CompletedAll actions that are implied by the prescription have occurred.
-
ENTERED_IN_ERROR
public static final MedicationRequestStatus.ValueSet ENTERED_IN_ERROR
Entered in ErrorSome of the actions that are implied by the medication request may have occurred. For example, the medication may have been dispensed and the patient may have taken some of the medication. Clinical decision support systems should take this status into account
-
STOPPED
public static final MedicationRequestStatus.ValueSet STOPPED
StoppedActions implied by the prescription are to be permanently halted, before all of the administrations occurred. This should not be used if the original order was entered in error
-
DRAFT
public static final MedicationRequestStatus.ValueSet DRAFT
DraftThe prescription is not yet 'actionable', e.g. it is a work in progress, requires sign-off, verification or needs to be run through decision support process.
-
UNKNOWN
public static final MedicationRequestStatus.ValueSet UNKNOWN
UnknownThe authoring/source system does not know which of the status values currently applies for this observation. Note: This concept is not to be used for 'other' - one of the listed statuses is presumed to apply, but the authoring/source system does not know which.
-
-
Method Detail
-
values
public static MedicationRequestStatus.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 (MedicationRequestStatus.ValueSet c : MedicationRequestStatus.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 MedicationRequestStatus.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 MedicationRequestStatus.ValueSet from(String value)
Factory method for creating MedicationRequestStatus.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
-
-