From 803c4a749913b88d3634b0fc166b69c5cdcc46c9 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 5 Jul 2024 08:19:29 +0200 Subject: [PATCH] Set new medicationdispense response for single medicationdispense --- ...e_get-single-medicationdispense-by-id.json | 225 ++++++++++-------- 1 file changed, 123 insertions(+), 102 deletions(-) diff --git a/API-Examples/2024-11-01/erp_versicherte/05_response_get-single-medicationdispense-by-id.json b/API-Examples/2024-11-01/erp_versicherte/05_response_get-single-medicationdispense-by-id.json index 6307ff8a..79b0cd8f 100644 --- a/API-Examples/2024-11-01/erp_versicherte/05_response_get-single-medicationdispense-by-id.json +++ b/API-Examples/2024-11-01/erp_versicherte/05_response_get-single-medicationdispense-by-id.json @@ -1,119 +1,140 @@ { - "resourceType": "MedicationDispense", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3" - ] - }, - "contained": [ + "id": "7f68987f-4e18-405e-9159-8fb603b71da7", + "type": "searchset", + "timestamp": "2024-02-15T06:01:44.119+00:00", + "resourceType": "Bundle", + "total": 0, + "link": [ { - "resourceType": "Medication", - "id": "b4c2bba5-23bd-4be3-b58f-a70621edd84f", - "meta": { - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0" - ] - }, - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ + "relation": "self", + "url": "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/MedicationDispense?identifier=200.000.002.097.952.60" + } + ], + "entry": [ + { + "fullUrl": "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/MedicationDispense/200.000.002.097.952.60", + "resource": { + "resourceType": "MedicationDispense", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3" + ] + }, + "contained": [ + { + "resourceType": "Medication", + "id": "b4c2bba5-23bd-4be3-b58f-a70621edd84f", + "meta": { + "profile": [ + "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0" + ] + }, + "extension": [ + { + "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/900000000000207008/version/20220331", + "code": "763158003", + "display": "Medicinal product (product)" + } + ] + } + }, + { + "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "valueCoding": { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "code": "00" + } + }, + { + "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "valueBoolean": false + }, { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" + "url": "http://fhir.de/StructureDefinition/normgroesse", + "valueCode": "N1" } - ] + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "03879429" + } + ], + "text": "Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1" + }, + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "RET" + } + ] + }, + "amount": { + "numerator": { + "extension": [ + { + "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", + "valueString": "30" + } + ], + "unit": "Stück" + }, + "denominator": { + "value": 1 + } + } } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", - "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", - "code": "00" + ], + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "200.000.002.097.951.63" } + ], + "status": "completed", + "medicationReference": { + "reference": "#b4c2bba5-23bd-4be3-b58f-a70621edd84f", + "display": "Sumatriptan-1a Pharma 100 mg Tabletten" }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", - "valueBoolean": false + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X110501499" + } }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N1" - } - ], - "code": { - "coding": [ + "performer": [ { - "system": "http://fhir.de/CodeSystem/ifa/pzn", - "code": "03879429" + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-2-APO-XanthippeVeilchenblau01" + } + } } ], - "text": "Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1" - }, - "form": { - "coding": [ + "quantity": { + "value": 1, + "system": "http://unitsofmeasure.org", + "code": "{Package}" + }, + "whenHandedOver": "2024-02-15", + "dosageInstruction": [ { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", - "code": "RET" + "text": "1-0-1-0" } - ] + ], + "id": "200.000.002.097.951.63" }, - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "30" - } - ], - "unit": "Stück" - }, - "denominator": { - "value": 1 - } + "search": { + "mode": "match" } } - ], - "identifier": [ - { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "200.000.002.097.951.63" - } - ], - "status": "completed", - "medicationReference": { - "reference": "#b4c2bba5-23bd-4be3-b58f-a70621edd84f", - "display": "Sumatriptan-1a Pharma 100 mg Tabletten" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X110501499" - } - }, - "performer": [ - { - "actor": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-2-APO-XanthippeVeilchenblau01" - } - } - } - ], - "quantity": { - "value": 1, - "system": "http://unitsofmeasure.org", - "code": "{Package}" - }, - "whenHandedOver": "2024-02-15", - "dosageInstruction": [ - { - "text": "1-0-1-0" - } - ], - "id": "200.000.002.097.951.63" + ] } \ No newline at end of file