Class ElementDefinitionDt

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeDatatype, ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IDatatype, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.ICompositeType

public class ElementDefinitionDt extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.ICompositeDatatype
HAPI/FHIR ElementDefinitionDt Datatype ()

Definition: Captures constraints on each element within the resource, profile, or extension

Requirements:

See Also:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getPathElement

      public ca.uhn.fhir.model.primitive.StringDt getPathElement()
      Gets the value(s) for path (). creating it if it does not exist. Will not return null.

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

    • getPath

      public String getPath()
      Gets the value(s) for path (). creating it if it does not exist. This method may return null.

      Definition: 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

      public ElementDefinitionDt setPath(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for path ()

      Definition: 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

      public ElementDefinitionDt setPath(String theString)
      Sets the value for path ()

      Definition: 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

      public List<ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum>> getRepresentation()
      Gets the value(s) for representation (). creating it if it does not exist. Will not return null.

      Definition: Codes that define how this element is represented in instances, when the deviation varies from the normal case

    • setRepresentation

      public ElementDefinitionDt setRepresentation(List<ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum>> theValue)
      Sets the value(s) for representation ()

      Definition: Codes that define how this element is represented in instances, when the deviation varies from the normal case

    • addRepresentation

      public ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum> addRepresentation(PropertyRepresentationEnum theValue)
      Add a value for representation () using an enumerated type. This is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory or contain the desirable codes. If you wish to use codes other than those which are built-in, you may also use the addRepresentation() method.

      Definition: Codes that define how this element is represented in instances, when the deviation varies from the normal case

    • getRepresentationFirstRep

      public ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum> getRepresentationFirstRep()
      Gets the first repetition for representation (), creating it if it does not already exist.

      Definition: Codes that define how this element is represented in instances, when the deviation varies from the normal case

    • addRepresentation

      public ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum> addRepresentation()
      Add a value for representation ()

      Definition: Codes that define how this element is represented in instances, when the deviation varies from the normal case

    • setRepresentation

      Sets the value(s), and clears any existing value(s) for representation ()

      Definition: Codes that define how this element is represented in instances, when the deviation varies from the normal case

    • getNameElement

      public ca.uhn.fhir.model.primitive.StringDt getNameElement()
      Gets the value(s) for name (). creating it if it does not exist. Will not return null.

      Definition: 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

    • getName

      public String getName()
      Gets the value(s) for name (). creating it if it does not exist. This method may return null.

      Definition: 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

      public ElementDefinitionDt setName(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for name ()

      Definition: 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

      public ElementDefinitionDt setName(String theString)
      Sets the value for name ()

      Definition: 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

      public ca.uhn.fhir.model.primitive.StringDt getLabelElement()
      Gets the value(s) for label (). creating it if it does not exist. Will not return null.

      Definition: The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.

    • getLabel

      public String getLabel()
      Gets the value(s) for label (). creating it if it does not exist. This method may return null.

      Definition: 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

      public ElementDefinitionDt setLabel(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for label ()

      Definition: 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

      public ElementDefinitionDt setLabel(String theString)
      Sets the value for label ()

      Definition: 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<CodingDt> getCode()
      Gets the value(s) for code (). creating it if it does not exist. Will not return null.

      Definition: A code that provides the meaning for the element according to a particular terminology.

    • setCode

      Sets the value(s) for code ()

      Definition: A code that provides the meaning for the element according to a particular terminology.

    • addCode

      public CodingDt addCode()
      Adds and returns a new value for code ()

      Definition: A code that provides the meaning for the element according to a particular terminology.

    • addCode

      Adds a given new value for code ()

      Definition: A code that provides the meaning for the element according to a particular terminology.

      Parameters:
      theValue - The code to add (must not be null)
    • getCodeFirstRep

      Gets the first repetition for code (), creating it if it does not already exist.

      Definition: A code that provides the meaning for the element according to a particular terminology.

    • getSlicing

      Gets the value(s) for slicing (). creating it if it does not exist. Will not return null.

      Definition: 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)

    • setSlicing

      Sets the value(s) for slicing ()

      Definition: 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

      public ca.uhn.fhir.model.primitive.StringDt getShortElement()
      Gets the value(s) for short (). creating it if it does not exist. Will not return null.

      Definition: A concise description of what this element means (e.g. for use in autogenerated summaries)

    • getShort

      public String getShort()
      Gets the value(s) for short (). creating it if it does not exist. This method may return null.

      Definition: A concise description of what this element means (e.g. for use in autogenerated summaries)

    • setShort

      public ElementDefinitionDt setShort(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for short ()

      Definition: A concise description of what this element means (e.g. for use in autogenerated summaries)

    • setShort

      public ElementDefinitionDt setShort(String theString)
      Sets the value for short ()

      Definition: A concise description of what this element means (e.g. for use in autogenerated summaries)

    • getDefinitionElement

      public ca.uhn.fhir.model.primitive.MarkdownDt getDefinitionElement()
      Gets the value(s) for definition (). creating it if it does not exist. Will not return null.

      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

    • getDefinition

      Gets the value(s) for definition (). creating it if it does not exist. This method may return null.

      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

    • setDefinition

      public ElementDefinitionDt setDefinition(ca.uhn.fhir.model.primitive.MarkdownDt theValue)
      Sets the value(s) for definition ()

      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

    • getCommentsElement

      public ca.uhn.fhir.model.primitive.MarkdownDt getCommentsElement()
      Gets the value(s) for comments (). creating it if it does not exist. Will not return null.

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

    • getComments

      public String getComments()
      Gets the value(s) for comments (). creating it if it does not exist. This method may return null.

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

    • setComments

      public ElementDefinitionDt setComments(ca.uhn.fhir.model.primitive.MarkdownDt theValue)
      Sets the value(s) for comments ()

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

    • getRequirementsElement

      public ca.uhn.fhir.model.primitive.MarkdownDt getRequirementsElement()
      Gets the value(s) for requirements (). creating it if it does not exist. Will not return null.

      Definition: 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.

    • getRequirements

      Gets the value(s) for requirements (). creating it if it does not exist. This method may return null.

      Definition: 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

      public ElementDefinitionDt setRequirements(ca.uhn.fhir.model.primitive.MarkdownDt theValue)
      Sets the value(s) for requirements ()

      Definition: 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

      public List<ca.uhn.fhir.model.primitive.StringDt> getAlias()
      Gets the value(s) for alias (). creating it if it does not exist. Will not return null.

      Definition: Identifies additional names by which this element might also be known

    • setAlias

      public ElementDefinitionDt setAlias(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
      Sets the value(s) for alias ()

      Definition: Identifies additional names by which this element might also be known

    • addAlias

      public ca.uhn.fhir.model.primitive.StringDt addAlias()
      Adds and returns a new value for alias ()

      Definition: Identifies additional names by which this element might also be known

    • addAlias

      public ElementDefinitionDt addAlias(ca.uhn.fhir.model.primitive.StringDt theValue)
      Adds a given new value for alias ()

      Definition: Identifies additional names by which this element might also be known

      Parameters:
      theValue - The alias to add (must not be null)
    • getAliasFirstRep

      public ca.uhn.fhir.model.primitive.StringDt getAliasFirstRep()
      Gets the first repetition for alias (), creating it if it does not already exist.

      Definition: Identifies additional names by which this element might also be known

    • addAlias

      public ElementDefinitionDt addAlias(String theString)
      Adds a new value for alias ()

      Definition: Identifies additional names by which this element might also be known

      Returns:
      Returns a reference to this object, to allow for simple chaining.
    • getMinElement

      public ca.uhn.fhir.model.primitive.IntegerDt getMinElement()
      Gets the value(s) for min (). creating it if it does not exist. Will not return null.

      Definition: The minimum number of times this element SHALL appear in the instance

    • getMin

      public Integer getMin()
      Gets the value(s) for min (). creating it if it does not exist. This method may return null.

      Definition: The minimum number of times this element SHALL appear in the instance

    • setMin

      public ElementDefinitionDt setMin(ca.uhn.fhir.model.primitive.IntegerDt theValue)
      Sets the value(s) for min ()

      Definition: The minimum number of times this element SHALL appear in the instance

    • setMin

      public ElementDefinitionDt setMin(int theInteger)
      Sets the value for min ()

      Definition: The minimum number of times this element SHALL appear in the instance

    • getMaxElement

      public ca.uhn.fhir.model.primitive.StringDt getMaxElement()
      Gets the value(s) for max (). creating it if it does not exist. Will not return null.

      Definition: The maximum number of times this element is permitted to appear in the instance

    • getMax

      public String getMax()
      Gets the value(s) for max (). creating it if it does not exist. This method may return null.

      Definition: The maximum number of times this element is permitted to appear in the instance

    • setMax

      public ElementDefinitionDt setMax(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for max ()

      Definition: The maximum number of times this element is permitted to appear in the instance

    • setMax

      public ElementDefinitionDt setMax(String theString)
      Sets the value for max ()

      Definition: The maximum number of times this element is permitted to appear in the instance

    • getBase

      Gets the value(s) for base (). creating it if it does not exist. Will not return null.

      Definition: 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.

    • setBase

      Sets the value(s) for base ()

      Definition: 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

      Gets the value(s) for type (). creating it if it does not exist. Will not return null.

      Definition: The data type or resource that the value of this element is permitted to be

    • setType

      Sets the value(s) for type ()

      Definition: The data type or resource that the value of this element is permitted to be

    • addType

      Adds and returns a new value for type ()

      Definition: The data type or resource that the value of this element is permitted to be

    • addType

      Adds a given new value for type ()

      Definition: The data type or resource that the value of this element is permitted to be

      Parameters:
      theValue - The type to add (must not be null)
    • getTypeFirstRep

      Gets the first repetition for type (), creating it if it does not already exist.

      Definition: The data type or resource that the value of this element is permitted to be

    • getNameReferenceElement

      public ca.uhn.fhir.model.primitive.StringDt getNameReferenceElement()
      Gets the value(s) for nameReference (). creating it if it does not exist. Will not return null.

      Definition: Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element

    • getNameReference

      Gets the value(s) for nameReference (). creating it if it does not exist. This method may return null.

      Definition: Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element

    • setNameReference

      public ElementDefinitionDt setNameReference(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for nameReference ()

      Definition: Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element

    • setNameReference

      Sets the value for nameReference ()

      Definition: Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element

    • getDefaultValue

      public ca.uhn.fhir.model.api.IDatatype getDefaultValue()
      Gets the value(s) for defaultValue[x] (). creating it if it does not exist. Will not return null.

      Definition: 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')

    • setDefaultValue

      public ElementDefinitionDt setDefaultValue(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for defaultValue[x] ()

      Definition: 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

      public ca.uhn.fhir.model.primitive.MarkdownDt getMeaningWhenMissingElement()
      Gets the value(s) for meaningWhenMissing (). creating it if it does not exist. Will not return null.

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

    • getMeaningWhenMissing

      Gets the value(s) for meaningWhenMissing (). creating it if it does not exist. This method may return null.

      Definition: 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

      public ElementDefinitionDt setMeaningWhenMissing(ca.uhn.fhir.model.primitive.MarkdownDt theValue)
      Sets the value(s) for meaningWhenMissing ()

      Definition: 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 ca.uhn.fhir.model.api.IDatatype getFixed()
      Gets the value(s) for fixed[x] (). creating it if it does not exist. Will not return null.

      Definition: 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.

    • setFixed

      public ElementDefinitionDt setFixed(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for fixed[x] ()

      Definition: 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 ca.uhn.fhir.model.api.IDatatype getPattern()
      Gets the value(s) for pattern[x] (). creating it if it does not exist. Will not return null.

      Definition: 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.).

    • setPattern

      public ElementDefinitionDt setPattern(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for pattern[x] ()

      Definition: 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 ca.uhn.fhir.model.api.IDatatype getExample()
      Gets the value(s) for example[x] (). creating it if it does not exist. Will not return null.

      Definition: A sample value for this element demonstrating the type of information that would typically be captured.

    • setExample

      public ElementDefinitionDt setExample(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for example[x] ()

      Definition: A sample value for this element demonstrating the type of information that would typically be captured.

    • getMinValue

      public ca.uhn.fhir.model.api.IDatatype getMinValue()
      Gets the value(s) for minValue[x] (). creating it if it does not exist. Will not return null.

      Definition: 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

    • setMinValue

      public ElementDefinitionDt setMinValue(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for minValue[x] ()

      Definition: 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 ca.uhn.fhir.model.api.IDatatype getMaxValue()
      Gets the value(s) for maxValue[x] (). creating it if it does not exist. Will not return null.

      Definition: 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

    • setMaxValue

      public ElementDefinitionDt setMaxValue(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for maxValue[x] ()

      Definition: 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

      public ca.uhn.fhir.model.primitive.IntegerDt getMaxLengthElement()
      Gets the value(s) for maxLength (). creating it if it does not exist. Will not return null.

      Definition: 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

    • getMaxLength

      Gets the value(s) for maxLength (). creating it if it does not exist. This method may return null.

      Definition: 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 ElementDefinitionDt setMaxLength(ca.uhn.fhir.model.primitive.IntegerDt theValue)
      Sets the value(s) for maxLength ()

      Definition: 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 ElementDefinitionDt setMaxLength(int theInteger)
      Sets the value for maxLength ()

      Definition: 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

      public List<ca.uhn.fhir.model.primitive.IdDt> getCondition()
      Gets the value(s) for condition (). creating it if it does not exist. Will not return null.

      Definition: A reference to an invariant that may make additional statements about the cardinality or value in the instance

    • setCondition

      public ElementDefinitionDt setCondition(List<ca.uhn.fhir.model.primitive.IdDt> theValue)
      Sets the value(s) for condition ()

      Definition: A reference to an invariant that may make additional statements about the cardinality or value in the instance

    • addCondition

      public ca.uhn.fhir.model.primitive.IdDt addCondition()
      Adds and returns a new value for condition ()

      Definition: A reference to an invariant that may make additional statements about the cardinality or value in the instance

    • addCondition

      public ElementDefinitionDt addCondition(ca.uhn.fhir.model.primitive.IdDt theValue)
      Adds a given new value for condition ()

      Definition: A reference to an invariant that may make additional statements about the cardinality or value in the instance

      Parameters:
      theValue - The condition to add (must not be null)
    • getConditionFirstRep

      public ca.uhn.fhir.model.primitive.IdDt getConditionFirstRep()
      Gets the first repetition for condition (), creating it if it does not already exist.

      Definition: A reference to an invariant that may make additional statements about the cardinality or value in the instance

    • addCondition

      Adds a new value for condition ()

      Definition: A reference to an invariant that may make additional statements about the cardinality or value in the instance

      Returns:
      Returns a reference to this object, to allow for simple chaining.
    • getConstraint

      Gets the value(s) for constraint (). creating it if it does not exist. Will not return null.

      Definition: Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance

    • setConstraint

      Sets the value(s) for constraint ()

      Definition: Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance

    • addConstraint

      Adds and returns a new value for constraint ()

      Definition: Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance

    • addConstraint

      Adds a given new value for constraint ()

      Definition: Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance

      Parameters:
      theValue - The constraint to add (must not be null)
    • getConstraintFirstRep

      Gets the first repetition for constraint (), creating it if it does not already exist.

      Definition: Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance

    • getMustSupportElement

      public ca.uhn.fhir.model.primitive.BooleanDt getMustSupportElement()
      Gets the value(s) for mustSupport (). creating it if it does not exist. Will not return null.

      Definition: 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

    • getMustSupport

      Gets the value(s) for mustSupport (). creating it if it does not exist. This method may return null.

      Definition: 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 ElementDefinitionDt setMustSupport(ca.uhn.fhir.model.primitive.BooleanDt theValue)
      Sets the value(s) for mustSupport ()

      Definition: 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 ElementDefinitionDt setMustSupport(boolean theBoolean)
      Sets the value for mustSupport ()

      Definition: 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

      public ca.uhn.fhir.model.primitive.BooleanDt getIsModifierElement()
      Gets the value(s) for isModifier (). creating it if it does not exist. Will not return null.

      Definition: 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.

    • getIsModifier

      Gets the value(s) for isModifier (). creating it if it does not exist. This method may return null.

      Definition: 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 ElementDefinitionDt setIsModifier(ca.uhn.fhir.model.primitive.BooleanDt theValue)
      Sets the value(s) for isModifier ()

      Definition: 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 ElementDefinitionDt setIsModifier(boolean theBoolean)
      Sets the value for isModifier ()

      Definition: 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

      public ca.uhn.fhir.model.primitive.BooleanDt getIsSummaryElement()
      Gets the value(s) for isSummary (). creating it if it does not exist. Will not return null.

      Definition: Whether the element should be included if a client requests a search with the parameter _summary=true

    • getIsSummary

      Gets the value(s) for isSummary (). creating it if it does not exist. This method may return null.

      Definition: Whether the element should be included if a client requests a search with the parameter _summary=true

    • setIsSummary

      public ElementDefinitionDt setIsSummary(ca.uhn.fhir.model.primitive.BooleanDt theValue)
      Sets the value(s) for isSummary ()

      Definition: Whether the element should be included if a client requests a search with the parameter _summary=true

    • setIsSummary

      public ElementDefinitionDt setIsSummary(boolean theBoolean)
      Sets the value for isSummary ()

      Definition: Whether the element should be included if a client requests a search with the parameter _summary=true

    • getBinding

      Gets the value(s) for binding (). creating it if it does not exist. Will not return null.

      Definition: Binds to a value set if this element is coded (code, Coding, CodeableConcept)

    • setBinding

      Sets the value(s) for binding ()

      Definition: Binds to a value set if this element is coded (code, Coding, CodeableConcept)

    • getMapping

      Gets the value(s) for mapping (). creating it if it does not exist. Will not return null.

      Definition: Identifies a concept from an external specification that roughly corresponds to this element

    • setMapping

      Sets the value(s) for mapping ()

      Definition: Identifies a concept from an external specification that roughly corresponds to this element

    • addMapping

      Adds and returns a new value for mapping ()

      Definition: Identifies a concept from an external specification that roughly corresponds to this element

    • addMapping

      Adds a given new value for mapping ()

      Definition: Identifies a concept from an external specification that roughly corresponds to this element

      Parameters:
      theValue - The mapping to add (must not be null)
    • getMappingFirstRep

      Gets the first repetition for mapping (), creating it if it does not already exist.

      Definition: Identifies a concept from an external specification that roughly corresponds to this element