: KBVPrErpMedicationFreetextMap - JSON Representation
Raw json | Download
{
"resourceType" : "StructureMap",
"id" : "KBVPrErpMedicationFreetextMap",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap KBVPrErpMedicationFreetextMap</b></p><a name=\"KBVPrErpMedicationFreetextMap\"> </a><a name=\"hcKBVPrErpMedicationFreetextMap\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpMedicationFreetextMap<span style=\"color: navy\">" = "</span>KBVPrErpMedicationFreetextMap<span style=\"color: navy\">"\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Auto-generated StructureMap for KBV_PR_ERP_Medication_FreeText|1.4.0 -> EPAMedication|1.3.0</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText<span style=\"color: navy\">" </span><b>alias </b>KBVPRERPMedicationFreeText <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"https://simplifier.net/resolve?scope=de.gematik.epa.medication@1.3.2&canonical=https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication\" title=\"EPA Medication\">https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication</a><span style=\"color: navy\">" </span><b>alias </b>EPAMedication <b>as </b><b>target</b>\r\n\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">Mapping generated for KBV_PR_ERP_Medication_FreeText|1.4.0 -> EPAMedication|1.3.0</span>\r\n<b>group </b>KBVPrErpMedicationFreetextMap<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">KBVPRERPMedicationFreeText</span><span style=\"color: navy\"> : </span>KBVPRERPMedicationFreeText, <b>target</b> <span style=\"color: maroon\">EPAMedication</span><span style=\"color: navy\"> : </span>EPAMedication<span style=\"color: navy\">)</span><b> <<types>></b><span style=\"color: navy\"> {\r\n</span> KBVPRERPMedicationFreeText.batch<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextBatchb0aceee1</span><span style=\"color: navy\"><b> -> </b></span>EPAMedication.batch = <span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextBatchb0aceee1</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationBatch90ce2ac1</span> <i>"MedicationBatch235a7d75"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'Medication.batch'</span>\r\n KBVPRERPMedicationFreeText.code<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextCode4b0e0f30</span><span style=\"color: navy\"><b> -> </b></span>EPAMedication.code = <span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextCode4b0e0f30</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationCodea6251800</span> <i>"MedicationCoded98e85bf"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>\r\n KBVPRERPMedicationFreeText.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextExtensionb00bf49a</span><b> where </b>url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category' and url != 'normSizeCode' and url != 'http://fhir.de/StructureDefinition/normgroesse' and url != 'Impfstoff' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type' and url != 'valueBoolean' and url != 'packaging' and url != 'valueCoding' and url != 'type' and url != 'Normgroesse' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension' and url != 'manufacturingInstructions' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine' and url != 'Kategorie' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension' and url != 'drugCategory' and url != 'rxPrescriptionProcessIdentifier' and url != 'Arzneimittelkategorie' and url != 'isVaccine'<span style=\"color: navy\"><b> -> </b></span>EPAMedication.extension = <span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextExtensionb00bf49a</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationExtension59cd7688</span> <i>"MedicationExtension9f8d5121"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>\r\n KBVPRERPMedicationFreeText.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextExtensionArzneimittelkategoriefdd08</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category'<span style=\"color: navy\"><b> -> </b></span> EPAMedication.extension = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Extension'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationExtensionDrugcategory059b5c6b</span><span style=\"color: navy\">, </span> tgtEPAMedicationExtensionDrugcategory059b5c6b.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension'</span><b> then</b><span style=\"color: navy\"> {\r\n</span> srcKBVPRERPMedicationFreeTextExtensionArzneimittelkategoriefdd08.value<b> as </b><span style=\"color: maroon\">srcMedicationExtensionDrugcategoryValueXbd04993e</span><span style=\"color: navy\"><b> -> </b></span>tgtEPAMedicationExtensionDrugcategory059b5c6b.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tgtMedicationExtensionDrugcategoryValueXbd04993e</span><b> then</b><span style=\"color: navy\"> {\r\n</span> srcMedicationExtensionDrugcategoryValueXbd04993e.code<b> as </b><span style=\"color: maroon\">srcMedicationExtensionDrugcategoryValueXCodec72163f2</span><span style=\"color: navy\"><b> -> </b></span>tgtMedicationExtensionDrugcategoryValueXbd04993e.code = <span style=\"color: maroon\">srcMedicationExtensionDrugcategoryValueXCodec72163f2</span><b> as </b><span style=\"color: maroon\">tgtMedicationExtensionDrugcategoryValueXCodec72163f2</span> <i>"MedicationExtensionDrugcategoryValueXCodec72163f2"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied drugCategory code</span>\r\n <span style=\"color: navy\">}</span> <i>"MedicationExtensionDrugcategoryValueXbd04993e"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Arzneimittelkategorie.value[x]'</span>\r\n <span style=\"color: navy\">}</span> <i>"MedicationExtensionDrugcategorye963e601"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Arzneimittelkategorie'</span>\r\n KBVPRERPMedicationFreeText.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextExtensionImpfstoff0967a597</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine'<span style=\"color: navy\"><b> -> </b></span> EPAMedication.extension = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Extension'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationExtensionIsvaccinea7742b5a</span><span style=\"color: navy\">, </span> tgtEPAMedicationExtensionIsvaccinea7742b5a.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension'</span><b> then</b><span style=\"color: navy\"> {\r\n</span> srcKBVPRERPMedicationFreeTextExtensionImpfstoff0967a597.value<b> as </b><span style=\"color: maroon\">srcMedicationExtensionIsvaccineValueXac9b8b1e</span><span style=\"color: navy\"><b> -> </b></span>tgtEPAMedicationExtensionIsvaccinea7742b5a.value = <span style=\"color: maroon\">srcMedicationExtensionIsvaccineValueXac9b8b1e</span><b> as </b><span style=\"color: maroon\">tgtMedicationExtensionIsvaccineValueXac9b8b1e</span> <i>"MedicationExtensionIsvaccineValueXac9b8b1e"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Impfstoff.value[x]'</span>\r\n <span style=\"color: navy\">}</span> <i>"MedicationExtensionIsvaccine98c25b06"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Impfstoff'</span>\r\n KBVPRERPMedicationFreeText<b> as </b><span style=\"color: maroon\">manualsrcMedicationExtensionType61374588</span><span style=\"color: navy\"><b> -> </b></span>EPAMedication.extension<b> as </b><span style=\"color: maroon\">tgtEPAMedicationExtensionType1a2ef415</span> <i>"MedicationExtensionType61374588"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Manual action required | Fester Wert: 781405001, Medicinal product package (product) | Quelle: Medication.extension:type</span>\r\n KBVPRERPMedicationFreeText.form<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextForm27d26e2d</span><span style=\"color: navy\"><b> -> </b></span>EPAMedication.form = <span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextForm27d26e2d</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationForm691ed321</span> <i>"MedicationForm5a0bbd5f"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>\r\n KBVPRERPMedicationFreeText.meta<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationFreeTextMeta8de074d5</span><span style=\"color: navy\"><b> -> </b></span>EPAMedication.meta = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Meta'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationMeta8591b307</span><b> then</b><span style=\"color: navy\"> {\r\n</span> srcKBVPRERPMedicationFreeTextMeta8de074d5<b> as </b><span style=\"color: maroon\">srcMedicationMetaProfile399adfc6</span><span style=\"color: navy\"><b> -> </b></span>tgtEPAMedicationMeta8591b307.profile = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication'</span><b> as </b><span style=\"color: maroon\">tgtMedicationMetaProfile399adfc6</span> <i>"MedicationMetaProfile399adfc6"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Fixed value 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication'</span>\r\n <span style=\"color: navy\">}</span> <i>"MedicationMetaf9f176bc"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"url" : "https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpMedicationFreetextMap",
"version" : "2.0.0-ballot.1",
"name" : "KBVPrErpMedicationFreetextMap",
"status" : "active",
"date" : "2026-02-02",
"publisher" : "gematik GmbH",
"contact" : [
{
"name" : "gematik GmbH",
"telecom" : [
{
"system" : "url",
"value" : "https://gematik.de"
},
{
"system" : "email",
"value" : "erp-umsetzung@gematik.de"
}
]
}
],
"description" : "Auto-generated StructureMap for KBV_PR_ERP_Medication_FreeText|1.4.0 -> EPAMedication|1.3.0",
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "DE",
"display" : "Germany"
}
]
}
],
"structure" : [
{
"url" : "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText",
"mode" : "source",
"alias" : "KBVPRERPMedicationFreeText"
},
{
"url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication",
"mode" : "target",
"alias" : "EPAMedication"
}
],
"group" : [
{
"name" : "KBVPrErpMedicationFreetextMap",
"typeMode" : "types",
"documentation" : "Mapping generated for KBV_PR_ERP_Medication_FreeText|1.4.0 -> EPAMedication|1.3.0",
"input" : [
{
"name" : "KBVPRERPMedicationFreeText",
"type" : "KBVPRERPMedicationFreeText",
"mode" : "source"
},
{
"name" : "EPAMedication",
"type" : "EPAMedication",
"mode" : "target"
}
],
"rule" : [
{
"name" : "MedicationBatch235a7d75",
"source" : [
{
"context" : "KBVPRERPMedicationFreeText",
"element" : "batch",
"variable" : "srcKBVPRERPMedicationFreeTextBatchb0aceee1"
}
],
"target" : [
{
"context" : "EPAMedication",
"contextType" : "variable",
"element" : "batch",
"variable" : "tgtEPAMedicationBatch90ce2ac1",
"transform" : "copy",
"parameter" : [
{
"valueId" : "srcKBVPRERPMedicationFreeTextBatchb0aceee1"
}
]
}
],
"documentation" : "Copied to 'Medication.batch'"
},
{
"name" : "MedicationCoded98e85bf",
"source" : [
{
"context" : "KBVPRERPMedicationFreeText",
"element" : "code",
"variable" : "srcKBVPRERPMedicationFreeTextCode4b0e0f30"
}
],
"target" : [
{
"context" : "EPAMedication",
"contextType" : "variable",
"element" : "code",
"variable" : "tgtEPAMedicationCodea6251800",
"transform" : "copy",
"parameter" : [
{
"valueId" : "srcKBVPRERPMedicationFreeTextCode4b0e0f30"
}
]
}
],
"documentation" : "Automatic copy"
},
{
"name" : "MedicationExtension9f8d5121",
"source" : [
{
"context" : "KBVPRERPMedicationFreeText",
"element" : "extension",
"variable" : "srcKBVPRERPMedicationFreeTextExtensionb00bf49a",
"condition" : "url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category' and url != 'normSizeCode' and url != 'http://fhir.de/StructureDefinition/normgroesse' and url != 'Impfstoff' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type' and url != 'valueBoolean' and url != 'packaging' and url != 'valueCoding' and url != 'type' and url != 'Normgroesse' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension' and url != 'manufacturingInstructions' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine' and url != 'Kategorie' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension' and url != 'drugCategory' and url != 'rxPrescriptionProcessIdentifier' and url != 'Arzneimittelkategorie' and url != 'isVaccine'"
}
],
"target" : [
{
"context" : "EPAMedication",
"contextType" : "variable",
"element" : "extension",
"variable" : "tgtEPAMedicationExtension59cd7688",
"transform" : "copy",
"parameter" : [
{
"valueId" : "srcKBVPRERPMedicationFreeTextExtensionb00bf49a"
}
]
}
],
"documentation" : "Automatic copy"
},
{
"name" : "MedicationExtensionDrugcategorye963e601",
"source" : [
{
"context" : "KBVPRERPMedicationFreeText",
"element" : "extension",
"variable" : "srcKBVPRERPMedicationFreeTextExtensionArzneimittelkategoriefdd08",
"condition" : "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category'"
}
],
"target" : [
{
"context" : "EPAMedication",
"contextType" : "variable",
"element" : "extension",
"variable" : "tgtEPAMedicationExtensionDrugcategory059b5c6b",
"transform" : "create",
"parameter" : [
{
"valueString" : "Extension"
}
]
},
{
"context" : "tgtEPAMedicationExtensionDrugcategory059b5c6b",
"contextType" : "variable",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueString" : "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"
}
]
}
],
"rule" : [
{
"name" : "MedicationExtensionDrugcategoryValueXbd04993e",
"source" : [
{
"context" : "srcKBVPRERPMedicationFreeTextExtensionArzneimittelkategoriefdd08",
"element" : "value",
"variable" : "srcMedicationExtensionDrugcategoryValueXbd04993e"
}
],
"target" : [
{
"context" : "tgtEPAMedicationExtensionDrugcategory059b5c6b",
"contextType" : "variable",
"element" : "value",
"variable" : "tgtMedicationExtensionDrugcategoryValueXbd04993e",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "MedicationExtensionDrugcategoryValueXCodec72163f2",
"source" : [
{
"context" : "srcMedicationExtensionDrugcategoryValueXbd04993e",
"element" : "code",
"variable" : "srcMedicationExtensionDrugcategoryValueXCodec72163f2"
}
],
"target" : [
{
"context" : "tgtMedicationExtensionDrugcategoryValueXbd04993e",
"contextType" : "variable",
"element" : "code",
"variable" : "tgtMedicationExtensionDrugcategoryValueXCodec72163f2",
"transform" : "copy",
"parameter" : [
{
"valueId" : "srcMedicationExtensionDrugcategoryValueXCodec72163f2"
}
]
}
],
"documentation" : "Copied drugCategory code"
}
],
"documentation" : "Copied from 'Medication.extension:Arzneimittelkategorie.value[x]'"
}
],
"documentation" : "Copied from 'Medication.extension:Arzneimittelkategorie'"
},
{
"name" : "MedicationExtensionIsvaccine98c25b06",
"source" : [
{
"context" : "KBVPRERPMedicationFreeText",
"element" : "extension",
"variable" : "srcKBVPRERPMedicationFreeTextExtensionImpfstoff0967a597",
"condition" : "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine'"
}
],
"target" : [
{
"context" : "EPAMedication",
"contextType" : "variable",
"element" : "extension",
"variable" : "tgtEPAMedicationExtensionIsvaccinea7742b5a",
"transform" : "create",
"parameter" : [
{
"valueString" : "Extension"
}
]
},
{
"context" : "tgtEPAMedicationExtensionIsvaccinea7742b5a",
"contextType" : "variable",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueString" : "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"
}
]
}
],
"rule" : [
{
"name" : "MedicationExtensionIsvaccineValueXac9b8b1e",
"source" : [
{
"context" : "srcKBVPRERPMedicationFreeTextExtensionImpfstoff0967a597",
"element" : "value",
"variable" : "srcMedicationExtensionIsvaccineValueXac9b8b1e"
}
],
"target" : [
{
"context" : "tgtEPAMedicationExtensionIsvaccinea7742b5a",
"contextType" : "variable",
"element" : "value",
"variable" : "tgtMedicationExtensionIsvaccineValueXac9b8b1e",
"transform" : "copy",
"parameter" : [
{
"valueId" : "srcMedicationExtensionIsvaccineValueXac9b8b1e"
}
]
}
],
"documentation" : "Copied from 'Medication.extension:Impfstoff.value[x]'"
}
],
"documentation" : "Copied from 'Medication.extension:Impfstoff'"
},
{
"name" : "MedicationExtensionType61374588",
"source" : [
{
"context" : "KBVPRERPMedicationFreeText",
"variable" : "manualsrcMedicationExtensionType61374588"
}
],
"target" : [
{
"context" : "EPAMedication",
"contextType" : "variable",
"element" : "extension",
"variable" : "tgtEPAMedicationExtensionType1a2ef415"
}
],
"documentation" : "Manual action required | Fester Wert: 781405001, Medicinal product package (product) | Quelle: Medication.extension:type"
},
{
"name" : "MedicationForm5a0bbd5f",
"source" : [
{
"context" : "KBVPRERPMedicationFreeText",
"element" : "form",
"variable" : "srcKBVPRERPMedicationFreeTextForm27d26e2d"
}
],
"target" : [
{
"context" : "EPAMedication",
"contextType" : "variable",
"element" : "form",
"variable" : "tgtEPAMedicationForm691ed321",
"transform" : "copy",
"parameter" : [
{
"valueId" : "srcKBVPRERPMedicationFreeTextForm27d26e2d"
}
]
}
],
"documentation" : "Automatic copy"
},
{
"name" : "MedicationMetaf9f176bc",
"source" : [
{
"context" : "KBVPRERPMedicationFreeText",
"element" : "meta",
"variable" : "srcKBVPRERPMedicationFreeTextMeta8de074d5"
}
],
"target" : [
{
"context" : "EPAMedication",
"contextType" : "variable",
"element" : "meta",
"variable" : "tgtEPAMedicationMeta8591b307",
"transform" : "create",
"parameter" : [
{
"valueString" : "Meta"
}
]
}
],
"rule" : [
{
"name" : "MedicationMetaProfile399adfc6",
"source" : [
{
"context" : "srcKBVPRERPMedicationFreeTextMeta8de074d5",
"variable" : "srcMedicationMetaProfile399adfc6"
}
],
"target" : [
{
"context" : "tgtEPAMedicationMeta8591b307",
"contextType" : "variable",
"element" : "profile",
"variable" : "tgtMedicationMetaProfile399adfc6",
"transform" : "copy",
"parameter" : [
{
"valueString" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"
}
]
}
],
"documentation" : "Fixed value 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication'"
}
],
"documentation" : "Automatic copy"
}
]
}
]
}