Class Meta

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class Meta
    extends Element
    The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
    • Method Detail

      • getVersionId

        public Id getVersionId()
        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.
        Returns:
        An immutable object of type Id that may be null.
      • getLastUpdated

        public Instant getLastUpdated()
        When the resource last changed - e.g. when the version changed.
        Returns:
        An immutable object of type Instant that may be null.
      • getSource

        public Uri getSource()
        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.
        Returns:
        An immutable object of type Uri that may be null.
      • getProfile

        public List<Canonical> getProfile()
        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).
        Returns:
        An unmodifiable list containing immutable objects of type Canonical that may be empty.
      • getSecurity

        public List<Coding> getSecurity()
        Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
        Returns:
        An unmodifiable list containing immutable objects of type Coding that may be empty.
      • getTag

        public List<Coding> getTag()
        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.
        Returns:
        An unmodifiable list containing immutable objects of type Coding that may be empty.
      • accept

        public void accept​(String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toBuilder

        public Meta.Builder toBuilder()
        Description copied from class: Element
        Create a new Builder from the contents of this Element
        Specified by:
        toBuilder in class Element