CH Core (R4)
4.0.1 - trial-use Switzerland flag

This page is part of the CH Core (R4) (v4.0.1: STU 4) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Extension: Entry Resource Cross References

Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-ext-entry-resource-cross-references Version: 4.0.1
Active as of 2023-11-02 Computable Name: EntryResourceCrossReferences

Copyright/Legal: CC0-1.0

Extension to make a reference beween resources as entries in i.e. document bundles.

Context of Use

This extension may be used on the following element(s):

  • Element ID DomainResource

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Complex Extension: Extension to make a reference beween resources as entries in i.e. document bundles.

  • entry: Reference: Reference to the related entry.
  • container: Reference: Reference to the related container resource
  • relationcode: code: Reference to the related document

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionEntry Resource Cross References
... extension 3..*ExtensionExtension
... extension:entry 1..1ExtensionReference to the related entry
.... extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 0..1Reference()Value of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueReference 0..1Reference()Reference to the entry resource in an other container i.e. Bundle
...... reference 0..0
...... type 1..1uriEntry resource type
...... identifier 1..1IdentifierIdentifier of entry
... extension:container 1..1ExtensionReference to the related container resource
.... extension 0..0
.... url 1..1uri"container"
.... Slices for value[x] 0..1Reference()Value of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueReference 0..1Reference()Reference to the container resource i.e. Bundle.composition containinig the referenced entry
...... reference 0..0
...... type 1..1uriContainer resource type
...... identifier 1..1IdentifierIdentifier of container
.... extension 0..0
.... url 1..1uri"relationcode"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueCode 1..1codeThe type of relationship between the elements in the documents.
Binding: DocumentRelationshipType (required)
... url 1..1uri"http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-ext-entry-resource-cross-references"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionEntry Resource Cross References
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:entry 1..1ExtensionReference to the related entry
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 0..1Reference()Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference 0..1Reference()Reference to the entry resource in an other container i.e. Bundle
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... type Σ1..1uriEntry resource type
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ1..1IdentifierIdentifier of entry
...... display Σ0..1stringText alternative for the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"container"
.... Slices for value[x] 0..1Reference()Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference 0..1Reference()Reference to the container resource i.e. Bundle.composition containinig the referenced entry
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... type Σ1..1uriContainer resource type
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ1..1IdentifierIdentifier of container
...... display Σ0..1stringText alternative for the resource
... extension:relationcode 1..1ExtensionReference to the related document
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"relationcode"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCode 1..1codeThe type of relationship between the elements in the documents.
Binding: DocumentRelationshipType (required)
... url 1..1uri"http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-ext-entry-resource-cross-references"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Extension to make a reference beween resources as entries in i.e. document bundles.

  • entry: Reference: Reference to the related entry.
  • container: Reference: Reference to the related container resource
  • relationcode: code: Reference to the related document

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionEntry Resource Cross References
... extension 3..*ExtensionExtension
... extension:entry 1..1ExtensionReference to the related entry
.... extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 0..1Reference()Value of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueReference 0..1Reference()Reference to the entry resource in an other container i.e. Bundle
...... reference 0..0
...... type 1..1uriEntry resource type
...... identifier 1..1IdentifierIdentifier of entry
... extension:container 1..1ExtensionReference to the related container resource
.... extension 0..0
.... url 1..1uri"container"
.... Slices for value[x] 0..1Reference()Value of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueReference 0..1Reference()Reference to the container resource i.e. Bundle.composition containinig the referenced entry
...... reference 0..0
...... type 1..1uriContainer resource type
...... identifier 1..1IdentifierIdentifier of container
.... extension 0..0
.... url 1..1uri"relationcode"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueCode 1..1codeThe type of relationship between the elements in the documents.
Binding: DocumentRelationshipType (required)
... url 1..1uri"http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-ext-entry-resource-cross-references"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionEntry Resource Cross References
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:entry 1..1ExtensionReference to the related entry
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 0..1Reference()Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference 0..1Reference()Reference to the entry resource in an other container i.e. Bundle
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... type Σ1..1uriEntry resource type
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ1..1IdentifierIdentifier of entry
...... display Σ0..1stringText alternative for the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"container"
.... Slices for value[x] 0..1Reference()Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference 0..1Reference()Reference to the container resource i.e. Bundle.composition containinig the referenced entry
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... type Σ1..1uriContainer resource type
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ1..1IdentifierIdentifier of container
...... display Σ0..1stringText alternative for the resource
... extension:relationcode 1..1ExtensionReference to the related document
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"relationcode"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCode 1..1codeThe type of relationship between the elements in the documents.
Binding: DocumentRelationshipType (required)
... url 1..1uri"http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-ext-entry-resource-cross-references"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.extension:entry.value[x]:valueReference.typeextensibleResourceType
Extension.extension:container.value[x]:valueReference.typeextensibleResourceType
Extension.extension:relationcode.value[x]:valueCoderequiredDocumentRelationshipType

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()