
Package org.hl7.fhir.dstu3.model
Enum Observation.ObservationStatus
- java.lang.Object
-
- java.lang.Enum<Observation.ObservationStatus>
-
- org.hl7.fhir.dstu3.model.Observation.ObservationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<Observation.ObservationStatus>
- Enclosing class:
- Observation
public static enum Observation.ObservationStatus extends Enum<Observation.ObservationStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMENDED
Subsequent to being Final, the observation has been modified subsequent.CANCELLED
The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted").CORRECTED
Subsequent to being Final, the observation has been modified to correct an error in the test result.ENTEREDINERROR
The observation has been withdrawn following previous final release.FINAL
The observation is complete.NULL
added to help the parsers with the generic typesPRELIMINARY
This is an initial or interim observation: data may be incomplete or unverified.REGISTERED
The existence of the observation is registered, but there is no result yet available.UNKNOWN
The authoring system does not know which of the status values currently applies for this request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Observation.ObservationStatus
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static Observation.ObservationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static Observation.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 Observation.ObservationStatus REGISTERED
The existence of the observation is registered, but there is no result yet available.
-
PRELIMINARY
public static final Observation.ObservationStatus PRELIMINARY
This is an initial or interim observation: data may be incomplete or unverified.
-
FINAL
public static final Observation.ObservationStatus FINAL
The observation is complete.
-
AMENDED
public static final Observation.ObservationStatus AMENDED
Subsequent to being Final, the observation has been modified subsequent. This includes updates/new information and corrections.
-
CORRECTED
public static final Observation.ObservationStatus CORRECTED
Subsequent to being Final, the observation has been modified to correct an error in the test result.
-
CANCELLED
public static final Observation.ObservationStatus CANCELLED
The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted").
-
ENTEREDINERROR
public static final Observation.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 Observation.ObservationStatus UNKNOWN
The authoring system does not know which of the status values currently applies for this request. Note: This concept is not to be used for "other" - one of the listed statuses is presumed to apply, but the authoring system does not know which.
-
NULL
public static final Observation.ObservationStatus NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static Observation.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 (Observation.ObservationStatus c : Observation.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 Observation.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 Observation.ObservationStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-