Enum ObservationStatus

    • Enum Constant Detail

      • REGISTERED

        public static final ObservationStatus REGISTERED
        The existence of the observation is registered, but there is no result yet available.
      • PRELIMINARY

        public static final ObservationStatus PRELIMINARY
        This is an initial or interim observation: data may be incomplete or unverified.
      • FINAL

        public static final ObservationStatus FINAL
        The observation is complete and verified by an authorized person (who may be the same person who entered the observation based on policy).
      • AMENDED

        public static final ObservationStatus AMENDED
        The observation has been modified subsequent to being Final, and is complete and verified by an authorized person.
      • CANCELLED

        public static final ObservationStatus CANCELLED
        The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted").
      • UNKNOWN

        public static final ObservationStatus UNKNOWN
        The observation status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown".
    • Method Detail

      • values

        public static ObservationStatus[] 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 c : ObservationStatus.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 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
      • fromCode

        public static ObservationStatus fromCode​(String codeString)
                                          throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException