Enum MedicationrequestStatus
- java.lang.Object
-
- java.lang.Enum<MedicationrequestStatus>
-
- org.hl7.fhir.r4.model.codesystems.MedicationrequestStatus
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationrequestStatus>
public enum MedicationrequestStatus extends Enum<MedicationrequestStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEThe prescription is 'actionable', but not all actions that are implied by it have occurred yet.CANCELLEDThe prescription has been withdrawn before any administrations have occurredCOMPLETEDAll actions that are implied by the prescription have occurred.DRAFTThe prescription is not yet 'actionable', e.g.ENTEREDINERRORSome of the actions that are implied by the medication request may have occurred.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 the administrations occurred.UNKNOWNThe authoring/source system does not know which of the status values currently applies for this observation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationrequestStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static MedicationrequestStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static 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 MedicationrequestStatus ACTIVE
The prescription is 'actionable', but not all actions that are implied by it have occurred yet.
-
ONHOLD
public static final 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 MedicationrequestStatus CANCELLED
The prescription has been withdrawn before any administrations have occurred
-
COMPLETED
public static final MedicationrequestStatus COMPLETED
All actions that are implied by the prescription have occurred.
-
ENTEREDINERROR
public static final MedicationrequestStatus ENTEREDINERROR
Some 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 STOPPED
Actions 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 DRAFT
The 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 UNKNOWN
The 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.
-
NULL
public static final MedicationrequestStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static 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 (MedicationrequestStatus c : 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 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 MedicationrequestStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-