{ "description": "Maps a Medication to BfArM T-Prescription Medication format", "_filename": "StructureMap-ERP-TPrescription-StructureMap-Medication.json", "package_name": "rs/de.gematik.erp.t", "date": "2025-07-01", "group": [ { "name": "erpTMedicationMapping", "rule": [ { "name": "decideOnMedication", "rule": [ { "name": "mapPZN", "source": [ { "context": "srcPZN" } ], "dependent": [ { "name": "KBVPZNMedicationMapping", "variable": [ "srcMedication", "tgtMedication" ] } ] } ], "source": [ { "context": "srcMedication", "variable": "srcPZN", "condition": "meta.profile.contains('KBV_PR_ERP_Medication_PZN')" } ] }, { "name": "decideOnMedication", "rule": [ { "name": "mapFreeText", "source": [ { "context": "srcFreeText" } ], "dependent": [ { "name": "KBVFreeTextMedicationMapping", "variable": [ "srcMedication", "tgtMedication" ] } ] } ], "source": [ { "context": "srcMedication", "variable": "srcFreeText", "condition": "meta.profile.contains('KBV_PR_ERP_Medication_FreeText')" } ] }, { "name": "decideOnMedication", "rule": [ { "name": "mapIngredient", "source": [ { "context": "srcIngredient" } ], "dependent": [ { "name": "KBVIngredientMedicationMapping", "variable": [ "srcMedication", "tgtMedication" ] } ] } ], "source": [ { "context": "srcMedication", "variable": "srcIngredient", "condition": "meta.profile.contains('KBV_PR_ERP_Medication_Ingredient')" } ] }, { "name": "decideOnMedication", "rule": [ { "name": "mapCompounding", "source": [ { "context": "srcCompounding" } ], "dependent": [ { "name": "KBVCompoundingMedicationMapping", "variable": [ "srcMedication", "tgtMedication" ] } ] } ], "source": [ { "context": "srcMedication", "variable": "srcCompounding", "condition": "meta.profile.contains('KBV_PR_ERP_Medication_Compounding')" } ] }, { "name": "decideOnMedication", "rule": [ { "name": "mapGemMed", "source": [ { "context": "srcGemMed" } ], "dependent": [ { "name": "erpTGemMedicationMapping", "variable": [ "srcMedication", "tgtMedication" ] } ] } ], "source": [ { "context": "srcMedication", "variable": "srcGemMed", "condition": "meta.profile.contains('GEM_ERP_PR_Medication')" } ] } ], "input": [ { "mode": "source", "name": "srcMedication", "type": "srcMedication" }, { "mode": "target", "name": "tgtMedication", "type": "tgtMedication" } ], "typeMode": "none", "documentation": "Mapping group for medication information transformation" } ], "publisher": "gematik GmbH", "jurisdiction": [ { "coding": [ { "code": "DE", "system": "urn:iso:std:iso:3166", "display": "Germany" } ] } ], "name": "ERP-TPrescription-StructureMap-Medication", "type": null, "experimental": "false", "resourceType": "StructureMap", "title": "E-T-Rezept Structure Map for Medication", "package_version": "prescription-0.1.0-rc1", "structure": [ { "url": "http://hl7.org/fhir/StructureDefinition/Medication", "mode": "source", "alias": "srcMedication" }, { "url": "http://hl7.org/fhir/StructureDefinition/Medication", "mode": "target", "alias": "tgtMedication" } ], "status": "draft", "id": "3e2a45ab-d659-4387-a0c2-0a863f243e21", "kind": null, "url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERP-TPrescription-StructureMap-Medication", "version": "0.1.0", "import": [ "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERP-TPrescription-StructureMap-GEM-Medication", "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERP-TPrescription-StructureMap-KBV-Compounding-Medication", "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERP-TPrescription-StructureMap-KBV-PZN-Medication", "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERP-TPrescription-StructureMap-KBV-FreeText-Medication", "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERP-TPrescription-StructureMap-KBV-Ingredient-Medication" ], "contact": [ { "name": "gematik GmbH", "telecom": [ { "value": "https://gematik.de", "system": "url" } ] } ] }