Class Element

    • Field Detail

      • id

        protected IdType id
        unique id for the element within a resource (for internal references).
      • extension

        protected List<Extension> extension
        May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
    • Constructor Detail

    • Method Detail

      • getIdElement

        public IdType getIdElement()
        Returns:
        id (unique id for the element within a resource (for internal references).). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the value
      • hasId

        public boolean hasId()
      • setIdElement

        public Element setIdElement​(IdType value)
        Parameters:
        value - id (unique id for the element within a resource (for internal references).). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the value
      • getId

        public String getId()
        Specified by:
        getId in interface org.hl7.fhir.instance.model.api.IBaseElement
        Returns:
        unique id for the element within a resource (for internal references).
      • setId

        public Element setId​(String value)
        Specified by:
        setId in interface org.hl7.fhir.instance.model.api.IBaseElement
        Parameters:
        value - unique id for the element within a resource (for internal references).
      • getExtension

        public List<ExtensiongetExtension()
        Specified by:
        getExtension in interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
        Returns:
        extension (May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.)
      • hasExtension

        public boolean hasExtension()
        Specified by:
        hasExtension in interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
      • addExtension

        public Extension addExtension()
        Specified by:
        addExtension in interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
        Returns:
        extension (May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.)
      • getExtensionsByUrl

        public List<ExtensiongetExtensionsByUrl​(String theUrl)
        Returns an unmodifiable list containing all extensions on this element which match the given URL.
        Parameters:
        theUrl - The URL. Must not be blank or null.
        Returns:
        an unmodifiable list containing all extensions on this element which match the given URL
      • getExtensionString

        public String getExtensionString​(String theUrl)
                                  throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setProperty

        public void setProperty​(String name,
                                Base value)
                         throws org.hl7.fhir.exceptions.FHIRException
        Overrides:
        setProperty in class Base
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addChild

        public Base addChild​(String name)
                      throws org.hl7.fhir.exceptions.FHIRException
        Overrides:
        addChild in class Base
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • fhirType

        public String fhirType()
        Specified by:
        fhirType in interface org.hl7.fhir.instance.model.api.IBase
        Specified by:
        fhirType in class Base
      • isEmpty

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