Enum ObservationStatus.ValueSet

    • Enum Constant Detail

      • REGISTERED

        public static final ObservationStatus.ValueSet REGISTERED
        Registered

        The existence of the observation is registered, but there is no result yet available.

      • PRELIMINARY

        public static final ObservationStatus.ValueSet PRELIMINARY
        Preliminary

        This is an initial or interim observation: data may be incomplete or unverified.

      • FINAL

        public static final ObservationStatus.ValueSet FINAL
        Final

        The observation is complete and there are no further actions needed. Additional information such "released", "signed", etc would be represented using [Provenance](provenance.html) which provides not only the act but also the actors and dates and other related data. These act states would be associated with an observation status of `preliminary` until they are all completed and then a status of `final` would be applied.

      • AMENDED

        public static final ObservationStatus.ValueSet AMENDED
        Amended

        Subsequent to being Final, the observation has been modified subsequent. This includes updates/new information and corrections.

      • CORRECTED

        public static final ObservationStatus.ValueSet CORRECTED
        Corrected

        Subsequent to being Final, the observation has been modified to correct an error in the test result.

      • CANCELLED

        public static final ObservationStatus.ValueSet CANCELLED
        Cancelled

        The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted").

      • ENTERED_IN_ERROR

        public static final ObservationStatus.ValueSet ENTERED_IN_ERROR
        Entered in Error

        The observation has been withdrawn following previous final release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be "cancelled" rather than "entered-in-error".).

      • UNKNOWN

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