Implementation Guide CH VACD
1.0.0 - ci-build

Implementation Guide CH VACD, published by eHealth Suisse. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/ehealthsuisse/ch-vacd/ and changes regularly. See the Directory of published versions

Extension: CH VACD Extension Entry Cross Reference

Extension to make a reference to an entry in an other document.

The official URL for this extension is:

http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-cross-reference

Status: draft
Extension maintained by: eHealth Suisse

Context of Use

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

  • 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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionReference to related resource
... extension 3..*ExtensionExtension
... extension:entry 1..1ExtensionReference to the related entry
.... extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Open by type:$this
.... valueReference S1..1Reference(CH VACD AllergyIntolerance Profile | CH VACD Immunization Profile | CH VACD Laboratory And Serology Profile | CH VACD Medical Problems Profile | CH VACD Other Relevant Observations | CH VACD Past Illness Profile | CH VACD Pregnancy Profile)The Reference to a entry in a document
... extension:document 1..1ExtensionReference to the related document
.... extension 0..0
.... url 1..1uri"document"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Open by type:$this
.... valueReference S1..1Reference(CH VACD Immunization Administration Composition Profile)The Reference to the related document the enty is in.
.... extension 0..0
.... url 1..1uri"relationcode"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Open by type:$this
.... valueCode S1..1codeThe type of relationship between the elements in the documents.
Binding: DocumentRelationshipType (required)
... url 1..1uri"http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-cross-reference"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionReference to related resource
... 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
.... Slices for extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference S1..1Reference(CH VACD AllergyIntolerance Profile | CH VACD Immunization Profile | CH VACD Laboratory And Serology Profile | CH VACD Medical Problems Profile | CH VACD Other Relevant Observations | CH VACD Past Illness Profile | CH VACD Pregnancy Profile)The Reference to a entry in a document
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"document"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference S1..1Reference(CH VACD Immunization Administration Composition Profile)The Reference to the related document the enty is in.
... extension:relationcode 1..1ExtensionReference to the related document
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"relationcode"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCode S1..1codeThe type of relationship between the elements in the documents.
Binding: DocumentRelationshipType (required)
... url 1..1uri"http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-cross-reference"

doco Documentation for this format

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionReference to related resource
... extension 3..*ExtensionExtension
... extension:entry 1..1ExtensionReference to the related entry
.... extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Open by type:$this
.... valueReference S1..1Reference(CH VACD AllergyIntolerance Profile | CH VACD Immunization Profile | CH VACD Laboratory And Serology Profile | CH VACD Medical Problems Profile | CH VACD Other Relevant Observations | CH VACD Past Illness Profile | CH VACD Pregnancy Profile)The Reference to a entry in a document
... extension:document 1..1ExtensionReference to the related document
.... extension 0..0
.... url 1..1uri"document"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Open by type:$this
.... valueReference S1..1Reference(CH VACD Immunization Administration Composition Profile)The Reference to the related document the enty is in.
.... extension 0..0
.... url 1..1uri"relationcode"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Open by type:$this
.... valueCode S1..1codeThe type of relationship between the elements in the documents.
Binding: DocumentRelationshipType (required)
... url 1..1uri"http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-cross-reference"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionReference to related resource
... 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
.... Slices for extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference S1..1Reference(CH VACD AllergyIntolerance Profile | CH VACD Immunization Profile | CH VACD Laboratory And Serology Profile | CH VACD Medical Problems Profile | CH VACD Other Relevant Observations | CH VACD Past Illness Profile | CH VACD Pregnancy Profile)The Reference to a entry in a document
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"document"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference S1..1Reference(CH VACD Immunization Administration Composition Profile)The Reference to the related document the enty is in.
... extension:relationcode 1..1ExtensionReference to the related document
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"relationcode"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCode S1..1codeThe type of relationship between the elements in the documents.
Binding: DocumentRelationshipType (required)
... url 1..1uri"http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-cross-reference"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.extension:relationcode.value[x]:valueCoderequiredDocumentRelationshipType

Constraints

IdGradePathDetailsRequirements
ele-1errorExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:entryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:entryMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:entry.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:entry.value[x]:valueReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:documentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:documentMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:document.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:document.value[x]:valueReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:relationcodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:relationcodeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:relationcode.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:relationcode.value[x]:valueCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())