Package org.hl7.fhir.r4.model
Enum MedicationStatement.MedicationStatementStatus
java.lang.Object
java.lang.Enum<MedicationStatement.MedicationStatementStatus>
org.hl7.fhir.r4.model.MedicationStatement.MedicationStatementStatus
- All Implemented Interfaces:
Serializable
,Comparable<MedicationStatement.MedicationStatementStatus>
- Enclosing class:
MedicationStatement
public static enum MedicationStatement.MedicationStatementStatus
extends Enum<MedicationStatement.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 parsers with the generic typesActions 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
-
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 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 MedicationStatement.MedicationStatementStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-