From 6490a2bf62a8cb70f16006775e0456ebe1879d4d Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 7 Jan 2025 09:58:50 +0100 Subject: [PATCH] output to json --- .../20_verordnung_pzn_Mapped.json | 61 +++++++++++++++++++ .../20_verordnung_pzn_Mapped.xml | 46 -------------- .../FSH-Files/scripts/process_files.sh | 1 + 3 files changed, 62 insertions(+), 46 deletions(-) create mode 100644 API-Examples/2025-01-15/erp_eml-epa-notes/20_verordnung_pzn_Mapped.json delete mode 100644 API-Examples/2025-01-15/erp_eml-epa-notes/20_verordnung_pzn_Mapped.xml diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/20_verordnung_pzn_Mapped.json b/API-Examples/2025-01-15/erp_eml-epa-notes/20_verordnung_pzn_Mapped.json new file mode 100644 index 00000000..f20de661 --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/20_verordnung_pzn_Mapped.json @@ -0,0 +1,61 @@ +{ + "resourceType": "Medication", + "id": "erp-eml-epa-notes-20-verordnung-pzn-Mapped", + "meta": { + "profile": [ + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "code": "00", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" + } + }, + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)" + } + }, + { + "url": "http://fhir.de/StructureDefinition/normgroesse", + "valueCode": "NB" + } + ], + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "TAB" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "12345678" + } + ], + "text": "Schmerzmittel" + }, + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension", + "valueString": "1" + } + ], + "unit": "Stk" + }, + "denominator": { + "value": 1 + } + } +} diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/20_verordnung_pzn_Mapped.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/20_verordnung_pzn_Mapped.xml deleted file mode 100644 index 9e045180..00000000 --- a/API-Examples/2025-01-15/erp_eml-epa-notes/20_verordnung_pzn_Mapped.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -
\ No newline at end of file diff --git a/API-Examples/FSH-Files/scripts/process_files.sh b/API-Examples/FSH-Files/scripts/process_files.sh index ea841c8f..8ee98241 100755 --- a/API-Examples/FSH-Files/scripts/process_files.sh +++ b/API-Examples/FSH-Files/scripts/process_files.sh @@ -211,6 +211,7 @@ files_to_copy=( "Medication-erp-eml-epa-notes-14-ibm-medication-compounding-amount-Mapped.json" "Medication-erp-eml-epa-notes-16-KPGVerordnung-PZN-Mapped.json" "Medication-erp-eml-epa-notes-18-ibm-medication-compounding-text-Mapped.json" + "Medication-erp-eml-epa-notes-20-verordnung-pzn-Mapped.json" "Bundle-erp-versicherte-01-response-taskGetAll.json" "Bundle-erp-versicherte-02-response-taskGetSingle.json"