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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElementDefinitionDt.BaseBlock class for child element: ElementDefinition.base ()static classElementDefinitionDt.BindingBlock class for child element: ElementDefinition.binding ()static classElementDefinitionDt.ConstraintBlock class for child element: ElementDefinition.constraint ()static classElementDefinitionDt.MappingBlock class for child element: ElementDefinition.mapping ()static classElementDefinitionDt.SlicingBlock class for child element: ElementDefinition.slicing ()static classElementDefinitionDt.TypeBlock class for child element: ElementDefinition.type ()
-
Constructor Summary
Constructors Constructor Description ElementDefinitionDt()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.uhn.fhir.model.primitive.StringDtaddAlias()Adds and returns a new value for alias ()ElementDefinitionDtaddAlias(ca.uhn.fhir.model.primitive.StringDt theValue)Adds a given new value for alias ()ElementDefinitionDtaddAlias(String theString)Adds a new value for alias ()CodingDtaddCode()Adds and returns a new value for code ()ElementDefinitionDtaddCode(CodingDt theValue)Adds a given new value for code ()ca.uhn.fhir.model.primitive.IdDtaddCondition()Adds and returns a new value for condition ()ElementDefinitionDtaddCondition(ca.uhn.fhir.model.primitive.IdDt theValue)Adds a given new value for condition ()ElementDefinitionDtaddCondition(String theId)Adds a new value for condition ()ElementDefinitionDt.ConstraintaddConstraint()Adds and returns a new value for constraint ()ElementDefinitionDtaddConstraint(ElementDefinitionDt.Constraint theValue)Adds a given new value for constraint ()ElementDefinitionDt.MappingaddMapping()Adds and returns a new value for mapping ()ElementDefinitionDtaddMapping(ElementDefinitionDt.Mapping theValue)Adds a given new value for mapping ()ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum>addRepresentation()Add a value for representation ()ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum>addRepresentation(PropertyRepresentationEnum theValue)Add a value for representation () using an enumerated type.ElementDefinitionDt.TypeaddType()Adds and returns a new value for type ()ElementDefinitionDtaddType(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.StringDtgetAliasFirstRep()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)ElementDefinitionDt.BasegetBase()Gets the value(s) for base ().ElementDefinitionDt.BindinggetBinding()Gets the value(s) for binding ().List<CodingDt>getCode()Gets the value(s) for code ().CodingDtgetCodeFirstRep()Gets the first repetition for code (), creating it if it does not already exist.StringgetComments()Gets the value(s) for comments ().ca.uhn.fhir.model.primitive.MarkdownDtgetCommentsElement()Gets the value(s) for comments ().List<ca.uhn.fhir.model.primitive.IdDt>getCondition()Gets the value(s) for condition ().ca.uhn.fhir.model.primitive.IdDtgetConditionFirstRep()Gets the first repetition for condition (), creating it if it does not already exist.List<ElementDefinitionDt.Constraint>getConstraint()Gets the value(s) for constraint ().ElementDefinitionDt.ConstraintgetConstraintFirstRep()Gets the first repetition for constraint (), creating it if it does not already exist.ca.uhn.fhir.model.api.IDatatypegetDefaultValue()Gets the value(s) for defaultValue[x] ().StringgetDefinition()Gets the value(s) for definition ().ca.uhn.fhir.model.primitive.MarkdownDtgetDefinitionElement()Gets the value(s) for definition ().ca.uhn.fhir.model.api.IDatatypegetExample()Gets the value(s) for example[x] ().ca.uhn.fhir.model.api.IDatatypegetFixed()Gets the value(s) for fixed[x] ().BooleangetIsModifier()Gets the value(s) for isModifier ().ca.uhn.fhir.model.primitive.BooleanDtgetIsModifierElement()Gets the value(s) for isModifier ().BooleangetIsSummary()Gets the value(s) for isSummary ().ca.uhn.fhir.model.primitive.BooleanDtgetIsSummaryElement()Gets the value(s) for isSummary ().StringgetLabel()Gets the value(s) for label ().ca.uhn.fhir.model.primitive.StringDtgetLabelElement()Gets the value(s) for label ().List<ElementDefinitionDt.Mapping>getMapping()Gets the value(s) for mapping ().ElementDefinitionDt.MappinggetMappingFirstRep()Gets the first repetition for mapping (), creating it if it does not already exist.StringgetMax()Gets the value(s) for max ().ca.uhn.fhir.model.primitive.StringDtgetMaxElement()Gets the value(s) for max ().IntegergetMaxLength()Gets the value(s) for maxLength ().ca.uhn.fhir.model.primitive.IntegerDtgetMaxLengthElement()Gets the value(s) for maxLength ().ca.uhn.fhir.model.api.IDatatypegetMaxValue()Gets the value(s) for maxValue[x] ().StringgetMeaningWhenMissing()Gets the value(s) for meaningWhenMissing ().ca.uhn.fhir.model.primitive.MarkdownDtgetMeaningWhenMissingElement()Gets the value(s) for meaningWhenMissing ().IntegergetMin()Gets the value(s) for min ().ca.uhn.fhir.model.primitive.IntegerDtgetMinElement()Gets the value(s) for min ().ca.uhn.fhir.model.api.IDatatypegetMinValue()Gets the value(s) for minValue[x] ().BooleangetMustSupport()Gets the value(s) for mustSupport ().ca.uhn.fhir.model.primitive.BooleanDtgetMustSupportElement()Gets the value(s) for mustSupport ().StringgetName()Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDtgetNameElement()Gets the value(s) for name ().StringgetNameReference()Gets the value(s) for nameReference ().ca.uhn.fhir.model.primitive.StringDtgetNameReferenceElement()Gets the value(s) for nameReference ().StringgetPath()Gets the value(s) for path ().ca.uhn.fhir.model.primitive.StringDtgetPathElement()Gets the value(s) for path ().ca.uhn.fhir.model.api.IDatatypegetPattern()Gets the value(s) for pattern[x] ().List<ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum>>getRepresentation()Gets the value(s) for representation ().ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum>getRepresentationFirstRep()Gets the first repetition for representation (), creating it if it does not already exist.StringgetRequirements()Gets the value(s) for requirements ().ca.uhn.fhir.model.primitive.MarkdownDtgetRequirementsElement()Gets the value(s) for requirements ().StringgetShort()Gets the value(s) for short ().ca.uhn.fhir.model.primitive.StringDtgetShortElement()Gets the value(s) for short ().ElementDefinitionDt.SlicinggetSlicing()Gets the value(s) for slicing ().List<ElementDefinitionDt.Type>getType()Gets the value(s) for type ().ElementDefinitionDt.TypegetTypeFirstRep()Gets the first repetition for type (), creating it if it does not already exist.booleanisEmpty()ElementDefinitionDtsetAlias(List<ca.uhn.fhir.model.primitive.StringDt> theValue)Sets the value(s) for alias ()ElementDefinitionDtsetBase(ElementDefinitionDt.Base theValue)Sets the value(s) for base ()ElementDefinitionDtsetBinding(ElementDefinitionDt.Binding theValue)Sets the value(s) for binding ()ElementDefinitionDtsetCode(List<CodingDt> theValue)Sets the value(s) for code ()ElementDefinitionDtsetComments(ca.uhn.fhir.model.primitive.MarkdownDt theValue)Sets the value(s) for comments ()ElementDefinitionDtsetCondition(List<ca.uhn.fhir.model.primitive.IdDt> theValue)Sets the value(s) for condition ()ElementDefinitionDtsetConstraint(List<ElementDefinitionDt.Constraint> theValue)Sets the value(s) for constraint ()ElementDefinitionDtsetDefaultValue(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for defaultValue[x] ()ElementDefinitionDtsetDefinition(ca.uhn.fhir.model.primitive.MarkdownDt theValue)Sets the value(s) for definition ()ElementDefinitionDtsetExample(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for example[x] ()ElementDefinitionDtsetFixed(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for fixed[x] ()ElementDefinitionDtsetIsModifier(boolean theBoolean)Sets the value for isModifier ()ElementDefinitionDtsetIsModifier(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for isModifier ()ElementDefinitionDtsetIsSummary(boolean theBoolean)Sets the value for isSummary ()ElementDefinitionDtsetIsSummary(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for isSummary ()ElementDefinitionDtsetLabel(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for label ()ElementDefinitionDtsetLabel(String theString)Sets the value for label ()ElementDefinitionDtsetMapping(List<ElementDefinitionDt.Mapping> theValue)Sets the value(s) for mapping ()ElementDefinitionDtsetMax(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for max ()ElementDefinitionDtsetMax(String theString)Sets the value for max ()ElementDefinitionDtsetMaxLength(int theInteger)Sets the value for maxLength ()ElementDefinitionDtsetMaxLength(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for maxLength ()ElementDefinitionDtsetMaxValue(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for maxValue[x] ()ElementDefinitionDtsetMeaningWhenMissing(ca.uhn.fhir.model.primitive.MarkdownDt theValue)Sets the value(s) for meaningWhenMissing ()ElementDefinitionDtsetMin(int theInteger)Sets the value for min ()ElementDefinitionDtsetMin(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for min ()ElementDefinitionDtsetMinValue(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for minValue[x] ()ElementDefinitionDtsetMustSupport(boolean theBoolean)Sets the value for mustSupport ()ElementDefinitionDtsetMustSupport(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for mustSupport ()ElementDefinitionDtsetName(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for name ()ElementDefinitionDtsetName(String theString)Sets the value for name ()ElementDefinitionDtsetNameReference(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for nameReference ()ElementDefinitionDtsetNameReference(String theString)Sets the value for nameReference ()ElementDefinitionDtsetPath(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for path ()ElementDefinitionDtsetPath(String theString)Sets the value for path ()ElementDefinitionDtsetPattern(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for pattern[x] ()ElementDefinitionDtsetRepresentation(PropertyRepresentationEnum theValue)Sets the value(s), and clears any existing value(s) for representation ()ElementDefinitionDtsetRepresentation(List<ca.uhn.fhir.model.primitive.BoundCodeDt<PropertyRepresentationEnum>> theValue)Sets the value(s) for representation ()ElementDefinitionDtsetRequirements(ca.uhn.fhir.model.primitive.MarkdownDt theValue)Sets the value(s) for requirements ()ElementDefinitionDtsetShort(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for short ()ElementDefinitionDtsetShort(String theString)Sets the value for short ()ElementDefinitionDtsetSlicing(ElementDefinitionDt.Slicing theValue)Sets the value(s) for slicing ()ElementDefinitionDtsetType(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
-
-
-
-
Constructor Detail
-
ElementDefinitionDt
public ElementDefinitionDt()
Constructor
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.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 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
public String 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
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 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
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
public ElementDefinitionDt setRepresentation(PropertyRepresentationEnum theValue)
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 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
public String 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
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 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
public String 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
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 returnnull.Definition: A code that provides the meaning for the element according to a particular terminology.
-
setCode
public ElementDefinitionDt setCode(List<CodingDt> theValue)
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
public ElementDefinitionDt addCode(CodingDt theValue)
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
public CodingDt 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
public ElementDefinitionDt.Slicing 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
public ElementDefinitionDt setSlicing(ElementDefinitionDt.Slicing theValue)
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 returnnull.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 returnnull.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 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
public String 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
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 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
public String 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
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 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
public String 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
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 returnnull.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 benull)
-
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 returnnull.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 returnnull.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 returnnull.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 returnnull.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
public ElementDefinitionDt.Base 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
public ElementDefinitionDt setBase(ElementDefinitionDt.Base theValue)
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
public List<ElementDefinitionDt.Type> 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
public ElementDefinitionDt setType(List<ElementDefinitionDt.Type> theValue)
Sets the value(s) for type ()Definition: The data type or resource that the value of this element is permitted to be
-
addType
public ElementDefinitionDt.Type 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
public ElementDefinitionDt addType(ElementDefinitionDt.Type theValue)
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
public ElementDefinitionDt.Type 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 returnnull.Definition: Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element
-
getNameReference
public String 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
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
public ElementDefinitionDt setNameReference(String theString)
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 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
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 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
public String 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
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 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
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 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
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 returnnull.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 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
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 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
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 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
public Integer 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
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 returnnull.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 benull)
-
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
public ElementDefinitionDt addCondition(String theId)
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
public List<ElementDefinitionDt.Constraint> 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
public ElementDefinitionDt setConstraint(List<ElementDefinitionDt.Constraint> theValue)
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
public ElementDefinitionDt.Constraint 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
public ElementDefinitionDt addConstraint(ElementDefinitionDt.Constraint theValue)
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
public ElementDefinitionDt.Constraint 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 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
public Boolean 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
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 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
public Boolean 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
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 returnnull.Definition: Whether the element should be included if a client requests a search with the parameter _summary=true
-
getIsSummary
public Boolean 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
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
public ElementDefinitionDt.Binding 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
public ElementDefinitionDt setBinding(ElementDefinitionDt.Binding theValue)
Sets the value(s) for binding ()Definition: Binds to a value set if this element is coded (code, Coding, CodeableConcept)
-
getMapping
public List<ElementDefinitionDt.Mapping> 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
public ElementDefinitionDt setMapping(List<ElementDefinitionDt.Mapping> theValue)
Sets the value(s) for mapping ()Definition: Identifies a concept from an external specification that roughly corresponds to this element
-
addMapping
public ElementDefinitionDt.Mapping addMapping()
Adds and returns a new value for mapping ()Definition: Identifies a concept from an external specification that roughly corresponds to this element
-
addMapping
public ElementDefinitionDt addMapping(ElementDefinitionDt.Mapping theValue)
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
public ElementDefinitionDt.Mapping 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
-
-