Enum StructureDefinitionKind
- java.lang.Object
-
- java.lang.Enum<StructureDefinitionKind>
-
- org.hl7.fhir.dstu2016may.model.codesystems.StructureDefinitionKind
-
- All Implemented Interfaces:
Serializable,Comparable<StructureDefinitionKind>
public enum StructureDefinitionKind extends Enum<StructureDefinitionKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATATYPEA data type - either a primitive or complex structure that defines a set of data elements.LOGICALA logical model - a conceptual package of data that will be mapped to resources for implementation.NULLadded to help the parsersRESOURCEA resource defined by the FHIR specification.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructureDefinitionKindfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static StructureDefinitionKindvalueOf(String name)Returns the enum constant of this type with the specified name.static StructureDefinitionKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATATYPE
public static final StructureDefinitionKind DATATYPE
A data type - either a primitive or complex structure that defines a set of data elements. These can be used throughout Resource and extension definitions.
-
RESOURCE
public static final StructureDefinitionKind RESOURCE
A resource defined by the FHIR specification.
-
LOGICAL
public static final StructureDefinitionKind LOGICAL
A logical model - a conceptual package of data that will be mapped to resources for implementation.
-
NULL
public static final StructureDefinitionKind NULL
added to help the parsers
-
-
Method Detail
-
values
public static StructureDefinitionKind[] 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 (StructureDefinitionKind c : StructureDefinitionKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StructureDefinitionKind 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 StructureDefinitionKind fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-