-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: modified patient merge to reflect the R5 backport
- Loading branch information
1 parent
2db4509
commit d2d8633
Showing
67 changed files
with
584 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
ImplementationGuide/markdown/Datenobjekte/Datenobjekte_Subscription.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Subscription patient-merge [(R5 Backport Subscription)](https://hl7.org/fhir/uv/subscriptions-backport/components.html) | ||
|
||
--- |
49 changes: 49 additions & 0 deletions
49
...nGuide/markdown/Subscription/Subscription_AnmerkungenZuDenMustSupportFeldern.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
### Anmerkungen zu den Must-Support-Feldern | ||
|
||
### `Subscription.status` | ||
|
||
**Bedeutung:** Der Status der Subscription, der den Serverstatus der Subscription angibt. Neue Subscriptions werden immer mit dem Status `requested` an den Server übergeben. Der Server ändert im Anschluss den status auf `active` oder im Fehlerfall auf `error`. | ||
|
||
**Hinweise:** Siehe [R4 Subscriptions](https://hl7.org/fhir/R4/subscription.html) | ||
|
||
### `Subscription.reason` | ||
|
||
**Bedeutung:** Beschreibung wieso diese Subscription erstellt wurde. | ||
|
||
**Hinweise:** Siehe [R4 Subscriptions](https://hl7.org/fhir/R4/subscription.html) | ||
|
||
### `Subscription.category` | ||
|
||
**Bedeutung:** Canonical URL des Subscription-Topics, aktuell nur unterstützt: https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge | ||
|
||
**Hinweise:** Siehe [Subscriptions R5 Backport](https://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition-backport-subscription.html) | ||
|
||
### `Subscription.type` | ||
|
||
**Bedeutung:** Der Typ des Kommunikationskanals, über den Subscription-Benachrichtigungen gesendet werden sollen. | ||
|
||
**Hinweise:** Siehe [R4 Subscriptions](https://hl7.org/fhir/R4/subscription.html) | ||
|
||
### `Subscription.endpoint` | ||
|
||
**Bedeutung:** Adresse des Kommunikationskanals/ Endpunkts an den Subscription-Benachrichtigungen gesendet werden sollen. Dies ist nur für rest-hook Subscriptions relevant. | ||
|
||
**Hinweise:** Siehe [R4 Subscriptions](https://hl7.org/fhir/R4/subscription.html) | ||
|
||
### `Subscription.payload` | ||
|
||
**Bedeutung:** Format in dem Subscription Notifications versendet werden sollen (JSON oder XML) | ||
|
||
**Hinweise:** Siehe [R4 Subscriptions](https://hl7.org/fhir/R4/subscription.html) | ||
|
||
### `Subscription.payload.extension[content]` | ||
|
||
**Bedeutung:** Welcher Ressourceninhalt in der Nutzlast der Benachrichtigung geliefert werden soll. Zur Auswahl stehen eine leere Nutzlast (`empty`), nur die Ressourcenid (`id-only`) oder der gesamte Inhalt der Ressource (`full-resource`). | ||
|
||
**Hinweise:** Siehe [Extension: Backport R5 Subscription Payload Content Information](https://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition-backport-payload-content.html) | ||
|
||
### `Subscription.header` | ||
|
||
**Bedeutung:** http-Header welcher dazu genutzt werden kann einen Authorization-header zu setzen. Dies ist nur für rest-hook Subscriptions relevant. | ||
|
||
**Hinweise:** ACHTUNG: dieses Datenfeld muss bei READ-Interaktionen maskiert werden! Siehe [R4 Subscriptions](https://hl7.org/fhir/R4/subscription.html) |
25 changes: 25 additions & 0 deletions
25
ImplementationGuide/markdown/Subscription/Subscription_Beispiele.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
### Beispiele | ||
|
||
#### Subscription | ||
|
||
{{json:PatientMergeSubscriptionExample}} | ||
|
||
#### SubscriptionNotification-Bundle | ||
|
||
{{json:SubscriptionNotificationBundleExample}} | ||
|
||
#### Patientenobjekte | ||
"Quell" Patienten-Ressource: | ||
{{json:DorisQuelle}} | ||
|
||
und | ||
|
||
"Ziel" Patienten-Ressource: | ||
{{json:DorisZiel}} | ||
|
||
Mittels eines Patient-merge-Vorgangs wird die "Ziel" Patienten-Ressource ausgewählt und beide Ressourcen entsprechend modifiziert: | ||
|
||
Resultierende Patientin: | ||
{{json:DorisResultat}} | ||
|
||
--- |
5 changes: 5 additions & 0 deletions
5
ImplementationGuide/markdown/Subscription/Subscription_Interaktionen.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
### Interaktionen | ||
|
||
Für die Ressource Subscription MUSS die REST-Interaktion "READ", "CREATE", "UPDATE", "DELETE" implementiert werden. | ||
|
||
--- |
8 changes: 8 additions & 0 deletions
8
ImplementationGuide/markdown/Subscription/Subscription_Kompatibilitaet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Kompatibilität | ||
|
||
Das Profil PatientMergeSubscription basiert auf dem [Backport-Subscription Profil](https://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition-backport-subscription.html). | ||
Der [SubscriptionStatus](https://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition-backport-subscription-status-r4.html), sowie das [Subscription Notification Bundle](https://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition-backport-subscription-notification-r4.html) werden unverändert direkt aus dem [Subscriptions R5 Backport IG](https://hl7.org/fhir/uv/subscriptions-backport/index.html) genutzt. | ||
|
||
--- | ||
|
||
|
7 changes: 7 additions & 0 deletions
7
ImplementationGuide/markdown/Subscription/Subscription_Motivation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Motivation | ||
|
||
Duplizierte Patientendatensätze innerhalb eines patientenführenden Systems treten im betrieblichen Alltag immer wieder auf. Diese Duplikate werden nach dem Bekanntwerden auf ein Patientenobjekt zusammengeführt (gemerged). | ||
|
||
Um als Subsystem über ein Patienten-Merge-Event informiert zu werden, wird der FHIR Subscription Mechanismus gemäß der FHIR R5 Spezifikation genutzt. | ||
|
||
--- |
11 changes: 11 additions & 0 deletions
11
ImplementationGuide/markdown/Subscription/Subscription_Profil.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Profil | ||
|
||
@``` | ||
from StructureDefinition where url = 'https://gematik.de/fhir/isik/StructureDefinition/patient-merge-subscription' select Name: name, Canonical: url | ||
``` | ||
{{tree:https://gematik.de/fhir/isik/StructureDefinition/patient-merge-subscription, hybrid}} | ||
@``` from StructureDefinition where url = 'https://gematik.de/fhir/isik/StructureDefinition/patient-merge-subscription' for differential.element.constraint select key, severity, human, expression``` | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
116 changes: 116 additions & 0 deletions
116
Resources/fsh-generated/resources/Bundle-SubscriptionNotificationBundleExample.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
{ | ||
"resourceType": "Bundle", | ||
"id": "SubscriptionNotificationBundleExample", | ||
"type": "history", | ||
"entry": [ | ||
{ | ||
"fullUrl": "urn:uuid:9bb6fcbd-8391-4e35-bd4c-620a2db47af0", | ||
"resource": { | ||
"resourceType": "Parameters", | ||
"id": "SubscriptionNotification", | ||
"meta": { | ||
"profile": [ | ||
"http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4" | ||
] | ||
}, | ||
"parameter": [ | ||
{ | ||
"name": "subscription", | ||
"valueReference": { | ||
"reference": "Subscription/1" | ||
} | ||
}, | ||
{ | ||
"name": "topic", | ||
"valueCanonical": "https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge" | ||
}, | ||
{ | ||
"name": "status", | ||
"valueCode": "active" | ||
}, | ||
{ | ||
"name": "type", | ||
"valueCode": "event-notification" | ||
}, | ||
{ | ||
"name": "events-since-subscription-start", | ||
"valueString": "1" | ||
}, | ||
{ | ||
"name": "notification-event", | ||
"part": [ | ||
{ | ||
"name": "event-number", | ||
"valueString": "1" | ||
}, | ||
{ | ||
"name": "timestamp", | ||
"valueDate": "2024-02-22" | ||
}, | ||
{ | ||
"name": "focus", | ||
"valueReference": { | ||
"reference": "Patient/DorisQuelle" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"fullUrl": "http://example.com/fhir/Patient/DorisQuelle/_history/2", | ||
"resource": { | ||
"resourceType": "Patient", | ||
"id": "DorisQuelle", | ||
"meta": { | ||
"profile": [ | ||
"https://gematik.de/fhir/isik/StructureDefinition/ISiKPatient" | ||
] | ||
}, | ||
"identifier": [ | ||
{ | ||
"type": { | ||
"coding": [ | ||
{ | ||
"code": "MR", | ||
"system": "http://terminology.hl7.org/CodeSystem/v2-0203" | ||
} | ||
] | ||
}, | ||
"system": "https://fhir.krankenhaus.example/sid/PID", | ||
"value": "654321" | ||
}, | ||
{ | ||
"system": "http://fhir.de/sid/gkv/kvid-10", | ||
"type": { | ||
"coding": [ | ||
{ | ||
"code": "GKV", | ||
"system": "http://fhir.de/CodeSystem/identifier-type-de-basis" | ||
} | ||
] | ||
}, | ||
"value": "A123456789" | ||
} | ||
], | ||
"name": [ | ||
{ | ||
"use": "official", | ||
"family": "Duplikat", | ||
"given": [ | ||
"Doris" | ||
] | ||
} | ||
], | ||
"active": false, | ||
"gender": "female", | ||
"birthDate": "1964-08-12" | ||
}, | ||
"request": { | ||
"method": "PUT", | ||
"url": "Patient/DorisQuelle" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.