Enum MedicationRequestStatus.ValueSet

    • Enum Constant Detail

      • ACTIVE

        public static final MedicationRequestStatus.ValueSet ACTIVE
        Active

        The prescription is 'actionable', but not all actions that are implied by it have occurred yet.

      • ON_HOLD

        public static final MedicationRequestStatus.ValueSet ON_HOLD
        On Hold

        Actions implied by the prescription are to be temporarily halted, but are expected to continue later. May also be called 'suspended'.

      • CANCELLED

        public static final MedicationRequestStatus.ValueSet CANCELLED
        Cancelled

        The prescription has been withdrawn before any administrations have occurred

      • ENTERED_IN_ERROR

        public static final MedicationRequestStatus.ValueSet ENTERED_IN_ERROR
        Entered in Error

        Some of the actions that are implied by the medication request may have occurred. For example, the medication may have been dispensed and the patient may have taken some of the medication. Clinical decision support systems should take this status into account

      • STOPPED

        public static final MedicationRequestStatus.ValueSet STOPPED
        Stopped

        Actions implied by the prescription are to be permanently halted, before all of the administrations occurred. This should not be used if the original order was entered in error

      • DRAFT

        public static final MedicationRequestStatus.ValueSet DRAFT
        Draft

        The prescription is not yet 'actionable', e.g. it is a work in progress, requires sign-off, verification or needs to be run through decision support process.

      • UNKNOWN

        public static final MedicationRequestStatus.ValueSet UNKNOWN
        Unknown

        The authoring/source system does not know which of the status values currently applies for this observation. Note: This concept is not to be used for 'other' - one of the listed statuses is presumed to apply, but the authoring/source system does not know which.

    • Method Detail

      • values

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