Package com.ibm.fhir.model.type.code
Class ObservationDataType
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.ObservationDataType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ObservationDataType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObservationDataType.Builderstatic classObservationDataType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ObservationDataTypeBOOLEANbooleanstatic ObservationDataTypeCODEABLE_CONCEPTCodeableConceptstatic ObservationDataTypeDATE_TIMEdateTimestatic ObservationDataTypeINTEGERintegerstatic ObservationDataTypePERIODPeriodstatic ObservationDataTypeQUANTITYQuantitystatic ObservationDataTypeRANGERangestatic ObservationDataTypeRATIORatiostatic ObservationDataTypeSAMPLED_DATASampledDatastatic ObservationDataTypeSTRINGstringstatic ObservationDataTypeTIMEtime
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObservationDataType.Builderbuilder()static Codecode(String value)Inherited factory method for creating ObservationDataType objects from a passed string value.booleanequals(Object obj)ObservationDataType.ValueSetgetValueAsEnumConstant()inthashCode()static ObservationDataTypeof(ObservationDataType.ValueSet value)Factory method for creating ObservationDataType objects from a passed enum value.static ObservationDataTypeof(String value)Factory method for creating ObservationDataType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ObservationDataType objects from a passed string value.ObservationDataType.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
QUANTITY
public static final ObservationDataType QUANTITY
QuantityA measured amount.
-
CODEABLE_CONCEPT
public static final ObservationDataType CODEABLE_CONCEPT
CodeableConceptA coded concept from a reference terminology and/or text.
-
STRING
public static final ObservationDataType STRING
stringA sequence of Unicode characters.
-
BOOLEAN
public static final ObservationDataType BOOLEAN
booleantrue or false.
-
INTEGER
public static final ObservationDataType INTEGER
integerA signed integer.
-
RANGE
public static final ObservationDataType RANGE
RangeA set of values bounded by low and high.
-
RATIO
public static final ObservationDataType RATIO
RatioA ratio of two Quantity values - a numerator and a denominator.
-
SAMPLED_DATA
public static final ObservationDataType SAMPLED_DATA
SampledDataA series of measurements taken by a device.
-
TIME
public static final ObservationDataType TIME
timeA time during the day, in the format hh:mm:ss.
-
DATE_TIME
public static final ObservationDataType 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 PERIOD
PeriodA time range defined by start and end date/time.
-
-
Method Detail
-
getValueAsEnumConstant
public ObservationDataType.ValueSet getValueAsEnumConstant()
-
of
public static ObservationDataType of(ObservationDataType.ValueSet value)
Factory method for creating ObservationDataType objects from a passed enum value.
-
of
public static ObservationDataType of(String value)
Factory method for creating ObservationDataType objects 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
-
string
public static String string(String value)
Inherited factory method for creating ObservationDataType objects 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
-
code
public static Code code(String value)
Inherited factory method for creating ObservationDataType objects 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
-
toBuilder
public ObservationDataType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ObservationDataType.Builder builder()
-
-