Enum StructureDefinitionKind

java.lang.Object
java.lang.Enum<StructureDefinitionKind>
org.hl7.fhir.r4.model.codesystems.StructureDefinitionKind
All Implemented Interfaces:
Serializable, Comparable<StructureDefinitionKind>

  • Enum Constant Details

    • 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 Details

    • values

      public static StructureDefinitionKind[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null
    • fromCode

      public static StructureDefinitionKind fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • toCode

      public String toCode()
    • getSystem

      public String getSystem()
    • getDefinition

    • getDisplay

      public String getDisplay()