Class ElementDefinition.ElementDefinitionBaseComponent

    • Field Detail

      • path

        protected StringType path
        The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base.
      • min

        protected UnsignedIntType min
        Minimum cardinality of the base element identified by the path.
      • max

        protected StringType max
        Maximum cardinality of the base element identified by the path.
    • Method Detail

      • getPathElement

        public StringType getPathElement()
        Returns:
        path (The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
      • hasPath

        public boolean hasPath()
      • setPathElement

        public ElementDefinition.ElementDefinitionBaseComponent setPathElement​(StringType value)
        Parameters:
        value - path (The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
      • getPath

        public String getPath()
        Returns:
        The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base.
      • setPath

        public ElementDefinition.ElementDefinitionBaseComponent setPath​(String value)
        Parameters:
        value - The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base.
      • getMinElement

        public UnsignedIntType getMinElement()
        Returns:
        min (Minimum cardinality of the base element identified by the path.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value
      • hasMin

        public boolean hasMin()
      • getMin

        public int getMin()
        Returns:
        Minimum cardinality of the base element identified by the path.
      • getMaxElement

        public StringType getMaxElement()
        Returns:
        max (Maximum cardinality of the base element identified by the path.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value
      • hasMax

        public boolean hasMax()
      • getMax

        public String getMax()
        Returns:
        Maximum cardinality of the base element identified by the path.
      • 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
      • isEmpty

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

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