Implementation Guide CH VACD
4.0.1 - trial-use Switzerland flag

This page is part of the CH VACD (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: 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.1
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

Scope and Usage

This extension should be used in the context of a vaccination record document to declare duplicated entry conflicts occuring on aggregation of multiple immunization administration documents.

Criteria of duplication

The criteria to detect duplicates will be defined according to the different resource types and profiles.

Immunization

Two or more Immunization resources can be declared as duplicate if following criteria is fullfilled.

AllergyIntolerance

Two or more AllergyIntoleranceresources can be declared as duplicate if following criteria is fullfilled:

Laboratory And Serology

Two or more Observationresources can be declared as duplicate if following criteria is fullfilled:

PastIllness, MedicalProblems, BasicImmunization (Condition)

Two or more CH VACD Condition Profile (Abstract) (and the derivations CH VACD Past Illness, CH VACD Medical Problems and CH VACD Basic Immunization) resources can be declared as duplicate if following criteria is fullfilled:

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