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