Enum ObservationStatus
- java.lang.Object
-
- java.lang.Enum<ObservationStatus>
-
- org.hl7.fhir.r4.model.codesystems.ObservationStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ObservationStatus>
public enum ObservationStatus extends Enum<ObservationStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMENDEDSubsequent to being Final, the observation has been modified subsequent.CANCELLEDThe observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted").CORRECTEDSubsequent to being Final, the observation has been modified to correct an error in the test result.ENTEREDINERRORThe observation has been withdrawn following previous final release.FINALThe observation is complete and there are no further actions needed.NULLadded to help the parsersPRELIMINARYThis is an initial or interim observation: data may be incomplete or unverified.REGISTEREDThe existence of the observation is registered, but there is no result yet available.UNKNOWNThe authoring/source system does not know which of the status values currently applies for this observation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObservationStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static ObservationStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ObservationStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 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 AMENDED
Subsequent to being Final, the observation has been modified subsequent. This includes updates/new information and corrections.
-
CORRECTED
public static final ObservationStatus CORRECTED
Subsequent to being Final, the observation has been modified to correct an error in the test result.
-
CANCELLED
public static final ObservationStatus CANCELLED
The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted").
-
ENTEREDINERROR
public static final ObservationStatus ENTEREDINERROR
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 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.
-
NULL
public static final ObservationStatus NULL
added to help the parsers
-
-
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 nameNullPointerException- if the argument is null
-
fromCode
public static ObservationStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-