Enum MedicationStatementStatus.ValueSet

    • Enum Constant Detail

      • ENTERED_IN_ERROR

        public static final MedicationStatementStatus.ValueSet ENTERED_IN_ERROR
        Entered in Error

        Some 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.

      • STOPPED

        public static final MedicationStatementStatus.ValueSet STOPPED
        Stopped

        Actions 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 Hold

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

    • 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 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 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