Package org.hl7.fhir.r4.model
Enum CodeSystem.PropertyType
- java.lang.Object
-
- java.lang.Enum<CodeSystem.PropertyType>
-
- org.hl7.fhir.r4.model.CodeSystem.PropertyType
-
- All Implemented Interfaces:
Serializable,Comparable<CodeSystem.PropertyType>
- Enclosing class:
- CodeSystem
public static enum CodeSystem.PropertyType extends Enum<CodeSystem.PropertyType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANThe property value is a boolean true | false.CODEThe property value is a code that identifies a concept defined in the code system.CODINGThe property value is a code defined in an external code system.DATETIMEThe property is a date or a date + time.DECIMALThe property value is a decimal number.INTEGERThe property value is a string (often used to assign ranking values to concepts for supporting score assessments).NULLadded to help the parsers with the generic typesSTRINGThe property value is a string.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeSystem.PropertyTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static CodeSystem.PropertyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CodeSystem.PropertyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CODE
public static final CodeSystem.PropertyType CODE
The property value is a code that identifies a concept defined in the code system.
-
CODING
public static final CodeSystem.PropertyType CODING
The property value is a code defined in an external code system. This may be used for translations, but is not the intent.
-
STRING
public static final CodeSystem.PropertyType STRING
The property value is a string.
-
INTEGER
public static final CodeSystem.PropertyType INTEGER
The property value is a string (often used to assign ranking values to concepts for supporting score assessments).
-
BOOLEAN
public static final CodeSystem.PropertyType BOOLEAN
The property value is a boolean true | false.
-
DATETIME
public static final CodeSystem.PropertyType DATETIME
The property is a date or a date + time.
-
DECIMAL
public static final CodeSystem.PropertyType DECIMAL
The property value is a decimal number.
-
NULL
public static final CodeSystem.PropertyType NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static CodeSystem.PropertyType[] 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 (CodeSystem.PropertyType c : CodeSystem.PropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeSystem.PropertyType 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 CodeSystem.PropertyType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-