KBVPrErpPrescriptionMap
type: StructureMap
node role: treeRoot
resource.id:
  value: KBVPrErpPrescriptionMap
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Generated Narrative: StructureMap KBVPrErpPrescriptionMap #xD; map "https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpPrescriptionMap" = "KBVPrErpPrescriptionMap"#xD; #xD; // Auto-generated StructureMap for KBV_PR_ERP_Prescription|1.4.0 -> EPAMedicationRequest|1.3.0#xD; #xD; uses "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription" alias KBVPRERPPrescription as source#xD; uses "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" alias EPAMedicationRequest as target#xD; #xD; // Mapping generated for KBV_PR_ERP_Prescription|1.4.0 -> EPAMedicationRequest|1.3.0#xD; group KBVPrErpPrescriptionMap(source KBVPRERPPrescription : KBVPRERPPrescription, target EPAMedicationRequest : EPAMedicationRequest) <<types>> {#xD; KBVPRERPPrescription.authoredOn as srcKBVPRERPPrescriptionAuthoredon3962f227 -> EPAMedicationRequest.authoredOn = srcKBVPRERPPrescriptionAuthoredon3962f227 as tgtEPAMedicationRequestAuthoredonbb8b1afd "MedicationRequestAuthoredoncccaaca3"; // Automatic copy#xD; KBVPRERPPrescription.basedOn as srcKBVPRERPPrescriptionBasedon44096147 -> EPAMedicationRequest.basedOn = srcKBVPRERPPrescriptionBasedon44096147 as tgtEPAMedicationRequestBasedon1481cab7 "MedicationRequestBasedonc8b5003b"; // Copied to 'MedicationRequest.basedOn'#xD; KBVPRERPPrescription.dispenseRequest as srcKBVPRERPPrescriptionDispenserequest1783274a -> EPAMedicationRequest.dispenseRequest = srcKBVPRERPPrescriptionDispenserequest1783274a as tgtEPAMedicationRequestDispenserequest519b8c09 "MedicationRequestDispenserequestabc39b18"; // Copied to 'MedicationRequest.dispenseRequest'#xD; KBVPRERPPrescription.dosageInstruction as srcKBVPRERPPrescriptionDosageinstructionc10ce439 -> EPAMedicationRequest.dosageInstruction = srcKBVPRERPPrescriptionDosageinstructionc10ce439 as tgtEPAMedicationRequestDosageinstructionc76ffbd5 "MedicationRequestDosageinstruction0c18f214"; // Copied to 'MedicationRequest.dosageInstruction'#xD; KBVPRERPPrescription.extension as s…
structure map.url:
  value: https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpPrescriptionMap
structure map.version:
  value: 2.0.0-ballot.2
structure map.name:
  value: KBVPrErpPrescriptionMap
structure map.status:
  value: active
structure map.date:
  value: 2026-02-02
structure map.publisher:
  value: gematik GmbH
structure map.contact:
  index: 0
  contact detail.name:
    value: gematik GmbH
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: https://gematik.de
  contact detail.telecom:
    index: 1
    contact point.system:
      value: email
structure map.description:
  value: Auto-generated StructureMap for KBV_PR_ERP_Prescription|1.4.0 -> EPAMedicationRequest|1.3.0
structure map.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: DE
    coding.display:
      value: Germany
structure map.structure:
  index: 0
  structure map.structure.url:
    value: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription
    link: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription
  structure map.structure.mode:
    value: source
  structure map.structure.alias:
    value: KBVPRERPPrescription
structure map.structure:
  index: 1
  structure map.structure.url:
    value: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request
    link: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: EPAMedicationRequest
structure map.group:
  index: 0
  structure map.group.name:
    value: KBVPrErpPrescriptionMap
  structure map.group.type mode:
    value: types
  structure map.group.documentation:
    value: Mapping generated for KBV_PR_ERP_Prescription|1.4.0 -> EPAMedicationRequest|1.3.0
  structure map.group.input:
    index: 0
    structure map.group.input.name:
      value: KBVPRERPPrescription
    structure map.group.input.type:
      value: KBVPRERPPrescription
    structure map.group.input.mode:
      value: source
  structure map.group.input:
    index: 1
    structure map.group.input.name:
      value: EPAMedicationRequest
    structure map.group.input.type:
      value: EPAMedicationRequest
    structure map.group.input.mode:
      value: target
  structure map.group.rule:
    index: 0
    structure map.group.rule.name:
      value: MedicationRequestAuthoredoncccaaca3
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPPrescription
      structure map.group.rule.source.element:
        value: authoredOn
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: EPAMedicationRequest
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: authoredOn
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Automatic copy
  structure map.group.rule:
    index: 1
    structure map.group.rule.name:
      value: MedicationRequestBasedonc8b5003b
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPPrescription
      structure map.group.rule.source.element:
        value: basedOn
      structure map.group.rule.source.variable:
        value: srcKBVPRERPPrescriptionBasedon44096147
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: EPAMedicationRequest
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: basedOn
      structure map.group.rule.target.variable:
        value: tgtEPAMedicationRequestBasedon1481cab7
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied to 'MedicationRequest.basedOn'
  structure map.group.rule:
    index: 2
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPPrescription
      structure map.group.rule.source.element:
        value: dispenseRequest
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: EPAMedicationRequest
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: dispenseRequest
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied to 'MedicationRequest.dispenseRequest'
  structure map.group.rule:
    index: 3
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPPrescription
      structure map.group.rule.source.element:
        value: dosageInstruction
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: EPAMedicationRequest
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: dosageInstruction
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied to 'MedicationRequest.dosageInstruction'
  structure map.group.rule:
    index: 4
    structure map.group.rule.name:
      value: MedicationRequestExtension9fb7a1e1
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPPrescription
      structure map.group.rule.source.element:
        value: extension
      structure map.group.rule.source.condition:
        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…
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: EPAMedicationRequest
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: extension

value: srcKBVPRERPPrescriptionBasedon44096147

value: copy

index: 0

value: Automatic copy

index: 5
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
structure map.group.rule.documentation:
  value: Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Dosierungskennzeichen

index: 6
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
structure map.group.rule.documentation:
  value: Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Notdienstgebuehr

index: 7
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Accident'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
structure map.group.rule.documentation:
  value: Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Unfallinformationen

index: 8
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
structure map.group.rule.documentation:
  value: Feld wird nicht gemappt | Quelle: MedicationRequest.extension:Zuzahlungsstatus

index: 9
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' and url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
structure map.group.rule.documentation:
  value: Automatic copy

index: 10
structure map.group.rule.name:
  value: MedicationRequestExtensionIsser59899e4f
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: value
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:SER.value[x]'
structure map.group.rule.documentation:
  value: Copied from 'MedicationRequest.extension:SER'

index: 11
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    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'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      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'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension'
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      value: url = 'Nummerierung'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: counter
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: value
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value
      structure map.group.rule.target.transform:
        value: create
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung.value[x]'
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Nummerierung'
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      value: url = 'ID'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: id
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: value
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value
      structure map.group.rule.target.transform:
        value: create
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:ID.value[x]'
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:ID'
structure map.group.rule.rule:
  index: 3
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      value: url = 'Kennzeichen'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: indicator
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: value
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value

value: Ratio

value: Identifier

value: copy

index: 0

value: Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen.value[x]'

value: Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Kennzeichen'

index: 4
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'Zeitraum'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: period
structure map.group.rule.documentation:
  value: Copied from 'MedicationRequest.extension:Mehrfachverordnung.extension:Zeitraum'

value: Copied from 'MedicationRequest.extension:Mehrfachverordnung'

index: 12
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    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'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      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'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension'
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      value: url = 'ErgaenzendeAngabenSubstitutionsmittel'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: additional-information-substitutes
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: value
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]'
  structure map.group.rule.rule:
    index: 1
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: value
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel.value[x]:valueString'
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:ErgaenzendeAngabenSubstitutionsmittel'
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      value: url = 'BtM-Sonderkennzeichen'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: narcotics-markings
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: value
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen.value[x]'
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:Betaeubungsmittel.extension:BtM-Sonderkennzeichen'
structure map.group.rule.documentation:
  value: Copied from 'MedicationRequest.extension:Betaeubungsmittel'

index: 13
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Patient_ID'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-id-extension
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: value
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Identifier
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:PatientenID.value[x]'
structure map.group.rule.documentation:
  value: Copied from 'MedicationRequest.extension:PatientenID'

index: 14
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Prescriber_ID'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: https://gematik.de/fhir/epa-medication/StructureDefinition/prescriber-id-extension
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: value
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Identifier
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:VerschreiberID.value[x]'
structure map.group.rule.documentation:
  value: Copied from 'MedicationRequest.extension:VerschreiberID'

index: 15
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' and url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
  structure map.group.rule.documentation:
    value: Copied to 'MedicationRequest.extension:renderedDosageInstruction.extension'
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: id
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
  structure map.group.rule.documentation:
    value: Copied to 'MedicationRequest.extension:renderedDosageInstruction.id'
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: value
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
  structure map.group.rule.documentation:
    value: Copied to 'MedicationRequest.extension:renderedDosageInstruction.value[x]'
structure map.group.rule.documentation:
  value: Copied to 'MedicationRequest.extension:renderedDosageInstruction'

index: 16
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    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'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: https://gematik.de/fhir/epa-medication/StructureDefinition/teratogenic-extension
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      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'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:T-Rezept.extension'
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      value: url = 'GebaerfaehigeFrau'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: childbearing-potential
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: value
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied from 'MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau.value[x]'
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:T-Rezept.extension:GebaerfaehigeFrau'
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      value: url = 'ErklaerungSachkenntnis'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: declaration-of-expertise
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: value
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied from 'MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis.value[x]'
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:T-Rezept.extension:ErklaerungSachkenntnis'
structure map.group.rule.rule:
  index: 3
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: extension
    structure map.group.rule.source.condition:
      value: url = 'AushaendigungInformationsmaterialien'
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: hand-out-information-material
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: value
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value

value: copy

index: 0

value: Copied from 'MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien.value[x]'

value: Copied from 'MedicationRequest.extension:T-Rezept.extension:AushaendigungInformationsmaterialien'

index: 4
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'Off-Label'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: off-label
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: value
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:T-Rezept.extension:Off-Label.value[x]'
structure map.group.rule.documentation:
  value: Copied from 'MedicationRequest.extension:T-Rezept.extension:Off-Label'

index: 5
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'EinhaltungSicherheitsmassnahmen'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: security-compliance
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.element:
      value: value
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
  structure map.group.rule.documentation:
    value: Copied from 'MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen.value[x]'
structure map.group.rule.documentation:
  value: Copied from 'MedicationRequest.extension:T-Rezept.extension:EinhaltungSicherheitsmassnahmen'

value: Copied from 'MedicationRequest.extension:T-Rezept'

index: 17
structure map.group.rule.name:
  value: MedicationRequestInsurance8b499ebd
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: insurance
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
structure map.group.rule.documentation:
  value: Feld wird nicht gemappt | Quelle: MedicationRequest.insurance

index: 18
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: KBVPRERPPrescription
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: display
  structure map.group.rule.documentation:
    value: Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.display

index: 19
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: KBVPRERPPrescription
    structure map.group.rule.source.element:
      value: insurance
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: extension
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: extension
    structure map.group.rule.documentation:
      value: Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.extension

index: 20
structure map.group.rule.name:
  value: MedicationRequestInsuranceIdd780df33
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: MedicationRequestInsuranceIdd780df33
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: KBVPRERPPrescription
    structure map.group.rule.source.element:
      value: insurance
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: MedicationRequestInsuranceIdd780df33
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: id
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: id
    structure map.group.rule.documentation:
      value: Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.id

index: 21
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: KBVPRERPPrescription
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: identifier
  structure map.group.rule.documentation:
    value: Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.identifier

index: 22
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: KBVPRERPPrescription
    structure map.group.rule.source.element:
      value: insurance
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: reference
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: reference
    structure map.group.rule.documentation:
      value: Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.reference

index: 23
structure map.group.rule.name:
  value: MedicationRequestInsuranceTypec5db1613
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: MedicationRequestInsuranceTypec5db1613
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: KBVPRERPPrescription
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: type
  structure map.group.rule.documentation:
    value: Feld wird nicht gemappt | Inherited from MedicationRequest.insurance | Quelle: MedicationRequest.insurance.type

index: 24
structure map.group.rule.name:
  value: MedicationRequestIntentd6f3b441
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: intent
  structure map.group.rule.source.variable:
    value: srcKBVPRERPPrescriptionIntentd287d5c0
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: intent
  structure map.group.rule.target.variable:
    value: tgtEPAMedicationRequestIntentc2c09deb
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: srcKBVPRERPPrescriptionIntentd287d5c0
structure map.group.rule.documentation:
  value: Automatic copy

index: 25
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: medication
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: medication
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
structure map.group.rule.documentation:
  value: Copied to 'MedicationRequest.medication[x]'

index: 26
structure map.group.rule.name:
  value: MedicationRequestMeta9962a339
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: meta
  structure map.group.rule.source.variable:
    value: srcKBVPRERPPrescriptionMetaebbb9882
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: meta
  structure map.group.rule.target.variable:
    value: tgtEPAMedicationRequestMeta55fad1b0
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Meta
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: MedicationRequestMetaProfile56c958a8
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: srcKBVPRERPPrescriptionMetaebbb9882
    structure map.group.rule.source.variable:
      value: srcMedicationRequestMetaProfile56c958a8
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgtEPAMedicationRequestMeta55fad1b0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: profile
    structure map.group.rule.target.variable:
      value: tgtMedicationRequestMetaProfile56c958a8
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request
  structure map.group.rule.documentation:
    value: Fixed value 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request'
structure map.group.rule.documentation:
  value: Automatic copy

index: 27
structure map.group.rule.name:
  value: MedicationRequestNote3f48e22b
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: note
  structure map.group.rule.source.variable:
    value: srcKBVPRERPPrescriptionNote271cad5f
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: note
  structure map.group.rule.target.variable:
    value: tgtEPAMedicationRequestNote7f5e9d21
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: srcKBVPRERPPrescriptionNote271cad5f
structure map.group.rule.documentation:
  value: Copied to 'MedicationRequest.note'

index: 28
structure map.group.rule.name:
  value: MedicationRequestRequester3e498d80
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: requester
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: requester
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
structure map.group.rule.documentation:
  value: Copied to 'MedicationRequest.requester'

index: 29
structure map.group.rule.name:
  value: MedicationRequestStatus67a37e7d
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: status
  structure map.group.rule.source.variable:
    value: srcKBVPRERPPrescriptionStatusdacc71a5
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: status
  structure map.group.rule.target.variable:
    value: tgtEPAMedicationRequestStatuse5522c01
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: srcKBVPRERPPrescriptionStatusdacc71a5
structure map.group.rule.documentation:
  value: Automatic copy

index: 30
structure map.group.rule.name:
  value: MedicationRequestSubjectfe47ad58
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: subject
  structure map.group.rule.source.variable:
    value: srcKBVPRERPPrescriptionSubjectb79dbef0
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: subject
  structure map.group.rule.target.variable:
    value: tgtEPAMedicationRequestSubject8a8bf8a9
structure map.group.rule.documentation:
  value: Manual action required | Transformationsregel F_007: Wird aus KBV_PR_FOR_Patient.identifier:versichertenId übernommen. | Quelle: MedicationRequest.subject

index: 31
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: subject
  structure map.group.rule.target.variable:
    value: tgtEPAMedicationRequestSubject8a8bf8a9
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: KBVPRERPPrescription
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgtEPAMedicationRequestSubject8a8bf8a9
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: identifier
  structure map.group.rule.documentation:
    value: Manual action required | Befüllen von .subject nach Transformationsregel F_010 | Quelle: MedicationRequest.subject.identifier

index: 32
structure map.group.rule.name:
  value: MedicationRequestSubstitution5015c761
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPPrescription
  structure map.group.rule.source.element:
    value: substitution
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedicationRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: substitution
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
structure map.group.rule.documentation:
  value: Copied to 'MedicationRequest.substitution'