FHIR IG analytics| Package | de.gematik.erp-t-prescription |
| Resource Type | StructureMap |
| Id | StructureMap-ERPTPrescriptionStructureMapTask.json |
| FHIR Version | R4 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap ERPTPrescriptionStructureMapTask
map "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapTask" = "ERPTPrescriptionStructureMapTask" // Mappt die E-Rezept ID aus dem Task in ein Identifier Objekt uses "http://hl7.org/fhir/StructureDefinition/Task" alias task as source uses "http://hl7.org/fhir/StructureDefinition/Identifier" alias tgtIdentifier as target // Mapping Anweisungen für GEM_Task group ERPTPrescriptionStructureMapTask(source task : task, target tgtIdentifier : tgtIdentifier) { task.identifier as srcTaskIdentifier where ($this.system='https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId') then { // Mappt die E-Rezept-ID aus dem Task in den Identifier srcTaskIdentifier.value as srcTaskIdentifierValue log (tgtIdentifier) -> tgtIdentifier.system = 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId', tgtIdentifier.value = srcTaskIdentifierValue "prescriptionIdValue"; } "prescriptionId"; }
{
"resourceType": "StructureMap",
"id": "ERPTPrescriptionStructureMapTask",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapTask",
"version": "1.2.0",
"name": "ERPTPrescriptionStructureMapTask",
"title": "E-T-Rezept Structure Map for Task",
"status": "active",
"experimental": false,
"date": "2026-07-27",
"publisher": "gematik GmbH",
"contact": [
{
"name": "gematik GmbH",
"telecom": [
{
"system": "url",
"value": "https://gematik.de"
},
{
"system": "email",
"value": "erp-umsetzung@gematik.de"
}
]
}
],
"description": "Mappt die E-Rezept ID aus dem Task in ein Identifier Objekt",
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "DE",
"display": "Germany"
}
]
}
],
"structure": [
{
"url": "http://hl7.org/fhir/StructureDefinition/Task",
"mode": "source",
"alias": "task"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/Identifier",
"mode": "target",
"alias": "tgtIdentifier"
}
],
"group": [
{
"name": "ERPTPrescriptionStructureMapTask",
"typeMode": "none",
"documentation": "Mapping Anweisungen für GEM_Task",
"input": [
{
"name": "task",
"type": "task",
"mode": "source"
},
{
"name": "tgtIdentifier",
"type": "tgtIdentifier",
"mode": "target"
}
],
"rule": [
{
"name": "prescriptionId",
"source": [
{
"context": "task",
"element": "identifier",
"variable": "srcTaskIdentifier",
"condition": "$this.system='https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'"
}
],
"rule": [
{
"name": "prescriptionIdValue",
"source": [
{
"context": "srcTaskIdentifier",
"element": "value",
"variable": "srcTaskIdentifierValue",
"logMessage": "tgtIdentifier"
}
],
"target": [
{
"context": "tgtIdentifier",
"contextType": "variable",
"element": "system",
"transform": "copy",
"parameter": [
{
"valueString": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
}
]
},
{
"context": "tgtIdentifier",
"contextType": "variable",
"element": "value",
"transform": "copy",
"parameter": [
{
"valueId": "srcTaskIdentifierValue"
}
]
}
],
"documentation": "Mappt die E-Rezept-ID aus dem Task in den Identifier"
}
]
}
]
}
]
}