This page is part of the Structured Data Capture FHIR IG (v1.6: STU 2 Ballot 1) based on FHIR v1.6.0. . For a full list of available versions, see the Directory of published versions

This is a pre-release of a future version of SDC (expected to be STU 2). The current version is STU 2.
For a full list of available versions, see the Directory of published versions .

8.1 StructureDefinition: Profile sdc-element

The official URL for this profile is:

http://hl7.org/fhir/us/sdc/StructureDefinition/sdc-element

8.1.2 Formal Views of Profile Content

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

This structure is derived from DataElement

NameFlagsCard.TypeDescription & Constraintsdoco
.. DataElement 0..*
... url S1..1uri
... identifier S1..*Identifier
... version S0..1string
... status S1..1code
... experimental S0..1boolean
... publisher S0..1string
... date S0..1dateTime
... name S1..1string
... contact S0..*BackboneElement
.... telecom S0..*ContactPoint
... useContext S0..*CodeableConcept
... copyright S0..1string
... stringency S1..1code
... mapping S0..*BackboneElement
.... identity S1..1id
.... uri S0..1uri
.... name S0..1string
.... comment S0..1string
... element S1..*ElementDefinition
.... path S1..1string
.... representation 0..*code
.... name S0..1string
.... label S0..1string
.... code S0..*Coding
.... slicing 0..1Element
.... short 0..1string
.... definition S1..1markdown
.... comments S0..1markdown
.... requirements S0..1markdown
.... alias S0..*string
.... min S0..0
.... max S0..0
.... base 0..0
.... contentReference 0..0
.... type S0..1Element
..... code S1..1code
..... profile 0..1uri
..... targetProfile 0..0
..... aggregation 0..*code
..... versioning 0..0
.... defaultValue[x] 0..0
.... meaningWhenMissing 0..0
.... fixed[x] 0..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, Meta
.... pattern[x] 0..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, Meta
.... example[x] S0..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, Meta
.... minValue[x] S0..1integer, decimal, instant, date, time, dateTime, Quantity
.... maxValue[x] S0..1integer, decimal, instant, date, time, dateTime, Quantity
.... maxLength S0..1integer
.... condition S0..0
.... constraint S0..0
.... mustSupport 0..0
.... isModifier 0..1boolean
.... isSummary 0..1boolean
.... binding S0..1Element
..... strength S1..1code
..... description S0..1string
..... valueSetReference S1..1Reference(Profile sdc-valueset)
.... mapping S0..*Element
..... identity S1..1id
..... language S0..1codeBinding: DEX mapping language mime types (required)
..... map S1..1string
..... elementdefinition-equivalence S1..1codeequivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence
Binding: ConceptMapEquivalence (required)
...... valueCode S1..1codeFixed Value: equivalent
.... elementdefinition-question S0..*stringPrompt for element phrased as question
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question
.... elementdefinition-allowedUnits S0..1CodeableConcept, Reference(ValueSet)Units to use for measured value
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits
Binding: UCUM Codes (required)
.... minLength S0..1integerAt least this many characters
URL: http://hl7.org/fhir/StructureDefinition/minLength
.... regex S0..1stringRegular expression pattern
URL: http://hl7.org/fhir/StructureDefinition/regex
.... entryFormat S0..1stringUser prompt for format
URL: http://hl7.org/fhir/StructureDefinition/entryFormat
.... maxDecimalPlaces S0..1integerMaximum digits after decimal
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DataElement I0..*Resource data element
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
... id ∑0..1idLogical id of this artifact
... meta ∑0..1MetaMetadata about the resource
... implicitRules ?!∑0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url S1..1uriGlobally unique logical id for data element
... identifier S1..*IdentifierLogical id to reference this data element
... version S0..1stringLogical id for this version of the data element
... status ?!S1..1codedraft | active | retired
Binding: ConformanceResourceStatus (required)
... experimental S0..1booleanIf for testing purposes, not real usage
... publisher S0..1stringName of the publisher (Organization or individual)
... date S0..1dateTimeDate for this version of the data element
... name S1..1stringDescriptive label for this element definition
... contact S0..*BackboneElementContact details of the publisher
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!∑0..*ExtensionExtensions that cannot be ignored
.... name ∑0..1stringName of an individual to contact
.... telecom S0..*ContactPointContact details for individual or publisher
... useContext S0..*CodeableConceptContent intends to support these contexts
Binding: Context of Use ValueSet (extensible)
... copyright S0..1stringUse and/or publishing restrictions
... stringency S1..1codecomparable | fully-specified | equivalent | convertable | scaleable | flexible
Binding: DataElementStringency (required)
... mapping S0..*BackboneElementExternal specification mapped to
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!∑0..*ExtensionExtensions that cannot be ignored
.... identity S1..1idInternal id when this mapping is used
.... uri S0..1uriIdentifies what this mapping refers to
.... name S0..1stringNames what this mapping refers to
.... comment S0..1stringVersions, Issues, Scope limitations etc.
... element SI1..*ElementDefinitionDefinition of element
dae-1: No base allowed
dae-2: No slicing allowed
.... id 0..1stringxml:id (or equivalent in JSON)
.... elementdefinition-question SI0..*stringExtension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... elementdefinition-allowedUnits SI0..1CodeableConcept, Reference(ValueSet)Extension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits
Binding: UCUM Codes (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... minLength SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/minLength
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... regex SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/regex
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... entryFormat SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/entryFormat
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... maxDecimalPlaces SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... path S1..1stringPath of the element in the heirarchy of elements
.... representation 0..*codexmlAttr | xmlText | typeAttr | cdaText | xhtml
Binding: PropertyRepresentation (required)
.... name S0..1stringName for this particular element definition (reference target)
.... label S0..1stringName for element to display with or prompt for element
.... code S0..*CodingDefining code
Binding: LOINC Codes (example)
.... slicing I0..1ElementThis element is sliced - slices follow
eld-1: If there are no discriminators, there must be a definition
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... discriminator ∑0..*stringElement values that are used to distinguish the slices
..... description ∑I0..1stringText description of how slicing works (or not)
..... ordered ∑0..1booleanIf elements must be in same order as slices
..... rules ∑1..1codeclosed | open | openAtEnd
Binding: SlicingRules (required)
.... short 0..1stringConcise definition for xml presentation
.... definition S1..1markdownFull formal definition as narrative text
.... comments S0..1markdownComments about the use of this element
.... requirements S0..1markdownWhy this resource has been created
.... alias S0..*stringOther names
.... type SI0..1ElementData type and Profile for this element
eld-4: Aggregation may only be specified if one of the allowed types for the element is a resource
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... code S1..1codeName of Data type or Resource
Binding: FHIRDefinedType (extensible)
..... profile 0..1uriProfile (StructureDefinition) to apply (or IG)
..... aggregation I0..*codecontained | referenced | bundled - how aggregated
Binding: AggregationMode (required)
.... fixed[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, MetaValue must be exactly this
.... pattern[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, MetaValue must have at least these property values
.... example[x] S0..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, MetaExample value (as defined for type)
.... minValue[x] S0..1integer, decimal, instant, date, time, dateTime, QuantityMinimum Allowed Value (for some types)
.... maxValue[x] S0..1integer, decimal, instant, date, time, dateTime, QuantityMaximum Allowed Value (for some types)
.... maxLength S0..1integerMax length for strings
.... isModifier 0..1booleanIf this modifies the meaning of other elements
.... isSummary 0..1booleanInclude when _summary = true?
.... binding SI0..1ElementValueSet details if this is coded
eld-10: provide either a reference or a description (or both)
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... strength S1..1coderequired | extensible | preferred | example
Binding: BindingStrength (required)
..... description SI0..1stringHuman explanation of the value set
..... valueSetReference SI1..1Reference(Profile sdc-valueset)Source of value set
eld-12: URI SHALL start with http:// or https:// urn:
.... mapping S0..*ElementMap element to another set of definitions
..... id 0..1stringxml:id (or equivalent in JSON)
..... elementdefinition-equivalence SI1..1codeExtension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence
Binding: ConceptMapEquivalence (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... id 0..1stringxml:id (or equivalent in JSON)
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"
...... valueCode S1..1codeValue of extension
Binding: ConceptMapEquivalence (required)
Fixed Value: equivalent
..... identity S1..1idReference to mapping declaration
..... language S0..1codeComputable language of mapping
Binding: DEX mapping language mime types (required)
..... map S1..1stringDetails of the mapping

doco Documentation for this format

yet to be done: Xml template

yet to be done: Json template

yet to be done: Turtle template

Differential View

This structure is derived from DataElement

NameFlagsCard.TypeDescription & Constraintsdoco
.. DataElement 0..*
... url S1..1uri
... identifier S1..*Identifier
... version S0..1string
... status S1..1code
... experimental S0..1boolean
... publisher S0..1string
... date S0..1dateTime
... name S1..1string
... contact S0..*BackboneElement
.... telecom S0..*ContactPoint
... useContext S0..*CodeableConcept
... copyright S0..1string
... stringency S1..1code
... mapping S0..*BackboneElement
.... identity S1..1id
.... uri S0..1uri
.... name S0..1string
.... comment S0..1string
... element S1..*ElementDefinition
.... path S1..1string
.... representation 0..*code
.... name S0..1string
.... label S0..1string
.... code S0..*Coding
.... slicing 0..1Element
.... short 0..1string
.... definition S1..1markdown
.... comments S0..1markdown
.... requirements S0..1markdown
.... alias S0..*string
.... min S0..0
.... max S0..0
.... base 0..0
.... contentReference 0..0
.... type S0..1Element
..... code S1..1code
..... profile 0..1uri
..... targetProfile 0..0
..... aggregation 0..*code
..... versioning 0..0
.... defaultValue[x] 0..0
.... meaningWhenMissing 0..0
.... fixed[x] 0..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, Meta
.... pattern[x] 0..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, Meta
.... example[x] S0..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, Meta
.... minValue[x] S0..1integer, decimal, instant, date, time, dateTime, Quantity
.... maxValue[x] S0..1integer, decimal, instant, date, time, dateTime, Quantity
.... maxLength S0..1integer
.... condition S0..0
.... constraint S0..0
.... mustSupport 0..0
.... isModifier 0..1boolean
.... isSummary 0..1boolean
.... binding S0..1Element
..... strength S1..1code
..... description S0..1string
..... valueSetReference S1..1Reference(Profile sdc-valueset)
.... mapping S0..*Element
..... identity S1..1id
..... language S0..1codeBinding: DEX mapping language mime types (required)
..... map S1..1string
..... elementdefinition-equivalence S1..1codeequivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence
Binding: ConceptMapEquivalence (required)
...... valueCode S1..1codeFixed Value: equivalent
.... elementdefinition-question S0..*stringPrompt for element phrased as question
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question
.... elementdefinition-allowedUnits S0..1CodeableConcept, Reference(ValueSet)Units to use for measured value
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits
Binding: UCUM Codes (required)
.... minLength S0..1integerAt least this many characters
URL: http://hl7.org/fhir/StructureDefinition/minLength
.... regex S0..1stringRegular expression pattern
URL: http://hl7.org/fhir/StructureDefinition/regex
.... entryFormat S0..1stringUser prompt for format
URL: http://hl7.org/fhir/StructureDefinition/entryFormat
.... maxDecimalPlaces S0..1integerMaximum digits after decimal
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DataElement I0..*Resource data element
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
... id ∑0..1idLogical id of this artifact
... meta ∑0..1MetaMetadata about the resource
... implicitRules ?!∑0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url S1..1uriGlobally unique logical id for data element
... identifier S1..*IdentifierLogical id to reference this data element
... version S0..1stringLogical id for this version of the data element
... status ?!S1..1codedraft | active | retired
Binding: ConformanceResourceStatus (required)
... experimental S0..1booleanIf for testing purposes, not real usage
... publisher S0..1stringName of the publisher (Organization or individual)
... date S0..1dateTimeDate for this version of the data element
... name S1..1stringDescriptive label for this element definition
... contact S0..*BackboneElementContact details of the publisher
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!∑0..*ExtensionExtensions that cannot be ignored
.... name ∑0..1stringName of an individual to contact
.... telecom S0..*ContactPointContact details for individual or publisher
... useContext S0..*CodeableConceptContent intends to support these contexts
Binding: Context of Use ValueSet (extensible)
... copyright S0..1stringUse and/or publishing restrictions
... stringency S1..1codecomparable | fully-specified | equivalent | convertable | scaleable | flexible
Binding: DataElementStringency (required)
... mapping S0..*BackboneElementExternal specification mapped to
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!∑0..*ExtensionExtensions that cannot be ignored
.... identity S1..1idInternal id when this mapping is used
.... uri S0..1uriIdentifies what this mapping refers to
.... name S0..1stringNames what this mapping refers to
.... comment S0..1stringVersions, Issues, Scope limitations etc.
... element SI1..*ElementDefinitionDefinition of element
dae-1: No base allowed
dae-2: No slicing allowed
.... id 0..1stringxml:id (or equivalent in JSON)
.... elementdefinition-question SI0..*stringExtension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... elementdefinition-allowedUnits SI0..1CodeableConcept, Reference(ValueSet)Extension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits
Binding: UCUM Codes (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... minLength SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/minLength
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... regex SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/regex
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... entryFormat SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/entryFormat
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... maxDecimalPlaces SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... path S1..1stringPath of the element in the heirarchy of elements
.... representation 0..*codexmlAttr | xmlText | typeAttr | cdaText | xhtml
Binding: PropertyRepresentation (required)
.... name S0..1stringName for this particular element definition (reference target)
.... label S0..1stringName for element to display with or prompt for element
.... code S0..*CodingDefining code
Binding: LOINC Codes (example)
.... slicing I0..1ElementThis element is sliced - slices follow
eld-1: If there are no discriminators, there must be a definition
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... discriminator ∑0..*stringElement values that are used to distinguish the slices
..... description ∑I0..1stringText description of how slicing works (or not)
..... ordered ∑0..1booleanIf elements must be in same order as slices
..... rules ∑1..1codeclosed | open | openAtEnd
Binding: SlicingRules (required)
.... short 0..1stringConcise definition for xml presentation
.... definition S1..1markdownFull formal definition as narrative text
.... comments S0..1markdownComments about the use of this element
.... requirements S0..1markdownWhy this resource has been created
.... alias S0..*stringOther names
.... type SI0..1ElementData type and Profile for this element
eld-4: Aggregation may only be specified if one of the allowed types for the element is a resource
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... code S1..1codeName of Data type or Resource
Binding: FHIRDefinedType (extensible)
..... profile 0..1uriProfile (StructureDefinition) to apply (or IG)
..... aggregation I0..*codecontained | referenced | bundled - how aggregated
Binding: AggregationMode (required)
.... fixed[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, MetaValue must be exactly this
.... pattern[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, MetaValue must have at least these property values
.... example[x] S0..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, MetaExample value (as defined for type)
.... minValue[x] S0..1integer, decimal, instant, date, time, dateTime, QuantityMinimum Allowed Value (for some types)
.... maxValue[x] S0..1integer, decimal, instant, date, time, dateTime, QuantityMaximum Allowed Value (for some types)
.... maxLength S0..1integerMax length for strings
.... isModifier 0..1booleanIf this modifies the meaning of other elements
.... isSummary 0..1booleanInclude when _summary = true?
.... binding SI0..1ElementValueSet details if this is coded
eld-10: provide either a reference or a description (or both)
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... strength S1..1coderequired | extensible | preferred | example
Binding: BindingStrength (required)
..... description SI0..1stringHuman explanation of the value set
..... valueSetReference SI1..1Reference(Profile sdc-valueset)Source of value set
eld-12: URI SHALL start with http:// or https:// urn:
.... mapping S0..*ElementMap element to another set of definitions
..... id 0..1stringxml:id (or equivalent in JSON)
..... elementdefinition-equivalence SI1..1codeExtension
URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence
Binding: ConceptMapEquivalence (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... id 0..1stringxml:id (or equivalent in JSON)
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"
...... valueCode S1..1codeValue of extension
Binding: ConceptMapEquivalence (required)
Fixed Value: equivalent
..... identity S1..1idReference to mapping declaration
..... language S0..1codeComputable language of mapping
Binding: DEX mapping language mime types (required)
..... map S1..1stringDetails of the mapping

doco Documentation for this format

XML Template

yet to be done: Xml template

JSON Template

yet to be done: Json template

TTL Template

yet to be done: Turtle template

 

Other representations of profile: Schematron

8.1.3 Terminology Bindings

Terminology Bindings

PathNameConformanceValueSet
DataElement.languageCommon LanguagesextensibleCommon Languages
DataElement.statusConformanceResourceStatusrequiredConformanceResourceStatus
DataElement.useContextContext of Use ValueSetextensibleContext of Use ValueSet
DataElement.stringencyDataElementStringencyrequiredDataElementStringency
DataElement.element.representationPropertyRepresentationrequiredPropertyRepresentation
DataElement.element.codeLOINC CodesexampleLOINC Codes
DataElement.element.slicing.rulesSlicingRulesrequiredSlicingRules
DataElement.element.type.codeFHIRDefinedTypeextensibleFHIRDefinedType
DataElement.element.type.aggregationAggregationModerequiredAggregationMode
DataElement.element.constraint.severityConstraintSeverityrequiredConstraintSeverity
DataElement.element.binding.strengthBindingStrengthrequiredBindingStrength
DataElement.element.mapping.extension.valueCodeConceptMapEquivalencerequiredConceptMapEquivalence
DataElement.element.mapping.languageDEX mapping language mime typesrequiredDEX mapping language mime types

8.1.4 Constraints

Constraints

IdPathDetailsRequirements
dom-2DataElementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
XPath: not(parent::f:contained and f:contained)
dom-1DataElementIf the resource is contained in another resource, it SHALL NOT contain any narrative
XPath: not(parent::f:contained and f:text)
dom-4DataElementIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
XPath: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
dom-3DataElementIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
XPath: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
dae-1DataElement.elementNo base allowed
XPath: not(exists(f:base))
dae-2DataElement.elementNo slicing allowed
XPath: not(exists(f:slicing))
ele-1DataElement.element.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1DataElement.element.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1DataElement.element.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1DataElement.element.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1DataElement.element.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1DataElement.element.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1DataElement.element.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1DataElement.element.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1DataElement.element.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1DataElement.element.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1DataElement.element.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1DataElement.element.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1DataElement.element.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1DataElement.element.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
eld-1DataElement.element.slicingIf there are no discriminators, there must be a definition
XPath: (f:discriminator) or (f:description)
eld-4DataElement.element.typeAggregation may only be specified if one of the allowed types for the element is a resource
XPath: not(exists(f:aggregation)) or exists(f:code[@value = 'Reference'])
eld-10DataElement.element.bindingprovide either a reference or a description (or both)
XPath: (exists(f:valueSetUri) or exists(f:valueSetReference)) or exists(f:description)
eld-12DataElement.element.binding.valueSetReferenceURI SHALL start with http:// or https:// urn:
XPath: starts-with(string(@value), 'http:') or starts-with(string(@value), 'https:') or starts-with(string(@value), 'urn:')
ele-1DataElement.element.mapping.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1DataElement.element.mapping.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])