{ "description": "Maps resources to BfArM T-Prescription format", "_filename": "StructureMap-ERP-TPrescription-StructureMap-Task.json", "package_name": "de.gematik.erp.t-prescription", "date": "2025-07-01", "group": [ { "name": "erpTTaskMapping", "rule": [ { "name": "prescriptionId", "rule": [ { "name": "prescriptionIdValue", "source": [ { "context": "srcTaskIdentifier", "element": "value", "variable": "srcTaskIdentifierValue", "logMessage": "tgtIdentifier" } ], "target": [ { "context": "tgtIdentifier", "element": "system", "parameter": [ { "valueString": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" } ], "transform": "copy", "contextType": "variable" }, { "context": "tgtIdentifier", "element": "value", "parameter": [ { "valueId": "srcTaskIdentifierValue" } ], "transform": "copy", "contextType": "variable" } ] } ], "source": [ { "context": "task", "element": "identifier", "variable": "srcTaskIdentifier", "condition": "$this.system='https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'", "logMessage": "'Prescription ID Identifier present: ' + ($this.system='https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId').toString()" } ] } ], "input": [ { "mode": "source", "name": "task", "type": "task" }, { "mode": "target", "name": "tgtIdentifier", "type": "tgtIdentifier" } ], "typeMode": "none", "documentation": "Mapping group for Task" } ], "publisher": "gematik GmbH", "jurisdiction": [ { "coding": [ { "code": "DE", "system": "urn:iso:std:iso:3166", "display": "Germany" } ] } ], "name": "ERP-TPrescription-StructureMap-Task", "type": null, "experimental": "false", "resourceType": "StructureMap", "title": "E-T-Rezept Structure Map for Task", "package_version": "0.1.0-rc1", "structure": [ { "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task", "mode": "source", "alias": "task" }, { "url": "http://hl7.org/fhir/StructureDefinition/Identifier", "mode": "target", "alias": "tgtIdentifier" } ], "status": "draft", "id": "7ac94f97-f19f-43a3-b179-0e24e61dee89", "kind": null, "url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERP-TPrescription-StructureMap-Task", "version": "0.1.0", "contact": [ { "name": "gematik GmbH", "telecom": [ { "value": "https://gematik.de", "system": "url" } ] } ] }