This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2 Element Definition Examples Detailed Descriptions Mappings 1.21.0 Element Definition Introduction 1.21.0.1 Content Structure UML XML JSON All Structure Name Flags Card. Type Description & Constraints ElementDefinition I Element Definition of an elements in a resource or extension Types must be unique by the combination of code and profile Constraints must be unique by key Binding can only be present for coded elements, string, and uri Pattern and value are mutually exclusive Constraint names must be unique. default value and meaningWhenMissing are mutually exclusive Min <= Max Pattern may only be specified if there is one type Fixed value may only be specified if there is one type Either a namereference or a fixed value (but not both) is permitted path 1..1 string The path of the element (see the Detailed Descriptions) representation 0..* code How this element is represented in instances PropertyRepresentation ( Required ) name 0..1 string Name for this particular element definition (reference target) label 0..1 string Name for element to display with or prompt for element code 0..* Coding Defining code slicing I 0..1 Element This element is sliced - slices follow If there are no discriminators, there must be a definition discriminator 0..* string Element values that used to distinguish the slices description I 0..1 string Text description of how slicing works (or not) ordered 0..1 boolean If elements must be in same order as slices rules 1..1 code closed | open | openAtEnd SlicingRules ( Required ) short 0..1 string Concise definition for xml presentation definition 0..1 string Full formal definition as narrative text comments 0..1 string Comments about the use of this element requirements 0..1 string Why is this needed? alias 0..* string Other names min I 0..1 integer Minimum Cardinality max I 0..1 string Maximum Cardinality (a number or *) Max SHALL be a number or "*" type I 0..* Element Data type and Profile for this element Aggregation may only be specified if one of the allowed types for the element is a resource code 1..1 code Name of Data type or Resource DataType ( Required ) profile 0..1 uri Profile.structure to apply aggregation I 0..* code contained | referenced | bundled - how aggregated AggregationMode ( Required ) nameReference I 0..1 string To another element constraint (by element.name) defaultValue[x] I 0..1 * Specified value it missing from instance meaningWhenMissing I 0..1 string Implicit meaning when this element is missing fixed[x] I 0..1 * Value must be exactly this pattern[x] I 0..1 * Value must have at least these property values example[x] 0..1 * Example value: [as defined for type] maxLength 0..1 integer Max length for strings condition 0..* id Reference to invariant about presence constraint 0..* Element Condition that must evaluate to true key I 1..1 id Target of 'condition' reference above name I 0..1 string Short human label severity 1..1 code error | warning ConstraintSeverity ( Required ) human 1..1 string Human description of constraint xpath 1..1 string XPath expression of constraint mustSupport 0..1 boolean If the element must supported isModifier 0..1 boolean If this modifies the meaning of other elements isSummary 0..1 boolean Include when _summary = true? binding I 0..1 Element ValueSet details if this is coded Example value sets are always extensible provide either a reference or a description (or both) name 1..1 string Descriptive Name strength 1..1 code required | extensible | preferred | example BindingStrength ( Required ) description I 0..1 string Human explanation of the value set valueSet[x] I Source of value set uri SHALL start with http:// or https:// valueSetUri 0..1 uri valueSetReference 0..1 ValueSet mapping 0..* Element Map element to another set of definitions identity 1..1 id Reference to mapping declaration language 0..1 code Computable language of mapping MimeType ( Required ) map 1..1 string Details of the mapping UML Diagram Element Extensions - as described for all elements: additional information that is not part of the basic definition of the resource / type extension : Extension 0..* ElementDefinition The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension path : string 1..1 Codes that define how this element is represented in instances, when the deviation varies from the normal case representation : code 0..* « How a property is represented on the wire PropertyRepresentation » 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 name : string 0..1 The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form label : string 0..1 A code that provides the meaning for the element according to a particular terminology code : Coding 0..* A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification) short : string 0..1 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 definition : string 0..1 Comments about the use of the element, including notes about how to use the data properly, exceptions to proper use, etc comments : string 0..1 Explains why this element is needed and why it's been constrained as it has requirements : string 0..1 Identifies additional names by which this element might also be known alias : string 0..* The minimum number of times this element SHALL appear in the instance min : integer 0..1 The maximum number of times this element is permitted to appear in the instance max : string 0..1 Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element nameReference : string 0..1 The value that should be used if there is no value stated in the instance defaultValue[x] : * 0..1 The Implicit meaning that is to be understood when this element is missing meaningWhenMissing : string 0..1 Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-signficant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing fixed[x] : * 0..1 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-senstive, accent-sensitive, etc.) pattern[x] : * 0..1 A sample value for this element demonstrating the type of information that would typically be captured example[x] : * 0..1 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 maxLength : integer 0..1 A reference to an invariant that may make additional statements about the cardinality or value in the instance condition : id 0..* If true, conformant resource authors SHALL be capable of providing a value for the element and resource consumers SHALL be capable of extracting and doing something useful with the data element. If false, the element may be ignored and not supported mustSupport : boolean 0..1 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 isModifier : boolean 0..1 Whether the element should be included if a client requests a search with the parameter _summary=true isSummary : boolean 0..1 Slicing Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices discriminator : string 0..* A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated description : string 0..1 If the matching elements have to occur in the same order as defined in the profile ordered : boolean 0..1 Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end rules : code 1..1 « How slices are interpreted when evaluating an instance SlicingRules » TypeRef Name of Data type or Resource that is a(or the) type used for this element code : code 1..1 « The type of an element - one of the FHIR data types DataType » Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile profile : uri 0..1 If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle aggregation : code 0..* « How resource references can be aggregated AggregationMode » Constraint Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality key : id 1..1 Used to label the constraint in OCL or in short displays incapable of displaying the full human description name : string 0..1 Identifies the impact constraint violation has on the conformance of the instance severity : code 1..1 « SHALL applications comply with this constraint? ConstraintSeverity » Text that can be used to describe the constraint in messages identifying that the constraint has been violated human : string 1..1 An XPath expression of constraint that can be executed to see if this constraint is met xpath : string 1..1 Binding A descriptive name for this - can be useful for generating implementation artifacts name : string 1..1 Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances strength : code 1..1 « Indication of the degree of conformance expectations associated with a binding BindingStrength » Describes the intended use of this particular set of codes description : string 0..1 Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used valueSet[x] : uri | Reference ( ValueSet ) 0..1 Mapping An internal reference to the definition of a mapping identity : id 1..1 Identifies the computable language in which mapping.map is expressed language : code 0..1 « The mime type of an attachment MimeType » Expresses what part of the target specification corresponds to this element map : string 1..1 Indicates that the element is sliced into a set of alternative definitions (there are multiple definitions on a single element in the base resource). 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) slicing 0..1 The data type or resource that the value of this element is permitted to be type 0..* Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance constraint 0..* Binds to a value set if this element is coded (code, Coding, CodeableConcept) binding 0..1 Identifies a concept from an external specification that roughly corresponds to this element mapping 0..* XML Template < <!-- from Element: --> < < < < <</code> < < < < < </slicing> < < < < < < < < < < < </type> < <</defaultValue[x]> < <</fixed[x]> <</pattern[x]> <</example[x]> < < < < < < < < </constraint> < < < < < < < <</valueSet[x]> </binding> < < < < </mapping> </[name]> JSON Template  { // from Element: " " " " " " " " " " }, " " " " " " " " " " " }], " ">, ">, ">", ">", ">", ">", ">", ">, ">", ">", " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " ">, ">, ">", ">", ">", ">", ">", ">, ">", ">", " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, ">, ">, ">", ">", ">", ">", ">", ">, ">", ">", " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, ">, ">, ">", ">", ">", ">", ">", ">, ">", ">", " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " " " " " " " " }], " " " " " " " ">" " } }, " " " " }] } Structure Name Flags Card. Type Description & Constraints ElementDefinition I Element Definition of an elements in a resource or extension Types must be unique by the combination of code and profile Constraints must be unique by key Binding can only be present for coded elements, string, and uri Pattern and value are mutually exclusive Constraint names must be unique. default value and meaningWhenMissing are mutually exclusive Min <= Max Pattern may only be specified if there is one type Fixed value may only be specified if there is one type Either a namereference or a fixed value (but not both) is permitted path 1..1 string The path of the element (see the Detailed Descriptions) representation 0..* code How this element is represented in instances PropertyRepresentation ( Required ) name 0..1 string Name for this particular element definition (reference target) label 0..1 string Name for element to display with or prompt for element code 0..* Coding Defining code slicing I 0..1 Element This element is sliced - slices follow If there are no discriminators, there must be a definition discriminator 0..* string Element values that used to distinguish the slices description I 0..1 string Text description of how slicing works (or not) ordered 0..1 boolean If elements must be in same order as slices rules 1..1 code closed | open | openAtEnd SlicingRules ( Required ) short 0..1 string Concise definition for xml presentation definition 0..1 string Full formal definition as narrative text comments 0..1 string Comments about the use of this element requirements 0..1 string Why is this needed? alias 0..* string Other names min I 0..1 integer Minimum Cardinality max I 0..1 string Maximum Cardinality (a number or *) Max SHALL be a number or "*" type I 0..* Element Data type and Profile for this element Aggregation may only be specified if one of the allowed types for the element is a resource code 1..1 code Name of Data type or Resource DataType ( Required ) profile 0..1 uri Profile.structure to apply aggregation I 0..* code contained | referenced | bundled - how aggregated AggregationMode ( Required ) nameReference I 0..1 string To another element constraint (by element.name) defaultValue[x] I 0..1 * Specified value it missing from instance meaningWhenMissing I 0..1 string Implicit meaning when this element is missing fixed[x] I 0..1 * Value must be exactly this pattern[x] I 0..1 * Value must have at least these property values example[x] 0..1 * Example value: [as defined for type] maxLength 0..1 integer Max length for strings condition 0..* id Reference to invariant about presence constraint 0..* Element Condition that must evaluate to true key I 1..1 id Target of 'condition' reference above name I 0..1 string Short human label severity 1..1 code error | warning ConstraintSeverity ( Required ) human 1..1 string Human description of constraint xpath 1..1 string XPath expression of constraint mustSupport 0..1 boolean If the element must supported isModifier 0..1 boolean If this modifies the meaning of other elements isSummary 0..1 boolean Include when _summary = true? binding I 0..1 Element ValueSet details if this is coded Example value sets are always extensible provide either a reference or a description (or both) name 1..1 string Descriptive Name strength 1..1 code required | extensible | preferred | example BindingStrength ( Required ) description I 0..1 string Human explanation of the value set valueSet[x] I Source of value set uri SHALL start with http:// or https:// valueSetUri 0..1 uri valueSetReference 0..1 ValueSet mapping 0..* Element Map element to another set of definitions identity 1..1 id Reference to mapping declaration language 0..1 code Computable language of mapping MimeType ( Required ) map 1..1 string Details of the mapping UML Diagram Element Extensions - as described for all elements: additional information that is not part of the basic definition of the resource / type extension : Extension 0..* ElementDefinition The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension path : string 1..1 Codes that define how this element is represented in instances, when the deviation varies from the normal case representation : code 0..* « How a property is represented on the wire PropertyRepresentation » 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 name : string 0..1 The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form label : string 0..1 A code that provides the meaning for the element according to a particular terminology code : Coding 0..* A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification) short : string 0..1 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 definition : string 0..1 Comments about the use of the element, including notes about how to use the data properly, exceptions to proper use, etc comments : string 0..1 Explains why this element is needed and why it's been constrained as it has requirements : string 0..1 Identifies additional names by which this element might also be known alias : string 0..* The minimum number of times this element SHALL appear in the instance min : integer 0..1 The maximum number of times this element is permitted to appear in the instance max : string 0..1 Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element nameReference : string 0..1 The value that should be used if there is no value stated in the instance defaultValue[x] : * 0..1 The Implicit meaning that is to be understood when this element is missing meaningWhenMissing : string 0..1 Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-signficant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing fixed[x] : * 0..1 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-senstive, accent-sensitive, etc.) pattern[x] : * 0..1 A sample value for this element demonstrating the type of information that would typically be captured example[x] : * 0..1 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 maxLength : integer 0..1 A reference to an invariant that may make additional statements about the cardinality or value in the instance condition : id 0..* If true, conformant resource authors SHALL be capable of providing a value for the element and resource consumers SHALL be capable of extracting and doing something useful with the data element. If false, the element may be ignored and not supported mustSupport : boolean 0..1 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 isModifier : boolean 0..1 Whether the element should be included if a client requests a search with the parameter _summary=true isSummary : boolean 0..1 Slicing Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices discriminator : string 0..* A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated description : string 0..1 If the matching elements have to occur in the same order as defined in the profile ordered : boolean 0..1 Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end rules : code 1..1 « How slices are interpreted when evaluating an instance SlicingRules » TypeRef Name of Data type or Resource that is a(or the) type used for this element code : code 1..1 « The type of an element - one of the FHIR data types DataType » Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile profile : uri 0..1 If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle aggregation : code 0..* « How resource references can be aggregated AggregationMode » Constraint Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality key : id 1..1 Used to label the constraint in OCL or in short displays incapable of displaying the full human description name : string 0..1 Identifies the impact constraint violation has on the conformance of the instance severity : code 1..1 « SHALL applications comply with this constraint? ConstraintSeverity » Text that can be used to describe the constraint in messages identifying that the constraint has been violated human : string 1..1 An XPath expression of constraint that can be executed to see if this constraint is met xpath : string 1..1 Binding A descriptive name for this - can be useful for generating implementation artifacts name : string 1..1 Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances strength : code 1..1 « Indication of the degree of conformance expectations associated with a binding BindingStrength » Describes the intended use of this particular set of codes description : string 0..1 Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used valueSet[x] : uri | Reference ( ValueSet ) 0..1 Mapping An internal reference to the definition of a mapping identity : id 1..1 Identifies the computable language in which mapping.map is expressed language : code 0..1 « The mime type of an attachment MimeType » Expresses what part of the target specification corresponds to this element map : string 1..1 Indicates that the element is sliced into a set of alternative definitions (there are multiple definitions on a single element in the base resource). 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) slicing 0..1 The data type or resource that the value of this element is permitted to be type 0..* Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance constraint 0..* Binds to a value set if this element is coded (code, Coding, CodeableConcept) binding 0..1 Identifies a concept from an external specification that roughly corresponds to this element mapping 0..* XML Template < <!-- from Element: --> < < < < <</code> < < < < < </slicing> < < < < < < < < < < < </type> < <</defaultValue[x]> < <</fixed[x]> <</pattern[x]> <</example[x]> < < < < < < < < </constraint> < < < < < < < <</valueSet[x]> </binding> < < < < </mapping> </[name]> JSON Template { // from Element: " " " " " " " " " " }, " " " " " " " " " " " }], " ">, ">, ">", ">", ">", ">", ">", ">, ">", ">", " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " ">, ">, ">", ">", ">", ">", ">", ">, ">", ">", " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, ">, ">, ">", ">", ">", ">", ">", ">, ">", ">", " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, ">, ">, ">", ">", ">", ">", ">", ">, ">", ">", " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " }, " " " " " " " " }], " " " " " " " ">" " } }, " " " " }] } Commentary Constraints eld-1 : On ElementDefinition.slicing: If there are no discriminators, there must be a definition (xpath on f:ElementDefinition/f:slicing: (f:discriminator) or (f:definition) ) eld-10 : On ElementDefinition.binding: provide either a reference or a description (or both) (xpath on f:ElementDefinition/f:binding: (exists(f:valueSetUri) or exists(f:valueSetReference)) or exists(f:description) ) eld-11 : Binding can only be present for coded elements, string, and uri (xpath: not(exists(f:binding)) or (count(f:type/f:code) = 0) or f:type/f:code/@value=('code','Coding','CodeableConcept','Quantity','Extension', 'string', 'uri') ) eld-12 : On ElementDefinition.binding.valueSet[x]: uri SHALL start with http:// or https:// (xpath on f:ElementDefinition/f:binding/f:valueSet[x]: starts-with(@value, 'http:') or starts-with(@value, 'https:') ) eld-13 : Types must be unique by the combination of code and profile (xpath: not(exists(for $type in f:type return $type/preceding-sibling::f:type[f:code/@value=$type/f:code/@value and f:profile/@value = $type/f:profile/@value])) ) eld-14 : Constraints must be unique by key (xpath: count(f:constraint) = count(distinct-values(f:constraint/f:key/@value)) ) eld-15 : Constraint names must be unique. (xpath: count(f:constraint[f:name]) = count(distinct-values(f:constraint/f:name/@value)) ) eld-16 : default value and meaningWhenMissing are mutually exclusive (xpath: not(exists(f:*[starts-with(local-name(.), 'fixed')])) or not(exists(f:meaningWhenMissing)) ) eld-2 : Min <= Max (xpath: (not(f:max/@value) and not(f:min/@value)) or (f:max/@value = '*') or (f:max/@value >= f:min/@value) ) eld-3 : On ElementDefinition.max: Max SHALL be a number or "*" (xpath on f:ElementDefinition/f:max: @value='*' or (normalize-space(@value)!='' and normalize-space(translate(@value, '0123456789',''))='') ) eld-4 : On ElementDefinition.type: Aggregation may only be specified if one of the allowed types for the element is a resource (xpath on f:ElementDefinition/f:type: not(exists(f:aggregation)) or exists(f:code[@value = 'Reference']) ) eld-5 : Either a namereference or a fixed value (but not both) is permitted (xpath: not(exists(f:nameReference) and exists(f:*[starts-with(local-name(.), 'value')])) ) eld-6 : Fixed value may only be specified if there is one type (xpath: not(exists(f:*[starts-with(local-name(.), 'fixed')])) or (count(f:type)=1 ) ) eld-7 : Pattern may only be specified if there is one type (xpath: not(exists(f:*[starts-with(local-name(.), 'pattern')])) or (count(f:type)=1 ) ) eld-8 : Pattern and value are mutually exclusive (xpath: not(exists(f:*[starts-with(local-name(.), 'pattern')])) or not(exists(f:*[starts-with(local-name(.), 'value')])) ) eld-9 : On ElementDefinition.binding: Example value sets are always extensible (xpath on f:ElementDefinition/f:binding: not(f:conformance/@value='example' and f:isExtensible/@value='false') ) Further Commentary 1.21.0.2 Interpretation of ElementDefinition in different contexts The pseudo-data type ElementDefinition is used both in StructureDefinition and DataElement , and even within those resources, the way its elements are to be used and interpreted depend on the context where ElementDefinition used. 1.21.0.2.1 First (root) element in a Structure Must be a "complex" element (see below) path is equal to the name of the type indicated in Structure.type name associates a name Prohibited: slicing , nameReference , fixed , mustSupport , isSummary type is set to "DomainResource" or (rarely) "Resource" for constraints on Resources, "Element" for constraints on data types pattern indicates a value that an instance of a while complex type constrained by this structure must match. May be used instead of applying constraints to the nested elements of the data type. example example value for a complex type in an instance that complies to the structure min and max are prohibited unless defining an extension, in which case they set outer bounds on how the element can appear when referenced in a profile isModifier is prohibited when defining resources or data types. When defining extensions, this indicates whether the extension is a modifier extension isSummary is prohibited when defining resources or data types. When defining extensions, this indicates whether the extension is a modifier extension 1.21.0.2.2 Nested element in a structure (i.e. not root) slicing can only be used on the first repeat of an element, this element is considered the slicing entry 1.21.0.2.3 Element in a structure acting as the slicing entry The ElementDefinition is understood to be the set of constraints to be used for the "open" slice, i.e. when the slice is open, this definition is used as a constraint on elements in the instance that are not part of a slice and belong to the open portion of the slice. Its use follows the "normal case", except: slicing must be present min and max govern the number of total occurrences of the sliced element including the number of occurrences in the open portion of the slice. 1.21.0.2.4 Resource and Extension definitions Prohibited: name slicing is only supported when slicing based on type (to assert different rules/guidance for resources with multiple types, e.g. "code|integer" or "Reference(Foo|Bar)" 1.21.0.2.5 Extension definitions path Extension, Extension.id, Extension.extension or Extension.value[x] mustSupport may be used, but if it is not present it defaults to "false" representation may not be used isModifier may be used on the root (path = Extension). If it is not present it defaults to "false" 1.21.0.2.6 Nested Extensions ("Complex Extension") path Extension.extension.* (as above) 1.21.0.2.7 Complex elements (elements with upper-case data type) representation is prohibited maxLength may not be used 1.21.0.2.8 Additional constraints binding may only be used on elements which allow a type of code, Coding or CodeableConcept (this includes *) 1.21.0.2.9 Constraint rules short , formal , comments , requirements , synonym , mapping can be replaced with content that provides more contextual guidance. However, the new text must still be aligned with the base element. I.e. An instance that is created based on the definition, usage notes, etc. of the profiled element must still also be valid against the definition, usage notes, etc. of the base element. Supplementary information may be appended to comments , requirements and synonym Additional condition , constraint and mapping elements may be added Mapping elements can be removed if they do not apply within the new context isModifier and isSummary must be the same as the base definition for the data type or Resource ElementDefinition is used in the following places: DataElement and StructureDefinition © HL7.org 2011+. FHIR DSTU (v0.4.0-4902) generated on Fri, Mar 27, 2015 00:23+1100. Links: What's a DSTU? | Version History | Specification Map | Compare to DSTU1 | | Propose a change try { var currentTabIndex = sessionStorage.getItem('fhir-resource-tab-index'); } catch(exception){ if (navigator.userAgent.toLowerCase().indexof('msie') == -1) alert(exception); } if (!currentTabIndex) currentTabIndex = '0'; $( '#tabs-ElementDefinition' ).tabs({ active: currentTabIndex, activate: function( event, ui ) { store(ui.newTab.index()); } }); function store(currentTab) { try { sessionStorage.setItem('fhir-resource-tab-index', currentTab); } catch(exception){ if (navigator.userAgent.toLowerCase().indexof('msie') == -1) alert(exception); } $( '#tabs-ElementDefinition' ).tabs('option', 'active', currentTab); }