Enum MedicationStatementStatus
java.lang.Object
java.lang.Enum<MedicationStatementStatus>
org.hl7.fhir.r4.model.codesystems.MedicationStatementStatus
- All Implemented Interfaces:
Serializable
,Comparable<MedicationStatementStatus>
-
Enum Constant Summary
Enum ConstantDescriptionThe medication is still being taken.The medication is no longer being taken.Some of the actions that are implied by the medication statement may have occurred.The medication may be taken at some time in the future.The medication was not consumed by the patientadded to help the parsersActions implied by the statement have been temporarily halted, but are expected to continue later.Actions implied by the statement have been permanently halted, before all of them occurred.The state of the medication use is not currently known. -
Method Summary
Modifier and TypeMethodDescriptionstatic MedicationStatementStatus
toCode()
static MedicationStatementStatus
Returns the enum constant of this type with the specified name.static MedicationStatementStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
The medication is still being taken. -
COMPLETED
The medication is no longer being taken. -
ENTEREDINERROR
Some of the actions that are implied by the medication statement may have occurred. For example, the patient may have taken some of the medication. Clinical decision support systems should take this status into account. -
INTENDED
The medication may be taken at some time in the future. -
STOPPED
Actions implied by the statement have been permanently halted, before all of them occurred. This should not be used if the statement was entered in error. -
ONHOLD
Actions implied by the statement have been temporarily halted, but are expected to continue later. May also be called 'suspended'. -
UNKNOWN
The state of the medication use is not currently known. -
NOTTAKEN
The medication was not consumed by the patient -
NULL
added to help the parsers
-
-
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 MedicationStatementStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-