Package org.hl7.fhir.dstu2.model
Enum Observation.ObservationRelationshipType
- java.lang.Object
-
- java.lang.Enum<Observation.ObservationRelationshipType>
-
- org.hl7.fhir.dstu2.model.Observation.ObservationRelationshipType
-
- All Implemented Interfaces:
Serializable,Comparable<Observation.ObservationRelationshipType>
- Enclosing class:
- Observation
public static enum Observation.ObservationRelationshipType extends Enum<Observation.ObservationRelationshipType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DERIVEDFROMThe target resource (Observation or QuestionnaireResponse) is part of the information from which this observation value is derived.HASMEMBERThis observation is a group observation (e.g.INTERFEREDBYThe value of the target observation interferes (degrades quality, or prevents valid observation) with the semantics of the source observation (e.g.NULLadded to help the parsersQUALIFIEDBYThe value of the target observation qualifies (refines) the semantics of the source observation (e.g.REPLACESThis observation replaces a previous observation (i.e.SEQUELTOThis observation follows the target observation (e.g.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Observation.ObservationRelationshipTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Observation.ObservationRelationshipTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Observation.ObservationRelationshipType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HASMEMBER
public static final Observation.ObservationRelationshipType HASMEMBER
This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.
-
DERIVEDFROM
public static final Observation.ObservationRelationshipType DERIVEDFROM
The target resource (Observation or QuestionnaireResponse) is part of the information from which this observation value is derived. (e.g. calculated anion gap, Apgar score) NOTE: "derived-from" is only logical choice when referencing QuestionnaireResponse.
-
SEQUELTO
public static final Observation.ObservationRelationshipType SEQUELTO
This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test).
-
REPLACES
public static final Observation.ObservationRelationshipType REPLACES
This observation replaces a previous observation (i.e. a revised value). The target observation is now obsolete.
-
QUALIFIEDBY
public static final Observation.ObservationRelationshipType QUALIFIEDBY
The value of the target observation qualifies (refines) the semantics of the source observation (e.g. a lipemia measure target from a plasma measure).
-
INTERFEREDBY
public static final Observation.ObservationRelationshipType INTERFEREDBY
The value of the target observation interferes (degrades quality, or prevents valid observation) with the semantics of the source observation (e.g. a hemolysis measure target from a plasma potassium measure which has no value).
-
NULL
public static final Observation.ObservationRelationshipType NULL
added to help the parsers
-
-
Method Detail
-
values
public static Observation.ObservationRelationshipType[] 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.ObservationRelationshipType c : Observation.ObservationRelationshipType.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.ObservationRelationshipType 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.ObservationRelationshipType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-