Implementation Guide CH VACD
5.0.0 - trial-use Switzerland flag

This page is part of the CH VACD (R4) (v5.0.0: STU 5) 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: 5.0.0
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 occurring 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 fulfilled.

AllergyIntolerance

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

Laboratory And Serology

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

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 fulfilled:

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 S 0..* Extension Reference to related resource
... extension 2..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:entry 1..1 Extension Reference to the conflicting entry.
..... extension 0..0
..... url 1..1 uri "entry"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueReference 1..1 Reference(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..1 Extension Reference to the related document
..... extension 0..0
..... url 1..1 uri "conflict"
..... Slices for value[x] 1..1 code Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueCode 1..1 code The type of conflict between entries.
Binding: Entry Conflict Codes (required)
... url 1..1 uri "http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-merging-conflict-entry-reference"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S 0..* Extension Reference to related resource
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:entry 1..1 Extension Reference to the conflicting entry.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "entry"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(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..1 Extension Reference to the related document
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "conflict"
..... Slices for value[x] 1..1 code Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCode 1..1 code The type of conflict between entries.
Binding: Entry Conflict Codes (required)
... url 1..1 uri "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 S 0..* Extension Reference to related resource
... extension 2..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:entry 1..1 Extension Reference to the conflicting entry.
..... extension 0..0
..... url 1..1 uri "entry"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueReference 1..1 Reference(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..1 Extension Reference to the related document
..... extension 0..0
..... url 1..1 uri "conflict"
..... Slices for value[x] 1..1 code Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueCode 1..1 code The type of conflict between entries.
Binding: Entry Conflict Codes (required)
... url 1..1 uri "http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-merging-conflict-entry-reference"

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S 0..* Extension Reference to related resource
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:entry 1..1 Extension Reference to the conflicting entry.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "entry"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(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..1 Extension Reference to the related document
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "conflict"
..... Slices for value[x] 1..1 code Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCode 1..1 code The type of conflict between entries.
Binding: Entry Conflict Codes (required)
... url 1..1 uri "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

PathConformanceValueSetURI
Extension.extension:conflict.value[x]:valueCoderequiredCHVACDEntryConflictCode
http://fhir.ch/ig/ch-vacd/ValueSet/ch-vacd-entry-conflict-vs
from this IG

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