Implementation Guide CH VACD
4.0.0-ci-build - ci-build Switzerland flag

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

Extension: CH VACD Extension Merging Conflict Entry Reference

Official URL: http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-merging-conflict-entry-reference Version: 4.0.0-ci-build
Draft as of 2021-12-08 Computable Name: CHVACDExtensionMergingConflictEntryReference

Copyright/Legal: CC0-1.0

Extension to make a reference to an entry conflicting with other entries.

Context of Use

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

  • Element ID Immunization
  • Element ID Condition
  • Element ID Observation
  • Element ID AllergyIntolerance

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 to an entry conflicting with other entries.

  • entry: Reference: Reference to the conflicting entry.
  • conflict: code: Reference to the related document

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S0..*ExtensionReference to related resource
... extension 2..*ExtensionExtension
... extension:entry 1..1ExtensionReference to the conflicting entry.
.... extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueReference 1..1Reference(CH VACD Immunization | CH VACD AllergyIntolerance | CH VACD Laboratory And Serology | CH VACD Condition Profile (Abstract))The Reference to the conflicting entry.
... extension:conflict 1..1ExtensionReference to the related document
.... extension 0..0
.... url 1..1uri"conflict"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueCode 1..1codeThe type of conflict between entries.
Binding: Entry Conflict Codes (required)
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S0..*ExtensionReference to related resource
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:entry 1..1ExtensionReference to the conflicting entry.
.... id 0..1stringUnique id for inter-element referencing
.... 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 1..1Reference(CH VACD Immunization | CH VACD AllergyIntolerance | CH VACD Laboratory And Serology | CH VACD Condition Profile (Abstract))The Reference to the conflicting entry.
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"conflict"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCode 1..1codeThe type of conflict between entries.
Binding: Entry Conflict Codes (required)
... url 1..1uri"http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-merging-conflict-entry-reference"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Extension to make a reference to an entry conflicting with other entries.

  • entry: Reference: Reference to the conflicting entry.
  • conflict: code: Reference to the related document

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S0..*ExtensionReference to related resource
... extension 2..*ExtensionExtension
... extension:entry 1..1ExtensionReference to the conflicting entry.
.... extension 0..0
.... url 1..1uri"entry"
.... Slices for value[x] 1..1Reference()Value of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueReference 1..1Reference(CH VACD Immunization | CH VACD AllergyIntolerance | CH VACD Laboratory And Serology | CH VACD Condition Profile (Abstract))The Reference to the conflicting entry.
... extension:conflict 1..1ExtensionReference to the related document
.... extension 0..0
.... url 1..1uri"conflict"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Open by type:$this
..... value[x]:valueCode 1..1codeThe type of conflict between entries.
Binding: Entry Conflict Codes (required)
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S0..*ExtensionReference to related resource
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:entry 1..1ExtensionReference to the conflicting entry.
.... id 0..1stringUnique id for inter-element referencing
.... 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 1..1Reference(CH VACD Immunization | CH VACD AllergyIntolerance | CH VACD Laboratory And Serology | CH VACD Condition Profile (Abstract))The Reference to the conflicting entry.
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"conflict"
.... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCode 1..1codeThe type of conflict between entries.
Binding: Entry Conflict Codes (required)
... url 1..1uri"http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-merging-conflict-entry-reference"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.extension:conflict.value[x]:valueCoderequiredCHVACDEntryConflictCode

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()