Class BackboneElement

    • Field Detail

      • modifierExtension

        protected List<Extension> modifierExtension
        May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
    • Method Detail

      • getModifierExtension

        public List<ExtensiongetModifierExtension()
        Specified by:
        getModifierExtension in interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
        Returns:
        modifierExtension (May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).)
      • hasModifierExtension

        public boolean hasModifierExtension()
        Specified by:
        hasModifierExtension in interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
      • addModifierExtension

        public Extension addModifierExtension()
        Specified by:
        addModifierExtension in interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
      • getProperty

        public Base[] getProperty​(int hash,
                                  String name,
                                  boolean checkValid)
                           throws org.hl7.fhir.exceptions.FHIRException
        Overrides:
        getProperty in class Element
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addChild

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

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

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

        public void checkNoModifiers​(String noun,
                                     String verb)
                              throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getExtensionByUrl

        public Extension getExtensionByUrl​(String theUrl)
        Description copied from class: Element
        Returns an extension if one (and only one) matches the given URL. Note: BackbdoneElements override this to look in matching Modifier Extensions too
        Overrides:
        getExtensionByUrl in class Element
        Parameters:
        theUrl - The URL. Must not be blank or null.
        Returns:
        the matching extension, or null
      • removeExtension

        public void removeExtension​(String theUrl)
        Description copied from class: Element
        Remove any extensions that match (by given URL). Note: BackbdoneElements override this to remove from Modifier Extensions too
        Overrides:
        removeExtension in class Element
        Parameters:
        theUrl - The URL. Must not be blank or null.
      • getExtensionsByUrl

        public List<ExtensiongetExtensionsByUrl​(String theUrl)
        Returns an unmodifiable list containing all extensions on this element which match the given URL.
        Overrides:
        getExtensionsByUrl in class Element
        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