Skip to main content

ElementDefinition

Data typeNormative

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

Structure​

ElementCard.TypeDescription
id
0..1stringUnique id for inter-element referencing
extension
0..*ExtensionAdditional content defined by implementations
modifierExtension?!Σ
0..*ExtensionExtensions that cannot be ignored even if unrecognized
pathRequiredΣ
1..1stringPath of the element in the hierarchy of elements
representationΣ
0..*codexmlAttr | xmlText | typeAttr | cdaText | xhtmlBinding (required): property-representation
sliceNameΣ
0..1stringName for this particular element (in a set of slices)
sliceIsConstrainingΣ
0..1booleanIf this slice definition constrains an inherited slice definition (or not)
labelΣ
0..1stringName for element to display with or prompt for element
codeΣ
0..*CodingCorresponding codes in terminologiesBinding (example): observation-codes
slicingΣ
0..1ElementThis element is sliced - slices follow
id
0..1stringUnique id for inter-element referencing
extension
0..*ExtensionAdditional content defined by implementations
discriminatorΣ
0..*ElementElement values that are used to distinguish the slices
id
0..1stringUnique id for inter-element referencing
extension
0..*ExtensionAdditional content defined by implementations
typeRequiredΣ
1..1codevalue | exists | pattern | type | profileBinding (required): discriminator-type
pathRequiredΣ
1..1stringPath to element value
descriptionΣ
0..1stringText description of how slicing works (or not)
orderedΣ
0..1booleanIf elements must be in same order as slices
rulesRequiredΣ
1..1codeclosed | open | openAtEndBinding (required): resource-slicing-rules
shortΣ
0..1stringConcise definition for space-constrained presentation
definitionΣ
0..1markdownFull formal definition as narrative text
commentΣ
0..1markdownComments about the use of this element
requirementsΣ
0..1markdownWhy this resource has been created
aliasΣ
0..*stringOther names
minΣ
0..1unsignedIntMinimum Cardinality
maxΣ
0..1stringMaximum Cardinality (a number or *)
baseΣ
0..1ElementBase definition information for tools
id
0..1stringUnique id for inter-element referencing
extension
0..*ExtensionAdditional content defined by implementations
pathRequiredΣ
1..1stringPath that identifies the base element
minRequiredΣ
1..1unsignedIntMin cardinality of the base element
maxRequiredΣ
1..1stringMax cardinality of the base element
contentReferenceΣ
0..1uriReference to definition of content for the element
typeΣ
0..*ElementData type and Profile for this element
id
0..1stringUnique id for inter-element referencing
extension
0..*ExtensionAdditional content defined by implementations
codeRequiredΣ
1..1uriData type or Resource (reference to definition)Binding (extensible): defined-types
profileΣ
0..*canonical(StructureDefinition | ImplementationGuide)Profiles (StructureDefinition or IG) - one must apply
targetProfileΣ
0..*canonical(StructureDefinition | ImplementationGuide)Profile (StructureDefinition or IG) on the Reference/canonical target - one must apply
aggregationΣ
0..*codecontained | referenced | bundled - how aggregatedBinding (required): resource-aggregation-mode
versioningΣ
0..1codeeither | independent | specificBinding (required): reference-version-rules
defaultValue[x]Σ
0..1base64Binary | boolean | canonical | code | date | dateTime | decimal | id | instant | integer | markdown | oid | positiveInt | string | time | unsignedInt | uri | url | uuid | Address | Age | Annotation | Attachment | CodeableConcept | Coding | ContactPoint | Count | Distance | Duration | HumanName | Identifier | Money | Period | Quantity | Range | Ratio | Reference | SampledData | Signature | Timing | ContactDetail | Contributor | DataRequirement | Expression | ParameterDefinition | RelatedArtifact | TriggerDefinition | UsageContext | Dosage | MetaSpecified value if missing from instance
meaningWhenMissingΣ
0..1markdownImplicit meaning when this element is missing
orderMeaningΣ
0..1stringWhat the order of the elements means
fixed[x]Σ
0..1base64Binary | boolean | canonical | code | date | dateTime | decimal | id | instant | integer | markdown | oid | positiveInt | string | time | unsignedInt | uri | url | uuid | Address | Age | Annotation | Attachment | CodeableConcept | Coding | ContactPoint | Count | Distance | Duration | HumanName | Identifier | Money | Period | Quantity | Range | Ratio | Reference | SampledData | Signature | Timing | ContactDetail | Contributor | DataRequirement | Expression | ParameterDefinition | RelatedArtifact | TriggerDefinition | UsageContext | Dosage | MetaValue must be exactly this
pattern[x]Σ
0..1base64Binary | boolean | canonical | code | date | dateTime | decimal | id | instant | integer | markdown | oid | positiveInt | string | time | unsignedInt | uri | url | uuid | Address | Age | Annotation | Attachment | CodeableConcept | Coding | ContactPoint | Count | Distance | Duration | HumanName | Identifier | Money | Period | Quantity | Range | Ratio | Reference | SampledData | Signature | Timing | ContactDetail | Contributor | DataRequirement | Expression | ParameterDefinition | RelatedArtifact | TriggerDefinition | UsageContext | Dosage | MetaValue must have at least these property values
exampleΣ
0..*ElementExample value (as defined for type)
id
0..1stringUnique id for inter-element referencing
extension
0..*ExtensionAdditional content defined by implementations
labelRequiredΣ
1..1stringDescribes the purpose of this example
value[x]RequiredΣ
1..1base64Binary | boolean | canonical | code | date | dateTime | decimal | id | instant | integer | markdown | oid | positiveInt | string | time | unsignedInt | uri | url | uuid | Address | Age | Annotation | Attachment | CodeableConcept | Coding | ContactPoint | Count | Distance | Duration | HumanName | Identifier | Money | Period | Quantity | Range | Ratio | Reference | SampledData | Signature | Timing | ContactDetail | Contributor | DataRequirement | Expression | ParameterDefinition | RelatedArtifact | TriggerDefinition | UsageContext | Dosage | MetaValue of Example (one of allowed types)
minValue[x]Σ
0..1date | dateTime | instant | time | decimal | integer | positiveInt | unsignedInt | QuantityMinimum Allowed Value (for some types)
maxValue[x]Σ
0..1date | dateTime | instant | time | decimal | integer | positiveInt | unsignedInt | QuantityMaximum Allowed Value (for some types)
maxLengthΣ
0..1integerMax length for strings
conditionΣ
0..*idReference to invariant about presence
constraintΣ
0..*ElementCondition that must evaluate to true
id
0..1stringUnique id for inter-element referencing
extension
0..*ExtensionAdditional content defined by implementations
keyRequiredΣ
1..1idTarget of 'condition' reference above
requirementsΣ
0..1stringWhy this constraint is necessary or appropriate
severityRequiredΣ
1..1codeerror | warningBinding (required): constraint-severity
humanRequiredΣ
1..1stringHuman description of constraint
expressionΣ
0..1stringFHIRPath expression of constraint
xpathΣ
0..1stringXPath expression of constraint
sourceΣ
0..1canonical(StructureDefinition)Reference to original source of constraint
mustSupportΣ
0..1booleanIf the element must be supported
isModifierΣ
0..1booleanIf this modifies the meaning of other elements
isModifierReasonΣ
0..1stringReason that this element is marked as a modifier
isSummaryΣ
0..1booleanInclude when _summary = true?
bindingΣ
0..1ElementValueSet details if this is coded
id
0..1stringUnique id for inter-element referencing
extension
0..*ExtensionAdditional content defined by implementations
strengthRequiredΣ
1..1coderequired | extensible | preferred | exampleBinding (required): binding-strength
descriptionΣ
0..1stringHuman explanation of the value set
valueSetΣ
0..1canonical(ValueSet)Source of value set
mappingΣ
0..*ElementMap element to another set of definitions
id
0..1stringUnique id for inter-element referencing
extension
0..*ExtensionAdditional content defined by implementations
identityRequiredΣ
1..1idReference to mapping declaration
languageΣ
0..1codeComputable language of mappingBinding (required): mimetypes
mapRequiredΣ
1..1stringDetails of the mapping
commentΣ
0..1stringComments about the mapping or its use

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey