From 9a5acf7d7696414530f1be2b1983e00fa66a455b Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 17 Dec 2024 14:23:50 +0100 Subject: [PATCH] set json for mapped artefacts --- .../06_RezepturVerordnung_PZN_Mapped.json | 205 ++++++++++++++++++ .../06_RezepturVerordnung_PZN_Mapped.xml | 151 ------------- .../12_ibm_medication_compounding_Mapped.json | 178 +++++++++++++++ .../12_ibm_medication_compounding_Mapped.xml | 139 ------------ .../FSH-Files/scripts/process_files.sh | 2 + 5 files changed, 385 insertions(+), 290 deletions(-) create mode 100644 API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.json delete mode 100644 API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.xml create mode 100644 API-Examples/2025-01-15/erp_eml-epa-notes/12_ibm_medication_compounding_Mapped.json delete mode 100644 API-Examples/2025-01-15/erp_eml-epa-notes/12_ibm_medication_compounding_Mapped.xml diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.json b/API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.json new file mode 100644 index 00000000..bb2dd43d --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.json @@ -0,0 +1,205 @@ +{ + "resourceType": "Medication", + "id": "erp-eml-epa-notes-06-RezepturVerordnung-PZN-Mapped", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "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 + } + ], + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "valueString": "100" + } + ], + "unit": "ml" + }, + "denominator": { + "value": 1 + } + }, + "ingredient": [ + { + "strength": { + "denominator": { + "value": 1, + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + }, + "numerator": { + "value": 5, + "code": "g", + "system": "http://unitsofmeasure.org" + } + }, + "itemReference": { + "reference": "#MedicationSalicylsaeure" + } + }, + { + "strength": { + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension", + "valueString": "Ad 100 g" + } + ], + "numerator": { + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "denominator": { + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + }, + "itemReference": { + "reference": "#MedicationPropanol" + } + } + ], + "contained": [ + { + "resourceType": "Medication", + "id": "MedicationPropanol", + "meta": { + "profile": [ + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "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)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "987654321", + "display": "2-propanol 70 %" + } + ], + "text": "2-propanol 70 %" + } + }, + { + "resourceType": "Medication", + "id": "MedicationSalicylsaeure", + "meta": { + "profile": [ + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "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)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "123456789", + "display": "Salicylsäure" + } + ], + "text": "Salicylsäure" + } + } + ], + "form": { + "text": "Lösung" + } +} diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.xml deleted file mode 100644 index 0f5e7e25..00000000 --- a/API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.xml +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\ No newline at end of file diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/12_ibm_medication_compounding_Mapped.json b/API-Examples/2025-01-15/erp_eml-epa-notes/12_ibm_medication_compounding_Mapped.json new file mode 100644 index 00000000..6f113b92 --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/12_ibm_medication_compounding_Mapped.json @@ -0,0 +1,178 @@ +{ + "resourceType": "Medication", + "id": "erp-eml-epa-notes-12-ibm-medication-compounding-Mapped", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "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 + } + ], + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "valueString": "12" + } + ], + "code": "{tbl}", + "system": "http://unitsofmeasure.org", + "unit": "TAB" + }, + "denominator": { + "value": 1 + } + }, + "ingredient": [ + { + "strength": { + "denominator": { + "value": 1, + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + }, + "numerator": { + "value": 1, + "code": "{tbl}", + "system": "http://unitsofmeasure.org", + "unit": "TAB" + } + }, + "itemReference": { + "reference": "#FirstIngredient" + } + }, + { + "strength": { + "denominator": { + "value": 1, + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + }, + "numerator": { + "value": 2, + "code": "{tbl}", + "system": "http://unitsofmeasure.org", + "unit": "TAB" + } + }, + "itemReference": { + "reference": "#SecondIngredient" + } + } + ], + "contained": [ + { + "resourceType": "Medication", + "id": "FirstIngredient", + "meta": { + "profile": [ + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "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)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "12343219", + "display": "1st ingredient" + } + ], + "text": "1st ingredient" + } + }, + { + "resourceType": "Medication", + "id": "SecondIngredient", + "meta": { + "profile": [ + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "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)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "56781239", + "display": "2nd ingredient" + } + ], + "text": "2nd ingredient" + } + } + ], + "form": { + "text": "TAB" + }, + "code": { + "text": "Sumatriptan-1a Pharma 100 mg Tabletten" + } +} diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/12_ibm_medication_compounding_Mapped.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/12_ibm_medication_compounding_Mapped.xml deleted file mode 100644 index 7ec8a82d..00000000 --- a/API-Examples/2025-01-15/erp_eml-epa-notes/12_ibm_medication_compounding_Mapped.xml +++ /dev/null @@ -1,139 +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 a49e58f4..90418b25 100755 --- a/API-Examples/FSH-Files/scripts/process_files.sh +++ b/API-Examples/FSH-Files/scripts/process_files.sh @@ -204,6 +204,8 @@ files_to_copy=( "Bundle-erp-diga-02-response-taskGetSingle.json" "Communication-erp-diga-03-communication-zuweisung-diga.json" "MedicationDispense-erp-diga-04-medication-dispense-diga.json" + "Medication-erp-eml-epa-notes-12-ibm-medication-compounding-Mapped.json" + "Medication-erp-eml-epa-notes-06-RezepturVerordnung-PZN-Mapped.json" "Bundle-erp-versicherte-01-response-taskGetAll.json" "Bundle-erp-versicherte-02-response-taskGetSingle.json"