| Package | de.gematik.erp.t-prescription |
| Resource Type | StructureMap |
| Id | ERPTPrescriptionStructureMapMedicationDispense |
| 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/ERPTPrescriptionStructureMapMedicationDispense |
| URL | https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapMedicationDispense |
| Version | 1.0.0-ballot-1 |
| Status | draft |
| Date | 2025-07-07 |
| Name | ERPTPrescriptionStructureMapMedicationDispense |
| Title | E-T-Rezept Structure Map for MedicationDispense |
| Description | Maps GEM ERP MedicationDispense BfArM T-Prescription MedicationDispense format |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureMap",
"id": "ERPTPrescriptionStructureMapMedicationDispense",
"url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapMedicationDispense",
"title": "E-T-Rezept Structure Map for MedicationDispense",
"description": "Maps GEM ERP MedicationDispense BfArM T-Prescription MedicationDispense format",
"structure": [
{
"url": "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
"mode": "source",
"alias": "gematikMedicationDispense"
},
{
"url": "https://gematik.de/fhir/erp-t-prescription/StructureDefinition/erp-tprescription-medication-dispense",
"mode": "target",
"alias": "bfarmMedicationDispense"
}
],
"group": [
{
"input": [
{
"name": "gematikMedicationDispense",
"type": "gematikMedicationDispense",
"mode": "source"
},
{
"name": "bfarmMedicationDispense",
"type": "bfarmMedicationDispense",
"mode": "target"
}
],
"rule": [
{
"source": [
{
"context": "gematikMedicationDispense",
"element": "dosageInstruction",
"variable": "dosageInstructionVar"
}
],
"target": [
{
"parameter": [
{
"valueId": "dosageInstructionVar"
}
],
"context": "bfarmMedicationDispense",
"contextType": "variable",
"element": "dosageInstruction",
"transform": "copy"
}
],
"name": "medicationDispenseDosageInstruction",
"documentation": "TODO"
},
{
"source": [
{
"context": "gematikMedicationDispense",
"element": "whenHandedOver",
"variable": "whenHandedOverVar"
}
],
"target": [
{
"parameter": [
{
"valueId": "whenHandedOverVar"
}
],
"context": "bfarmMedicationDispense",
"contextType": "variable",
"element": "whenHandedOver",
"transform": "copy"
}
],
"name": "medicationDispenseDosageInstruction",
"documentation": "TODO"
},
{
"source": [
{
"context": "gematikMedicationDispense",
"element": "medication",
"variable": "medicationVar"
}
],
"target": [
{
"parameter": [
{
"valueId": "medicationVar"
}
],
"context": "bfarmMedicationDispense",
"contextType": "variable",
"element": "medication",
"transform": "copy"
}
],
"name": "medicationReference",
"documentation": "Copy medication; ensure correct mapping from reference is stated"
},
{
"source": [
{
"context": "gematikMedicationDispense",
"element": "status",
"variable": "gematikMedicationDispenseStatus"
}
],
"target": [
{
"parameter": [
{
"valueString": "completed"
}
],
"context": "bfarmMedicationDispense",
"contextType": "variable",
"element": "status",
"transform": "copy"
}
],
"name": "medicationDispenseStatus",
"documentation": "TODO"
},
{
"source": [
{
"context": "gematikMedicationDispense",
"element": "quantity",
"variable": "quantityVar"
}
],
"target": [
{
"parameter": [
{
"valueId": "quantityVar"
}
],
"context": "bfarmMedicationDispense",
"contextType": "variable",
"element": "quantity",
"transform": "copy"
}
],
"name": "medicationDispenseQuantity",
"documentation": "TODO"
},
{
"source": [
{
"context": "gematikMedicationDispense",
"element": "performer",
"variable": "srcPerformerVar"
}
],
"target": [
{
"context": "bfarmMedicationDispense",
"contextType": "variable",
"element": "performer",
"variable": "tgtPerformerVar"
}
],
"rule": [
{
"source": [
{
"context": "srcPerformerVar",
"element": "actor",
"variable": "srcPerformerActorVar"
}
],
"target": [
{
"contextType": "variable",
"context": "tgtPerformerVar",
"element": "actor",
"variable": "tgtPerformerActorVar"
}
],
"rule": [
{
"source": [
{
"context": "srcPerformerActorVar",
"element": "identifier",
"variable": "srcPerformerActorIdentifierVar"
}
],
"rule": [
{
"source": [
{
"context": "srcPerformerActorIdentifierVar",
"element": "value",
"variable": "srcPerformerActorIdentifierValueVar"
}
],
"target": [
{
"parameter": [
{
"valueString": "Organization/"
},
{
"valueId": "srcPerformerActorIdentifierValueVar"
}
],
"context": "tgtPerformerActorVar",
"contextType": "variable",
"element": "reference",
"transform": "append"
}
],
"name": "medicationDispensePerformerActorIdentifierValue"
}
],
"name": "medicationDispensePerformerActorIdentifier"
}
],
"name": "medicationDispensePerformerActor"
}
],
"name": "medicationDispensePerformer",
"documentation": "Map performer.identifier to a reference to Organization with the identifier value"
}
],
"name": "ERPTPrescriptionStructureMapMedicationDispense",
"typeMode": "none",
"documentation": "Mapping group for dispense information transformation"
}
],
"status": "draft",
"version": "1.0.0-ballot-1",
"date": "2025-07-07",
"name": "ERPTPrescriptionStructureMapMedicationDispense",
"experimental": false
}