Implementation Guide
TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.2 - ballot

## : KBVPrErpMedicationCompoundingMap - JSON Representation

Active as of 2026-02-02

Raw json | Download

    {
      "resourceType" : "StructureMap",
      "id" : "KBVPrErpMedicationCompoundingMap",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap KBVPrErpMedicationCompoundingMap</b></p><a name=\"KBVPrErpMedicationCompoundingMap\"> </a><a name=\"hcKBVPrErpMedicationCompoundingMap\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpMedicationCompoundingMap<span style=\"color: navy\">&quot; = &quot;</span>KBVPrErpMedicationCompoundingMap<span style=\"color: navy\">&quot;\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Auto-generated StructureMap for KBV_PR_ERP_Medication_Compounding|1.4.0 -&gt; EPAMedication|1.3.0</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding<span style=\"color: navy\">&quot; </span><b>alias </b>KBVPRERPMedicationCompounding <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication<span style=\"color: navy\">&quot; </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_Compounding|1.4.0 -&gt; EPAMedication|1.3.0</span>\r\n<b>group </b>KBVPrErpMedicationCompoundingMap<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">KBVPRERPMedicationCompounding</span><span style=\"color: navy\"> : </span>KBVPRERPMedicationCompounding, <b>target</b> <span style=\"color: maroon\">EPAMedication</span><span style=\"color: navy\"> : </span>EPAMedication<span style=\"color: navy\">)</span><b> &lt;&lt;types&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  KBVPRERPMedicationCompounding.amount<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingAmount143a90a8</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedication.amount = <span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingAmount143a90a8</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationAmount30d45c22</span> <i>&quot;MedicationAmountac45bfbc&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>\r\n  KBVPRERPMedicationCompounding.batch<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingBatch76856f17</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedication.batch = <span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingBatch76856f17</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationBatch90ce2ac1</span> <i>&quot;MedicationBatch235a7d75&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'Medication.batch'</span>\r\n  KBVPRERPMedicationCompounding.code<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingCode19fc48cb</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedication.code = <span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingCode19fc48cb</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationCodea6251800</span> <i>&quot;MedicationCoded98e85bf&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>\r\n  KBVPRERPMedicationCompounding.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingExtension3e44d0a1</span><b> where </b>url != 'valueString' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension' and 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://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type' and url != 'valueBoolean' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging' and url != 'valueCodeableConcept' and url != 'packaging' and url != 'valueCoding' and url != 'Herstellungsanweisung' and url != 'type' and url != 'Verpackung' 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> -&gt; </b></span>EPAMedication.extension = <span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingExtension3e44d0a1</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationExtension59cd7688</span> <i>&quot;MedicationExtension9f8d5121&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>\r\n  KBVPRERPMedicationCompounding.extension<b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type'<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedication.extension <i>&quot;MedicationExtensionKategorie86255b0b&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Quelle: Medication.extension:Kategorie</span>\r\n  KBVPRERPMedicationCompounding.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingExtensionArzneimittelkatego82a24</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> -&gt; </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>    srcKBVPRERPMedicationCompoundingExtensionArzneimittelkatego82a24.value<b> as </b><span style=\"color: maroon\">srcMedicationExtensionDrugcategoryValueXbd04993e</span><span style=\"color: navy\"><b> -&gt; </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<b> as </b><span style=\"color: maroon\">srcMedicationExtensionDrugcategoryValueXSystem2cf01aef</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationExtensionDrugcategoryValueXbd04993e.system = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs'</span><b> as </b><span style=\"color: maroon\">tgtMedicationExtensionDrugcategoryValueXSystem2cf01aef</span> <i>&quot;MedicationExtensionDrugcategoryValueXSystem2cf01aef&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Fixed value 'https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension'</span>\r\n      srcMedicationExtensionDrugcategoryValueXbd04993e.code<b> as </b><span style=\"color: maroon\">srcMedicationExtensionDrugcategoryValueXCodec72163f2</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationExtensionDrugcategoryValueXbd04993e.code = <span style=\"color: maroon\">srcMedicationExtensionDrugcategoryValueXCodec72163f2</span><b> as </b><span style=\"color: maroon\">tgtMedicationExtensionDrugcategoryValueXCodec72163f2</span> <i>&quot;MedicationExtensionDrugcategoryValueXCodec72163f2&quot;</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>&quot;MedicationExtensionDrugcategoryValueXbd04993e&quot;</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>&quot;MedicationExtensionDrugcategorye963e601&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Arzneimittelkategorie'</span>\r\n  KBVPRERPMedicationCompounding.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingExtensionImpfstoffb07a0850</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> -&gt; </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>    srcKBVPRERPMedicationCompoundingExtensionImpfstoffb07a0850.value<b> as </b><span style=\"color: maroon\">srcMedicationExtensionIsvaccineValueXac9b8b1e</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationExtensionIsvaccinea7742b5a.value = <span style=\"color: maroon\">srcMedicationExtensionIsvaccineValueXac9b8b1e</span><b> as </b><span style=\"color: maroon\">tgtMedicationExtensionIsvaccineValueXac9b8b1e</span> <i>&quot;MedicationExtensionIsvaccineValueXac9b8b1e&quot;</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>&quot;MedicationExtensionIsvaccine98c25b06&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Impfstoff'</span>\r\n  KBVPRERPMedicationCompounding.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingExtensionHerstellungsanweisa314d</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction'<span style=\"color: navy\"><b> -&gt; </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\">tgtEPAMedicationExtensionManufacturinginstructionsb88614b8</span><span style=\"color: navy\">, </span> tgtEPAMedicationExtensionManufacturinginstructionsb88614b8.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension'</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    srcKBVPRERPMedicationCompoundingExtensionHerstellungsanweisa314d.value<b> as </b><span style=\"color: maroon\">srcMedicationExtensionManufacturinginstructionsValueXb1e426a8</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationExtensionManufacturinginstructionsb88614b8.value = <span style=\"color: maroon\">srcMedicationExtensionManufacturinginstructionsValueXb1e426a8</span><b> as </b><span style=\"color: maroon\">tgtMedicationExtensionManufacturinginstructionsValueXb1e426a8</span> <i>&quot;MedicationExtensionManufacturinginstructionsValueXb1e426a8&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Herstellungsanweisung.value[x]'</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;MedicationExtensionManufacturinginstructionsa59676ae&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Herstellungsanweisung'</span>\r\n  KBVPRERPMedicationCompounding.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingExtensionNormgroesse892c3ca8</span><b> where </b>url = 'http://fhir.de/StructureDefinition/normgroesse' and url = 'http://fhir.de/StructureDefinition/normgroesse'<span style=\"color: navy\"><b> -&gt; </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\">tgtEPAMedicationExtensionNormsizecode7bd0a39d</span><span style=\"color: navy\">, </span> tgtEPAMedicationExtensionNormsizecode7bd0a39d.url = <span style=\"color: blue\">'http://fhir.de/StructureDefinition/normgroesse'</span> <i>&quot;MedicationExtensionNormsizecode34ece564&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Normgroesse'</span>\r\n  KBVPRERPMedicationCompounding.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingExtensionVerpackung0c3db7a5</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging'<span style=\"color: navy\"><b> -&gt; </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\">tgtEPAMedicationExtensionPackaging63847a7e</span><span style=\"color: navy\">, </span> tgtEPAMedicationExtensionPackaging63847a7e.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension'</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    srcKBVPRERPMedicationCompoundingExtensionVerpackung0c3db7a5.value<b> as </b><span style=\"color: maroon\">srcMedicationExtensionPackagingValueX38da2ad0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationExtensionPackaging63847a7e.value = <span style=\"color: maroon\">srcMedicationExtensionPackagingValueX38da2ad0</span><b> as </b><span style=\"color: maroon\">tgtMedicationExtensionPackagingValueX38da2ad0</span> <i>&quot;MedicationExtensionPackagingValueX38da2ad0&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Verpackung.value[x]'</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;MedicationExtensionPackaging2ff6a765&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'Medication.extension:Verpackung'</span>\r\n  KBVPRERPMedicationCompounding<b> as </b><span style=\"color: maroon\">manualsrcMedicationExtensionType61374588</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedication.extension<b> as </b><span style=\"color: maroon\">tgtEPAMedicationExtensionType1a2ef415</span> <i>&quot;MedicationExtensionType61374588&quot;</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  KBVPRERPMedicationCompounding.form<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingFormc5146e0b</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedication.form = <span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingFormc5146e0b</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationForm691ed321</span> <i>&quot;MedicationForm5a0bbd5f&quot;</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>\r\n  KBVPRERPMedicationCompounding.ingredient<b> as </b><span style=\"color: maroon\">srcKBVPRERPMedicationCompoundingIngredient3e616846</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedication.ingredient = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'BackboneElement'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationIngredient78db398c</span> <i>&quot;MedicationIngredient801affef&quot;</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/KBVPrErpMedicationCompoundingMap",
      "version" : "2.0.0-ballot.2",
      "name" : "KBVPrErpMedicationCompoundingMap",
      "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_Compounding|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_Compounding",
          "mode" : "source",
          "alias" : "KBVPRERPMedicationCompounding"
        },
        {
          "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication",
          "mode" : "target",
          "alias" : "EPAMedication"
        }
      ],
      "group" : [
        {
          "name" : "KBVPrErpMedicationCompoundingMap",
          "typeMode" : "types",
          "documentation" : "Mapping generated for KBV_PR_ERP_Medication_Compounding|1.4.0 -> EPAMedication|1.3.0",
          "input" : [
            {
              "name" : "KBVPRERPMedicationCompounding",
              "type" : "KBVPRERPMedicationCompounding",
              "mode" : "source"
            },
            {
              "name" : "EPAMedication",
              "type" : "EPAMedication",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "MedicationAmountac45bfbc",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "amount",
                  "variable" : "srcKBVPRERPMedicationCompoundingAmount143a90a8"
                }
              ],
              "target" : [
                {
                  "context" : "EPAMedication",
                  "contextType" : "variable",
                  "element" : "amount",
                  "variable" : "tgtEPAMedicationAmount30d45c22",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueId" : "srcKBVPRERPMedicationCompoundingAmount143a90a8"
                    }
                  ]
                }
              ],
              "documentation" : "Automatic copy"
            },
            {
              "name" : "MedicationBatch235a7d75",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "batch",
                  "variable" : "srcKBVPRERPMedicationCompoundingBatch76856f17"
                }
              ],
              "target" : [
                {
                  "context" : "EPAMedication",
                  "contextType" : "variable",
                  "element" : "batch",
                  "variable" : "tgtEPAMedicationBatch90ce2ac1",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueId" : "srcKBVPRERPMedicationCompoundingBatch76856f17"
                    }
                  ]
                }
              ],
              "documentation" : "Copied to 'Medication.batch'"
            },
            {
              "name" : "MedicationCoded98e85bf",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "code",
                  "variable" : "srcKBVPRERPMedicationCompoundingCode19fc48cb"
                }
              ],
              "target" : [
                {
                  "context" : "EPAMedication",
                  "contextType" : "variable",
                  "element" : "code",
                  "variable" : "tgtEPAMedicationCodea6251800",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueId" : "srcKBVPRERPMedicationCompoundingCode19fc48cb"
                    }
                  ]
                }
              ],
              "documentation" : "Automatic copy"
            },
            {
              "name" : "MedicationExtension9f8d5121",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "extension",
                  "variable" : "srcKBVPRERPMedicationCompoundingExtension3e44d0a1",
                  "condition" : "url != 'valueString' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension' and 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://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type' and url != 'valueBoolean' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging' and url != 'valueCodeableConcept' and url != 'packaging' and url != 'valueCoding' and url != 'Herstellungsanweisung' and url != 'type' and url != 'Verpackung' 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" : "srcKBVPRERPMedicationCompoundingExtension3e44d0a1"
                    }
                  ]
                }
              ],
              "documentation" : "Automatic copy"
            },
            {
              "name" : "MedicationExtensionKategorie86255b0b",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "extension",
                  "variable" : "srcKBVPRERPMedicationCompoundingExtensionKategorie13839029",
                  "condition" : "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type'"
                }
              ],
              "target" : [
                {
                  "context" : "EPAMedication",
                  "contextType" : "variable",
                  "element" : "extension",
                  "variable" : "tgtEPAMedicationExtensionKategorie8e51c40c"
                }
              ],
              "documentation" : "Feld wird nicht gemappt | Quelle: Medication.extension:Kategorie"
            },
            {
              "name" : "MedicationExtensionDrugcategorye963e601",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "extension",
                  "variable" : "srcKBVPRERPMedicationCompoundingExtensionArzneimittelkatego82a24",
                  "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" : "srcKBVPRERPMedicationCompoundingExtensionArzneimittelkatego82a24",
                      "element" : "value",
                      "variable" : "srcMedicationExtensionDrugcategoryValueXbd04993e"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "tgtEPAMedicationExtensionDrugcategory059b5c6b",
                      "contextType" : "variable",
                      "element" : "value",
                      "variable" : "tgtMedicationExtensionDrugcategoryValueXbd04993e",
                      "transform" : "create",
                      "parameter" : [
                        {
                          "valueString" : "Coding"
                        }
                      ]
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "MedicationExtensionDrugcategoryValueXSystem2cf01aef",
                      "source" : [
                        {
                          "context" : "srcMedicationExtensionDrugcategoryValueXbd04993e",
                          "variable" : "srcMedicationExtensionDrugcategoryValueXSystem2cf01aef"
                        }
                      ],
                      "target" : [
                        {
                          "context" : "tgtMedicationExtensionDrugcategoryValueXbd04993e",
                          "contextType" : "variable",
                          "element" : "system",
                          "variable" : "tgtMedicationExtensionDrugcategoryValueXSystem2cf01aef",
                          "transform" : "copy",
                          "parameter" : [
                            {
                              "valueString" : "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"
                            }
                          ]
                        }
                      ],
                      "documentation" : "Fixed value 'https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension'"
                    },
                    {
                      "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" : "KBVPRERPMedicationCompounding",
                  "element" : "extension",
                  "variable" : "srcKBVPRERPMedicationCompoundingExtensionImpfstoffb07a0850",
                  "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" : "srcKBVPRERPMedicationCompoundingExtensionImpfstoffb07a0850",
                      "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" : "MedicationExtensionManufacturinginstructionsa59676ae",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "extension",
                  "variable" : "srcKBVPRERPMedicationCompoundingExtensionHerstellungsanweisa314d",
                  "condition" : "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction'"
                }
              ],
              "target" : [
                {
                  "context" : "EPAMedication",
                  "contextType" : "variable",
                  "element" : "extension",
                  "variable" : "tgtEPAMedicationExtensionManufacturinginstructionsb88614b8",
                  "transform" : "create",
                  "parameter" : [
                    {
                      "valueString" : "Extension"
                    }
                  ]
                },
                {
                  "context" : "tgtEPAMedicationExtensionManufacturinginstructionsb88614b8",
                  "contextType" : "variable",
                  "element" : "url",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension"
                    }
                  ]
                }
              ],
              "rule" : [
                {
                  "name" : "MedicationExtensionManufacturinginstructionsValueXb1e426a8",
                  "source" : [
                    {
                      "context" : "srcKBVPRERPMedicationCompoundingExtensionHerstellungsanweisa314d",
                      "element" : "value",
                      "variable" : "srcMedicationExtensionManufacturinginstructionsValueXb1e426a8"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "tgtEPAMedicationExtensionManufacturinginstructionsb88614b8",
                      "contextType" : "variable",
                      "element" : "value",
                      "variable" : "tgtMedicationExtensionManufacturinginstructionsValueXb1e426a8",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueId" : "srcMedicationExtensionManufacturinginstructionsValueXb1e426a8"
                        }
                      ]
                    }
                  ],
                  "documentation" : "Copied from 'Medication.extension:Herstellungsanweisung.value[x]'"
                }
              ],
              "documentation" : "Copied from 'Medication.extension:Herstellungsanweisung'"
            },
            {
              "name" : "MedicationExtensionNormsizecode34ece564",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "extension",
                  "variable" : "srcKBVPRERPMedicationCompoundingExtensionNormgroesse892c3ca8",
                  "condition" : "url = 'http://fhir.de/StructureDefinition/normgroesse' and url = 'http://fhir.de/StructureDefinition/normgroesse'"
                }
              ],
              "target" : [
                {
                  "context" : "EPAMedication",
                  "contextType" : "variable",
                  "element" : "extension",
                  "variable" : "tgtEPAMedicationExtensionNormsizecode7bd0a39d",
                  "transform" : "create",
                  "parameter" : [
                    {
                      "valueString" : "Extension"
                    }
                  ]
                },
                {
                  "context" : "tgtEPAMedicationExtensionNormsizecode7bd0a39d",
                  "contextType" : "variable",
                  "element" : "url",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "http://fhir.de/StructureDefinition/normgroesse"
                    }
                  ]
                }
              ],
              "documentation" : "Copied from 'Medication.extension:Normgroesse'"
            },
            {
              "name" : "MedicationExtensionPackaging2ff6a765",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "extension",
                  "variable" : "srcKBVPRERPMedicationCompoundingExtensionVerpackung0c3db7a5",
                  "condition" : "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging'"
                }
              ],
              "target" : [
                {
                  "context" : "EPAMedication",
                  "contextType" : "variable",
                  "element" : "extension",
                  "variable" : "tgtEPAMedicationExtensionPackaging63847a7e",
                  "transform" : "create",
                  "parameter" : [
                    {
                      "valueString" : "Extension"
                    }
                  ]
                },
                {
                  "context" : "tgtEPAMedicationExtensionPackaging63847a7e",
                  "contextType" : "variable",
                  "element" : "url",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension"
                    }
                  ]
                }
              ],
              "rule" : [
                {
                  "name" : "MedicationExtensionPackagingValueX38da2ad0",
                  "source" : [
                    {
                      "context" : "srcKBVPRERPMedicationCompoundingExtensionVerpackung0c3db7a5",
                      "element" : "value",
                      "variable" : "srcMedicationExtensionPackagingValueX38da2ad0"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "tgtEPAMedicationExtensionPackaging63847a7e",
                      "contextType" : "variable",
                      "element" : "value",
                      "variable" : "tgtMedicationExtensionPackagingValueX38da2ad0",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueId" : "srcMedicationExtensionPackagingValueX38da2ad0"
                        }
                      ]
                    }
                  ],
                  "documentation" : "Copied from 'Medication.extension:Verpackung.value[x]'"
                }
              ],
              "documentation" : "Copied from 'Medication.extension:Verpackung'"
            },
            {
              "name" : "MedicationExtensionType61374588",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "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" : "KBVPRERPMedicationCompounding",
                  "element" : "form",
                  "variable" : "srcKBVPRERPMedicationCompoundingFormc5146e0b"
                }
              ],
              "target" : [
                {
                  "context" : "EPAMedication",
                  "contextType" : "variable",
                  "element" : "form",
                  "variable" : "tgtEPAMedicationForm691ed321",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueId" : "srcKBVPRERPMedicationCompoundingFormc5146e0b"
                    }
                  ]
                }
              ],
              "documentation" : "Automatic copy"
            },
            {
              "name" : "MedicationIngredient801affef",
              "source" : [
                {
                  "context" : "KBVPRERPMedicationCompounding",
                  "element" : "ingredient",
                  "variable" : "srcKBVPRERPMedicationCompoundingIngredient3e616846"
                }
              ],
              "target" : [
                {
                  "context" : "EPAMedication",
                  "contextType" : "variable",
                  "element" : "ingredient",
                  "variable" : "tgtEPAMedicationIngredient78db398c",
                  "transform" : "create",
                  "parameter" : [
                    {
                      "valueString" : "BackboneElement"
                    }
                  ]
                }
              ],
              "documentation" : "Automatic copy"
            }
          ]
        }
      ]
    }