Package org.hl7.fhir.r5.model
Enum MedicationRequest.MedicationrequestStatus
java.lang.Object
java.lang.Enum<MedicationRequest.MedicationrequestStatus>
org.hl7.fhir.r5.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 ConstantDescriptionThe request is 'actionable', but not all actions that are implied by it have occurred yet.The request has been withdrawn before any administrations have occurredAll actions that are implied by the request have occurred.The request is not yet 'actionable', e.g.The request is no longer active and the subject should no longer be taking the medication.The request was recorded against the wrong patient or for some reason should not have been recorded (e.g.added to help the parsers with the generic typesActions implied by the request are to be temporarily halted.Actions implied by the request are to be permanently halted, before all of the administrations occurred.The authoring/source system does not know which of the status values currently applies for this request. -
Method Summary
-
Enum Constant Details
-
ACTIVE
The request is 'actionable', but not all actions that are implied by it have occurred yet. -
ONHOLD
Actions implied by the request are to be temporarily halted. The request might or might not be resumed. May also be called 'suspended'. -
ENDED
The request is no longer active and the subject should no longer be taking the medication. -
STOPPED
Actions implied by the request are to be permanently halted, before all of the administrations occurred. This should not be used if the original order was entered in error -
COMPLETED
All actions that are implied by the request have occurred. -
CANCELLED
The request has been withdrawn before any administrations have occurred -
ENTEREDINERROR
The request was recorded against the wrong patient or for some reason should not have been recorded (e.g. wrong medication, wrong dose, etc.). 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. -
DRAFT
The request 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
The authoring/source system does not know which of the status values currently applies for this request. 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
added to help the parsers with the generic types
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-