| Package | de.gematik.erp.t-prescription |
| Resource Type | StructureMap |
| Id | ERPTPrescriptionStructureMapMedication |
| 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/ERPTPrescriptionStructureMapMedication |
| URL | https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapMedication |
| Version | 1.0.0-ballot-1 |
| Status | draft |
| Date | 2025-07-07 |
| Name | ERPTPrescriptionStructureMapMedication |
| Title | E-T-Rezept Structure Map for Medication |
| Description | Maps a Medication to BfArM T-Prescription Medication format |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureMap",
"id": "ERPTPrescriptionStructureMapMedication",
"url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapMedication",
"title": "E-T-Rezept Structure Map for Medication",
"description": "Maps a Medication to BfArM T-Prescription Medication format",
"import": [
"https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapGEMMedication",
"https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVCompoundingMedication",
"https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVPZNMedication",
"https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVFreeTextMedication",
"https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVIngredientMedication"
],
"structure": [
{
"url": "http://hl7.org/fhir/StructureDefinition/Medication",
"mode": "source",
"alias": "srcMedication"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/Medication",
"mode": "target",
"alias": "tgtMedication"
}
],
"group": [
{
"input": [
{
"name": "srcMedication",
"type": "srcMedication",
"mode": "source"
},
{
"name": "tgtMedication",
"type": "tgtMedication",
"mode": "target"
}
],
"rule": [
{
"source": [
{
"context": "srcMedication",
"variable": "srcPZN",
"condition": "meta.profile.contains('KBV_PR_ERP_Medication_PZN')"
}
],
"rule": [
{
"source": [
{
"context": "srcPZN"
}
],
"dependent": [
{
"variable": [
"srcMedication",
"tgtMedication"
],
"name": "ERPTPrescriptionStructureMapKBVPZNMedication"
}
],
"name": "mapPZN"
}
],
"name": "decideOnMedication"
},
{
"source": [
{
"context": "srcMedication",
"variable": "srcFreeText",
"condition": "meta.profile.contains('KBV_PR_ERP_Medication_FreeText')"
}
],
"rule": [
{
"source": [
{
"context": "srcFreeText"
}
],
"dependent": [
{
"variable": [
"srcMedication",
"tgtMedication"
],
"name": "ERPTPrescriptionStructureMapKBVFreeTextMedication"
}
],
"name": "mapFreeText"
}
],
"name": "decideOnMedication"
},
{
"source": [
{
"context": "srcMedication",
"variable": "srcIngredient",
"condition": "meta.profile.contains('KBV_PR_ERP_Medication_Ingredient')"
}
],
"rule": [
{
"source": [
{
"context": "srcIngredient"
}
],
"dependent": [
{
"variable": [
"srcMedication",
"tgtMedication"
],
"name": "ERPTPrescriptionStructureMapKBVIngredientMedication"
}
],
"name": "mapIngredient"
}
],
"name": "decideOnMedication"
},
{
"source": [
{
"context": "srcMedication",
"variable": "srcCompounding",
"condition": "meta.profile.contains('KBV_PR_ERP_Medication_Compounding')"
}
],
"rule": [
{
"source": [
{
"context": "srcCompounding"
}
],
"dependent": [
{
"variable": [
"srcMedication",
"tgtMedication"
],
"name": "ERPTPrescriptionStructureMapKBVCompoundingMedication"
}
],
"name": "mapCompounding"
}
],
"name": "decideOnMedication"
},
{
"source": [
{
"context": "srcMedication",
"variable": "srcGemMed",
"condition": "meta.profile.contains('GEM_ERP_PR_Medication')"
}
],
"rule": [
{
"source": [
{
"context": "srcGemMed"
}
],
"dependent": [
{
"variable": [
"srcMedication",
"tgtMedication"
],
"name": "ERPTPrescriptionStructureMapGEMMedication"
}
],
"name": "mapGemMed"
}
],
"name": "decideOnMedication"
}
],
"name": "ERPTPrescriptionStructureMapMedication",
"typeMode": "none",
"documentation": "Mapping group for medication information transformation"
}
],
"status": "draft",
"version": "1.0.0-ballot-1",
"date": "2025-07-07",
"name": "ERPTPrescriptionStructureMapMedication",
"experimental": false
}