This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/sdc-element
Sets expectations for data elements registered or used as part of the structured data capture project
This profile was published on Mon, Apr 21, 2014 00:00+1000 as a draft by Health Level Seven International (Orders and Observations - Structured Data Capture).
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from DataElement.
Summary
Mandatory: 7 elements (+4 nested mandatory elements)
Must-Support: 53 elements
Fixed Value: 1 element
Prohibited: 8 elements
Extensions
This structure refers to these extensions:
This structure is derived from DataElement.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DataElement | 0..* | DataElement | Resource data element | |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: IETF BCP-47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
url | S ∑ | 1..1 | uri | Globally unique logical id for data element |
identifier | S ∑ | 1..* | Identifier | Logical id to reference this data element |
version | S ∑ | 0..1 | string | Logical id for this version of the data element |
name | S ∑ | 1..1 | string | Descriptive label for this element definition |
status | ?! S∑ | 1..1 | code | draft | active | retired Binding: ConformanceResourceStatus (required) |
experimental | S ∑ | 0..1 | boolean | If for testing purposes, not real usage |
publisher | S ∑ | 0..1 | string | Name of the publisher (Organization or individual) |
contact | S ∑ | 0..* | BackboneElement | Contact details of the publisher |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
name | ∑ | 0..1 | string | Name of a individual to contact |
telecom | S ∑ | 0..* | ContactPoint | Contact details for individual or publisher |
date | S ∑ | 0..1 | dateTime | Date for this version of the data element |
useContext | S ∑ | 0..* | CodeableConcept | Content intends to support these contexts Binding: Context of Use ValueSet (extensible) |
copyright | S | 0..1 | string | Use and/or publishing restrictions |
stringency | S ∑ | 1..1 | code | comparable | fully-specified | equivalent | convertable | scaleable | flexible Binding: DataElementStringency (required) |
mapping | S | 0..* | BackboneElement | External specification mapped to |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identity | S | 1..1 | id | Internal id when this mapping is used |
uri | S | 0..1 | uri | Identifies what this mapping refers to |
name | S | 0..1 | string | Names what this mapping refers to |
comments | S | 0..1 | string | Versions, Issues, Scope limitations etc. |
element | S ∑I | 1..* | ElementDefinition | Definition of element dae-1: No base allowed dae-2: No slicing allowed |
elementdefinition-question | S | 0..* | string | Extension URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question |
elementdefinition-allowedUnits | S | 0..1 | CodeableConcept, Reference(ValueSet) | Extension URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits |
minLength | S | 0..1 | integer | Extension URL: http://hl7.org/fhir/StructureDefinition/minLength |
regex | S | 0..1 | string | Extension URL: http://hl7.org/fhir/StructureDefinition/regex |
entryFormat | S | 0..1 | string | Extension URL: http://hl7.org/fhir/StructureDefinition/entryFormat |
maxDecimalPlaces | S | 0..1 | integer | Extension URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces |
path | S ∑ | 1..1 | string | The path of the element (see the Detailed Descriptions) |
representation | ∑ | 0..* | code | How this element is represented in instances Binding: PropertyRepresentation (required) |
name | S ∑ | 0..1 | string | Name for this particular element definition (reference target) |
label | S ∑ | 0..1 | string | Name for element to display with or prompt for element |
code | S ∑ | 0..* | Coding | Defining code Binding: LOINC Codes (example) |
slicing | ∑ I | 0..1 | Element | This element is sliced - slices follow eld-1: If there are no discriminators, there must be a definition |
extension | 0..* | Extension | Additional Content defined by implementations | |
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 Binding: SlicingRules (required) |
short | ∑ | 0..1 | string | Concise definition for xml presentation |
definition | S ∑ | 1..1 | markdown | Full formal definition as narrative text |
comments | S ∑ | 0..1 | markdown | Comments about the use of this element |
requirements | S ∑ | 0..1 | markdown | Why is this needed? |
alias | S ∑ | 0..* | string | Other names |
type | S ∑I | 0..1 | Element | Data 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 |
extension | 0..* | Extension | Additional Content defined by implementations | |
code | S ∑ | 1..1 | code | Name of Data type or Resource Binding: FHIRDefinedType (required) |
profile | ∑ | 0..* | uri | Profile (StructureDefinition) to apply (or IG) |
aggregation | ∑ I | 0..* | code | contained | referenced | bundled - how aggregated Binding: AggregationMode (required) |
nameReference | ∑ I | 0..1 | string | To another element constraint (by element.name) |
fixed[x] | ∑ I | 0..1 | boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), Meta | Value must be exactly this |
pattern[x] | ∑ I | 0..1 | boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), Meta | Value must have at least these property values |
example[x] | S ∑ | 0..1 | boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), Meta | Example value: [as defined for type] |
minValue[x] | S ∑ | 0..1 | integer, decimal, instant, date, time, dateTime, Quantity | Minimum Allowed Value (for some types) |
maxValue[x] | S ∑ | 0..1 | integer, decimal, instant, date, time, dateTime, Quantity | Maximum Allowed Value (for some types) |
maxLength | S ∑ | 0..1 | integer | Max length for strings |
isModifier | ∑ | 0..1 | boolean | If this modifies the meaning of other elements |
isSummary | ∑ | 0..1 | boolean | Include when _summary = true? |
binding | S ∑I | 0..1 | Element | ValueSet details if this is coded eld-10: provide either a reference or a description (or both) |
extension | 0..* | Extension | Additional Content defined by implementations | |
strength | S ∑ | 1..1 | code | required | extensible | preferred | example Binding: BindingStrength (required) |
description | S ∑I | 0..1 | string | Human explanation of the value set |
valueSetReference | S ∑I | 1..1 | Reference(ValueSet) | Source of value set eld-12: URI SHALL start with http:// or https:// |
mapping | S ∑ | 0..* | Element | Map element to another set of definitions |
elementdefinition-equivalence | S | 1..1 | code | Extension URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence |
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence" | |
valueCode | S | 1..1 | code | Value of extension Binding: ConceptMapEquivalence (required) Fixed Value: equivalent |
identity | S ∑ | 1..1 | id | Reference to mapping declaration |
language | S ∑ | 0..1 | code | Computable language of mapping Binding: IETF BCP-13 (required) |
map | S ∑ | 1..1 | string | Details of the mapping |
Documentation for this format |
todo
This structure is derived from DataElement.
Summary
Mandatory: 7 elements (+4 nested mandatory elements)
Must-Support: 53 elements
Fixed Value: 1 element
Prohibited: 8 elements
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from DataElement.
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DataElement | 0..* | DataElement | Resource data element | |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: IETF BCP-47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
url | S ∑ | 1..1 | uri | Globally unique logical id for data element |
identifier | S ∑ | 1..* | Identifier | Logical id to reference this data element |
version | S ∑ | 0..1 | string | Logical id for this version of the data element |
name | S ∑ | 1..1 | string | Descriptive label for this element definition |
status | ?! S∑ | 1..1 | code | draft | active | retired Binding: ConformanceResourceStatus (required) |
experimental | S ∑ | 0..1 | boolean | If for testing purposes, not real usage |
publisher | S ∑ | 0..1 | string | Name of the publisher (Organization or individual) |
contact | S ∑ | 0..* | BackboneElement | Contact details of the publisher |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
name | ∑ | 0..1 | string | Name of a individual to contact |
telecom | S ∑ | 0..* | ContactPoint | Contact details for individual or publisher |
date | S ∑ | 0..1 | dateTime | Date for this version of the data element |
useContext | S ∑ | 0..* | CodeableConcept | Content intends to support these contexts Binding: Context of Use ValueSet (extensible) |
copyright | S | 0..1 | string | Use and/or publishing restrictions |
stringency | S ∑ | 1..1 | code | comparable | fully-specified | equivalent | convertable | scaleable | flexible Binding: DataElementStringency (required) |
mapping | S | 0..* | BackboneElement | External specification mapped to |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identity | S | 1..1 | id | Internal id when this mapping is used |
uri | S | 0..1 | uri | Identifies what this mapping refers to |
name | S | 0..1 | string | Names what this mapping refers to |
comments | S | 0..1 | string | Versions, Issues, Scope limitations etc. |
element | S ∑I | 1..* | ElementDefinition | Definition of element dae-1: No base allowed dae-2: No slicing allowed |
elementdefinition-question | S | 0..* | string | Extension URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question |
elementdefinition-allowedUnits | S | 0..1 | CodeableConcept, Reference(ValueSet) | Extension URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits |
minLength | S | 0..1 | integer | Extension URL: http://hl7.org/fhir/StructureDefinition/minLength |
regex | S | 0..1 | string | Extension URL: http://hl7.org/fhir/StructureDefinition/regex |
entryFormat | S | 0..1 | string | Extension URL: http://hl7.org/fhir/StructureDefinition/entryFormat |
maxDecimalPlaces | S | 0..1 | integer | Extension URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces |
path | S ∑ | 1..1 | string | The path of the element (see the Detailed Descriptions) |
representation | ∑ | 0..* | code | How this element is represented in instances Binding: PropertyRepresentation (required) |
name | S ∑ | 0..1 | string | Name for this particular element definition (reference target) |
label | S ∑ | 0..1 | string | Name for element to display with or prompt for element |
code | S ∑ | 0..* | Coding | Defining code Binding: LOINC Codes (example) |
slicing | ∑ I | 0..1 | Element | This element is sliced - slices follow eld-1: If there are no discriminators, there must be a definition |
extension | 0..* | Extension | Additional Content defined by implementations | |
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 Binding: SlicingRules (required) |
short | ∑ | 0..1 | string | Concise definition for xml presentation |
definition | S ∑ | 1..1 | markdown | Full formal definition as narrative text |
comments | S ∑ | 0..1 | markdown | Comments about the use of this element |
requirements | S ∑ | 0..1 | markdown | Why is this needed? |
alias | S ∑ | 0..* | string | Other names |
type | S ∑I | 0..1 | Element | Data 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 |
extension | 0..* | Extension | Additional Content defined by implementations | |
code | S ∑ | 1..1 | code | Name of Data type or Resource Binding: FHIRDefinedType (required) |
profile | ∑ | 0..* | uri | Profile (StructureDefinition) to apply (or IG) |
aggregation | ∑ I | 0..* | code | contained | referenced | bundled - how aggregated Binding: AggregationMode (required) |
nameReference | ∑ I | 0..1 | string | To another element constraint (by element.name) |
fixed[x] | ∑ I | 0..1 | boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), Meta | Value must be exactly this |
pattern[x] | ∑ I | 0..1 | boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), Meta | Value must have at least these property values |
example[x] | S ∑ | 0..1 | boolean, integer, decimal, base64Binary, instant, string, uri, date, dateTime, time, code, oid, id, unsignedInt, positiveInt, markdown, Annotation, Attachment, Identifier, CodeableConcept, Coding, Quantity, Range, Period, Ratio, SampledData, Signature, HumanName, Address, ContactPoint, Timing, Reference(Reference), Meta | Example value: [as defined for type] |
minValue[x] | S ∑ | 0..1 | integer, decimal, instant, date, time, dateTime, Quantity | Minimum Allowed Value (for some types) |
maxValue[x] | S ∑ | 0..1 | integer, decimal, instant, date, time, dateTime, Quantity | Maximum Allowed Value (for some types) |
maxLength | S ∑ | 0..1 | integer | Max length for strings |
isModifier | ∑ | 0..1 | boolean | If this modifies the meaning of other elements |
isSummary | ∑ | 0..1 | boolean | Include when _summary = true? |
binding | S ∑I | 0..1 | Element | ValueSet details if this is coded eld-10: provide either a reference or a description (or both) |
extension | 0..* | Extension | Additional Content defined by implementations | |
strength | S ∑ | 1..1 | code | required | extensible | preferred | example Binding: BindingStrength (required) |
description | S ∑I | 0..1 | string | Human explanation of the value set |
valueSetReference | S ∑I | 1..1 | Reference(ValueSet) | Source of value set eld-12: URI SHALL start with http:// or https:// |
mapping | S ∑ | 0..* | Element | Map element to another set of definitions |
elementdefinition-equivalence | S | 1..1 | code | Extension URL: http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence |
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence" | |
valueCode | S | 1..1 | code | Value of extension Binding: ConceptMapEquivalence (required) Fixed Value: equivalent |
identity | S ∑ | 1..1 | id | Reference to mapping declaration |
language | S ∑ | 0..1 | code | Computable language of mapping Binding: IETF BCP-13 (required) |
map | S ∑ | 1..1 | string | Details of the mapping |
Documentation for this format |
XML Template
JSON Template
todo
Other representations of profile: Schematron
Path | Name | Conformance | ValueSet |
DataElement.language | ?ext | required | http://tools.ietf.org/html/bcp47 |
DataElement.status | ConformanceResourceStatus | required | ConformanceResourceStatus |
DataElement.useContext | Context of Use ValueSet | extensible | Context of Use ValueSet |
DataElement.stringency | DataElementStringency | required | DataElementStringency |
DataElement.element.representation | PropertyRepresentation | required | PropertyRepresentation |
DataElement.element.code | LOINC Codes | example | LOINC Codes |
DataElement.element.slicing.rules | SlicingRules | required | SlicingRules |
DataElement.element.type.code | FHIRDefinedType | required | FHIRDefinedType |
DataElement.element.type.aggregation | AggregationMode | required | AggregationMode |
DataElement.element.constraint.severity | ConstraintSeverity | required | ConstraintSeverity |
DataElement.element.binding.strength | BindingStrength | required | BindingStrength |
DataElement.element.mapping.extension.valueCode | ConceptMapEquivalence | required | ConceptMapEquivalence |
DataElement.element.mapping.language | ?ext | required | http://www.rfc-editor.org/bcp/bcp13.txt |
Id | Path | Details | Requirements |
dae-1 | DataElement.element | No base allowed XPath: not(exists(f:base)) | |
dae-2 | DataElement.element | No slicing allowed XPath: not(exists(f:slicing)) | |
eld-1 | DataElement.element.slicing | If there are no discriminators, there must be a definition XPath: (f:discriminator) or (f:description) | |
eld-4 | DataElement.element.type | Aggregation 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-10 | DataElement.element.binding | provide either a reference or a description (or both) XPath: (exists(f:valueSetUri) or exists(f:valueSetReference)) or exists(f:description) | |
eld-12 | DataElement.element.binding.valueSetReference | URI SHALL start with http:// or https:// XPath: starts-with(string(@value), 'http:') or starts-with(string(@value), 'https:') |