Subscription:
Subscription |
id : PatientMergeSubscriptionExample |
meta |
profile : https://gematik.de/fhir/isik/StructureDefinition/patient-merge-subscription |
status : requested |
reason : Patient merge subscription |
criteria : https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge |
channel |
type : rest-hook |
endpoint : http://localhost:8081/fhir/Bundle |
payload : application/fhir+json |
extension |
url : http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content |
value : full-resource |
header : Authorization: Bearer xxxxxxxxxx |
<Subscription xmlns="http://hl7.org/fhir"> <id value="PatientMergeSubscriptionExample" /> <meta> <profile value="https://gematik.de/fhir/isik/StructureDefinition/patient-merge-subscription" /> </meta> <status value="requested" /> <reason value="Patient merge subscription" /> <criteria value="https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge" /> <channel> <type value="rest-hook" /> <endpoint value="http://localhost:8081/fhir/Bundle" /> <payload value="application/fhir+json"> <extension url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content"> <valueCode value="full-resource" /> </extension> </payload> <header value="Authorization: Bearer xxxxxxxxxx" /> </channel> </Subscription>
{ "resourceType": "Subscription", "id": "PatientMergeSubscriptionExample", "meta": { "profile": [ "https://gematik.de/fhir/isik/StructureDefinition/patient-merge-subscription" ] }, "criteria": "https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge", "channel": { "type": "rest-hook", "endpoint": "http://localhost:8081/fhir/Bundle", "payload": "application/fhir+json", "_payload": { "extension": [ { "url": "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content", "valueCode": "full-resource" } ] }, "header": [ "Authorization: Bearer xxxxxxxxxx" ] }, "status": "requested", "reason": "Patient merge subscription" }
SubscriptionNotification-Bundle
Bundle |
id : SubscriptionNotificationBundleExample |
type : history |
entry |
fullUrl : urn:uuid:9bb6fcbd-8391-4e35-bd4c-620a2db47af0 |
resource |
id : SubscriptionNotification |
meta |
profile : http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4 |
parameter |
name : subscription |
value |
reference : Subscription/1 |
parameter |
name : topic |
value : https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge |
parameter |
name : status |
value : active |
parameter |
name : type |
value : event-notification |
parameter |
name : events-since-subscription-start |
value : 1 |
parameter |
name : notification-event |
part |
name : event-number |
value : 1 |
part |
name : timestamp |
value : 2024-02-22T18:30:05+01:00 |
part |
name : focus |
value |
reference : Patient/DorisQuelle |
request |
method : GET |
url : https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge/$status |
response |
status : 200 |
entry |
fullUrl : http://example.org/fhir/Patient/DorisQuelle |
resource |
id : DorisQuelle |
meta |
profile : https://gematik.de/fhir/isik/StructureDefinition/ISiKPatient |
identifier |
type |
coding |
system : http://terminology.hl7.org/CodeSystem/v2-0203 |
code : MR |
system : https://fhir.krankenhaus.example/sid/PID |
value : 654321 |
identifier |
type |
coding |
system : http://fhir.de/CodeSystem/identifier-type-de-basis |
code : KVZ10 |
system : http://fhir.de/sid/gkv/kvid-10 |
value : A123456789 |
active : False |
name |
use : official |
family : Duplikat |
given : Doris |
gender : female |
birthDate : 1964-08-12 |
request |
method : PUT |
url : Patient |
response |
status : 201 |
<Bundle xmlns="http://hl7.org/fhir"> <id value="SubscriptionNotificationBundleExample" /> <type value="history" /> <entry> <fullUrl value="urn:uuid:9bb6fcbd-8391-4e35-bd4c-620a2db47af0" /> <resource> <Parameters> <id value="SubscriptionNotification" /> <meta> <profile value="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4" /> </meta> <parameter> <name value="subscription" /> <valueReference> <reference value="Subscription/1" /> </valueReference> </parameter> <parameter> <name value="topic" /> <valueCanonical value="https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge" /> </parameter> <parameter> <name value="status" /> <valueCode value="active" /> </parameter> <parameter> <name value="type" /> <valueCode value="event-notification" /> </parameter> <parameter> <name value="events-since-subscription-start" /> <valueString value="1" /> </parameter> <parameter> <name value="notification-event" /> <part> <name value="event-number" /> <valueString value="1" /> </part> <part> <name value="timestamp" /> <valueInstant value="2024-02-22T18:30:05+01:00" /> </part> <part> <name value="focus" /> <valueReference> <reference value="Patient/DorisQuelle" /> </valueReference> </part> </parameter> </Parameters> </resource> <request> <method value="GET" /> <url value="https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge/$status" /> </request> <response> <status value="200" /> </response> </entry> <entry> <fullUrl value="http://example.org/fhir/Patient/DorisQuelle" /> <resource> <Patient> <id value="DorisQuelle" /> <meta> <profile value="https://gematik.de/fhir/isik/StructureDefinition/ISiKPatient" /> </meta> <identifier> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> <code value="MR" /> </coding> </type> <system value="https://fhir.krankenhaus.example/sid/PID" /> <value value="654321" /> </identifier> <identifier> <type> <coding> <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" /> <code value="KVZ10" /> </coding> </type> <system value="http://fhir.de/sid/gkv/kvid-10" /> <value value="A123456789" /> </identifier> <active value="false" /> <name> <use value="official" /> <family value="Duplikat" /> <given value="Doris" /> </name> <gender value="female" /> <birthDate value="1964-08-12" /> </Patient> </resource> <request> <method value="PUT" /> <url value="Patient" /> </request> <response> <status value="201" /> </response> </entry> </Bundle>
{ "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", "valueInstant": "2024-02-22T18:30:05+01:00" }, { "name": "focus", "valueReference": { "reference": "Patient/DorisQuelle" } } ] } ] }, "request": { "method": "GET", "url": "https://gematik.de/fhir/isik/SubscriptionTopic/patient-merge/$status" }, "response": { "status": "200" } }, { "fullUrl": "http://example.org/fhir/Patient/DorisQuelle", "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": "KVZ10", "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" }, "response": { "status": "201" } } ] }
Patientenobjekte
Zum Beispiel für den Merge auf Ebene der Patient-Instanzen siehe Übergreifende Festlegungen Patient-merge.