Package ca.uhn.fhir.model.dstu2.valueset
Enum ObservationStatusEnum
- java.lang.Object
-
- java.lang.Enum<ObservationStatusEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.ObservationStatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ObservationStatusEnum>
public enum ObservationStatusEnum extends Enum<ObservationStatusEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMENDEDDisplay: Amended
Code Value: amended The observation has been modified subsequent to being Final, and is complete and verified by an authorized person.CANCELLEDDisplay: cancelled
Code Value: cancelled The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted").ENTERED_IN_ERRORDisplay: Entered in Error
Code Value: entered-in-error The observation has been withdrawn following previous final release.FINALDisplay: Final
Code Value: final The observation is complete and verified by an authorized person.PRELIMINARYDisplay: Preliminary
Code Value: preliminary This is an initial or interim observation: data may be incomplete or unverified.REGISTEREDDisplay: Registered
Code Value: registered The existence of the observation is registered, but there is no result yet available.UNKNOWN_STATUSDisplay: Unknown Status
Code Value: unknown The observation status is unknown.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<ObservationStatusEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: ObservationStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObservationStatusEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic ObservationStatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ObservationStatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGISTERED
public static final ObservationStatusEnum REGISTERED
Display: Registered
Code Value: registered The existence of the observation is registered, but there is no result yet available.
-
PRELIMINARY
public static final ObservationStatusEnum PRELIMINARY
Display: Preliminary
Code Value: preliminary This is an initial or interim observation: data may be incomplete or unverified.
-
FINAL
public static final ObservationStatusEnum FINAL
Display: Final
Code Value: final The observation is complete and verified by an authorized person.
-
AMENDED
public static final ObservationStatusEnum AMENDED
Display: Amended
Code Value: amended The observation has been modified subsequent to being Final, and is complete and verified by an authorized person.
-
CANCELLED
public static final ObservationStatusEnum CANCELLED
Display: cancelled
Code Value: cancelled The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted").
-
ENTERED_IN_ERROR
public static final ObservationStatusEnum ENTERED_IN_ERROR
Display: Entered in Error
Code Value: entered-in-error The observation has been withdrawn following previous final release.
-
UNKNOWN_STATUS
public static final ObservationStatusEnum UNKNOWN_STATUS
Display: Unknown Status
Code Value: 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".
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: ObservationStatus- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<ObservationStatusEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static ObservationStatusEnum[] 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 (ObservationStatusEnum c : ObservationStatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObservationStatusEnum 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
-
forCode
public static ObservationStatusEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-