Class Library.LibraryLibraryComponent

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseBackboneElement, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
    Enclosing class:
    Library

    public static class Library.LibraryLibraryComponent
    extends BackboneElement
    implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
    See Also:
    Serialized Form
    • Field Detail

      • name

        protected StringType name
        The name element defines the local name of the referenced library.
      • identifier

        protected StringType identifier
        The identifier element specifies the global, non-version-specific identifier for the library.
      • version

        protected StringType version
        The version element, if present, identifies the specific version of the library to be used. If no version is specified, the most recent published version of the library is implied.
      • document

        protected Type document
        The content of the referenced library as an Attachment, or a reference to the Library resource. If the document is an attachment, it may be a reference to a url from which the library document may be retrieved, or it may be directly embedded as a base-64 string. Either way, the content is expected to be a CQL or ELM document.
    • Method Detail

      • getNameElement

        public StringType getNameElement()
        Returns:
        name (The name element defines the local name of the referenced library.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
      • hasName

        public boolean hasName()
      • setNameElement

        public Library.LibraryLibraryComponent setNameElement​(StringType value)
        Parameters:
        value - name (The name element defines the local name of the referenced library.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
      • getName

        public String getName()
        Returns:
        The name element defines the local name of the referenced library.
      • getIdentifierElement

        public StringType getIdentifierElement()
        Returns:
        identifier (The identifier element specifies the global, non-version-specific identifier for the library.). This is the underlying object with id, value and extensions. The accessor "getIdentifier" gives direct access to the value
      • setIdentifierElement

        public Library.LibraryLibraryComponent setIdentifierElement​(StringType value)
        Parameters:
        value - identifier (The identifier element specifies the global, non-version-specific identifier for the library.). This is the underlying object with id, value and extensions. The accessor "getIdentifier" gives direct access to the value
      • getIdentifier

        public String getIdentifier()
        Returns:
        The identifier element specifies the global, non-version-specific identifier for the library.
      • getVersionElement

        public StringType getVersionElement()
        Returns:
        version (The version element, if present, identifies the specific version of the library to be used. If no version is specified, the most recent published version of the library is implied.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
      • setVersionElement

        public Library.LibraryLibraryComponent setVersionElement​(StringType value)
        Parameters:
        value - version (The version element, if present, identifies the specific version of the library to be used. If no version is specified, the most recent published version of the library is implied.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
      • getVersion

        public String getVersion()
        Returns:
        The version element, if present, identifies the specific version of the library to be used. If no version is specified, the most recent published version of the library is implied.
      • setVersion

        public Library.LibraryLibraryComponent setVersion​(String value)
        Parameters:
        value - The version element, if present, identifies the specific version of the library to be used. If no version is specified, the most recent published version of the library is implied.
      • getDocument

        public Type getDocument()
        Returns:
        document (The content of the referenced library as an Attachment, or a reference to the Library resource. If the document is an attachment, it may be a reference to a url from which the library document may be retrieved, or it may be directly embedded as a base-64 string. Either way, the content is expected to be a CQL or ELM document.)
      • getDocumentAttachment

        public Attachment getDocumentAttachment()
                                         throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        document (The content of the referenced library as an Attachment, or a reference to the Library resource. If the document is an attachment, it may be a reference to a url from which the library document may be retrieved, or it may be directly embedded as a base-64 string. Either way, the content is expected to be a CQL or ELM document.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getDocumentReference

        public Reference getDocumentReference()
                                       throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        document (The content of the referenced library as an Attachment, or a reference to the Library resource. If the document is an attachment, it may be a reference to a url from which the library document may be retrieved, or it may be directly embedded as a base-64 string. Either way, the content is expected to be a CQL or ELM document.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setDocument

        public Library.LibraryLibraryComponent setDocument​(Type value)
        Parameters:
        value - document (The content of the referenced library as an Attachment, or a reference to the Library resource. If the document is an attachment, it may be a reference to a url from which the library document may be retrieved, or it may be directly embedded as a base-64 string. Either way, the content is expected to be a CQL or ELM document.)
      • makeProperty

        public Base makeProperty​(int hash,
                                 String name)
                          throws org.hl7.fhir.exceptions.FHIRException
        Description copied from class: Base
        make an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property
        Overrides:
        makeProperty in class BackboneElement
        Returns:
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class BackboneElement