From 8f3d9dfb049a5d8d33e6147a3546fa00d95e85fd Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Wed, 18 Dec 2024 09:25:08 +0100 Subject: [PATCH] add kpg mapping --- .../15_KPGVerordnung_PZN.xml | 52 +++++++++++++ .../16_KPGVerordnung_PZN_Mapped.json | 77 +++++++++++++++++++ .../15_RezepturVerordnung_PZN_KPG.fsh | 13 ++++ .../16_RezepturVerordnung_PZN_KPG_Mapped.fsh | 17 ++++ .../FSH-Files/scripts/process_files.sh | 1 + 5 files changed, 160 insertions(+) create mode 100644 API-Examples/2025-01-15/erp_eml-epa-notes/15_KPGVerordnung_PZN.xml create mode 100644 API-Examples/2025-01-15/erp_eml-epa-notes/16_KPGVerordnung_PZN_Mapped.json create mode 100644 API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/15_RezepturVerordnung_PZN_KPG.fsh create mode 100644 API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/16_RezepturVerordnung_PZN_KPG_Mapped.fsh diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/15_KPGVerordnung_PZN.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/15_KPGVerordnung_PZN.xml new file mode 100644 index 00000000..8531e57a --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/15_KPGVerordnung_PZN.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/16_KPGVerordnung_PZN_Mapped.json b/API-Examples/2025-01-15/erp_eml-epa-notes/16_KPGVerordnung_PZN_Mapped.json new file mode 100644 index 00000000..3fc5bcd3 --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/16_KPGVerordnung_PZN_Mapped.json @@ -0,0 +1,77 @@ +{ + "resourceType": "Medication", + "id": "erp-eml-epa-notes-16-KPGVerordnung-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": "1208954007", + "system": "http://snomed.info/sct", + "display": "Extemporaneous preparation (product)" + } + }, + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + }, + { + "url": "http://fhir.de/StructureDefinition/normgroesse", + "valueCode": "N2" + } + ], + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension", + "valueString": "1" + } + ], + "unit": "P" + }, + "denominator": { + "value": 1 + } + }, + "code": { + "text": "ZacPac® 40mg/1.000mg/500mg Kombip. 42 Tbl. N2", + "coding": [ + { + "code": "01264706", + "system": "http://fhir.de/CodeSystem/ifa/pzn" + } + ] + }, + "form": { + "coding": [ + { + "code": "KPG", + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ] +} diff --git a/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/15_RezepturVerordnung_PZN_KPG.fsh b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/15_RezepturVerordnung_PZN_KPG.fsh new file mode 100644 index 00000000..8813ba99 --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/15_RezepturVerordnung_PZN_KPG.fsh @@ -0,0 +1,13 @@ +Instance: erp-eml-epa-notes-15-KPGVerordnung-PZN +InstanceOf: KBV_PR_ERP_Medication_PZN +Usage: #example +* extension[Arzneimittelkategorie].valueCoding = $KBV_CS_ERP_Medication_Category#00 +* extension[Impfstoff].valueBoolean = false +* extension[Kategorie].valueCodeableConcept.coding = $sct#763158003 "Medicinal product (product)" +* extension[Normgroesse].valueCode = #N2 +* code.text = "ZacPac® 40mg/1.000mg/500mg Kombip. 42 Tbl. N2" +* code = $pzn-cs#01264706 +* form = $KBV_CS_SFHIR_KBV_DARREICHUNGSFORM#KPG +* amount.numerator.extension[Packungsgroesse].valueString = "1" +* amount.denominator.value = 1 +* amount.numerator.unit = "P" \ No newline at end of file diff --git a/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/16_RezepturVerordnung_PZN_KPG_Mapped.fsh b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/16_RezepturVerordnung_PZN_KPG_Mapped.fsh new file mode 100644 index 00000000..584f119a --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/16_RezepturVerordnung_PZN_KPG_Mapped.fsh @@ -0,0 +1,17 @@ +Instance: erp-eml-epa-notes-16-KPGVerordnung-PZN-Mapped +InstanceOf: EPAMedication +Usage: #example +* extension[drugCategory].valueCoding = $epa-drug-category-cs#00 +* extension[type].valueCoding = $sct#1208954007 "Extemporaneous preparation (product)" +* extension[isVaccine].valueBoolean = false +* extension[normSizeCode].valueCode = #N2 +* code.text = "ZacPac® 40mg/1.000mg/500mg Kombip. 42 Tbl. N2" +* code = $pzn-cs#01264706 +* form = $KBV_CS_SFHIR_KBV_DARREICHUNGSFORM#KPG +* amount.numerator + * extension[packagingSize].valueString = "1" + * unit = "P" +* amount.denominator.value = 1 +* ingredient[+].itemReference + * extension[+].url = $data-absent-reason + * extension[=].valueCode = #unknown \ 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 6b061e4f..38b30641 100755 --- a/API-Examples/FSH-Files/scripts/process_files.sh +++ b/API-Examples/FSH-Files/scripts/process_files.sh @@ -207,6 +207,7 @@ files_to_copy=( "Medication-erp-eml-epa-notes-06-RezepturVerordnung-PZN-Mapped.json" "Medication-erp-eml-epa-notes-12-ibm-medication-compounding-Mapped.json" "Medication-erp-eml-epa-notes-14-ibm-medication-compounding-amount-Mapped.json" + "Medication-erp-eml-epa-notes-16-KPGVerordnung-PZN-Mapped.json" "Bundle-erp-versicherte-01-response-taskGetAll.json" "Bundle-erp-versicherte-02-response-taskGetSingle.json"