Enum MedicationAdministrationStatus.ValueSet
- java.lang.Object
-
- java.lang.Enum<MedicationAdministrationStatus.ValueSet>
-
- com.ibm.fhir.model.type.code.MedicationAdministrationStatus.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationAdministrationStatus.ValueSet>
- Enclosing class:
- MedicationAdministrationStatus
public static enum MedicationAdministrationStatus.ValueSet extends Enum<MedicationAdministrationStatus.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEDCompletedENTERED_IN_ERROREntered in ErrorIN_PROGRESSIn ProgressNOT_DONENot DoneON_HOLDOn HoldSTOPPEDStoppedUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationAdministrationStatus.ValueSetfrom(String value)Factory method for creating MedicationAdministrationStatus.ValueSet values from a passed string value.Stringvalue()static MedicationAdministrationStatus.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationAdministrationStatus.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_PROGRESS
public static final MedicationAdministrationStatus.ValueSet IN_PROGRESS
In ProgressThe administration has started but has not yet completed.
-
NOT_DONE
public static final MedicationAdministrationStatus.ValueSet NOT_DONE
Not DoneThe administration was terminated prior to any impact on the subject (though preparatory actions may have been taken)
-
ON_HOLD
public static final MedicationAdministrationStatus.ValueSet ON_HOLD
On HoldActions implied by the administration have been temporarily halted, but are expected to continue later. May also be called 'suspended'.
-
COMPLETED
public static final MedicationAdministrationStatus.ValueSet COMPLETED
CompletedAll actions that are implied by the administration have occurred.
-
ENTERED_IN_ERROR
public static final MedicationAdministrationStatus.ValueSet ENTERED_IN_ERROR
Entered in ErrorThe administration was entered in error and therefore nullified.
-
STOPPED
public static final MedicationAdministrationStatus.ValueSet STOPPED
StoppedActions implied by the administration have been permanently halted, before all of them occurred.
-
UNKNOWN
public static final MedicationAdministrationStatus.ValueSet UNKNOWN
UnknownThe authoring 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, it's just not known which one.
-
-
Method Detail
-
values
public static MedicationAdministrationStatus.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 (MedicationAdministrationStatus.ValueSet c : MedicationAdministrationStatus.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 MedicationAdministrationStatus.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 MedicationAdministrationStatus.ValueSet from(String value)
Factory method for creating MedicationAdministrationStatus.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
-
-