| Package | de.gematik.erp.t-prescription |
| Resource Type | StructureMap |
| Id | ERPTPrescriptionStructureMapTask |
| FHIR Version | R4 |
| Source | https://simplifier.net/resolve?scope=de.gematik.erp.t-prescription@1.1.0-ballot-1&canonical=https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapTask |
| URL | https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapTask |
| Version | 1.0.0-ballot-1 |
| Status | draft |
| Date | 2025-07-07 |
| Name | ERPTPrescriptionStructureMapTask |
| Title | E-T-Rezept Structure Map for Task |
| Description | Maps resources to BfArM T-Prescription format |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureMap",
"id": "ERPTPrescriptionStructureMapTask",
"url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapTask",
"title": "E-T-Rezept Structure Map for Task",
"description": "Maps resources to BfArM T-Prescription format",
"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"
}
],
"group": [
{
"input": [
{
"name": "task",
"type": "task",
"mode": "source"
},
{
"name": "tgtIdentifier",
"type": "tgtIdentifier",
"mode": "target"
}
],
"rule": [
{
"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()"
}
],
"rule": [
{
"source": [
{
"context": "srcTaskIdentifier",
"element": "value",
"variable": "srcTaskIdentifierValue",
"logMessage": "tgtIdentifier"
}
],
"target": [
{
"parameter": [
{
"valueString": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
}
],
"context": "tgtIdentifier",
"contextType": "variable",
"element": "system",
"transform": "copy"
},
{
"parameter": [
{
"valueId": "srcTaskIdentifierValue"
}
],
"context": "tgtIdentifier",
"contextType": "variable",
"element": "value",
"transform": "copy"
}
],
"name": "prescriptionIdValue"
}
],
"name": "prescriptionId"
}
],
"name": "ERPTPrescriptionStructureMapTask",
"typeMode": "none",
"documentation": "Mapping group for Task"
}
],
"status": "draft",
"version": "1.0.0-ballot-1",
"date": "2025-07-07",
"name": "ERPTPrescriptionStructureMapTask",
"experimental": false
}