Enum StructureDefinitionKind.ValueSet

    • Enum Constant Detail

      • PRIMITIVE_TYPE

        public static final StructureDefinitionKind.ValueSet 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.ValueSet 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.ValueSet 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.ValueSet LOGICAL
        Logical

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

    • Method Detail

      • values

        public static StructureDefinitionKind.ValueSet[] 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.ValueSet c : StructureDefinitionKind.ValueSet.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.ValueSet 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
      • value

        public String value()
        Returns:
        The java.lang.String value of the code represented by this enum
      • from

        public static StructureDefinitionKind.ValueSet from​(String value)
        Factory method for creating StructureDefinitionKind.ValueSet values 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