Enum StructureDefinitionKind
- java.lang.Object
-
- java.lang.Enum<StructureDefinitionKind>
-
- org.hl7.fhir.r4.model.codesystems.StructureDefinitionKind
-
- All Implemented Interfaces:
Serializable,Comparable<StructureDefinitionKind>
public enum StructureDefinitionKind extends Enum<StructureDefinitionKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLEXTYPEA complex structure that defines a set of data elements that is suitable for use in 'resources'.LOGICALA pattern or a template that is not intended to be a real resource or complex type.NULLadded to help the parsersPRIMITIVETYPEA primitive type that has a value and an extension.RESOURCEA 'resource' - a directed acyclic graph of elements that aggregrates other types into an identifiable entity.
-
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
-
PRIMITIVETYPE
public static final StructureDefinitionKind PRIMITIVETYPE
A primitive type that has a value and an extension. These can be used throughout complex datatype, Resource and extension definitions. Only the base specification can define primitive types.
-
COMPLEXTYPE
public static final StructureDefinitionKind COMPLEXTYPE
A complex structure that defines a set of data elements that is suitable for use in 'resources'. The base specification defines a number of complex types, and other specifications can define additional types. These structures do not have a maintained identity.
-
RESOURCE
public static final StructureDefinitionKind RESOURCE
A 'resource' - a directed acyclic graph of elements that aggregrates other types into an identifiable entity. The base FHIR resources are defined by the FHIR specification itself but other 'resources' can be defined in additional specifications (though these will not be recognised as 'resources' by the FHIR specification (i.e. they do not get end-points etc, or act as the targets of references in FHIR defined resources - though other specificatiosn can treat them this way).
-
LOGICAL
public static final StructureDefinitionKind LOGICAL
A pattern or a template that is not intended to be a real resource or complex type.
-
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()
-
-