Class Meta.Builder

    • Method Detail

      • id

        public Meta.Builder id​(String id)
        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
        Overrides:
        id in class Element.Builder
        Parameters:
        id - Unique id for inter-element referencing
        Returns:
        A reference to this Builder instance
      • extension

        public Meta.Builder extension​(Extension... extension)
        May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        Adds new element(s) to the existing list

        Overrides:
        extension in class Element.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • extension

        public Meta.Builder extension​(Collection<Extension> extension)
        May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        Replaces the existing list with a new one containing elements from the Collection

        Overrides:
        extension in class Element.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • versionId

        public Meta.Builder versionId​(Id versionId)
        The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.
        Parameters:
        versionId - Version specific identifier
        Returns:
        A reference to this Builder instance
      • lastUpdated

        public Meta.Builder lastUpdated​(Instant lastUpdated)
        When the resource last changed - e.g. when the version changed.
        Parameters:
        lastUpdated - When the resource version last changed
        Returns:
        A reference to this Builder instance
      • source

        public Meta.Builder source​(Uri source)
        A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance. html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.
        Parameters:
        source - Identifies where the resource comes from
        Returns:
        A reference to this Builder instance
      • profile

        public Meta.Builder profile​(Canonical... profile)
        A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions. html#StructureDefinition.url).

        Adds new element(s) to the existing list

        Parameters:
        profile - Profiles this resource claims to conform to
        Returns:
        A reference to this Builder instance
      • profile

        public Meta.Builder profile​(Collection<Canonical> profile)
        A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions. html#StructureDefinition.url).

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        profile - Profiles this resource claims to conform to
        Returns:
        A reference to this Builder instance
      • security

        public Meta.Builder security​(Coding... security)
        Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.

        Adds new element(s) to the existing list

        Parameters:
        security - Security Labels applied to this resource
        Returns:
        A reference to this Builder instance
      • security

        public Meta.Builder security​(Collection<Coding> security)
        Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        security - Security Labels applied to this resource
        Returns:
        A reference to this Builder instance
      • tag

        public Meta.Builder tag​(Coding... tag)
        Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.

        Adds new element(s) to the existing list

        Parameters:
        tag - Tags applied to this resource
        Returns:
        A reference to this Builder instance
      • tag

        public Meta.Builder tag​(Collection<Coding> tag)
        Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        tag - Tags applied to this resource
        Returns:
        A reference to this Builder instance