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

Implementation Guide CH VACD, published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 6.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) 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: 6.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

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.

The Test Cases D Conflicts on merging Documents are describing the process and defines some examples of the usage.

Test Case D 03Test Case D 03eHealth Record Repository 1eHealth Record Repository 2[[aggregator.html Aggregator]][[aggregator.html Aggregator]]Patient[[Bundle-D-D5-HCP1-C1.html Doc5\nAdmin\nD-D5-HCP1-C1]][[Bundle-D-D7-HCP3-C1.html Doc7\nAdmin\nD-D7-HCP3-C1]][[aggregator.html Aggregator]][[Bundle-RDD03.html Result\nRecord\nRDD03]][[Bundle-D-D6-HCP2-C2.html Doc6\nAdmin\nD-D6-HCP2-C2]]PatientDoc5AdminD-D5-HCP1-C1Doc7AdminD-D7-HCP3-C1AggregatorResultRecordRDD03Doc6AdminD-D6-HCP2-C2[[aggregator.html Aggregator]][[aggregator.html Aggregator]]get Vaccination Recordget docget docaggregate documentsSame MedicalRisk entry detectedSame MedicalRisk entry detectedSame MedicalRisk entry detectedadd double entries erroradd document author (Patient or Device)create Vaccination Recordshow Vaccination RecordVersion 1.0

Resolution of conflicts

The resolution of the conflicts has to be done by a healthcare professional. In this process the healthcare professional detects out of the conflicting entries the correct one and creates a Immunization Administration document with the entries to be declared by status as “entered-in-error” and by using the Extension: Entry Resource Cross References to reference the source entries and their documents.

Resolution of conflicting entriesResolution of conflicting entries[[aggregator.html Aggregation]] ResultCorrective DocumentData RepositoryHealthcare Provider[[aggregator.html Aggregation]] ResultCorrective DocumentData RepositoryHealthcare ProviderHealthcare ProviderAggregationResultwith conflictsi.e.Result Record RDD03AggregationResultwith conflictsi.e.Result Record RDD03Corrective DocumentImmunization AdministrationCorrective DocumentImmunization AdministrationData RepositoryData Repository[[aggregator.html Aggregation]] ResultCorrective DocumentData RepositoryReviews documentidentifies conflicting entriesCreate newImmunization Administrationdocumentadd entries for resolving conflicts(e.g. setting status entered-in-error)new document createdsubmits corrective documentstores corrective document

From document with conflicts to document fixing the conflicts (setting status entered-in-error)

Document resolving conflicting entriesi.e. RDC03Entry: Immunization 2extension:Entry Resource Cross ReferencesEntry: Immunization 3extension:Entry Resource Cross ReferencesDocument with conflicting entriesi.e. RDD03Entry: Immunization 3extension:Merging Conflict Entry Referenceextension:Merging Conflict Entry ReferenceEntry: Immunization 2extension:Merging Conflict Entry ReferenceEntry: Immunization 1attributes:FSME-Immun CC2023-01-01entered-in-errorentrycontainerrelationcodeattributes:FSME-Immun CC2023-01-01entered-in-errorentrycontainerrelationcodeattributes:FSME-Immun CC2023-01-01completedentryconflictentryconflictFSME-Immun CC2023-01-01completedentryconflictattributes:FSME-Immun CC2023-01-01completedReferenceReferenceReferenceHCP resolves the conflicts by creating a new documentwith all corrective entries

After conflict resolution and saving the corrective document in the next aggregation cycle, the conflicts should not be shown anymore.

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

Usages:

You can also check for usages in the FHIR IG Statistics

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 & Constraints    Filter: Filtersdoco
.. 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 Extension
..... 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 Extension
..... 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 & Constraints    Filter: Filtersdoco
.. 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 Extension
Slice: Unordered, Open by value:url
..... 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 Extension
Slice: Unordered, Open by value:url
..... 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 & Constraints    Filter: Filtersdoco
.. 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 Extension
..... 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 Extension
..... 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 & Constraints    Filter: Filtersdoco
.. 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 Extension
Slice: Unordered, Open by value:url
..... 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 Extension
Slice: Unordered, Open by value:url
..... 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

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

Path Status Usage ValueSet Version Source
Extension.extension:conflict.​value[x]:valueCode Base required Entry Conflict Codes 📦6.0.0-ci-build This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()