Package com.ibm.fhir.model.type.code
Enum ObservationDataType.ValueSet
- java.lang.Object
-
- java.lang.Enum<ObservationDataType.ValueSet>
-
- com.ibm.fhir.model.type.code.ObservationDataType.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<ObservationDataType.ValueSet>
- Enclosing class:
- ObservationDataType
public static enum ObservationDataType.ValueSet extends Enum<ObservationDataType.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObservationDataType.ValueSetfrom(String value)Factory method for creating ObservationDataType.ValueSet values from a passed string value.Stringvalue()static ObservationDataType.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static ObservationDataType.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUANTITY
public static final ObservationDataType.ValueSet QUANTITY
QuantityA measured amount.
-
CODEABLE_CONCEPT
public static final ObservationDataType.ValueSet CODEABLE_CONCEPT
CodeableConceptA coded concept from a reference terminology and/or text.
-
STRING
public static final ObservationDataType.ValueSet STRING
stringA sequence of Unicode characters.
-
BOOLEAN
public static final ObservationDataType.ValueSet BOOLEAN
booleantrue or false.
-
INTEGER
public static final ObservationDataType.ValueSet INTEGER
integerA signed integer.
-
RANGE
public static final ObservationDataType.ValueSet RANGE
RangeA set of values bounded by low and high.
-
RATIO
public static final ObservationDataType.ValueSet RATIO
RatioA ratio of two Quantity values - a numerator and a denominator.
-
SAMPLED_DATA
public static final ObservationDataType.ValueSet SAMPLED_DATA
SampledDataA series of measurements taken by a device.
-
TIME
public static final ObservationDataType.ValueSet TIME
timeA time during the day, in the format hh:mm:ss.
-
DATE_TIME
public static final ObservationDataType.ValueSet DATE_TIME
dateTimeA date, date-time or partial date (e.g. just year or year + month) as used in human communication.
-
PERIOD
public static final ObservationDataType.ValueSet PERIOD
PeriodA time range defined by start and end date/time.
-
-
Method Detail
-
values
public static ObservationDataType.ValueSet[] 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 (ObservationDataType.ValueSet c : ObservationDataType.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObservationDataType.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static ObservationDataType.ValueSet from(String value)
Factory method for creating ObservationDataType.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-