Class MedicationRequestStatus
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.MedicationRequestStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class MedicationRequestStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicationRequestStatus.Builderstatic classMedicationRequestStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static MedicationRequestStatusACTIVEActivestatic MedicationRequestStatusCANCELLEDCancelledstatic MedicationRequestStatusCOMPLETEDCompletedstatic MedicationRequestStatusDRAFTDraftstatic MedicationRequestStatusENTERED_IN_ERROREntered in Errorstatic MedicationRequestStatusON_HOLDOn Holdstatic MedicationRequestStatusSTOPPEDStoppedstatic MedicationRequestStatusUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationRequestStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating MedicationRequestStatus objects from a passed string value.booleanequals(Object obj)MedicationRequestStatus.ValueSetgetValueAsEnumConstant()inthashCode()static MedicationRequestStatusof(MedicationRequestStatus.ValueSet value)Factory method for creating MedicationRequestStatus objects from a passed enum value.static MedicationRequestStatusof(String value)Factory method for creating MedicationRequestStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating MedicationRequestStatus objects from a passed string value.MedicationRequestStatus.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
ACTIVE
public static final MedicationRequestStatus ACTIVE
ActiveThe prescription is 'actionable', but not all actions that are implied by it have occurred yet.
-
ON_HOLD
public static final MedicationRequestStatus 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 CANCELLED
CancelledThe prescription has been withdrawn before any administrations have occurred
-
COMPLETED
public static final MedicationRequestStatus COMPLETED
CompletedAll actions that are implied by the prescription have occurred.
-
ENTERED_IN_ERROR
public static final MedicationRequestStatus 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 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 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 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
-
getValueAsEnumConstant
public MedicationRequestStatus.ValueSet getValueAsEnumConstant()
-
of
public static MedicationRequestStatus of(MedicationRequestStatus.ValueSet value)
Factory method for creating MedicationRequestStatus objects from a passed enum value.
-
of
public static MedicationRequestStatus of(String value)
Factory method for creating MedicationRequestStatus objects 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
-
string
public static String string(String value)
Inherited factory method for creating MedicationRequestStatus objects 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
-
code
public static Code code(String value)
Inherited factory method for creating MedicationRequestStatus objects 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
-
toBuilder
public MedicationRequestStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static MedicationRequestStatus.Builder builder()
-
-