TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.1 - ci-build

## StructureMap: KBVPrErpPrescriptionMap

Official URL: https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpPrescriptionMap | Version: 2.0.0-ballot.1
Active as of 2026-02-02 | Computable Name: KBVPrErpPrescriptionMap

Auto-generated StructureMap for KBV_PR_ERP_Prescription | 1.4.0 -> EPAMedicationRequest | 1.3.0

### Feld-Mappings

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.insurance` | `EPAMedicationRequest.insurance` | Nicht Übertragen | Feld wird nicht gemappt | Quelle: MedicationRequest.insurance
`KBVPRERPPrescription` | `EPAMedicationRequest.insurance.display` | Nicht Übertragen | Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.display
`KBVPRERPPrescription.insurance.id` | `EPAMedicationRequest.insurance.id` | Nicht Übertragen | Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.id
`KBVPRERPPrescription` | `EPAMedicationRequest.insurance.identifier` | Nicht Übertragen | Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.identifier
`KBVPRERPPrescription.insurance.reference` | `EPAMedicationRequest.insurance.reference` | Nicht Übertragen | Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.reference
`KBVPRERPPrescription` | `EPAMedicationRequest.insurance.type` | Nicht Übertragen | Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.type
`KBVPRERPPrescription.meta` | `EPAMedicationRequest.meta.profile` | Fester Wert | setzt festen Wert: `https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request`
`KBVPRERPPrescription.subject` | `EPAMedicationRequest.subject` | Manuell | Transformationsregel F_007: Wird aus KBV_PR_FOR_Patient.identifier:versichertenId übernommen. | Quelle: MedicationRequest.subject
`KBVPRERPPrescription` | `EPAMedicationRequest.subject.identifier` | Manuell | Befüllen von .subject nach Transformationsregel F_010 | Quelle: MedicationRequest.subject.identifier

### Extensions

#### Extension: KBV_EX_ERP_DosageFlag

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag']` | `EPAMedicationRequest.extension` | Nicht Übertragen | Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Dosierungskennzeichen

#### Extension: KBV_EX_ERP_EmergencyServicesFee

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee']` | `EPAMedicationRequest.extension` | Nicht Übertragen | Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Notdienstgebuehr

#### Extension: KBV_EX_FOR_Accident

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident']` | `EPAMedicationRequest.extension` | Nicht Übertragen | Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Unfallinformationen

#### Extension: KBV_EX_FOR_StatusCoPayment

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment']` | `EPAMedicationRequest.extension` | Nicht Übertragen | Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Zuzahlungsstatus

#### Extension: KBV_EX_FOR_SER

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER']` | `EPAMedicationRequest.extension.url` | Fester Wert | setzt festen Wert: `https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension`

#### Extension: KBV_EX_ERP_Multiple_Prescription

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription']` | `EPAMedicationRequest.extension.url` | Fester Wert | setzt festen Wert: `https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension`

#### Extension: Nummerierung

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'Nummerierung']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `counter`

#### Extension: ID

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'ID']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `id`

#### Extension: Kennzeichen

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'Kennzeichen']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `indicator`

#### Extension: Zeitraum

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'Zeitraum']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `period`

#### Extension: KBV_EX_ERP_Narcotic

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Narcotic']` | `EPAMedicationRequest.extension.url` | Fester Wert | setzt festen Wert: `https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension`

#### Extension: ErgaenzendeAngabenSubstitutionsmittel

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'ErgaenzendeAngabenSubstitutionsmittel']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `additional-information-substitutes`

#### Extension: BtM-Sonderkennzeichen

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'BtM-Sonderkennzeichen']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `narcotics-markings`

#### Extension: KBV_EX_ERP_Patient_ID

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID']` | `EPAMedicationRequest.extension.url` | Fester Wert | setzt festen Wert: `https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension`

#### Extension: KBV_EX_ERP_Prescriber_ID

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID']` | `EPAMedicationRequest.extension.url` | Fester Wert | setzt festen Wert: `https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension`

#### Extension: extension-MedicationRequest.renderedDosageInstruction

Bedingung: url = `http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction']` | `EPAMedicationRequest.extension.url` | Fester Wert | setzt festen Wert: `http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction`

#### Extension: KBV_EX_ERP_Teratogenic

Bedingung: url = `https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic`

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension` `[Bedingung: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic']` | `EPAMedicationRequest.extension.url` | Fester Wert | setzt festen Wert: `https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension`

#### Extension: GebaerfaehigeFrau

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'GebaerfaehigeFrau']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `childbearing-potential`

#### Extension: ErklaerungSachkenntnis

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'ErklaerungSachkenntnis']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `declaration-of-expertise`

#### Extension: AushaendigungInformationsmaterialien

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'AushaendigungInformationsmaterialien']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `hand-out-information-material`

#### Extension: Off-Label

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'Off-Label']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `off-label`

#### Extension: EinhaltungSicherheitsmassnahmen

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.extension.extension` `[Bedingung: url = 'EinhaltungSicherheitsmassnahmen']` | `EPAMedicationRequest.extension.extension.url` | Fester Wert | setzt festen Wert: `security-compliance`

#### Extension: (ohne Bedingung)

Quelle (Eingangsdaten) | Ziel (Ausgabedaten) | Aktion | Transformation & Beschreibung
--- | --- | --- | ---
`KBVPRERPPrescription.insurance.extension` | `EPAMedicationRequest.insurance.extension` | Nicht Übertragen | Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.extension

    map "https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpPrescriptionMap" = "KBVPrErpPrescriptionMap"

    // Auto-generated StructureMap for KBV_PR_ERP_Prescription|1.4.0 -> EPAMedicationRequest|1.3.0

    uses "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription" alias KBVPRERPPrescription as source
    uses "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" alias EPAMedicationRequest as target

    // Mapping generated for KBV_PR_ERP_Prescription|1.4.0 -> EPAMedicationRequest|1.3.0
    group KBVPrErpPrescriptionMap(source KBVPRERPPrescription : KBVPRERPPrescription, target EPAMedicationRequest : EPAMedicationRequest) <<types>> {
      KBVPRERPPrescription.authoredOn as srcKBVPRERPPrescriptionAuthoredon3962f227 -> EPAMedicationRequest.authoredOn = srcKBVPRERPPrescriptionAuthoredon3962f227 as tgtEPAMedicationRequestAuthoredonbb8b1afd "MedicationRequestAuthoredoncccaaca3"; // Automatic copy
      KBVPRERPPrescription.basedOn as srcKBVPRERPPrescriptionBasedon44096147 -> EPAMedicationRequest.basedOn = srcKBVPRERPPrescriptionBasedon44096147 as tgtEPAMedicationRequestBasedon1481cab7 "MedicationRequestBasedonc8b5003b"; // Copied to 'MedicationRequest.basedOn'
      KBVPRERPPrescription.dispenseRequest as srcKBVPRERPPrescriptionDispenserequest1783274a -> EPAMedicationRequest.dispenseRequest = srcKBVPRERPPrescriptionDispenserequest1783274a as tgtEPAMedicationRequestDispenserequest519b8c09 "MedicationRequestDispenserequestabc39b18"; // Copied to 'MedicationRequest.dispenseRequest'
      KBVPRERPPrescription.dosageInstruction as srcKBVPRERPPrescriptionDosageinstructionc10ce439 -> EPAMedicationRequest.dosageInstruction = srcKBVPRERPPrescriptionDosageinstructionc10ce439 as tgtEPAMedicationRequestDosageinstructionc76ffbd5 "MedicationRequestDosageinstruction0c18f214"; // Copied to 'MedicationRequest.dosageInstruction'
      KBVPRERPPrescription.extension as srcKBVPRERPPrescriptionExtensione3b6d5d3 where 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' -> EPAMedicationRequest.extension = srcKBVPRERPPrescriptionExtensione3b6d5d3 as tgtEPAMedicationRequestExtension84dbff80 "MedicationRequestExtension9fb7a1e1"; // Automatic copy
      KBVPRERPPrescription.extension where url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag' -> EPAMedicationRequest.extension "MedicationRequestExtensionDosierungskennzeichen196725c7"; // Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Dosierungskennzeichen
      KBVPRERPPrescription.extension where url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee' -> EPAMedicationRequest.extension "MedicationRequestExtensionNotdienstgebuehr2bd5d6b0"; // Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Notdienstgebuehr
      KBVPRERPPrescription.extension where url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident' -> EPAMedicationRequest.extension "MedicationRequestExtensionUnfallinformationen3a7c229e"; // Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Unfallinformationen
      KBVPRERPPrescription.extension where url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment' -> EPAMedicationRequest.extension "MedicationRequestExtensionZuzahlungsstatus32a86828"; // Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Zuzahlungsstatus
      KBVPRERPPrescription.extension as srcKBVPRERPPrescriptionExtensionGenerateddosageinstructionsa922a where url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' and url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' -> EPAMedicationRequest.extension = srcKBVPRERPPrescriptionExtensionGenerateddosageinstructionsa922a as tgtEPAMedicationRequestExtensionGenerateddosageinstructionsf5747 "MedicationRequestExtensionGenerateddosageinstructionsmetdb6c77e4"; // Automatic copy
      KBVPRERPPrescription.extension as srcKBVPRERPPrescriptionExtensionSere0662047 where url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER' ->  EPAMedicationRequest.extension = create('Extension') as tgtEPAMedicationRequestExtensionIsser3ffad0d8,  tgtEPAMedicationRequestExtensionIsser3ffad0d8.url = 'https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension' then {
        srcKBVPRERPPrescriptionExtensionSere0662047.value as srcMedicationRequestExtensionIsserValueXc593588c -> tgtEPAMedicationRequestExtensionIsser3ffad0d8.value = srcMedicationRequestExtensionIsserValueXc593588c as tgtMedicationRequestExtensionIsserValueXc593588c "MedicationRequestExtensionIsserValueXc593588c"; // Copied from 'MedicationRequest.extension:SER.value[x]'
      } "MedicationRequestExtensionIsser59899e4f"; // Copied from 'MedicationRequest.extension:SER'
      KBVPRERPPrescription.extension as srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c where 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' ->  EPAMedicationRequest.extension = create('Extension') as tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86,  tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.url = 'https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension' then {
        srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension as srcMedicationRequestExtensionMultipleprescriptionExtensionfb1469 where 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' -> tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.extension = srcMedicationRequestExtensionMultipleprescriptionExtensionfb1469 as tgtMedicationRequestExtensionMultipleprescriptionExtensionfb1469 "MedicationRequestExtensionMultipleprescriptionExtensionfb1469fa"; // Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension'
        srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension as srcMedicationRequestExtensionMultipleprescriptionExtensionCfaa56 where url = 'Nummerierung' ->  tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.extension = create('Extension') as tgtMedicationRequestExtensionMultipleprescriptionExtensionCfaa56,  tgtMedicationRequestExtensionMultipleprescriptionExtensionCfaa56.url = 'counter' then {
          srcMedicationRequestExtensionMultipleprescriptionExtensionCfaa56.value as srcMedicationRequestExtensionMultipleprescriptionExtensionC871d2 -> tgtMedicationRequestExtensionMultipleprescriptionExtensionCfaa56.value = create('Ratio') as tgtMedicationRequestExtensionMultipleprescriptionExtensionC871d2 "MedicationRequestExtensionMultipleprescriptionExtensionC871d22e9"; // Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]'
        } "MedicationRequestExtensionMultipleprescriptionExtensionCfaa566e2"; // Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung'
        srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension as srcMedicationRequestExtensionMultipleprescriptionExtensionI16b59 where url = 'ID' ->  tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.extension = create('Extension') as tgtMedicationRequestExtensionMultipleprescriptionExtensionI16b59,  tgtMedicationRequestExtensionMultipleprescriptionExtensionI16b59.url = 'id' then {
          srcMedicationRequestExtensionMultipleprescriptionExtensionI16b59.value as srcMedicationRequestExtensionMultipleprescriptionExtensionIe062e -> tgtMedicationRequestExtensionMultipleprescriptionExtensionI16b59.value = create('Identifier') as tgtMedicationRequestExtensionMultipleprescriptionExtensionIe062e "MedicationRequestExtensionMultipleprescriptionExtensionIe062e3e2"; // Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:ID.value[x]'
        } "MedicationRequestExtensionMultipleprescriptionExtensionI16b5928d"; // Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:ID'
        srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension as srcMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3 where url = 'Kennzeichen' ->  tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.extension = create('Extension') as tgtMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3,  tgtMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3.url = 'indicator' then {
          srcMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3.value as srcMedicationRequestExtensionMultipleprescriptionExtensionI405de -> tgtMedicationRequestExtensionMultipleprescriptionExtensionI4e3b3.value = srcMedicationRequestExtensionMultipleprescriptionExtensionI405de as tgtMedicationRequestExtensionMultipleprescriptionExtensionI405de "MedicationRequestExtensionMultipleprescriptionExtensionI405debc2"; // Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen.value[x]'
        } "MedicationRequestExtensionMultipleprescriptionExtensionI4e3b384b"; // Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen'
        srcKBVPRERPPrescriptionExtensionMehrfachverordnungc7120a1c.extension as srcMedicationRequestExtensionMultipleprescriptionExtensionP141be where url = 'Zeitraum' ->  tgtEPAMedicationRequestExtensionMultipleprescriptionb8edbb86.extension = create('Extension') as tgtMedicationRequestExtensionMultipleprescriptionExtensionP141be,  tgtMedicationRequestExtensionMultipleprescriptionExtensionP141be.url = 'period' "MedicationRequestExtensionMultipleprescriptionExtensionP141be3dc"; // Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Zeitraum'
      } "MedicationRequestExtensionMultipleprescriptionbdc5607f"; // Copied from 'MedicationRequest.extension:Mehrfachverordnung'
      KBVPRERPPrescription.extension as srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99 where 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' ->  EPAMedicationRequest.extension = create('Extension') as tgtEPAMedicationRequestExtensionNarcotics6cf17625,  tgtEPAMedicationRequestExtensionNarcotics6cf17625.url = 'https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension' then {
        srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99.extension as srcMedicationRequestExtensionNarcoticsExtension5781be10 where 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' -> tgtEPAMedicationRequestExtensionNarcotics6cf17625.extension = srcMedicationRequestExtensionNarcoticsExtension5781be10 as tgtMedicationRequestExtensionNarcoticsExtension5781be10 "MedicationRequestExtensionNarcoticsExtension5781be10"; // Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension'
        srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99.extension as srcMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9 where url = 'ErgaenzendeAngabenSubstitutionsmittel' ->  tgtEPAMedicationRequestExtensionNarcotics6cf17625.extension = create('Extension') as tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9,  tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.url = 'additional-information-substitutes' then {
          srcMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.value as srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9 -> tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.value = srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9 as tgtMedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9 "MedicationRequestExtensionNarcoticsExtensionAdditionalIn7d0f9455"; // Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]'
          srcMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.value as srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447 -> tgtMedicationRequestExtensionNarcoticsExtensionAdditionalInceae9.value = srcMedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447 as tgtMedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447 "MedicationRequestExtensionNarcoticsExtensionAdditionalIn5c447f30"; // Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]:valueString'
        } "MedicationRequestExtensionNarcoticsExtensionAdditionalInceae9d9c"; // Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel'
        srcKBVPRERPPrescriptionExtensionBetaeubungsmitteld93a4b99.extension as srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c where url = 'BtM-Sonderkennzeichen' ->  tgtEPAMedicationRequestExtensionNarcotics6cf17625.extension = create('Extension') as tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c,  tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c.url = 'narcotics-markings' then {
          srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c.value as srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6 -> tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c.value = srcMedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6 as tgtMedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6 "MedicationRequestExtensionNarcoticsExtensionNarcoticsMar57aa6081"; // Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen.value[x]'
        } "MedicationRequestExtensionNarcoticsExtensionNarcoticsMar7ca5c532"; // Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen'
      } "MedicationRequestExtensionNarcotics79f21928"; // Copied from 'MedicationRequest.extension:Betaeubungsmittel'
      KBVPRERPPrescription.extension as srcKBVPRERPPrescriptionExtensionPatientenidb1aba372 where url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID' ->  EPAMedicationRequest.extension = create('Extension') as tgtEPAMedicationRequestExtensionPatientid606310bd,  tgtEPAMedicationRequestExtensionPatientid606310bd.url = 'https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension' then {
        srcKBVPRERPPrescriptionExtensionPatientenidb1aba372.value as srcMedicationRequestExtensionPatientidValueX6b0e4b53 -> tgtEPAMedicationRequestExtensionPatientid606310bd.value = create('Identifier') as tgtMedicationRequestExtensionPatientidValueX6b0e4b53 "MedicationRequestExtensionPatientidValueX6b0e4b53"; // Copied from 'MedicationRequest.extension:PatientenID.value[x]'
      } "MedicationRequestExtensionPatientid212ef156"; // Copied from 'MedicationRequest.extension:PatientenID'
      KBVPRERPPrescription.extension as srcKBVPRERPPrescriptionExtensionVerschreiberid969b0514 where url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID' ->  EPAMedicationRequest.extension = create('Extension') as tgtEPAMedicationRequestExtensionPrescriberid10873256,  tgtEPAMedicationRequestExtensionPrescriberid10873256.url = 'https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension' then {
        srcKBVPRERPPrescriptionExtensionVerschreiberid969b0514.value as srcMedicationRequestExtensionPrescriberidValueXaaa15668 -> tgtEPAMedicationRequestExtensionPrescriberid10873256.value = create('Identifier') as tgtMedicationRequestExtensionPrescriberidValueXaaa15668 "MedicationRequestExtensionPrescriberidValueXaaa15668"; // Copied from 'MedicationRequest.extension:VerschreiberID.value[x]'
      } "MedicationRequestExtensionPrescriberid3f6e2305"; // Copied from 'MedicationRequest.extension:VerschreiberID'
      KBVPRERPPrescription.extension as srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86 where url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' and url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ->  EPAMedicationRequest.extension = create('Extension') as tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e,  tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e.url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' then {
        srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86.extension as srcMedicationRequestExtensionRendereddosageinstructionExten28c17 -> tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e.extension = srcMedicationRequestExtensionRendereddosageinstructionExten28c17 as tgtMedicationRequestExtensionRendereddosageinstructionExten28c17 "MedicationRequestExtensionRendereddosageinstructionExten28c174a3"; // Copied to 'MedicationRequest.extension:renderedDosageInstruction.extension'
        srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86.id as srcMedicationRequestExtensionRendereddosageinstructionId1f949ff1 -> tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e.id = srcMedicationRequestExtensionRendereddosageinstructionId1f949ff1 as tgtMedicationRequestExtensionRendereddosageinstructionId1f949ff1 "MedicationRequestExtensionRendereddosageinstructionId1f949ff1"; // Copied to 'MedicationRequest.extension:renderedDosageInstruction.id'
        srcKBVPRERPPrescriptionExtensionRendereddosageinstruction1f1ed86.value as srcMedicationRequestExtensionRendereddosageinstructionValue43194 -> tgtEPAMedicationRequestExtensionRendereddosageinstruction1278f9e.value = srcMedicationRequestExtensionRendereddosageinstructionValue43194 as tgtMedicationRequestExtensionRendereddosageinstructionValue43194 "MedicationRequestExtensionRendereddosageinstructionValue43194174"; // Copied to 'MedicationRequest.extension:renderedDosageInstruction.value[x]'
      } "MedicationRequestExtensionRendereddosageinstruction77697624"; // Copied to 'MedicationRequest.extension:renderedDosageInstruction'
      KBVPRERPPrescription.extension as srcKBVPRERPPrescriptionExtensionTRezept7033d9f5 where 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' ->  EPAMedicationRequest.extension = create('Extension') as tgtEPAMedicationRequestExtensionTeratogenic4ac07394,  tgtEPAMedicationRequestExtensionTeratogenic4ac07394.url = 'https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension' then {
        srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension as srcMedicationRequestExtensionTeratogenicExtension7f45302b where 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' -> tgtEPAMedicationRequestExtensionTeratogenic4ac07394.extension = srcMedicationRequestExtensionTeratogenicExtension7f45302b as tgtMedicationRequestExtensionTeratogenicExtension7f45302b "MedicationRequestExtensionTeratogenicExtension7f45302b"; // Copied from 'MedicationRequest.extension:T-Rezept.extension'
        srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension as srcMedicationRequestExtensionTeratogenicExtensionChildbearid7eea where url = 'GebaerfaehigeFrau' ->  tgtEPAMedicationRequestExtensionTeratogenic4ac07394.extension = create('Extension') as tgtMedicationRequestExtensionTeratogenicExtensionChildbearid7eea,  tgtMedicationRequestExtensionTeratogenicExtensionChildbearid7eea.url = 'childbearing-potential' then {
          srcMedicationRequestExtensionTeratogenicExtensionChildbearid7eea.value as srcMedicationRequestExtensionTeratogenicExtensionChildbeari0d33c -> tgtMedicationRequestExtensionTeratogenicExtensionChildbearid7eea.value = srcMedicationRequestExtensionTeratogenicExtensionChildbeari0d33c as tgtMedicationRequestExtensionTeratogenicExtensionChildbeari0d33c "MedicationRequestExtensionTeratogenicExtensionChildbeari0d33c9ce"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau.value[x]'
        } "MedicationRequestExtensionTeratogenicExtensionChildbearid7eea4d5"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau'
        srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension as srcMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc where url = 'ErklaerungSachkenntnis' ->  tgtEPAMedicationRequestExtensionTeratogenic4ac07394.extension = create('Extension') as tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc,  tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc.url = 'declaration-of-expertise' then {
          srcMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc.value as srcMedicationRequestExtensionTeratogenicExtensionDeclaratio21424 -> tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio505fc.value = srcMedicationRequestExtensionTeratogenicExtensionDeclaratio21424 as tgtMedicationRequestExtensionTeratogenicExtensionDeclaratio21424 "MedicationRequestExtensionTeratogenicExtensionDeclaratio21424ea3"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis.value[x]'
        } "MedicationRequestExtensionTeratogenicExtensionDeclaratio505fc233"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis'
        srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension as srcMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b where url = 'AushaendigungInformationsmaterialien' ->  tgtEPAMedicationRequestExtensionTeratogenic4ac07394.extension = create('Extension') as tgtMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b,  tgtMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b.url = 'hand-out-information-material' then {
          srcMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b.value as srcMedicationRequestExtensionTeratogenicExtensionHandOutInf0b865 -> tgtMedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b.value = srcMedicationRequestExtensionTeratogenicExtensionHandOutInf0b865 as tgtMedicationRequestExtensionTeratogenicExtensionHandOutInf0b865 "MedicationRequestExtensionTeratogenicExtensionHandOutInf0b865a8b"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien.value[x]'
        } "MedicationRequestExtensionTeratogenicExtensionHandOutInfb6c2b48d"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien'
        srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension as srcMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860 where url = 'Off-Label' ->  tgtEPAMedicationRequestExtensionTeratogenic4ac07394.extension = create('Extension') as tgtMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860,  tgtMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860.url = 'off-label' then {
          srcMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860.value as srcMedicationRequestExtensionTeratogenicExtensionOffLabelVa7de99 -> tgtMedicationRequestExtensionTeratogenicExtensionOffLabel59ec860.value = srcMedicationRequestExtensionTeratogenicExtensionOffLabelVa7de99 as tgtMedicationRequestExtensionTeratogenicExtensionOffLabelVa7de99 "MedicationRequestExtensionTeratogenicExtensionOffLabelVa7de9945c"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:Off-Label.value[x]'
        } "MedicationRequestExtensionTeratogenicExtensionOffLabel59ec860e"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:Off-Label'
        srcKBVPRERPPrescriptionExtensionTRezept7033d9f5.extension as srcMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9 where url = 'EinhaltungSicherheitsmassnahmen' ->  tgtEPAMedicationRequestExtensionTeratogenic4ac07394.extension = create('Extension') as tgtMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9,  tgtMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9.url = 'security-compliance' then {
          srcMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9.value as srcMedicationRequestExtensionTeratogenicExtensionSecurityCo39f18 -> tgtMedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9.value = srcMedicationRequestExtensionTeratogenicExtensionSecurityCo39f18 as tgtMedicationRequestExtensionTeratogenicExtensionSecurityCo39f18 "MedicationRequestExtensionTeratogenicExtensionSecurityCo39f181ed"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen.value[x]'
        } "MedicationRequestExtensionTeratogenicExtensionSecurityCoac4e9d6c"; // Copied from 'MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen'
      } "MedicationRequestExtensionTeratogenic8a23741f"; // Copied from 'MedicationRequest.extension:T-Rezept'
      KBVPRERPPrescription.insurance -> EPAMedicationRequest.insurance "MedicationRequestInsurance8b499ebd"; // Feld wird nicht gemappt | Quelle: MedicationRequest.insurance
      KBVPRERPPrescription -> EPAMedicationRequest.insurance as tgtEPAMedicationRequestInsurance9fe43701 then {
        KBVPRERPPrescription as manualsrcMedicationRequestInsuranceDisplayc37e796c -> tgtEPAMedicationRequestInsurance9fe43701.display as tgtEPAMedicationRequestInsuranceDisplay17d9b64c "MedicationRequestInsuranceDisplayc37e796c"; // Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.display
      } "MedicationRequestInsuranceDisplayc37e796c";
      KBVPRERPPrescription -> EPAMedicationRequest.insurance as tgtEPAMedicationRequestInsurance9fe43701 then {
        KBVPRERPPrescription.insurance as srcKBVPRERPPrescriptionInsurance97877d04 then {
          srcKBVPRERPPrescriptionInsurance97877d04.extension -> tgtEPAMedicationRequestInsurance9fe43701.extension "MedicationRequestInsuranceExtension863b718a"; // Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.extension
        } "MedicationRequestInsuranceExtension863b718a";
      } "MedicationRequestInsuranceExtension863b718a";
      KBVPRERPPrescription -> EPAMedicationRequest.insurance as tgtEPAMedicationRequestInsurance9fe43701 then {
        KBVPRERPPrescription.insurance as srcKBVPRERPPrescriptionInsurance97877d04 then {
          srcKBVPRERPPrescriptionInsurance97877d04.id -> tgtEPAMedicationRequestInsurance9fe43701.id "MedicationRequestInsuranceIdd780df33"; // Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.id
        } "MedicationRequestInsuranceIdd780df33";
      } "MedicationRequestInsuranceIdd780df33";
      KBVPRERPPrescription -> EPAMedicationRequest.insurance as tgtEPAMedicationRequestInsurance9fe43701 then {
        KBVPRERPPrescription as manualsrcMedicationRequestInsuranceIdentifier795c84b1 -> tgtEPAMedicationRequestInsurance9fe43701.identifier as tgtEPAMedicationRequestInsuranceIdentifierd814480c "MedicationRequestInsuranceIdentifier795c84b1"; // Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.identifier
      } "MedicationRequestInsuranceIdentifier795c84b1";
      KBVPRERPPrescription -> EPAMedicationRequest.insurance as tgtEPAMedicationRequestInsurance9fe43701 then {
        KBVPRERPPrescription.insurance as srcKBVPRERPPrescriptionInsurance97877d04 then {
          srcKBVPRERPPrescriptionInsurance97877d04.reference -> tgtEPAMedicationRequestInsurance9fe43701.reference "MedicationRequestInsuranceReferenced20f7e2a"; // Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.reference
        } "MedicationRequestInsuranceReferenced20f7e2a";
      } "MedicationRequestInsuranceReferenced20f7e2a";
      KBVPRERPPrescription -> EPAMedicationRequest.insurance as tgtEPAMedicationRequestInsurance9fe43701 then {
        KBVPRERPPrescription as manualsrcMedicationRequestInsuranceTypec5db1613 -> tgtEPAMedicationRequestInsurance9fe43701.type as tgtEPAMedicationRequestInsuranceType76384abe "MedicationRequestInsuranceTypec5db1613"; // Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.type
      } "MedicationRequestInsuranceTypec5db1613";
      KBVPRERPPrescription.intent as srcKBVPRERPPrescriptionIntentd287d5c0 -> EPAMedicationRequest.intent = srcKBVPRERPPrescriptionIntentd287d5c0 as tgtEPAMedicationRequestIntentc2c09deb "MedicationRequestIntentd6f3b441"; // Automatic copy
      KBVPRERPPrescription.medication as srcKBVPRERPPrescriptionMedicationXMedicationreferencee836d317 -> EPAMedicationRequest.medication = srcKBVPRERPPrescriptionMedicationXMedicationreferencee836d317 as tgtEPAMedicationRequestMedicationXb2342a1d "MedicationRequestMedicationXMedicationreferencecdf4aaa2"; // Copied to 'MedicationRequest.medication[x]'
      KBVPRERPPrescription.meta as srcKBVPRERPPrescriptionMetaebbb9882 -> EPAMedicationRequest.meta = create('Meta') as tgtEPAMedicationRequestMeta55fad1b0 then {
        srcKBVPRERPPrescriptionMetaebbb9882 as srcMedicationRequestMetaProfile56c958a8 -> tgtEPAMedicationRequestMeta55fad1b0.profile = 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request' as tgtMedicationRequestMetaProfile56c958a8 "MedicationRequestMetaProfile56c958a8"; // Fixed value 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request'
      } "MedicationRequestMeta9962a339"; // Automatic copy
      KBVPRERPPrescription.note as srcKBVPRERPPrescriptionNote271cad5f -> EPAMedicationRequest.note = srcKBVPRERPPrescriptionNote271cad5f as tgtEPAMedicationRequestNote7f5e9d21 "MedicationRequestNote3f48e22b"; // Copied to 'MedicationRequest.note'
      KBVPRERPPrescription.requester as srcKBVPRERPPrescriptionRequester66a1f0a5 -> EPAMedicationRequest.requester = srcKBVPRERPPrescriptionRequester66a1f0a5 as tgtEPAMedicationRequestRequester76629bb4 "MedicationRequestRequester3e498d80"; // Copied to 'MedicationRequest.requester'
      KBVPRERPPrescription.status as srcKBVPRERPPrescriptionStatusdacc71a5 -> EPAMedicationRequest.status = srcKBVPRERPPrescriptionStatusdacc71a5 as tgtEPAMedicationRequestStatuse5522c01 "MedicationRequestStatus67a37e7d"; // Automatic copy
      KBVPRERPPrescription.subject -> EPAMedicationRequest.subject "MedicationRequestSubjectfe47ad58"; // Manual action required | Transformationsregel F_007: Wird aus KBV_PR_FOR_Patient.identifier:versichertenId übernommen. | Quelle: MedicationRequest.subject
      KBVPRERPPrescription -> EPAMedicationRequest.subject as tgtEPAMedicationRequestSubject8a8bf8a9 then {
        KBVPRERPPrescription as manualsrcMedicationRequestSubjectIdentifier9f3d69ea -> tgtEPAMedicationRequestSubject8a8bf8a9.identifier as tgtEPAMedicationRequestSubjectIdentifier1e1464d1 "MedicationRequestSubjectIdentifier9f3d69ea"; // Manual action required | Befüllen von .subject nach Transformationsregel F_010 | Quelle: MedicationRequest.subject.identifier
      } "MedicationRequestSubjectIdentifier9f3d69ea";
      KBVPRERPPrescription.substitution as srcKBVPRERPPrescriptionSubstitution3af41d78 -> EPAMedicationRequest.substitution = srcKBVPRERPPrescriptionSubstitution3af41d78 as tgtEPAMedicationRequestSubstitution4b4fd116 "MedicationRequestSubstitution5015c761"; // Copied to 'MedicationRequest.substitution'
    }