Extensions for Using Data Elements from FHIR R5 in FHIR R4 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-Linkage | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R5_Linkage_R4 | ||
This cross-version profile allows R5 Linkage content to be represented via FHIR R4 Linkage resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Linkage(4.0.1) | Links records for 'same' item Constraints: lnk-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..* | BackboneElement | Item to be linked |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
Σ | 1..1 | code | source | alternate | historical Binding: LinkageType (required): Used to distinguish different roles a resource can play within a set of linked resources. |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Resource) | Resource being linked |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Linkage.item.type | Base | required | LinkageType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Linkage | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Linkage | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Linkage | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Linkage | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Linkage | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Linkage.implicitRules, Linkage.modifierExtension, Linkage.item, Linkage.item.modifierExtension, Linkage.item.type, Linkage.item.resource | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Linkage.modifierExtension, Linkage.item.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| lnk-1 | error | Linkage | Must have at least two items |
item.count()>1
|
This structure is derived from Linkage
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Linkage(4.0.1) | Links records for 'same' item | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Linkage(4.0.1) | Links records for 'same' item Constraints: lnk-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..1 | boolean | Whether this linkage assertion is active or not | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who is responsible for linkages | ||||
![]() ![]() |
ΣC | 1..* | BackboneElement | Item to be linked | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | source | alternate | historical Binding: LinkageType (required): Used to distinguish different roles a resource can play within a set of linked resources. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Resource) | Resource being linked | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Linkage.language | Base | preferred |
Common Languages
|
📍4.0.1 | tx.fhir.org |
| Linkage.item.type | Base | required | LinkageType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Linkage | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Linkage | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Linkage | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Linkage | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Linkage | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Linkage.meta, Linkage.implicitRules, Linkage.language, Linkage.text, Linkage.extension, Linkage.modifierExtension, Linkage.active, Linkage.author, Linkage.item, Linkage.item.extension, Linkage.item.modifierExtension, Linkage.item.type, Linkage.item.resource | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Linkage.extension, Linkage.modifierExtension, Linkage.item.extension, Linkage.item.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| lnk-1 | error | Linkage | Must have at least two items |
item.count()>1
|
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Linkage(4.0.1) | Links records for 'same' item Constraints: lnk-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..* | BackboneElement | Item to be linked |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
Σ | 1..1 | code | source | alternate | historical Binding: LinkageType (required): Used to distinguish different roles a resource can play within a set of linked resources. |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Resource) | Resource being linked |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Linkage.item.type | Base | required | LinkageType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Linkage | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Linkage | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Linkage | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Linkage | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Linkage | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Linkage.implicitRules, Linkage.modifierExtension, Linkage.item, Linkage.item.modifierExtension, Linkage.item.type, Linkage.item.resource | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Linkage.modifierExtension, Linkage.item.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| lnk-1 | error | Linkage | Must have at least two items |
item.count()>1
|
Differential View
This structure is derived from Linkage
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Linkage(4.0.1) | Links records for 'same' item | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Linkage(4.0.1) | Links records for 'same' item Constraints: lnk-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..1 | boolean | Whether this linkage assertion is active or not | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who is responsible for linkages | ||||
![]() ![]() |
ΣC | 1..* | BackboneElement | Item to be linked | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | source | alternate | historical Binding: LinkageType (required): Used to distinguish different roles a resource can play within a set of linked resources. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Resource) | Resource being linked | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Linkage.language | Base | preferred |
Common Languages
|
📍4.0.1 | tx.fhir.org |
| Linkage.item.type | Base | required | LinkageType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Linkage | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Linkage | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Linkage | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Linkage | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Linkage | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Linkage.meta, Linkage.implicitRules, Linkage.language, Linkage.text, Linkage.extension, Linkage.modifierExtension, Linkage.active, Linkage.author, Linkage.item, Linkage.item.extension, Linkage.item.modifierExtension, Linkage.item.type, Linkage.item.resource | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Linkage.extension, Linkage.modifierExtension, Linkage.item.extension, Linkage.item.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| lnk-1 | error | Linkage | Must have at least two items |
item.count()>1
|
Other representations of profile: CSV, Excel, Schematron