Class 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
Definition: Captures constraints on each element within the resource, profile, or extension
Requirements:
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: ElementDefinition.base ()static class
Block class for child element: ElementDefinition.binding ()static class
Block class for child element: ElementDefinition.constraint ()static class
Block class for child element: ElementDefinition.mapping ()static class
Block class for child element: ElementDefinition.slicing ()static class
Block class for child element: ElementDefinition.type () -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.primitive.StringDt
addAlias()
Adds and returns a new value for alias ()addAlias
(ca.uhn.fhir.model.primitive.StringDt theValue) Adds a given new value for alias ()Adds a new value for alias ()addCode()
Adds and returns a new value for code ()Adds a given new value for code ()ca.uhn.fhir.model.primitive.IdDt
Adds and returns a new value for condition ()addCondition
(ca.uhn.fhir.model.primitive.IdDt theValue) Adds a given new value for condition ()addCondition
(String theId) Adds a new value for condition ()Adds and returns a new value for constraint ()addConstraint
(ElementDefinitionDt.Constraint theValue) Adds a given new value for constraint ()Adds and returns a new value for mapping ()addMapping
(ElementDefinitionDt.Mapping theValue) Adds a given new value for mapping ()ca.uhn.fhir.model.primitive.BoundCodeDt
<PropertyRepresentationEnum> Add a value for representation ()ca.uhn.fhir.model.primitive.BoundCodeDt
<PropertyRepresentationEnum> addRepresentation
(PropertyRepresentationEnum theValue) Add a value for representation () using an enumerated type.addType()
Adds and returns a new value for type ()addType
(ElementDefinitionDt.Type theValue) Adds a given new value for type ()List
<ca.uhn.fhir.model.primitive.StringDt> getAlias()
Gets the value(s) for alias ().ca.uhn.fhir.model.primitive.StringDt
Gets the first repetition for alias (), creating it if it does not already exist.<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getBase()
Gets the value(s) for base ().Gets the value(s) for binding ().getCode()
Gets the value(s) for code ().Gets the first repetition for code (), creating it if it does not already exist.Gets the value(s) for comments ().ca.uhn.fhir.model.primitive.MarkdownDt
Gets the value(s) for comments ().List
<ca.uhn.fhir.model.primitive.IdDt> Gets the value(s) for condition ().ca.uhn.fhir.model.primitive.IdDt
Gets the first repetition for condition (), creating it if it does not already exist.Gets the value(s) for constraint ().Gets the first repetition for constraint (), creating it if it does not already exist.ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for defaultValue[x] ().Gets the value(s) for definition ().ca.uhn.fhir.model.primitive.MarkdownDt
Gets the value(s) for definition ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for example[x] ().ca.uhn.fhir.model.api.IDatatype
getFixed()
Gets the value(s) for fixed[x] ().Gets the value(s) for isModifier ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for isModifier ().Gets the value(s) for isSummary ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for isSummary ().getLabel()
Gets the value(s) for label ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for label ().Gets the value(s) for mapping ().Gets the first repetition for mapping (), creating it if it does not already exist.getMax()
Gets the value(s) for max ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for max ().Gets the value(s) for maxLength ().ca.uhn.fhir.model.primitive.IntegerDt
Gets the value(s) for maxLength ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for maxValue[x] ().Gets the value(s) for meaningWhenMissing ().ca.uhn.fhir.model.primitive.MarkdownDt
Gets the value(s) for meaningWhenMissing ().getMin()
Gets the value(s) for min ().ca.uhn.fhir.model.primitive.IntegerDt
Gets the value(s) for min ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for minValue[x] ().Gets the value(s) for mustSupport ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for mustSupport ().getName()
Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for name ().Gets the value(s) for nameReference ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for nameReference ().getPath()
Gets the value(s) for path ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for path ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for pattern[x] ().List
<ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum>> Gets the value(s) for representation ().ca.uhn.fhir.model.primitive.BoundCodeDt
<PropertyRepresentationEnum> Gets the first repetition for representation (), creating it if it does not already exist.Gets the value(s) for requirements ().ca.uhn.fhir.model.primitive.MarkdownDt
Gets the value(s) for requirements ().getShort()
Gets the value(s) for short ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for short ().Gets the value(s) for slicing ().getType()
Gets the value(s) for type ().Gets the first repetition for type (), creating it if it does not already exist.boolean
isEmpty()
Sets the value(s) for alias ()setBase
(ElementDefinitionDt.Base theValue) Sets the value(s) for base ()setBinding
(ElementDefinitionDt.Binding theValue) Sets the value(s) for binding ()Sets the value(s) for code ()setComments
(ca.uhn.fhir.model.primitive.MarkdownDt theValue) Sets the value(s) for comments ()setCondition
(List<ca.uhn.fhir.model.primitive.IdDt> theValue) Sets the value(s) for condition ()setConstraint
(List<ElementDefinitionDt.Constraint> theValue) Sets the value(s) for constraint ()setDefaultValue
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for defaultValue[x] ()setDefinition
(ca.uhn.fhir.model.primitive.MarkdownDt theValue) Sets the value(s) for definition ()setExample
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for example[x] ()setFixed
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for fixed[x] ()setIsModifier
(boolean theBoolean) Sets the value for isModifier ()setIsModifier
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for isModifier ()setIsSummary
(boolean theBoolean) Sets the value for isSummary ()setIsSummary
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for isSummary ()setLabel
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for label ()Sets the value for label ()setMapping
(List<ElementDefinitionDt.Mapping> theValue) Sets the value(s) for mapping ()setMax
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for max ()Sets the value for max ()setMaxLength
(int theInteger) Sets the value for maxLength ()setMaxLength
(ca.uhn.fhir.model.primitive.IntegerDt theValue) Sets the value(s) for maxLength ()setMaxValue
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for maxValue[x] ()setMeaningWhenMissing
(ca.uhn.fhir.model.primitive.MarkdownDt theValue) Sets the value(s) for meaningWhenMissing ()setMin
(int theInteger) Sets the value for min ()setMin
(ca.uhn.fhir.model.primitive.IntegerDt theValue) Sets the value(s) for min ()setMinValue
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for minValue[x] ()setMustSupport
(boolean theBoolean) Sets the value for mustSupport ()setMustSupport
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for mustSupport ()setName
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for name ()Sets the value for name ()setNameReference
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for nameReference ()setNameReference
(String theString) Sets the value for nameReference ()setPath
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for path ()Sets the value for path ()setPattern
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for pattern[x] ()setRepresentation
(PropertyRepresentationEnum theValue) Sets the value(s), and clears any existing value(s) for representation ()setRepresentation
(List<ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum>> theValue) Sets the value(s) for representation ()setRequirements
(ca.uhn.fhir.model.primitive.MarkdownDt theValue) Sets the value(s) for requirements ()setShort
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for short ()Sets the value for short ()setSlicing
(ElementDefinitionDt.Slicing theValue) Sets the value(s) for slicing ()setType
(List<ElementDefinitionDt.Type> theValue) Sets the value(s) for type ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Constructor Details
-
ElementDefinitionDt
public ElementDefinitionDt()Constructor
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.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 interfaceca.uhn.fhir.model.api.ICompositeElement
-
getPathElement
Gets the value(s) for path (). creating it if it does not exist. Will not returnnull
.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
Gets the value(s) for path (). creating it if it does not exist. This method may returnnull
.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
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
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 returnnull
.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 theaddRepresentation()
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
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
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull
.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
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull
.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
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
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
Gets the value(s) for label (). creating it if it does not exist. Will not returnnull
.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
Gets the value(s) for label (). creating it if it does not exist. This method may returnnull
.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
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
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
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.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
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 benull
)
-
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 returnnull
.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
Gets the value(s) for short (). creating it if it does not exist. Will not returnnull
.Definition: A concise description of what this element means (e.g. for use in autogenerated summaries)
-
getShort
Gets the value(s) for short (). creating it if it does not exist. This method may returnnull
.Definition: A concise description of what this element means (e.g. for use in autogenerated summaries)
-
setShort
Sets the value(s) for short ()Definition: A concise description of what this element means (e.g. for use in autogenerated summaries)
-
setShort
Sets the value for short ()Definition: A concise description of what this element means (e.g. for use in autogenerated summaries)
-
getDefinitionElement
Gets the value(s) for definition (). creating it if it does not exist. Will not returnnull
.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 returnnull
.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
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
Gets the value(s) for comments (). creating it if it does not exist. Will not returnnull
.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
Gets the value(s) for comments (). creating it if it does not exist. This method may returnnull
.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
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
Gets the value(s) for requirements (). creating it if it does not exist. Will not returnnull
.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 returnnull
.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
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
Gets the value(s) for alias (). creating it if it does not exist. Will not returnnull
.Definition: Identifies additional names by which this element might also be known
-
setAlias
Sets the value(s) for alias ()Definition: Identifies additional names by which this element might also be known
-
addAlias
Adds and returns a new value for alias ()Definition: Identifies additional names by which this element might also be known
-
addAlias
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 benull
)
-
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
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
Gets the value(s) for min (). creating it if it does not exist. Will not returnnull
.Definition: The minimum number of times this element SHALL appear in the instance
-
getMin
Gets the value(s) for min (). creating it if it does not exist. This method may returnnull
.Definition: The minimum number of times this element SHALL appear in the instance
-
setMin
Sets the value(s) for min ()Definition: The minimum number of times this element SHALL appear in the instance
-
setMin
Sets the value for min ()Definition: The minimum number of times this element SHALL appear in the instance
-
getMaxElement
Gets the value(s) for max (). creating it if it does not exist. Will not returnnull
.Definition: The maximum number of times this element is permitted to appear in the instance
-
getMax
Gets the value(s) for max (). creating it if it does not exist. This method may returnnull
.Definition: The maximum number of times this element is permitted to appear in the instance
-
setMax
Sets the value(s) for max ()Definition: The maximum number of times this element is permitted to appear in the instance
-
setMax
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 returnnull
.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 returnnull
.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 benull
)
-
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
Gets the value(s) for nameReference (). creating it if it does not exist. Will not returnnull
.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 returnnull
.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(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
Gets the value(s) for defaultValue[x] (). creating it if it does not exist. Will not returnnull
.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
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
Gets the value(s) for meaningWhenMissing (). creating it if it does not exist. Will not returnnull
.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 returnnull
.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
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
Gets the value(s) for fixed[x] (). creating it if it does not exist. Will not returnnull
.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
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
Gets the value(s) for pattern[x] (). creating it if it does not exist. Will not returnnull
.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
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
Gets the value(s) for example[x] (). creating it if it does not exist. Will not returnnull
.Definition: A sample value for this element demonstrating the type of information that would typically be captured.
-
setExample
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
Gets the value(s) for minValue[x] (). creating it if it does not exist. Will not returnnull
.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
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
Gets the value(s) for maxValue[x] (). creating it if it does not exist. Will not returnnull
.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
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
Gets the value(s) for maxLength (). creating it if it does not exist. Will not returnnull
.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 returnnull
.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
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
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
Gets the value(s) for condition (). creating it if it does not exist. Will not returnnull
.Definition: A reference to an invariant that may make additional statements about the cardinality or value in the instance
-
setCondition
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
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
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 benull
)
-
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 returnnull
.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 benull
)
-
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
Gets the value(s) for mustSupport (). creating it if it does not exist. Will not returnnull
.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 returnnull
.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
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
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
Gets the value(s) for isModifier (). creating it if it does not exist. Will not returnnull
.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 returnnull
.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
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
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
Gets the value(s) for isSummary (). creating it if it does not exist. Will not returnnull
.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 returnnull
.Definition: Whether the element should be included if a client requests a search with the parameter _summary=true
-
setIsSummary
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
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 returnnull
.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 returnnull
.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 benull
)
-
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
-