{ "description": "Maps KBV FreeText Medication to BfArM T-Prescription Medication format", "_filename": "StructureMap-ERPTPrescriptionStructureMapKBVFreeTextMedication.json", "package_name": "de.gematik.erp.t-prescription", "date": "2025-07-07", "group": [ { "name": "ERPTPrescriptionStructureMapKBVFreeTextMedication", "rule": [ { "name": "medicationId", "source": [ { "context": "kbvMedicationFreeText", "element": "id", "variable": "IdVar" } ], "target": [ { "context": "bfarmMedication", "element": "id", "parameter": [ { "valueId": "IdVar" } ], "transform": "copy", "contextType": "variable" } ], "documentation": "Copies the Medication Id" }, { "name": "medicationCode", "rule": [ { "name": "medicationCodeText", "source": [ { "context": "srcCodeVar", "element": "text", "variable": "srcCodeTextVar" } ], "target": [ { "context": "tgtCodeVar", "element": "text", "parameter": [ { "valueId": "srcCodeTextVar" } ], "transform": "copy", "contextType": "variable" } ], "documentation": "Copies the Medication Code Text" } ], "source": [ { "context": "kbvMedicationFreeText", "element": "code", "variable": "srcCodeVar" } ], "target": [ { "context": "bfarmMedication", "element": "code", "variable": "tgtCodeVar", "contextType": "variable" } ], "documentation": "Copies the Medication Code" }, { "name": "medicationForm", "rule": [ { "name": "medicationFormText", "source": [ { "context": "srcFormVar", "element": "text", "variable": "srcformTextVar" } ], "target": [ { "context": "tgtFormVar", "element": "text", "parameter": [ { "valueId": "srcformTextVar" } ], "transform": "copy", "contextType": "variable" } ], "documentation": "Copies the Medication form Text" } ], "source": [ { "context": "kbvMedicationFreeText", "element": "form", "variable": "srcFormVar" } ], "target": [ { "context": "bfarmMedication", "element": "form", "variable": "tgtFormVar", "contextType": "variable" } ], "documentation": "Copies the Medication Form" } ], "input": [ { "mode": "source", "name": "kbvMedicationFreeText", "type": "kbvMedicationFreeText" }, { "mode": "target", "name": "bfarmMedication", "type": "bfarmMedication" } ], "typeMode": "none", "documentation": "Mapping group for medication information transformation" } ], "publisher": null, "name": "ERPTPrescriptionStructureMapKBVFreeTextMedication", "type": null, "experimental": "false", "resourceType": "StructureMap", "title": "E-T-Rezept Structure Map for KBV FreeText Medication", "package_version": "1.1.0-ballot-1", "structure": [ { "url": "http://hl7.org/fhir/StructureDefinition/Medication", "mode": "source", "alias": "kbvMedicationFreeText" }, { "url": "http://hl7.org/fhir/StructureDefinition/Medication", "mode": "target", "alias": "bfarmMedication" } ], "status": "draft", "id": "9ce75a09-5555-45d6-a47b-32adab594322", "kind": null, "url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVFreeTextMedication", "version": "1.0.0-ballot-1" }