From 43f418c6f04d98d6f0f81f56ca8c7b4d43495ec3 Mon Sep 17 00:00:00 2001 From: Hendre Janse van Rensburg Date: Thu, 4 Jul 2024 12:20:03 +0200 Subject: [PATCH] add the DiGA and eML examples for the API-Docs --- .../erp_diga/01_task_162_create.xml | 45 +++++ .../erp_diga/02_response_fhir_vzd.json | 114 +++++++++++ .../03_communication_zuweisung_diga.json | 45 +++++ .../erp_diga/04_medication_dispense_diga.json | 46 +++++ .../erp_diga/05_response_accept.xml | 101 +++++++++ .../erp_diga/06_medication_dispense_diga.xml | 37 ++++ ...Parameters-ExampleCloseInputParameters.xml | 92 +++++++++ ...tParametersMultipleMedicationDispenses.xml | 191 ++++++++++++++++++ .../03_Medication-Medication-Rezeptur.xml | 133 ++++++++++++ .../04_Medication-Medication-Kombipackung.xml | 144 +++++++++++++ 10 files changed, 948 insertions(+) create mode 100644 API-Examples/2024-11-01/erp_diga/01_task_162_create.xml create mode 100644 API-Examples/2024-11-01/erp_diga/02_response_fhir_vzd.json create mode 100644 API-Examples/2024-11-01/erp_diga/03_communication_zuweisung_diga.json create mode 100644 API-Examples/2024-11-01/erp_diga/04_medication_dispense_diga.json create mode 100644 API-Examples/2024-11-01/erp_diga/05_response_accept.xml create mode 100644 API-Examples/2024-11-01/erp_diga/06_medication_dispense_diga.xml create mode 100644 API-Examples/2024-11-01/erp_eml-epa-notes/01_Parameters-ExampleCloseInputParameters.xml create mode 100644 API-Examples/2024-11-01/erp_eml-epa-notes/02_Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.xml create mode 100644 API-Examples/2024-11-01/erp_eml-epa-notes/03_Medication-Medication-Rezeptur.xml create mode 100644 API-Examples/2024-11-01/erp_eml-epa-notes/04_Medication-Medication-Kombipackung.xml diff --git a/API-Examples/2024-11-01/erp_diga/01_task_162_create.xml b/API-Examples/2024-11-01/erp_diga/01_task_162_create.xml new file mode 100644 index 00000000..80cb3b4f --- /dev/null +++ b/API-Examples/2024-11-01/erp_diga/01_task_162_create.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/API-Examples/2024-11-01/erp_diga/02_response_fhir_vzd.json b/API-Examples/2024-11-01/erp_diga/02_response_fhir_vzd.json new file mode 100644 index 00000000..a72a69d4 --- /dev/null +++ b/API-Examples/2024-11-01/erp_diga/02_response_fhir_vzd.json @@ -0,0 +1,114 @@ +{ + "resourceType": "Bundle", + "id": "1503938d-6761-4cdd-b0a9-3723d5b5a5e4", + "meta": { + "lastUpdated": "2024-07-02T12:57:06.425+02:00" + }, + "type": "searchset", + "total": 2, + "entry": [ + { + "fullUrl": "https://fhir-directory-ref.vzd.ti-dienste.de/search/HealthcareService/f86e1f95-08f1-4651-aed5-dfd82ce2b05e", + "resource": { + "resourceType": "HealthcareService", + "id": "f86e1f95-08f1-4651-aed5-dfd82ce2b05e", + "meta": { + "versionId": "4", + "lastUpdated": "2024-03-27T17:55:10.913+01:00", + "profile": [ + "https://gematik.de/fhir/directory/StructureDefinition/HealthcareServiceDirectory" + ], + "tag": [ + { + "system": "https://gematik.de/fhir/directory/CodeSystem/Origin", + "code": "ldap", + "display": "Synchronized from LDAP VZD", + "userSelected": false + } + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/directory/CodeSystem/ldapUID", + "value": "6f01ba0b-5d78-4bb1-a789-9a8be7f30ca3" + } + ], + "providedBy": { + "reference": "Organization/235f4997-acea-41b3-85db-c54c4ffd2fc2" + }, + "location": [ + { + "reference": "Location/6ac29f34-f531-4fc2-b530-c1a9f143b1d1" + } + ] + }, + "search": { + "mode": "match" + } + }, + { + "fullUrl": "https://fhir-directory-ref.vzd.ti-dienste.de/search/Organization/235f4997-acea-41b3-85db-c54c4ffd2fc2", + "resource": { + "resourceType": "Organization", + "id": "235f4997-acea-41b3-85db-c54c4ffd2fc2", + "meta": { + "versionId": "2", + "lastUpdated": "2024-02-26T12:38:14.001+01:00", + "source": "#2WkZQ3ZhfsTF9vgi", + "profile": [ + "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" + ], + "tag": [ + { + "system": "https://gematik.de/fhir/directory/CodeSystem/Origin", + "code": "ldap", + "display": "Synchronized from LDAP VZD", + "userSelected": false + } + ] + }, + "identifier": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "PRN" + } + ] + }, + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "8-01-0000000232" + }, + { + "system": "http://fhir.de/StructureDefinition/identifier-iknr", + "value": "107815761" + }, + { + "system": "https://gematik.de/fhir/directory/CodeSystem/ldapUID", + "value": "6f01ba0b-5d78-4bb1-a789-9a8be7f30ca3" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID", + "code": "1.2.276.0.76.4.59", + "display": "Betriebsstätte Kostenträger" + } + ] + } + ], + "name": "AOK Baden-Württemberg", + "alias": [ + "AOK Baden-Württemberg NOT-VALID" + ] + }, + "search": { + "mode": "include" + } + } + ] +} \ No newline at end of file diff --git a/API-Examples/2024-11-01/erp_diga/03_communication_zuweisung_diga.json b/API-Examples/2024-11-01/erp_diga/03_communication_zuweisung_diga.json new file mode 100644 index 00000000..e40427cf --- /dev/null +++ b/API-Examples/2024-11-01/erp_diga/03_communication_zuweisung_diga.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Communication", + "id": "2be1c6ac-5d10-47f6-84ee-8318b2c22c76", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|1.4" + ], + "tag": [ + { + "display": "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" + } + ] + }, + "status": "unknown", + "extension": [ + { + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType", + "valueCoding": { + "code": "162", + "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType", + "display": "Muster 16 (Digitale Gesundheitsanwendungen)" + } + } + ], + "recipient": [ + { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "8-01-0000000232" + } + } + ], + "basedOn": [ + { + "reference": "Task/162.000.033.491.280.78/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" + } + ], + "sender": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567890" + } + }, + "sent": "2025-03-02T13:44:30.128+02:00" +} diff --git a/API-Examples/2024-11-01/erp_diga/04_medication_dispense_diga.json b/API-Examples/2024-11-01/erp_diga/04_medication_dispense_diga.json new file mode 100644 index 00000000..ac6225fc --- /dev/null +++ b/API-Examples/2024-11-01/erp_diga/04_medication_dispense_diga.json @@ -0,0 +1,46 @@ +{ + "resourceType": "MedicationDispense", + "id": "23dddf62-881c-4db9-8a96-22be7d58f7bd", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode", + "valueString": "DE12345678901234" + } + ], + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "162.123.456.789.123.58" + } + ], + "status": "completed", + "medicationReference": { + "identifier": { + "system": "https://fhir.bfarm.de/Identifier/DigaVeId", + "value": "12345678" + }, + "display": "Gematico Diabetestherapie" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "8-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03" +} \ No newline at end of file diff --git a/API-Examples/2024-11-01/erp_diga/05_response_accept.xml b/API-Examples/2024-11-01/erp_diga/05_response_accept.xml new file mode 100644 index 00000000..b5f41db6 --- /dev/null +++ b/API-Examples/2024-11-01/erp_diga/05_response_accept.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/API-Examples/2024-11-01/erp_diga/06_medication_dispense_diga.xml b/API-Examples/2024-11-01/erp_diga/06_medication_dispense_diga.xml new file mode 100644 index 00000000..2290655d --- /dev/null +++ b/API-Examples/2024-11-01/erp_diga/06_medication_dispense_diga.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/API-Examples/2024-11-01/erp_eml-epa-notes/01_Parameters-ExampleCloseInputParameters.xml b/API-Examples/2024-11-01/erp_eml-epa-notes/01_Parameters-ExampleCloseInputParameters.xml new file mode 100644 index 00000000..0fb0a1ae --- /dev/null +++ b/API-Examples/2024-11-01/erp_eml-epa-notes/01_Parameters-ExampleCloseInputParameters.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+
+
+
+
\ No newline at end of file diff --git a/API-Examples/2024-11-01/erp_eml-epa-notes/02_Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.xml b/API-Examples/2024-11-01/erp_eml-epa-notes/02_Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.xml new file mode 100644 index 00000000..3db40b39 --- /dev/null +++ b/API-Examples/2024-11-01/erp_eml-epa-notes/02_Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.xml @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
\ No newline at end of file diff --git a/API-Examples/2024-11-01/erp_eml-epa-notes/03_Medication-Medication-Rezeptur.xml b/API-Examples/2024-11-01/erp_eml-epa-notes/03_Medication-Medication-Rezeptur.xml new file mode 100644 index 00000000..a79e785f --- /dev/null +++ b/API-Examples/2024-11-01/erp_eml-epa-notes/03_Medication-Medication-Rezeptur.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/API-Examples/2024-11-01/erp_eml-epa-notes/04_Medication-Medication-Kombipackung.xml b/API-Examples/2024-11-01/erp_eml-epa-notes/04_Medication-Medication-Kombipackung.xml new file mode 100644 index 00000000..b83e4fdb --- /dev/null +++ b/API-Examples/2024-11-01/erp_eml-epa-notes/04_Medication-Medication-Kombipackung.xml @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
\ No newline at end of file