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