Class StructureDefinitionKind

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class StructureDefinitionKind
    extends Code
    • Field Detail

      • PRIMITIVE_TYPE

        public static final StructureDefinitionKind PRIMITIVE_TYPE
        Primitive Data Type

        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.

      • COMPLEX_TYPE

        public static final StructureDefinitionKind COMPLEX_TYPE
        Complex Data Type

        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
        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
        Logical

        A pattern or a template that is not intended to be a real resource or complex type.

    • Method Detail

      • of

        public static StructureDefinitionKind of​(String value)
        Factory method for creating StructureDefinitionKind objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating StructureDefinitionKind objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating StructureDefinitionKind objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code