Package org.hl7.fhir.r4.model
Enum ObservationDefinition.ObservationDataType
- java.lang.Object
-
- java.lang.Enum<ObservationDefinition.ObservationDataType>
-
- org.hl7.fhir.r4.model.ObservationDefinition.ObservationDataType
-
- All Implemented Interfaces:
Serializable,Comparable<ObservationDefinition.ObservationDataType>
- Enclosing class:
- ObservationDefinition
public static enum ObservationDefinition.ObservationDataType extends Enum<ObservationDefinition.ObservationDataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANtrue or false.CODEABLECONCEPTA coded concept from a reference terminology and/or text.DATETIMEA date, date-time or partial date (e.g.INTEGERA signed integer.NULLadded to help the parsers with the generic typesPERIODA time range defined by start and end date/time.QUANTITYA measured amount.RANGEA set of values bounded by low and high.RATIOA ratio of two Quantity values - a numerator and a denominator.SAMPLEDDATAA series of measurements taken by a device.STRINGA sequence of Unicode characters.TIMEA time during the day, in the format hh:mm:ss.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObservationDefinition.ObservationDataTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static ObservationDefinition.ObservationDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ObservationDefinition.ObservationDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUANTITY
public static final ObservationDefinition.ObservationDataType QUANTITY
A measured amount.
-
CODEABLECONCEPT
public static final ObservationDefinition.ObservationDataType CODEABLECONCEPT
A coded concept from a reference terminology and/or text.
-
STRING
public static final ObservationDefinition.ObservationDataType STRING
A sequence of Unicode characters.
-
BOOLEAN
public static final ObservationDefinition.ObservationDataType BOOLEAN
true or false.
-
INTEGER
public static final ObservationDefinition.ObservationDataType INTEGER
A signed integer.
-
RANGE
public static final ObservationDefinition.ObservationDataType RANGE
A set of values bounded by low and high.
-
RATIO
public static final ObservationDefinition.ObservationDataType RATIO
A ratio of two Quantity values - a numerator and a denominator.
-
SAMPLEDDATA
public static final ObservationDefinition.ObservationDataType SAMPLEDDATA
A series of measurements taken by a device.
-
TIME
public static final ObservationDefinition.ObservationDataType TIME
A time during the day, in the format hh:mm:ss.
-
DATETIME
public static final ObservationDefinition.ObservationDataType DATETIME
A date, date-time or partial date (e.g. just year or year + month) as used in human communication.
-
PERIOD
public static final ObservationDefinition.ObservationDataType PERIOD
A time range defined by start and end date/time.
-
NULL
public static final ObservationDefinition.ObservationDataType NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static ObservationDefinition.ObservationDataType[] 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 (ObservationDefinition.ObservationDataType c : ObservationDefinition.ObservationDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObservationDefinition.ObservationDataType 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 ObservationDefinition.ObservationDataType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-