
Package org.hl7.fhir.dstu3.model
Enum MedicationRequest.MedicationRequestStatus
- java.lang.Object
-
- java.lang.Enum<MedicationRequest.MedicationRequestStatus>
-
- org.hl7.fhir.dstu3.model.MedicationRequest.MedicationRequestStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<MedicationRequest.MedicationRequestStatus>
- Enclosing class:
- MedicationRequest
public static enum MedicationRequest.MedicationRequestStatus extends Enum<MedicationRequest.MedicationRequestStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The prescription is 'actionable', but not all actions that are implied by it have occurred yet.CANCELLED
The prescription has been withdrawn.COMPLETED
All actions that are implied by the prescription have occurred.DRAFT
The prescription is not yet 'actionable', i.e.ENTEREDINERROR
The prescription was entered in error.NULL
added to help the parsers with the generic typesONHOLD
Actions implied by the prescription are to be temporarily halted, but are expected to continue later.STOPPED
Actions implied by the prescription are to be permanently halted, before all of them occurred.UNKNOWN
The authoring system does not know which of the status values currently applies for this request
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationRequest.MedicationRequestStatus
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static MedicationRequest.MedicationRequestStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static MedicationRequest.MedicationRequestStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final MedicationRequest.MedicationRequestStatus ACTIVE
The prescription is 'actionable', but not all actions that are implied by it have occurred yet.
-
ONHOLD
public static final MedicationRequest.MedicationRequestStatus ONHOLD
Actions implied by the prescription are to be temporarily halted, but are expected to continue later. May also be called "suspended".
-
CANCELLED
public static final MedicationRequest.MedicationRequestStatus CANCELLED
The prescription has been withdrawn.
-
COMPLETED
public static final MedicationRequest.MedicationRequestStatus COMPLETED
All actions that are implied by the prescription have occurred.
-
ENTEREDINERROR
public static final MedicationRequest.MedicationRequestStatus ENTEREDINERROR
The prescription was entered in error.
-
STOPPED
public static final MedicationRequest.MedicationRequestStatus STOPPED
Actions implied by the prescription are to be permanently halted, before all of them occurred.
-
DRAFT
public static final MedicationRequest.MedicationRequestStatus 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.
-
UNKNOWN
public static final MedicationRequest.MedicationRequestStatus UNKNOWN
The authoring system does not know which of the status values currently applies for this request
-
NULL
public static final MedicationRequest.MedicationRequestStatus NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static MedicationRequest.MedicationRequestStatus[] 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 (MedicationRequest.MedicationRequestStatus c : MedicationRequest.MedicationRequestStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MedicationRequest.MedicationRequestStatus 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 MedicationRequest.MedicationRequestStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-