Enum MedicationOrderStatus

    • Enum Constant Detail

      • ACTIVE

        public static final MedicationOrderStatus ACTIVE
        The prescription is 'actionable', but not all actions that are implied by it have occurred yet.
      • ONHOLD

        public static final MedicationOrderStatus ONHOLD
        Actions implied by the prescription are to be temporarily halted, but are expected to continue later. May also be called "suspended".
      • STOPPED

        public static final MedicationOrderStatus STOPPED
        Actions implied by the prescription are to be permanently halted, before all of them occurred.
      • DRAFT

        public static final MedicationOrderStatus DRAFT
        The prescription is not yet 'actionable', i.e. it is a work in progress, requires sign-off or verification, and needs to be run through decision support process.
    • Method Detail

      • values

        public static MedicationOrderStatus[] 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 (MedicationOrderStatus c : MedicationOrderStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MedicationOrderStatus 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