Class ElementDefinition

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.ICompositeType

public class ElementDefinition extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
Captures constraints on each element within the resource, profile, or extension.
See Also:
  • Field Details

    • path

      protected StringType path
      The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension.
    • representation

      Codes that define how this element is represented in instances, when the deviation varies from the normal case.
    • name

      protected StringType name
      The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element.
    • label

      protected StringType label
      The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.
    • code

      protected List<Coding> code
      A code that provides the meaning for the element according to a particular terminology.
    • slicing

      Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).
    • short_

      protected StringType short_
      A concise description of what this element means (e.g. for use in autogenerated summaries).
    • definition

      Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource.
    • comments

      Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc.
    • requirements

      This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.
    • alias

      protected List<StringType> alias
      Identifies additional names by which this element might also be known.
    • min

      protected IntegerType min
      The minimum number of times this element SHALL appear in the instance.
    • max

      protected StringType max
      The maximum number of times this element is permitted to appear in the instance.
    • base

      Information about the base definition of the element, provided to make it unncessary for tools to trace the deviation of the element through the derived and related profiles. This information is only provided where the element definition represents a constraint on another element definition, and must be present if there is a base element definition.
    • type

      The data type or resource that the value of this element is permitted to be.
    • nameReference

      Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element.
    • defaultValue

      protected Type defaultValue
      The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
    • meaningWhenMissing

      The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing'.
    • fixed

      protected Type fixed
      Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
    • pattern

      protected Type pattern
      Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
    • example

      protected Type example
      A sample value for this element demonstrating the type of information that would typically be captured.
    • minValue

      protected Type minValue
      The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
    • maxValue

      protected Type maxValue
      The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
    • maxLength

      Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.
    • condition

      protected List<IdType> condition
      A reference to an invariant that may make additional statements about the cardinality or value in the instance.
    • constraint

      Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.
    • mustSupport

      If true, implementations that produce or consume resources SHALL provide "support" for the element in some meaningful way. If false, the element may be ignored and not supported.
    • isModifier

      If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.
    • isSummary

      Whether the element should be included if a client requests a search with the parameter _summary=true.
    • binding

      Binds to a value set if this element is coded (code, Coding, CodeableConcept).
    • mapping

      Identifies a concept from an external specification that roughly corresponds to this element.
  • Constructor Details

  • Method Details

    • getPathElement

      Returns:
      path (The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the value
    • hasPathElement

      public boolean hasPathElement()
    • hasPath

      public boolean hasPath()
    • setPathElement

      Parameters:
      value - path (The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension.). 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 identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension.
    • setPath

      Parameters:
      value - The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension.
    • getRepresentation

      Returns:
      representation (Codes that define how this element is represented in instances, when the deviation varies from the normal case.)
    • setRepresentation

    • hasRepresentation

      public boolean hasRepresentation()
    • addRepresentationElement

      Returns:
      representation (Codes that define how this element is represented in instances, when the deviation varies from the normal case.)
    • addRepresentation

      Parameters:
      value - representation (Codes that define how this element is represented in instances, when the deviation varies from the normal case.)
    • hasRepresentation

      Parameters:
      value - representation (Codes that define how this element is represented in instances, when the deviation varies from the normal case.)
    • getNameElement

      Returns:
      name (The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
    • hasNameElement

      public boolean hasNameElement()
    • hasName

      public boolean hasName()
    • setNameElement

      Parameters:
      value - name (The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element.). 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 of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element.
    • setName

      Parameters:
      value - The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element.
    • getLabelElement

      Returns:
      label (The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value
    • hasLabelElement

      public boolean hasLabelElement()
    • hasLabel

      public boolean hasLabel()
    • setLabelElement

      Parameters:
      value - label (The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value
    • getLabel

      public String getLabel()
      Returns:
      The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.
    • setLabel

      Parameters:
      value - The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.
    • getCode

      public List<Coding> getCode()
      Returns:
      code (A code that provides the meaning for the element according to a particular terminology.)
    • hasCode

      public boolean hasCode()
    • addCode

      public Coding addCode()
      Returns:
      code (A code that provides the meaning for the element according to a particular terminology.)
    • addCode

    • getSlicing

      Returns:
      slicing (Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).)
    • hasSlicing

      public boolean hasSlicing()
    • setSlicing

      Parameters:
      value - slicing (Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).)
    • getShortElement

      Returns:
      short_ (A concise description of what this element means (e.g. for use in autogenerated summaries).). This is the underlying object with id, value and extensions. The accessor "getShort" gives direct access to the value
    • hasShortElement

      public boolean hasShortElement()
    • hasShort

      public boolean hasShort()
    • setShortElement

      Parameters:
      value - short_ (A concise description of what this element means (e.g. for use in autogenerated summaries).). This is the underlying object with id, value and extensions. The accessor "getShort" gives direct access to the value
    • getShort

      public String getShort()
      Returns:
      A concise description of what this element means (e.g. for use in autogenerated summaries).
    • setShort

      Parameters:
      value - A concise description of what this element means (e.g. for use in autogenerated summaries).
    • getDefinitionElement

      Returns:
      definition (Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the value
    • hasDefinitionElement

      public boolean hasDefinitionElement()
    • hasDefinition

      public boolean hasDefinition()
    • setDefinitionElement

      Parameters:
      value - definition (Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the value
    • getDefinition

      Returns:
      Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource.
    • setDefinition

      Parameters:
      value - Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource.
    • getCommentsElement

      Returns:
      comments (Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc.). This is the underlying object with id, value and extensions. The accessor "getComments" gives direct access to the value
    • hasCommentsElement

      public boolean hasCommentsElement()
    • hasComments

      public boolean hasComments()
    • setCommentsElement

      Parameters:
      value - comments (Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc.). This is the underlying object with id, value and extensions. The accessor "getComments" gives direct access to the value
    • getComments

      public String getComments()
      Returns:
      Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc.
    • setComments

      Parameters:
      value - Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc.
    • getRequirementsElement

      Returns:
      requirements (This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
    • hasRequirementsElement

      public boolean hasRequirementsElement()
    • hasRequirements

      public boolean hasRequirements()
    • setRequirementsElement

      Parameters:
      value - requirements (This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
    • getRequirements

      Returns:
      This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.
    • setRequirements

      Parameters:
      value - This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.
    • getAlias

      Returns:
      alias (Identifies additional names by which this element might also be known.)
    • hasAlias

      public boolean hasAlias()
    • addAliasElement

      Returns:
      alias (Identifies additional names by which this element might also be known.)
    • addAlias

      Parameters:
      value - alias (Identifies additional names by which this element might also be known.)
    • hasAlias

      public boolean hasAlias(String value)
      Parameters:
      value - alias (Identifies additional names by which this element might also be known.)
    • getMinElement

      Returns:
      min (The minimum number of times this element SHALL appear in the instance.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value
    • hasMinElement

      public boolean hasMinElement()
    • hasMin

      public boolean hasMin()
    • setMinElement

      Parameters:
      value - min (The minimum number of times this element SHALL appear in the instance.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the value
    • getMin

      public int getMin()
      Returns:
      The minimum number of times this element SHALL appear in the instance.
    • setMin

      public ElementDefinition setMin(int value)
      Parameters:
      value - The minimum number of times this element SHALL appear in the instance.
    • getMaxElement

      Returns:
      max (The maximum number of times this element is permitted to appear in the instance.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value
    • hasMaxElement

      public boolean hasMaxElement()
    • hasMax

      public boolean hasMax()
    • setMaxElement

      Parameters:
      value - max (The maximum number of times this element is permitted to appear in the instance.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the value
    • getMax

      public String getMax()
      Returns:
      The maximum number of times this element is permitted to appear in the instance.
    • setMax

      Parameters:
      value - The maximum number of times this element is permitted to appear in the instance.
    • getBase

      Returns:
      base (Information about the base definition of the element, provided to make it unncessary for tools to trace the deviation of the element through the derived and related profiles. This information is only provided where the element definition represents a constraint on another element definition, and must be present if there is a base element definition.)
    • hasBase

      public boolean hasBase()
    • setBase

      Parameters:
      value - base (Information about the base definition of the element, provided to make it unncessary for tools to trace the deviation of the element through the derived and related profiles. This information is only provided where the element definition represents a constraint on another element definition, and must be present if there is a base element definition.)
    • getType

      Returns:
      type (The data type or resource that the value of this element is permitted to be.)
    • hasType

      public boolean hasType()
    • addType

      Returns:
      type (The data type or resource that the value of this element is permitted to be.)
    • addType

    • getNameReferenceElement

      Returns:
      nameReference (Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element.). This is the underlying object with id, value and extensions. The accessor "getNameReference" gives direct access to the value
    • hasNameReferenceElement

      public boolean hasNameReferenceElement()
    • hasNameReference

      public boolean hasNameReference()
    • setNameReferenceElement

      Parameters:
      value - nameReference (Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element.). This is the underlying object with id, value and extensions. The accessor "getNameReference" gives direct access to the value
    • getNameReference

      Returns:
      Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element.
    • setNameReference

      Parameters:
      value - Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element.
    • getDefaultValue

      Returns:
      defaultValue (The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').)
    • hasDefaultValue

      public boolean hasDefaultValue()
    • setDefaultValue

      Parameters:
      value - defaultValue (The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').)
    • getMeaningWhenMissingElement

      Returns:
      meaningWhenMissing (The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing'.). This is the underlying object with id, value and extensions. The accessor "getMeaningWhenMissing" gives direct access to the value
    • hasMeaningWhenMissingElement

      public boolean hasMeaningWhenMissingElement()
    • hasMeaningWhenMissing

      public boolean hasMeaningWhenMissing()
    • setMeaningWhenMissingElement

      Parameters:
      value - meaningWhenMissing (The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing'.). This is the underlying object with id, value and extensions. The accessor "getMeaningWhenMissing" gives direct access to the value
    • getMeaningWhenMissing

      Returns:
      The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing'.
    • setMeaningWhenMissing

      Parameters:
      value - The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing'.
    • getFixed

      public Type getFixed()
      Returns:
      fixed (Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.)
    • hasFixed

      public boolean hasFixed()
    • setFixed

      Parameters:
      value - fixed (Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.)
    • getPattern

      public Type getPattern()
      Returns:
      pattern (Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).)
    • hasPattern

      public boolean hasPattern()
    • setPattern

      Parameters:
      value - pattern (Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).)
    • getExample

      public Type getExample()
      Returns:
      example (A sample value for this element demonstrating the type of information that would typically be captured.)
    • hasExample

      public boolean hasExample()
    • setExample

      Parameters:
      value - example (A sample value for this element demonstrating the type of information that would typically be captured.)
    • getMinValue

      public Type getMinValue()
      Returns:
      minValue (The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.)
    • hasMinValue

      public boolean hasMinValue()
    • setMinValue

      Parameters:
      value - minValue (The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.)
    • getMaxValue

      public Type getMaxValue()
      Returns:
      maxValue (The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.)
    • hasMaxValue

      public boolean hasMaxValue()
    • setMaxValue

      Parameters:
      value - maxValue (The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.)
    • getMaxLengthElement

      Returns:
      maxLength (Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.). This is the underlying object with id, value and extensions. The accessor "getMaxLength" gives direct access to the value
    • hasMaxLengthElement

      public boolean hasMaxLengthElement()
    • hasMaxLength

      public boolean hasMaxLength()
    • setMaxLengthElement

      Parameters:
      value - maxLength (Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.). This is the underlying object with id, value and extensions. The accessor "getMaxLength" gives direct access to the value
    • getMaxLength

      public int getMaxLength()
      Returns:
      Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.
    • setMaxLength

      public ElementDefinition setMaxLength(int value)
      Parameters:
      value - Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.
    • getCondition

      Returns:
      condition (A reference to an invariant that may make additional statements about the cardinality or value in the instance.)
    • hasCondition

      public boolean hasCondition()
    • addConditionElement

      Returns:
      condition (A reference to an invariant that may make additional statements about the cardinality or value in the instance.)
    • addCondition

      Parameters:
      value - condition (A reference to an invariant that may make additional statements about the cardinality or value in the instance.)
    • hasCondition

      public boolean hasCondition(String value)
      Parameters:
      value - condition (A reference to an invariant that may make additional statements about the cardinality or value in the instance.)
    • getConstraint

      Returns:
      constraint (Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.)
    • hasConstraint

      public boolean hasConstraint()
    • addConstraint

      Returns:
      constraint (Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.)
    • addConstraint

    • getMustSupportElement

      Returns:
      mustSupport (If true, implementations that produce or consume resources SHALL provide "support" for the element in some meaningful way. If false, the element may be ignored and not supported.). This is the underlying object with id, value and extensions. The accessor "getMustSupport" gives direct access to the value
    • hasMustSupportElement

      public boolean hasMustSupportElement()
    • hasMustSupport

      public boolean hasMustSupport()
    • setMustSupportElement

      Parameters:
      value - mustSupport (If true, implementations that produce or consume resources SHALL provide "support" for the element in some meaningful way. If false, the element may be ignored and not supported.). This is the underlying object with id, value and extensions. The accessor "getMustSupport" gives direct access to the value
    • getMustSupport

      public boolean getMustSupport()
      Returns:
      If true, implementations that produce or consume resources SHALL provide "support" for the element in some meaningful way. If false, the element may be ignored and not supported.
    • setMustSupport

      public ElementDefinition setMustSupport(boolean value)
      Parameters:
      value - If true, implementations that produce or consume resources SHALL provide "support" for the element in some meaningful way. If false, the element may be ignored and not supported.
    • getIsModifierElement

      Returns:
      isModifier (If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.). This is the underlying object with id, value and extensions. The accessor "getIsModifier" gives direct access to the value
    • hasIsModifierElement

      public boolean hasIsModifierElement()
    • hasIsModifier

      public boolean hasIsModifier()
    • setIsModifierElement

      Parameters:
      value - isModifier (If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.). This is the underlying object with id, value and extensions. The accessor "getIsModifier" gives direct access to the value
    • getIsModifier

      public boolean getIsModifier()
      Returns:
      If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.
    • setIsModifier

      public ElementDefinition setIsModifier(boolean value)
      Parameters:
      value - If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.
    • getIsSummaryElement

      Returns:
      isSummary (Whether the element should be included if a client requests a search with the parameter _summary=true.). This is the underlying object with id, value and extensions. The accessor "getIsSummary" gives direct access to the value
    • hasIsSummaryElement

      public boolean hasIsSummaryElement()
    • hasIsSummary

      public boolean hasIsSummary()
    • setIsSummaryElement

      Parameters:
      value - isSummary (Whether the element should be included if a client requests a search with the parameter _summary=true.). This is the underlying object with id, value and extensions. The accessor "getIsSummary" gives direct access to the value
    • getIsSummary

      public boolean getIsSummary()
      Returns:
      Whether the element should be included if a client requests a search with the parameter _summary=true.
    • setIsSummary

      public ElementDefinition setIsSummary(boolean value)
      Parameters:
      value - Whether the element should be included if a client requests a search with the parameter _summary=true.
    • getBinding

      Returns:
      binding (Binds to a value set if this element is coded (code, Coding, CodeableConcept).)
    • hasBinding

      public boolean hasBinding()
    • setBinding

      Parameters:
      value - binding (Binds to a value set if this element is coded (code, Coding, CodeableConcept).)
    • getMapping

      Returns:
      mapping (Identifies a concept from an external specification that roughly corresponds to this element.)
    • hasMapping

      public boolean hasMapping()
    • addMapping

      Returns:
      mapping (Identifies a concept from an external specification that roughly corresponds to this element.)
    • addMapping

    • listChildren

      protected void listChildren(List<Property> childrenList)
      Overrides:
      listChildren in class Element
    • setProperty

      public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty 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
    • copy

      Overrides:
      copy in class Type
    • typedCopy

      Specified by:
      typedCopy in class Type
    • equalsDeep

      public boolean equalsDeep(Base other)
      Overrides:
      equalsDeep in class Element
    • equalsShallow

      public boolean equalsShallow(Base other)
      Overrides:
      equalsShallow in class Element
    • isEmpty

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