STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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

StructureDefinition: elementdefinition-de

(No assigned work group) Maturity Level: 0Context: Any

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/elementdefinition-de

Identifies how the ElementDefinition data type is used when it appears within a data element

This profile was published on Sat, Feb 28, 2015 00:00+1100 as a draft by Health Level Seven International (Orders and Observations).

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from ElementDefinition.

NameFlagsCard.TypeDescription & Constraintsdoco
.. ElementDefinition I0..*Definition of an element in a resource or extension
... id 0..1stringxml:id (or equivalent in JSON)
... elementdefinition-question I0..*stringExtension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question
... elementdefinition-allowedUnits I0..1CodeableConcept, Reference(ValueSet)Extension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits
Binding: UCUM Codes (required)
... path ∑1..1stringPath of the element in the heirarchy of elements
... sliceName ∑0..1stringName for this particular element (in a set of slices)
... label ∑0..1stringName for element to display with or prompt for element
... code ∑0..*CodingDefining code
Binding: LOINC Codes (example)
... definition ∑0..1markdownFull formal definition as narrative text
... comments ∑0..1markdownComments about the use of this element
... requirements ∑0..1markdownWhy this resource has been created
... alias ∑0..*stringOther names
... min ∑I0..1integerMinimum Cardinality
... max ∑I0..1stringMaximum Cardinality (a number or *)
eld-3: Max SHALL be a number or "*"
... base ∑I0..1ElementBase definition information for tools
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... path ∑1..1stringPath that identifies the base element
.... min ∑1..1integerMin cardinality of the base element
.... max ∑1..1stringMax cardinality of the base element
... type ∑I0..*ElementData type and Profile for this element
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... code ∑1..1uriData type or Resource (reference to definition)
Binding: FHIRDefinedType (extensible)
.... targetProfile ∑0..1uriProfile (StructureDefinition) to apply to reference target (or IG)
.... versioning ∑0..1codeeither | independent | specific
Binding: ReferenceVersionRules (required)
... defaultValue[x] ∑I0..1base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, MetaSpecified value if missing from instance
... meaningWhenMissing ∑I0..1markdownImplicit meaning when this element is missing
... example ∑I0..*ElementExample value (as defined for type)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... label ∑1..1stringDescribes the purpose of this example
.... value[x] ∑1..1base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, 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 ∑I0..*ElementCondition that must evaluate to true
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... key ∑I1..1idTarget of 'condition' reference above
.... requirements ∑0..1stringWhy this constraint is necessary or appropriate
.... severity ∑1..1codeerror | warning
Binding: ConstraintSeverity (required)
.... human ∑1..1stringHuman description of constraint
.... expression ∑1..1stringFluentPath expression of constraint
.... xpath ∑0..1stringXPath expression of constraint
.... source ∑0..1uriReference to original source of constraint
... mustSupport ∑0..1booleanIf the element must supported
... binding ∑I0..1ElementValueSet details if this is coded
eld-10: provide either a reference or a description (or both)
eld-12: ValueSet as a URI SHALL start with http:// or https:// or urn:
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... strength ∑1..1coderequired | extensible | preferred | example
Binding: BindingStrength (required)
.... description ∑I0..1stringHuman explanation of the value set
.... valueSet[x] ∑I0..1uri, Reference(ValueSet)Source of value set
... mapping ∑I0..*ElementMap element to another set of definitions
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... identity ∑1..1idReference to mapping declaration
.... language ∑0..1codeComputable language of mapping
Binding: IETF BCP-13 (required)
.... map ∑1..1stringDetails of the mapping

doco Documentation for this format

todo

This structure is derived from ElementDefinition.

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ElementDefinition I0..*Definition of an element in a resource or extension
... id 0..1stringxml:id (or equivalent in JSON)
... elementdefinition-question I0..*stringExtension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question
... elementdefinition-allowedUnits I0..1CodeableConcept, Reference(ValueSet)Extension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits
Binding: UCUM Codes (required)
... path ∑1..1stringPath of the element in the heirarchy of elements
... sliceName ∑0..1stringName for this particular element (in a set of slices)
... label ∑0..1stringName for element to display with or prompt for element
... code ∑0..*CodingDefining code
Binding: LOINC Codes (example)
... definition ∑0..1markdownFull formal definition as narrative text
... comments ∑0..1markdownComments about the use of this element
... requirements ∑0..1markdownWhy this resource has been created
... alias ∑0..*stringOther names
... min ∑I0..1integerMinimum Cardinality
... max ∑I0..1stringMaximum Cardinality (a number or *)
eld-3: Max SHALL be a number or "*"
... base ∑I0..1ElementBase definition information for tools
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... path ∑1..1stringPath that identifies the base element
.... min ∑1..1integerMin cardinality of the base element
.... max ∑1..1stringMax cardinality of the base element
... type ∑I0..*ElementData type and Profile for this element
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... code ∑1..1uriData type or Resource (reference to definition)
Binding: FHIRDefinedType (extensible)
.... targetProfile ∑0..1uriProfile (StructureDefinition) to apply to reference target (or IG)
.... versioning ∑0..1codeeither | independent | specific
Binding: ReferenceVersionRules (required)
... defaultValue[x] ∑I0..1base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, MetaSpecified value if missing from instance
... meaningWhenMissing ∑I0..1markdownImplicit meaning when this element is missing
... example ∑I0..*ElementExample value (as defined for type)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... label ∑1..1stringDescribes the purpose of this example
.... value[x] ∑1..1base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, 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 ∑I0..*ElementCondition that must evaluate to true
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... key ∑I1..1idTarget of 'condition' reference above
.... requirements ∑0..1stringWhy this constraint is necessary or appropriate
.... severity ∑1..1codeerror | warning
Binding: ConstraintSeverity (required)
.... human ∑1..1stringHuman description of constraint
.... expression ∑1..1stringFluentPath expression of constraint
.... xpath ∑0..1stringXPath expression of constraint
.... source ∑0..1uriReference to original source of constraint
... mustSupport ∑0..1booleanIf the element must supported
... binding ∑I0..1ElementValueSet details if this is coded
eld-10: provide either a reference or a description (or both)
eld-12: ValueSet as a URI SHALL start with http:// or https:// or urn:
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... strength ∑1..1coderequired | extensible | preferred | example
Binding: BindingStrength (required)
.... description ∑I0..1stringHuman explanation of the value set
.... valueSet[x] ∑I0..1uri, Reference(ValueSet)Source of value set
... mapping ∑I0..*ElementMap element to another set of definitions
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... identity ∑1..1idReference to mapping declaration
.... language ∑0..1codeComputable language of mapping
Binding: IETF BCP-13 (required)
.... map ∑1..1stringDetails of the mapping

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

Terminology Bindings

PathNameConformanceValueSet
ElementDefinition.codeLOINC CodesexampleLOINC Codes
ElementDefinition.slicing.rulesSlicingRulesrequiredSlicingRules
ElementDefinition.type.codeFHIRDefinedTypeextensibleFHIRDefinedType
ElementDefinition.type.versioningReferenceVersionRulesrequiredReferenceVersionRules
ElementDefinition.constraint.severityConstraintSeverityrequiredConstraintSeverity
ElementDefinition.binding.strengthBindingStrengthrequiredBindingStrength
ElementDefinition.mapping.language?extrequiredhttp://www.rfc-editor.org/bcp/bcp13.txt

Constraints

IdPathDetailsRequirements
eld-3ElementDefinition.maxMax SHALL be a number or "*"
XPath: @value='*' or (normalize-space(@value)!='' and normalize-space(translate(@value, '0123456789',''))='')
eld-10ElementDefinition.bindingprovide either a reference or a description (or both)
XPath: (exists(f:valueSetUri) or exists(f:valueSetReference)) or exists(f:description)
eld-12ElementDefinition.bindingValueSet as a URI SHALL start with http:// or https:// or urn:
XPath: not(exists(f:valueSetUri)) or (starts-with(string(f:valueSetUri/@value), 'http:') or starts-with(string(f:valueSetUri/@value), 'https:') or starts-with(string(f:valueSetUri/@value), 'urn:'))
.