Enum MedicationDispenseStatus.ValueSet

    • Enum Constant Detail

      • PREPARATION

        public static final MedicationDispenseStatus.ValueSet PREPARATION
        Preparation

        The core event has not started yet, but some staging activities have begun (e.g. initial compounding or packaging of medication). Preparation stages may be tracked for billing purposes.

      • ON_HOLD

        public static final MedicationDispenseStatus.ValueSet ON_HOLD
        On Hold

        The dispense process is paused while waiting for an external event to reactivate the dispense. For example, new stock has arrived or the prescriber has called.

      • ENTERED_IN_ERROR

        public static final MedicationDispenseStatus.ValueSet ENTERED_IN_ERROR
        Entered in Error

        The dispense was entered in error and therefore nullified.

      • STOPPED

        public static final MedicationDispenseStatus.ValueSet STOPPED
        Stopped

        Actions implied by the dispense have been permanently halted, before all of them occurred.

      • UNKNOWN

        public static final MedicationDispenseStatus.ValueSet UNKNOWN
        Unknown

        The authoring system does not know which of the status values applies for this medication dispense. Note: this concept is not to be used for other - one of the listed statuses is presumed to apply, it's just now known which one.

    • Method Detail

      • values

        public static MedicationDispenseStatus.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 (MedicationDispenseStatus.ValueSet c : MedicationDispenseStatus.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 MedicationDispenseStatus.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 name
        NullPointerException - 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 MedicationDispenseStatus.ValueSet from​(String value)
        Factory method for creating MedicationDispenseStatus.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