Package com.ibm.fhir.model.type.code
Enum MedicationStatementStatus.ValueSet
- java.lang.Object
-
- java.lang.Enum<MedicationStatementStatus.ValueSet>
-
- com.ibm.fhir.model.type.code.MedicationStatementStatus.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationStatementStatus.ValueSet>
- Enclosing class:
- MedicationStatementStatus
public static enum MedicationStatementStatus.ValueSet extends Enum<MedicationStatementStatus.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationStatementStatus.ValueSetfrom(String value)Factory method for creating MedicationStatementStatus.ValueSet values from a passed string value.Stringvalue()static MedicationStatementStatus.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationStatementStatus.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final MedicationStatementStatus.ValueSet ACTIVE
ActiveThe medication is still being taken.
-
COMPLETED
public static final MedicationStatementStatus.ValueSet COMPLETED
CompletedThe medication is no longer being taken.
-
ENTERED_IN_ERROR
public static final MedicationStatementStatus.ValueSet ENTERED_IN_ERROR
Entered in ErrorSome 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
public static final MedicationStatementStatus.ValueSet INTENDED
IntendedThe medication may be taken at some time in the future.
-
STOPPED
public static final MedicationStatementStatus.ValueSet STOPPED
StoppedActions 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.
-
ON_HOLD
public static final MedicationStatementStatus.ValueSet ON_HOLD
On HoldActions implied by the statement have been temporarily halted, but are expected to continue later. May also be called 'suspended'.
-
UNKNOWN
public static final MedicationStatementStatus.ValueSet UNKNOWN
UnknownThe state of the medication use is not currently known.
-
NOT_TAKEN
public static final MedicationStatementStatus.ValueSet NOT_TAKEN
Not TakenThe medication was not consumed by the patient
-
-
Method Detail
-
values
public static MedicationStatementStatus.ValueSet[] 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 (MedicationStatementStatus.ValueSet c : MedicationStatementStatus.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MedicationStatementStatus.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static MedicationStatementStatus.ValueSet from(String value)
Factory method for creating MedicationStatementStatus.ValueSet values 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
-
-