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

## : KBVPrErpPrescriptionMap - TTL Representation

Active as of 2026-02-02

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

    <http://hl7.org/fhir/StructureMap/KBVPrErpPrescriptionMap> a fhir:StructureMap ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "KBVPrErpPrescriptionMap"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap KBVPrErpPrescriptionMap</b></p><a name=\"KBVPrErpPrescriptionMap\"> </a><a name=\"hcKBVPrErpPrescriptionMap\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpPrescriptionMap<span style=\"color: navy\">\" = \"</span>KBVPrErpPrescriptionMap<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Auto-generated StructureMap for KBV_PR_ERP_Prescription|1.4.0 -&gt; EPAMedicationRequest|1.3.0</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription<span style=\"color: navy\">\" </span><b>alias </b>KBVPRERPPrescription <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request<span style=\"color: navy\">\" </span><b>alias </b>EPAMedicationRequest <b>as </b><b>target</b>#xD;\n#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">Mapping generated for KBV_PR_ERP_Prescription|1.4.0 -&gt; EPAMedicationRequest|1.3.0</span>#xD;\n<b>group </b>KBVPrErpPrescriptionMap<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">KBVPRERPPrescription</span><span style=\"color: navy\"> : </span>KBVPRERPPrescription, <b>target</b> <span style=\"color: maroon\">EPAMedicationRequest</span><span style=\"color: navy\"> : </span>EPAMedicationRequest<span style=\"color: navy\">)</span><b> &lt;&lt;types&gt;&gt;</b><span style=\"color: navy\"> {#xD;\n</span>  KBVPRERPPrescription.authoredOn<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionAuthoredon3962f227</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.authoredOn = <span style=\"color: maroon\">srcKBVPRERPPrescriptionAuthoredon3962f227</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestAuthoredonbb8b1afd</span> <i>\"MedicationRequestAuthoredoncccaaca3\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>#xD;\n  KBVPRERPPrescription.basedOn<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionBasedon44096147</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.basedOn = <span style=\"color: maroon\">srcKBVPRERPPrescriptionBasedon44096147</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestBasedon1481cab7</span> <i>\"MedicationRequestBasedonc8b5003b\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.basedOn'</span>#xD;\n  KBVPRERPPrescription.dispenseRequest<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionDispenserequest1783274a</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.dispenseRequest = <span style=\"color: maroon\">srcKBVPRERPPrescriptionDispenserequest1783274a</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestDispenserequest519b8c09</span> <i>\"MedicationRequestDispenserequestabc39b18\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.dispenseRequest'</span>#xD;\n  KBVPRERPPrescription.dosageInstruction<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionDosageinstructionc10ce439</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.dosageInstruction = <span style=\"color: maroon\">srcKBVPRERPPrescriptionDosageinstructionc10ce439</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestDosageinstructionc76ffbd5</span> <i>\"MedicationRequestDosageinstruction0c18f214\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.dosageInstruction'</span>#xD;\n  KBVPRERPPrescription.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensione3b6d5d3</span><b> where </b>url != 'renderedDosageInstruction' and url != 'prescriberID' and url != 'id' and url != 'ID' and url != 'narcotics' and url != 'Betaeubungsmittel' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID' and url != 'indicator' and url != 'Off-Label' and url != 'declaration-of-expertise' and url != 'teratogenic' and url != 'narcotics-markings' and url != 'Mehrfachverordnung' and url != 'Unfallkennzeichen' and url != 'additional-information-substitutes' and url != 'Zeitraum' and url != 'valueString' and url != 'multiplePrescription' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee' and url != 'VerschreiberID' and url != 'isBvg' and url != 'period' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension' and url != 'ErklaerungSachkenntnis' and url != 'valuePeriod' and url != 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' and url != 'Unfalltag' and url != 'valueDate' and url != 'security-compliance' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension' and url != 'hand-out-information-material' and url != 'valueBoolean' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension' and url != 'valueCoding' and url != 'BtM-Sonderkennzeichen' and url != 'EinhaltungSicherheitsmassnahmen' and url != 'PatientenID' and url != 'Notdienstgebuehr' and url != 'Nummerierung' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic' and url != 'ErgaenzendeAngabenSubstitutionsmittel' and url != 'GebaerfaehigeFrau' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER' and url != 'Kennzeichen' and url != 'patientID' and url != 'valueRatio' and url != 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' and url != 'childbearing-potential' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag' and url != 'isSer' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription' and url != 'counter' and url != 'valueIdentifier' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension' and url != 'Dosierungskennzeichen' and url != 'AushaendigungInformationsmaterialien' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension' and url != 'Unfallinformationen' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident' and url != 'Zuzahlungsstatus' and url != 'T-Rezept' and url != 'SER' and url != 'Unfallbetrieb' and url != 'generatedDosageInstructionsMeta' and url != 'off-label' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment'<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.extension = <span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensione3b6d5d3</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestExtension84dbff80</span> <i>\"MedicationRequestExtension9fb7a1e1\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>#xD;\n  KBVPRERPPrescription.extension<b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag'<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.extension <i>\"MedicationRequestExtensionDosierungskennzeichen196725c7\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Dosierungskennzeichen</span>#xD;\n  KBVPRERPPrescription.extension<b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee'<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.extension <i>\"MedicationRequestExtensionNotdienstgebuehr2bd5d6b0\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Notdienstgebuehr</span>#xD;\n  KBVPRERPPrescription.extension<b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident'<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.extension <i>\"MedicationRequestExtensionUnfallinformationen3a7c229e\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Unfallinformationen</span>#xD;\n  KBVPRERPPrescription.extension<b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment'<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.extension <i>\"MedicationRequestExtensionZuzahlungsstatus32a86828\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Zuzahlungsstatus</span>#xD;\n  KBVPRERPPrescription.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensionGenerateddosageinstructionsa922a</span><b> where </b>url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' and url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta'<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.extension = <span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensionGenerateddosageinstructionsa922a</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestExtensionGenerateddosageinstructionsf5747</span> <i>\"MedicationRequestExtensionGenerateddosageinstructionsmetdb6c77e4\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>#xD;\n  KBVPRERPPrescription.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensionSere0662047</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER'<span style=\"color: navy\"><b> -&gt; </b></span> EPAMedicationRequest.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\">tgtEPAMedicationRequestExtensionIsser3ffad0d8</span><span style=\"color: navy\">, </span> tgtEPAMedicationRequestExtensionIsser3ffad0d8.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    srcKBVPRERPPrescriptionExtensionSere0662047.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionIsserValueXc593588c</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestExtensionIsser3ffad0d8.value = <span style=\"color: maroon\">srcMedicationRequestExtensionIsserValueXc593588c</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionIsserValueXc593588c</span> <i>\"MedicationRequestExtensionIsserValueXc593588c\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:SER.value[x]'</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionIsser59899e4f\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:SER'</span>#xD;\n  KBVPRERPPrescription.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription' and url != 'period' and url != 'indicator' and url != 'id' and url != 'counter' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription'<span style=\"color: navy\"><b> -&gt; </b></span> EPAMedicationRequest.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\">tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86</span><span style=\"color: navy\">, </span> tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionfb1469</span><b> where </b>url != 'period' and url != 'indicator' and url != 'id' and url != 'counter' and url != 'indicator' and url != 'counter' and url != 'period' and url != 'id' and url != 'indicator' and url != 'counter' and url != 'period' and url != 'id' and url != 'Kennzeichen' and url != 'Nummerierung' and url != 'Zeitraum' and url != 'ID' and url != 'valueBoolean' and url != 'valueRatio' and url != 'valuePeriod' and url != 'valueIdentifier'<span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.extension = <span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionfb1469</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionMultipleprescriptionExtensionfb1469</span> <i>\"MedicationRequestExtensionMultipleprescriptionExtensionfb1469fa\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionCfaa56</span><b> where </b>url = 'Nummerierung'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.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\">tgtMedicationRequestExtensionMultipleprescriptionExtensionCfaa56</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionMultipleprescriptionExtensionCfaa56.url = <span style=\"color: blue\">'counter'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionMultipleprescriptionExtensionCfaa56.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionC871d2</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionMultipleprescriptionExtensionCfaa56.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Ratio'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionMultipleprescriptionExtensionC871d2</span> <i>\"MedicationRequestExtensionMultipleprescriptionExtensionC871d22e9\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionMultipleprescriptionExtensionCfaa566e2\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionI16b59</span><b> where </b>url = 'ID'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.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\">tgtMedicationRequestExtensionMultipleprescriptionExtensionI16b59</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionMultipleprescriptionExtensionI16b59.url = <span style=\"color: blue\">'id'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionMultipleprescriptionExtensionI16b59.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionIe062e</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionMultipleprescriptionExtensionI16b59.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Identifier'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionMultipleprescriptionExtensionIe062e</span> <i>\"MedicationRequestExtensionMultipleprescriptionExtensionIe062e3e2\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:ID.value[x]'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionMultipleprescriptionExtensionI16b5928d\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:ID'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3</span><b> where </b>url = 'Kennzeichen'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.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\">tgtMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3.url = <span style=\"color: blue\">'indicator'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionI405de</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3.value = <span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionI405de</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionMultipleprescriptionExtensionI405de</span> <i>\"MedicationRequestExtensionMultipleprescriptionExtensionI405debc2\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen.value[x]'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionMultipleprescriptionExtensionI4e3b384b\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionMultipleprescriptionExtensionP141be</span><b> where </b>url = 'Zeitraum'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.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\">tgtMedicationRequestExtensionMultipleprescriptionExtensionP141be</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionMultipleprescriptionExtensionP141be.url = <span style=\"color: blue\">'period'</span> <i>\"MedicationRequestExtensionMultipleprescriptionExtensionP141be3dc\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Zeitraum'</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionMultipleprescriptionbdc5607f\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Mehrfachverordnung'</span>#xD;\n  KBVPRERPPrescription.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic' and url != 'narcotics-markings' and url != 'additional-information-substitutes' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic'<span style=\"color: navy\"><b> -&gt; </b></span> EPAMedicationRequest.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\">tgtEPAMedicationRequestExtensionNarcotics6cf17625</span><span style=\"color: navy\">, </span> tgtEPAMedicationRequestExtensionNarcotics6cf17625.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtension5781be10</span><b> where </b>url != 'narcotics-markings' and url != 'additional-information-substitutes' and url != 'narcotics-markings' and url != 'additional-information-substitutes' and url != 'narcotics-markings' and url != 'additional-information-substitutes' and url != 'valueCoding' and url != 'valueString' and url != 'BtM-Sonderkennzeichen' and url != 'ErgaenzendeAngabenSubstitutionsmittel' and url != 'valueCoding' and url != 'valueString'<span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestExtensionNarcotics6cf17625.extension = <span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtension5781be10</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionNarcoticsExtension5781be10</span> <i>\"MedicationRequestExtensionNarcoticsExtension5781be10\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9</span><b> where </b>url = 'ErgaenzendeAngabenSubstitutionsmittel'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionNarcotics6cf17625.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\">tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.url = <span style=\"color: blue\">'additional-information-substitutes'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.value = <span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9</span> <i>\"MedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9455\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]'</span>#xD;\n      srcMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.value = <span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447</span> <i>\"MedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447f30\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]:valueString'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionNarcoticsExtensionAdditionalInceae9d9c\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c</span><b> where </b>url = 'BtM-Sonderkennzeichen'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionNarcotics6cf17625.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\">tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c.url = <span style=\"color: blue\">'narcotics-markings'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c.value = <span style=\"color: maroon\">srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6</span> <i>\"MedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6081\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen.value[x]'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c532\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen'</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionNarcotics79f21928\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:Betaeubungsmittel'</span>#xD;\n  KBVPRERPPrescription.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensionPatientenidb1aba372</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID'<span style=\"color: navy\"><b> -&gt; </b></span> EPAMedicationRequest.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\">tgtEPAMedicationRequestExtensionPatientid606310bd</span><span style=\"color: navy\">, </span> tgtEPAMedicationRequestExtensionPatientid606310bd.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    srcKBVPRERPPrescriptionExtensionPatientenidb1aba372.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionPatientidValueX6b0e4b53</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestExtensionPatientid606310bd.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Identifier'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionPatientidValueX6b0e4b53</span> <i>\"MedicationRequestExtensionPatientidValueX6b0e4b53\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:PatientenID.value[x]'</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionPatientid212ef156\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:PatientenID'</span>#xD;\n  KBVPRERPPrescription.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensionVerschreiberid969b0514</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID'<span style=\"color: navy\"><b> -&gt; </b></span> EPAMedicationRequest.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\">tgtEPAMedicationRequestExtensionPrescriberid10873256</span><span style=\"color: navy\">, </span> tgtEPAMedicationRequestExtensionPrescriberid10873256.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    srcKBVPRERPPrescriptionExtensionVerschreiberid969b0514.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionPrescriberidValueXaaa15668</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestExtensionPrescriberid10873256.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Identifier'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionPrescriberidValueXaaa15668</span> <i>\"MedicationRequestExtensionPrescriberidValueXaaa15668\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:VerschreiberID.value[x]'</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionPrescriberid3f6e2305\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:VerschreiberID'</span>#xD;\n  KBVPRERPPrescription.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86</span><b> where </b>url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' and url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'<span style=\"color: navy\"><b> -&gt; </b></span> EPAMedicationRequest.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\">tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e</span><span style=\"color: navy\">, </span> tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e.url = <span style=\"color: blue\">'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionRendereddosageinstructionExten28c17</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e.extension = <span style=\"color: maroon\">srcMedicationRequestExtensionRendereddosageinstructionExten28c17</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionRendereddosageinstructionExten28c17</span> <i>\"MedicationRequestExtensionRendereddosageinstructionExten28c174a3\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.extension:renderedDosageInstruction.extension'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86.id<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionRendereddosageinstructionId1f949ff1</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e.id = <span style=\"color: maroon\">srcMedicationRequestExtensionRendereddosageinstructionId1f949ff1</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionRendereddosageinstructionId1f949ff1</span> <i>\"MedicationRequestExtensionRendereddosageinstructionId1f949ff1\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.extension:renderedDosageInstruction.id'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionRendereddosageinstructionValue43194</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e.value = <span style=\"color: maroon\">srcMedicationRequestExtensionRendereddosageinstructionValue43194</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionRendereddosageinstructionValue43194</span> <i>\"MedicationRequestExtensionRendereddosageinstructionValue43194174\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.extension:renderedDosageInstruction.value[x]'</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionRendereddosageinstruction77697624\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.extension:renderedDosageInstruction'</span>#xD;\n  KBVPRERPPrescription.extension<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionExtensionTRezept7033d9f5</span><b> where </b>url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic' and url != 'security-compliance' and url != 'declaration-of-expertise' and url != 'hand-out-information-material' and url != 'off-label' and url != 'childbearing-potential' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic'<span style=\"color: navy\"><b> -&gt; </b></span> EPAMedicationRequest.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\">tgtEPAMedicationRequestExtensionTeratogenic4ac07394</span><span style=\"color: navy\">, </span> tgtEPAMedicationRequestExtensionTeratogenic4ac07394.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtension7f45302b</span><b> where </b>url != 'security-compliance' and url != 'declaration-of-expertise' and url != 'hand-out-information-material' and url != 'off-label' and url != 'childbearing-potential' and url != 'off-label' and url != 'childbearing-potential' and url != 'security-compliance' and url != 'hand-out-information-material' and url != 'declaration-of-expertise' and url != 'off-label' and url != 'childbearing-potential' and url != 'security-compliance' and url != 'hand-out-information-material' and url != 'declaration-of-expertise' and url != 'Off-Label' and url != 'GebaerfaehigeFrau' and url != 'EinhaltungSicherheitsmassnahmen' and url != 'AushaendigungInformationsmaterialien' and url != 'ErklaerungSachkenntnis' and url != 'valueBoolean' and url != 'valueBoolean' and url != 'valueBoolean' and url != 'valueBoolean' and url != 'valueBoolean'<span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestExtensionTeratogenic4ac07394.extension = <span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtension7f45302b</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionTeratogenicExtension7f45302b</span> <i>\"MedicationRequestExtensionTeratogenicExtension7f45302b\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionChildbearid7eea</span><b> where </b>url = 'GebaerfaehigeFrau'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionTeratogenic4ac07394.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\">tgtMedicationRequestExtensionTeratogenicExtensionChildbearid7eea</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionTeratogenicExtensionChildbearid7eea.url = <span style=\"color: blue\">'childbearing-potential'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionTeratogenicExtensionChildbearid7eea.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionChildbeari0d33c</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionTeratogenicExtensionChildbearid7eea.value = <span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionChildbeari0d33c</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionTeratogenicExtensionChildbeari0d33c</span> <i>\"MedicationRequestExtensionTeratogenicExtensionChildbeari0d33c9ce\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau.value[x]'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionTeratogenicExtensionChildbearid7eea4d5\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc</span><b> where </b>url = 'ErklaerungSachkenntnis'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionTeratogenic4ac07394.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\">tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc.url = <span style=\"color: blue\">'declaration-of-expertise'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionDeclaratio21424</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc.value = <span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionDeclaratio21424</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio21424</span> <i>\"MedicationRequestExtensionTeratogenicExtensionDeclaratio21424ea3\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis.value[x]'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionTeratogenicExtensionDeclaratio505fc233\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b</span><b> where </b>url = 'AushaendigungInformationsmaterialien'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionTeratogenic4ac07394.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\">tgtMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b.url = <span style=\"color: blue\">'hand-out-information-material'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionHandOutInf0b865</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b.value = <span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionHandOutInf0b865</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionTeratogenicExtensionHandOutInf0b865</span> <i>\"MedicationRequestExtensionTeratogenicExtensionHandOutInf0b865a8b\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien.value[x]'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b48d\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860</span><b> where </b>url = 'Off-Label'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionTeratogenic4ac07394.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\">tgtMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860.url = <span style=\"color: blue\">'off-label'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionOffLabelVa7de99</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860.value = <span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionOffLabelVa7de99</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionTeratogenicExtensionOffLabelVa7de99</span> <i>\"MedicationRequestExtensionTeratogenicExtensionOffLabelVa7de9945c\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:Off-Label.value[x]'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionTeratogenicExtensionOffLabel59ec860e\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:Off-Label'</span>#xD;\n    srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9</span><b> where </b>url = 'EinhaltungSicherheitsmassnahmen'<span style=\"color: navy\"><b> -&gt; </b></span> tgtEPAMedicationRequestExtensionTeratogenic4ac07394.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\">tgtMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9</span><span style=\"color: navy\">, </span> tgtMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9.url = <span style=\"color: blue\">'security-compliance'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9.value<b> as </b><span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionSecurityCo39f18</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9.value = <span style=\"color: maroon\">srcMedicationRequestExtensionTeratogenicExtensionSecurityCo39f18</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestExtensionTeratogenicExtensionSecurityCo39f18</span> <i>\"MedicationRequestExtensionTeratogenicExtensionSecurityCo39f181ed\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen.value[x]'</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9d6c\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen'</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestExtensionTeratogenic8a23741f\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied from 'MedicationRequest.extension:T-Rezept'</span>#xD;\n  KBVPRERPPrescription.insurance<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.insurance <i>\"MedicationRequestInsurance8b499ebd\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Quelle: MedicationRequest.insurance</span>#xD;\n  KBVPRERPPrescription<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.insurance<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestInsurance9fe43701</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    KBVPRERPPrescription<b> as </b><span style=\"color: maroon\">manualsrcMedicationRequestInsuranceDisplayc37e796c</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestInsurance9fe43701.display<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestInsuranceDisplay17d9b64c</span> <i>\"MedicationRequestInsuranceDisplayc37e796c\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.display</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestInsuranceDisplayc37e796c\"</i><span style=\"color: navy\">;</span>#xD;\n  KBVPRERPPrescription<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.insurance<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestInsurance9fe43701</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    KBVPRERPPrescription.insurance<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionInsurance97877d04</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcKBVPRERPPrescriptionInsurance97877d04.extension<span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestInsurance9fe43701.extension <i>\"MedicationRequestInsuranceExtension863b718a\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.extension</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestInsuranceExtension863b718a\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestInsuranceExtension863b718a\"</i><span style=\"color: navy\">;</span>#xD;\n  KBVPRERPPrescription<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.insurance<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestInsurance9fe43701</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    KBVPRERPPrescription.insurance<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionInsurance97877d04</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcKBVPRERPPrescriptionInsurance97877d04.id<span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestInsurance9fe43701.id <i>\"MedicationRequestInsuranceIdd780df33\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.id</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestInsuranceIdd780df33\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestInsuranceIdd780df33\"</i><span style=\"color: navy\">;</span>#xD;\n  KBVPRERPPrescription<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.insurance<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestInsurance9fe43701</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    KBVPRERPPrescription<b> as </b><span style=\"color: maroon\">manualsrcMedicationRequestInsuranceIdentifier795c84b1</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestInsurance9fe43701.identifier<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestInsuranceIdentifierd814480c</span> <i>\"MedicationRequestInsuranceIdentifier795c84b1\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.identifier</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestInsuranceIdentifier795c84b1\"</i><span style=\"color: navy\">;</span>#xD;\n  KBVPRERPPrescription<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.insurance<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestInsurance9fe43701</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    KBVPRERPPrescription.insurance<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionInsurance97877d04</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      srcKBVPRERPPrescriptionInsurance97877d04.reference<span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestInsurance9fe43701.reference <i>\"MedicationRequestInsuranceReferenced20f7e2a\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.reference</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"MedicationRequestInsuranceReferenced20f7e2a\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestInsuranceReferenced20f7e2a\"</i><span style=\"color: navy\">;</span>#xD;\n  KBVPRERPPrescription<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.insurance<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestInsurance9fe43701</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    KBVPRERPPrescription<b> as </b><span style=\"color: maroon\">manualsrcMedicationRequestInsuranceTypec5db1613</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestInsurance9fe43701.type<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestInsuranceType76384abe</span> <i>\"MedicationRequestInsuranceTypec5db1613\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.type</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestInsuranceTypec5db1613\"</i><span style=\"color: navy\">;</span>#xD;\n  KBVPRERPPrescription.intent<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionIntentd287d5c0</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.intent = <span style=\"color: maroon\">srcKBVPRERPPrescriptionIntentd287d5c0</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestIntentc2c09deb</span> <i>\"MedicationRequestIntentd6f3b441\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>#xD;\n  KBVPRERPPrescription.medication<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionMedicationXMedicationreferencee836d317</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.medication = <span style=\"color: maroon\">srcKBVPRERPPrescriptionMedicationXMedicationreferencee836d317</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestMedicationXb2342a1d</span> <i>\"MedicationRequestMedicationXMedicationreferencecdf4aaa2\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.medication[x]'</span>#xD;\n  KBVPRERPPrescription.meta<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionMetaebbb9882</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.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\">tgtEPAMedicationRequestMeta55fad1b0</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    srcKBVPRERPPrescriptionMetaebbb9882<b> as </b><span style=\"color: maroon\">srcMedicationRequestMetaProfile56c958a8</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestMeta55fad1b0.profile = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request'</span><b> as </b><span style=\"color: maroon\">tgtMedicationRequestMetaProfile56c958a8</span> <i>\"MedicationRequestMetaProfile56c958a8\"</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-request'</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestMeta9962a339\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>#xD;\n  KBVPRERPPrescription.note<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionNote271cad5f</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.note = <span style=\"color: maroon\">srcKBVPRERPPrescriptionNote271cad5f</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestNote7f5e9d21</span> <i>\"MedicationRequestNote3f48e22b\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.note'</span>#xD;\n  KBVPRERPPrescription.requester<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionRequester66a1f0a5</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.requester = <span style=\"color: maroon\">srcKBVPRERPPrescriptionRequester66a1f0a5</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestRequester76629bb4</span> <i>\"MedicationRequestRequester3e498d80\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.requester'</span>#xD;\n  KBVPRERPPrescription.status<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionStatusdacc71a5</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.status = <span style=\"color: maroon\">srcKBVPRERPPrescriptionStatusdacc71a5</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestStatuse5522c01</span> <i>\"MedicationRequestStatus67a37e7d\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Automatic copy</span>#xD;\n  KBVPRERPPrescription.subject<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.subject <i>\"MedicationRequestSubjectfe47ad58\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Manual action required | Transformationsregel F_007: Wird aus KBV_PR_FOR_Patient.identifier:versichertenId übernommen. | Quelle: MedicationRequest.subject</span>#xD;\n  KBVPRERPPrescription<span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.subject<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestSubject8a8bf8a9</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    KBVPRERPPrescription<b> as </b><span style=\"color: maroon\">manualsrcMedicationRequestSubjectIdentifier9f3d69ea</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtEPAMedicationRequestSubject8a8bf8a9.identifier<b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestSubjectIdentifier1e1464d1</span> <i>\"MedicationRequestSubjectIdentifier9f3d69ea\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Manual action required | Befüllen von .subject nach Transformationsregel F_010 | Quelle: MedicationRequest.subject.identifier</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MedicationRequestSubjectIdentifier9f3d69ea\"</i><span style=\"color: navy\">;</span>#xD;\n  KBVPRERPPrescription.substitution<b> as </b><span style=\"color: maroon\">srcKBVPRERPPrescriptionSubstitution3af41d78</span><span style=\"color: navy\"><b> -&gt; </b></span>EPAMedicationRequest.substitution = <span style=\"color: maroon\">srcKBVPRERPPrescriptionSubstitution3af41d78</span><b> as </b><span style=\"color: maroon\">tgtEPAMedicationRequestSubstitution4b4fd116</span> <i>\"MedicationRequestSubstitution5015c761\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Copied to 'MedicationRequest.substitution'</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"
      ] ;
      fhir:StructureMap.url [ fhir:value "https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpPrescriptionMap"] ;
      fhir:StructureMap.version [ fhir:value "2.0.0-ballot.2"] ;
      fhir:StructureMap.name [ fhir:value "KBVPrErpPrescriptionMap"] ;
      fhir:StructureMap.status [ fhir:value "active"] ;
      fhir:StructureMap.date [ fhir:value "2026-02-02"^^xsd:date] ;
      fhir:StructureMap.publisher [ fhir:value "gematik GmbH"] ;
      fhir:StructureMap.contact [
         fhir:index 0 ;
         fhir:ContactDetail.name [ fhir:value "gematik GmbH" ] ;
         fhir:ContactDetail.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "url" ] ;
           fhir:ContactPoint.value [ fhir:value "https://gematik.de" ]
         ], [
           fhir:index 1 ;
           fhir:ContactPoint.system [ fhir:value "email" ] ;
           fhir:ContactPoint.value [ fhir:value "erp-umsetzung@gematik.de" ]
         ]
      ] ;
      fhir:StructureMap.description [ fhir:value "Auto-generated StructureMap for KBV_PR_ERP_Prescription|1.4.0 -> EPAMedicationRequest|1.3.0"] ;
      fhir:StructureMap.jurisdiction [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
           fhir:Coding.code [ fhir:value "DE" ] ;
           fhir:Coding.display [ fhir:value "Germany" ]
         ]
      ] ;
      fhir:StructureMap.structure [
         fhir:index 0 ;
         fhir:StructureMap.structure.url [
           fhir:value "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription" ;
           fhir:link <https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription>
         ] ;
         fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
         fhir:StructureMap.structure.alias [ fhir:value "KBVPRERPPrescription" ]
      ], [
         fhir:index 1 ;
         fhir:StructureMap.structure.url [
           fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ;
           fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request>
         ] ;
         fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
         fhir:StructureMap.structure.alias [ fhir:value "EPAMedicationRequest" ]
      ] ;
      fhir:StructureMap.group [
         fhir:index 0 ;
         fhir:StructureMap.group.name [ fhir:value "KBVPrErpPrescriptionMap" ] ;
         fhir:StructureMap.group.typeMode [ fhir:value "types" ] ;
         fhir:StructureMap.group.documentation [ fhir:value "Mapping generated for KBV_PR_ERP_Prescription|1.4.0 -> EPAMedicationRequest|1.3.0" ] ;
         fhir:StructureMap.group.input [
           fhir:index 0 ;
           fhir:StructureMap.group.input.name [ fhir:value "KBVPRERPPrescription" ] ;
           fhir:StructureMap.group.input.type [ fhir:value "KBVPRERPPrescription" ] ;
           fhir:StructureMap.group.input.mode [ fhir:value "source" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.input.name [ fhir:value "EPAMedicationRequest" ] ;
           fhir:StructureMap.group.input.type [ fhir:value "EPAMedicationRequest" ] ;
           fhir:StructureMap.group.input.mode [ fhir:value "target" ]
         ] ;
         fhir:StructureMap.group.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestAuthoredoncccaaca3" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "authoredOn" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionAuthoredon3962f227" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "authoredOn" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestAuthoredonbb8b1afd" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionAuthoredon3962f227" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Automatic copy" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestBasedonc8b5003b" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "basedOn" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionBasedon44096147" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "basedOn" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestBasedon1481cab7" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionBasedon44096147" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.basedOn'" ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestDispenserequestabc39b18" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "dispenseRequest" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionDispenserequest1783274a" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "dispenseRequest" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestDispenserequest519b8c09" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionDispenserequest1783274a" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.dispenseRequest'" ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestDosageinstruction0c18f214" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "dosageInstruction" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionDosageinstructionc10ce439" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "dosageInstruction" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestDosageinstructionc76ffbd5" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionDosageinstructionc10ce439" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.dosageInstruction'" ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtension9fb7a1e1" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensione3b6d5d3" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url != 'renderedDosageInstruction' and url != 'prescriberID' and url != 'id' and url != 'ID' and url != 'narcotics' and url != 'Betaeubungsmittel' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID' and url != 'indicator' and url != 'Off-Label' and url != 'declaration-of-expertise' and url != 'teratogenic' and url != 'narcotics-markings' and url != 'Mehrfachverordnung' and url != 'Unfallkennzeichen' and url != 'additional-information-substitutes' and url != 'Zeitraum' and url != 'valueString' and url != 'multiplePrescription' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee' and url != 'VerschreiberID' and url != 'isBvg' and url != 'period' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension' and url != 'ErklaerungSachkenntnis' and url != 'valuePeriod' and url != 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' and url != 'Unfalltag' and url != 'valueDate' and url != 'security-compliance' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension' and url != 'hand-out-information-material' and url != 'valueBoolean' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension' and url != 'valueCoding' and url != 'BtM-Sonderkennzeichen' and url != 'EinhaltungSicherheitsmassnahmen' and url != 'PatientenID' and url != 'Notdienstgebuehr' and url != 'Nummerierung' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic' and url != 'ErgaenzendeAngabenSubstitutionsmittel' and url != 'GebaerfaehigeFrau' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER' and url != 'Kennzeichen' and url != 'patientID' and url != 'valueRatio' and url != 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' and url != 'childbearing-potential' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag' and url != 'isSer' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription' and url != 'counter' and url != 'valueIdentifier' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension' and url != 'Dosierungskennzeichen' and url != 'AushaendigungInformationsmaterialien' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension' and url != 'Unfallinformationen' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident' and url != 'Zuzahlungsstatus' and url != 'T-Rezept' and url != 'SER' and url != 'Unfallbetrieb' and url != 'generatedDosageInstructionsMeta' and url != 'off-label' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtension84dbff80" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionExtensione3b6d5d3" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Automatic copy" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionDosierungskennzeichen196725c7" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionDosierungskennzeichen5b39c4cb" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionDosierungskennzeichena14ed8c8" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Dosierungskennzeichen" ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionNotdienstgebuehr2bd5d6b0" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionNotdienstgebuehr287a16c1" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionNotdienstgebuehr0893fb25" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Notdienstgebuehr" ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionUnfallinformationen3a7c229e" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionUnfallinformationen1a3106a2" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionUnfallinformationen0101ae43" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Unfallinformationen" ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionZuzahlungsstatus32a86828" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionZuzahlungsstatus36507086" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionZuzahlungsstatus8c9c30c1" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Zuzahlungsstatus" ]
         ], [
           fhir:index 9 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionGenerateddosageinstructionsmetdb6c77e4" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionGenerateddosageinstructionsa922a" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' and url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionGenerateddosageinstructionsf5747" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionExtensionGenerateddosageinstructionsa922a" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Automatic copy" ]
         ], [
           fhir:index 10 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionIsser59899e4f" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionSere0662047" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionIsser3ffad0d8" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionIsser3ffad0d8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionIsserValueXc593588c" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionSere0662047" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionIsserValueXc593588c" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionIsser3ffad0d8" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionIsserValueXc593588c" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionIsserValueXc593588c" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:SER.value[x]'" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:SER'" ]
         ], [
           fhir:index 11 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionMultipleprescriptionbdc5607f" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription' and url != 'period' and url != 'indicator' and url != 'id' and url != 'counter' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionMultipleprescriptionExtensionfb1469fa" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionfb1469" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url != 'period' and url != 'indicator' and url != 'id' and url != 'counter' and url != 'indicator' and url != 'counter' and url != 'period' and url != 'id' and url != 'indicator' and url != 'counter' and url != 'period' and url != 'id' and url != 'Kennzeichen' and url != 'Nummerierung' and url != 'Zeitraum' and url != 'ID' and url != 'valueBoolean' and url != 'valueRatio' and url != 'valuePeriod' and url != 'valueIdentifier'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionfb1469" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionfb1469" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension'" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionMultipleprescriptionExtensionCfaa566e2" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionCfaa56" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'Nummerierung'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionCfaa56" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionCfaa56" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "counter" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionMultipleprescriptionExtensionC871d22e9" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionCfaa56" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionC871d2" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionCfaa56" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionC871d2" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Ratio" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung'" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionMultipleprescriptionExtensionI16b5928d" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionI16b59" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'ID'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionI16b59" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionI16b59" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "id" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionMultipleprescriptionExtensionIe062e3e2" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionI16b59" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionIe062e" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionI16b59" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionIe062e" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Identifier" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:ID.value[x]'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:ID'" ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionMultipleprescriptionExtensionI4e3b384b" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'Kennzeichen'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "indicator" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionMultipleprescriptionExtensionI405debc2" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionI405de" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionI405de" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionI405de" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen.value[x]'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen'" ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionMultipleprescriptionExtensionP141be3dc" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionMultipleprescriptionExtensionP141be" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'Zeitraum'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionP141be" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionMultipleprescriptionExtensionP141be" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "period" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Zeitraum'" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Mehrfachverordnung'" ]
         ], [
           fhir:index 12 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionNarcotics79f21928" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic' and url != 'narcotics-markings' and url != 'additional-information-substitutes' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionNarcotics6cf17625" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionNarcotics6cf17625" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionNarcoticsExtension5781be10" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionNarcoticsExtension5781be10" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url != 'narcotics-markings' and url != 'additional-information-substitutes' and url != 'narcotics-markings' and url != 'additional-information-substitutes' and url != 'narcotics-markings' and url != 'additional-information-substitutes' and url != 'valueCoding' and url != 'valueString' and url != 'BtM-Sonderkennzeichen' and url != 'ErgaenzendeAngabenSubstitutionsmittel' and url != 'valueCoding' and url != 'valueString'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionNarcotics6cf17625" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtension5781be10" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionNarcoticsExtension5781be10" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension'" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionNarcoticsExtensionAdditionalInceae9d9c" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'ErgaenzendeAngabenSubstitutionsmittel'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionNarcotics6cf17625" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "additional-information-substitutes" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9455" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]'" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447f30" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]:valueString'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel'" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c532" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'BtM-Sonderkennzeichen'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionNarcotics6cf17625" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "narcotics-markings" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6081" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen.value[x]'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen'" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:Betaeubungsmittel'" ]
         ], [
           fhir:index 13 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionPatientid212ef156" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionPatientenidb1aba372" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionPatientid606310bd" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionPatientid606310bd" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionPatientidValueX6b0e4b53" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionPatientenidb1aba372" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionPatientidValueX6b0e4b53" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionPatientid606310bd" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionPatientidValueX6b0e4b53" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Identifier" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:PatientenID.value[x]'" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:PatientenID'" ]
         ], [
           fhir:index 14 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionPrescriberid3f6e2305" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionVerschreiberid969b0514" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionPrescriberid10873256" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionPrescriberid10873256" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionPrescriberidValueXaaa15668" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionVerschreiberid969b0514" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionPrescriberidValueXaaa15668" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionPrescriberid10873256" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionPrescriberidValueXaaa15668" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Identifier" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:VerschreiberID.value[x]'" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:VerschreiberID'" ]
         ], [
           fhir:index 15 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionRendereddosageinstruction77697624" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' and url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionRendereddosageinstructionExten28c174a3" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionRendereddosageinstructionExten28c17" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionRendereddosageinstructionExten28c17" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionRendereddosageinstructionExten28c17" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.extension:renderedDosageInstruction.extension'" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionRendereddosageinstructionId1f949ff1" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionRendereddosageinstructionId1f949ff1" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionRendereddosageinstructionId1f949ff1" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionRendereddosageinstructionId1f949ff1" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.extension:renderedDosageInstruction.id'" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionRendereddosageinstructionValue43194174" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionRendereddosageinstructionValue43194" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionRendereddosageinstructionValue43194" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionRendereddosageinstructionValue43194" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.extension:renderedDosageInstruction.value[x]'" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.extension:renderedDosageInstruction'" ]
         ], [
           fhir:index 16 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenic8a23741f" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionExtensionTRezept7033d9f5" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic' and url != 'security-compliance' and url != 'declaration-of-expertise' and url != 'hand-out-information-material' and url != 'off-label' and url != 'childbearing-potential' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic'" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestExtensionTeratogenic4ac07394" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionTeratogenic4ac07394" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtension7f45302b" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionTRezept7033d9f5" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtension7f45302b" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url != 'security-compliance' and url != 'declaration-of-expertise' and url != 'hand-out-information-material' and url != 'off-label' and url != 'childbearing-potential' and url != 'off-label' and url != 'childbearing-potential' and url != 'security-compliance' and url != 'hand-out-information-material' and url != 'declaration-of-expertise' and url != 'off-label' and url != 'childbearing-potential' and url != 'security-compliance' and url != 'hand-out-information-material' and url != 'declaration-of-expertise' and url != 'Off-Label' and url != 'GebaerfaehigeFrau' and url != 'EinhaltungSicherheitsmassnahmen' and url != 'AushaendigungInformationsmaterialien' and url != 'ErklaerungSachkenntnis' and url != 'valueBoolean' and url != 'valueBoolean' and url != 'valueBoolean' and url != 'valueBoolean' and url != 'valueBoolean'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionTeratogenic4ac07394" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtension7f45302b" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionTeratogenicExtension7f45302b" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension'" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionChildbearid7eea4d5" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionTRezept7033d9f5" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionChildbearid7eea" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'GebaerfaehigeFrau'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionTeratogenic4ac07394" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionChildbearid7eea" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionChildbearid7eea" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "childbearing-potential" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionChildbeari0d33c9ce" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionChildbearid7eea" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionChildbeari0d33c" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionChildbearid7eea" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionChildbeari0d33c" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionChildbeari0d33c" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau.value[x]'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau'" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionDeclaratio505fc233" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionTRezept7033d9f5" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'ErklaerungSachkenntnis'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionTeratogenic4ac07394" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "declaration-of-expertise" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionDeclaratio21424ea3" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionDeclaratio21424" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio21424" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionDeclaratio21424" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis.value[x]'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis'" ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b48d" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionTRezept7033d9f5" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'AushaendigungInformationsmaterialien'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionTeratogenic4ac07394" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "hand-out-information-material" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionHandOutInf0b865a8b" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionHandOutInf0b865" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionHandOutInf0b865" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionHandOutInf0b865" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien.value[x]'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien'" ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionOffLabel59ec860e" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionTRezept7033d9f5" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'Off-Label'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionTeratogenic4ac07394" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "off-label" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionOffLabelVa7de9945c" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionOffLabelVa7de99" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionOffLabelVa7de99" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionOffLabelVa7de99" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:Off-Label.value[x]'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:Off-Label'" ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9d6c" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionExtensionTRezept7033d9f5" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "url = 'EinhaltungSicherheitsmassnahmen'" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestExtensionTeratogenic4ac07394" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Extension" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "security-compliance" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestExtensionTeratogenicExtensionSecurityCo39f181ed" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionSecurityCo39f18" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestExtensionTeratogenicExtensionSecurityCo39f18" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcMedicationRequestExtensionTeratogenicExtensionSecurityCo39f18" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen.value[x]'" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen'" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied from 'MedicationRequest.extension:T-Rezept'" ]
         ], [
           fhir:index 17 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsurance8b499ebd" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "insurance" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionInsurance97877d04" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "insurance" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Quelle: MedicationRequest.insurance" ]
         ], [
           fhir:index 18 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceDisplayc37e796c" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "insurance" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceDisplayc37e796c" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manualsrcMedicationRequestInsuranceDisplayc37e796c" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsuranceDisplay17d9b64c" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.display" ]
           ]
         ], [
           fhir:index 19 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceExtension863b718a" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "insurance" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceExtension863b718a" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "insurance" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionInsurance97877d04" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceExtension863b718a" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionInsurance97877d04" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionInsuranceExtension39c92d6e" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsuranceExtensionda61a5ce" ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.extension" ]
             ]
           ]
         ], [
           fhir:index 20 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceIdd780df33" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "insurance" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceIdd780df33" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "insurance" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionInsurance97877d04" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceIdd780df33" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionInsurance97877d04" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionInsuranceId2629837d" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsuranceId17eecc89" ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.id" ]
             ]
           ]
         ], [
           fhir:index 21 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceIdentifier795c84b1" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "insurance" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceIdentifier795c84b1" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manualsrcMedicationRequestInsuranceIdentifier795c84b1" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsuranceIdentifierd814480c" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.identifier" ]
           ]
         ], [
           fhir:index 22 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceReferenced20f7e2a" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "insurance" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceReferenced20f7e2a" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "insurance" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionInsurance97877d04" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceReferenced20f7e2a" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionInsurance97877d04" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionInsuranceReference7b9ed018" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsuranceReference7a397c28" ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.reference" ]
             ]
           ]
         ], [
           fhir:index 23 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceTypec5db1613" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "insurance" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestInsuranceTypec5db1613" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manualsrcMedicationRequestInsuranceTypec5db1613" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestInsurance9fe43701" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestInsuranceType76384abe" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.type" ]
           ]
         ], [
           fhir:index 24 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestIntentd6f3b441" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "intent" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionIntentd287d5c0" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "intent" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestIntentc2c09deb" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionIntentd287d5c0" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Automatic copy" ]
         ], [
           fhir:index 25 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestMedicationXMedicationreferencecdf4aaa2" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "medication" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionMedicationXMedicationreferencee836d317" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "medication" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestMedicationXb2342a1d" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionMedicationXMedicationreferencee836d317" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.medication[x]'" ]
         ], [
           fhir:index 26 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestMeta9962a339" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionMetaebbb9882" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestMeta55fad1b0" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Meta" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestMetaProfile56c958a8" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcKBVPRERPPrescriptionMetaebbb9882" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcMedicationRequestMetaProfile56c958a8" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestMeta55fad1b0" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "profile" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtMedicationRequestMetaProfile56c958a8" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Fixed value 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request'" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Automatic copy" ]
         ], [
           fhir:index 27 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestNote3f48e22b" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "note" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionNote271cad5f" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "note" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestNote7f5e9d21" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionNote271cad5f" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.note'" ]
         ], [
           fhir:index 28 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestRequester3e498d80" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "requester" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionRequester66a1f0a5" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "requester" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestRequester76629bb4" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionRequester66a1f0a5" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.requester'" ]
         ], [
           fhir:index 29 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestStatus67a37e7d" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "status" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionStatusdacc71a5" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestStatuse5522c01" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionStatusdacc71a5" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Automatic copy" ]
         ], [
           fhir:index 30 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestSubjectfe47ad58" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "subject" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionSubjectb79dbef0" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestSubject8a8bf8a9" ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Manual action required | Transformationsregel F_007: Wird aus KBV_PR_FOR_Patient.identifier:versichertenId übernommen. | Quelle: MedicationRequest.subject" ]
         ], [
           fhir:index 31 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestSubjectIdentifier9f3d69ea" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestSubject8a8bf8a9" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestSubjectIdentifier9f3d69ea" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manualsrcMedicationRequestSubjectIdentifier9f3d69ea" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "tgtEPAMedicationRequestSubject8a8bf8a9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestSubjectIdentifier1e1464d1" ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "Manual action required | Befüllen von .subject nach Transformationsregel F_010 | Quelle: MedicationRequest.subject.identifier" ]
           ]
         ], [
           fhir:index 32 ;
           fhir:StructureMap.group.rule.name [ fhir:value "MedicationRequestSubstitution5015c761" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "KBVPRERPPrescription" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "substitution" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "srcKBVPRERPPrescriptionSubstitution3af41d78" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "EPAMedicationRequest" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "substitution" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtEPAMedicationRequestSubstitution4b4fd116" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcKBVPRERPPrescriptionSubstitution3af41d78" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "Copied to 'MedicationRequest.substitution'" ]
         ]
      ] .

    # - ontology header ------------------------------------------------------------

    <http://hl7.org/fhir/StructureMap/KBVPrErpPrescriptionMap.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/StructureMap/KBVPrErpPrescriptionMap.ttl> .