KBVPrErpMedicationIngredientMap
type: StructureMap
node role: treeRoot
resource.id:
  value: KBVPrErpMedicationIngredientMap
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Generated Narrative: StructureMap KBVPrErpMedicationIngredientMap #xD; map "https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpMedicationIngredientMap" = "KBVPrErpMedicationIngredientMap"#xD; #xD; // Auto-generated StructureMap for KBV_PR_ERP_Medication_Ingredient|1.4.0 -> EPAMedication|1.3.0#xD; #xD; uses "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient" alias KBVPRERPMedicationIngredient as source#xD; uses "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" alias EPAMedication as target#xD; #xD; // Mapping generated for KBV_PR_ERP_Medication_Ingredient|1.4.0 -> EPAMedication|1.3.0#xD; group KBVPrErpMedicationIngredientMap(source KBVPRERPMedicationIngredient : KBVPRERPMedicationIngredient, target EPAMedication : EPAMedication) <<types>> {#xD; KBVPRERPMedicationIngredient.amount as srcKBVPRERPMedicationIngredientAmountf5b60baf -> EPAMedication.amount = srcKBVPRERPMedicationIngredientAmountf5b60baf as tgtEPAMedicationAmount30d45c22 "MedicationAmountac45bfbc"; // Automatic copy#xD; KBVPRERPMedicationIngredient.batch as srcKBVPRERPMedicationIngredientBatch57ffbfae -> EPAMedication.batch = srcKBVPRERPMedicationIngredientBatch57ffbfae as tgtEPAMedicationBatch90ce2ac1 "MedicationBatch235a7d75"; // Copied to 'Medication.batch'#xD; KBVPRERPMedicationIngredient.code as srcKBVPRERPMedicationIngredientCode7037abb6 -> EPAMedication.code = srcKBVPRERPMedicationIngredientCode7037abb6 as tgtEPAMedicationCodea6251800 "MedicationCoded98e85bf"; // Automatic copy#xD; KBVPRERPMedicationIngredient.extension as srcKBVPRERPMedicationIngredientExtensionc921117b where url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category' and url != 'normSizeCode' and url != 'http://fhir.de/StructureDefinition/normgroesse' and url != 'Impfstoff' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type' and url != 'valueCode' and url != 'valueBoolean' and url != 'packaging' and url != 'valueCoding' a…
structure map.url:
  value: https://gematik.de/fhir/structure-comparer/StructureMap/KBVPrErpMedicationIngredientMap
structure map.version:
  value: 2.0.0-ballot.2
structure map.name:
  value: KBVPrErpMedicationIngredientMap
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_Medication_Ingredient|1.4.0 -> EPAMedication|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_Medication_Ingredient
    link: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient
  structure map.structure.mode:
    value: source
  structure map.structure.alias:
    value: KBVPRERPMedicationIngredient
structure map.structure:
  index: 1
  structure map.structure.url:
    value: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication
    link: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: EPAMedication
structure map.group:
  index: 0
  structure map.group.name:
    value: KBVPrErpMedicationIngredientMap
  structure map.group.type mode:
    value: types
  structure map.group.documentation:
    value: Mapping generated for KBV_PR_ERP_Medication_Ingredient|1.4.0 -> EPAMedication|1.3.0
  structure map.group.input:
    index: 0
    structure map.group.input.name:
      value: KBVPRERPMedicationIngredient
    structure map.group.input.type:
      value: KBVPRERPMedicationIngredient
    structure map.group.input.mode:
      value: source
  structure map.group.input:
    index: 1
    structure map.group.input.name:
      value: EPAMedication
    structure map.group.input.type:
      value: EPAMedication
    structure map.group.input.mode:
      value: target
  structure map.group.rule:
    index: 0
    structure map.group.rule.name:
      value: MedicationAmountac45bfbc
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPMedicationIngredient
      structure map.group.rule.source.element:
        value: amount
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: EPAMedication
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: amount
      structure map.group.rule.target.variable:
        value: tgtEPAMedicationAmount30d45c22
      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: MedicationBatch235a7d75
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPMedicationIngredient
      structure map.group.rule.source.element:
        value: batch
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: EPAMedication
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: batch
      structure map.group.rule.target.variable:
        value: tgtEPAMedicationBatch90ce2ac1
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied to 'Medication.batch'
  structure map.group.rule:
    index: 2
    structure map.group.rule.name:
      value: MedicationCoded98e85bf
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPMedicationIngredient
      structure map.group.rule.source.element:
        value: code
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: EPAMedication
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: code
      structure map.group.rule.target.variable:
        value: tgtEPAMedicationCodea6251800
      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: 3
    structure map.group.rule.name:
      value: MedicationExtension9f8d5121
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPMedicationIngredient
      structure map.group.rule.source.element:
        value: extension
      structure map.group.rule.source.condition:
        value: url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category' and url != 'normSizeCode' and url != 'http://fhir.de/StructureDefinition/normgroesse' and url != 'Impfstoff' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type' and url != 'valueCode' and url != 'valueBoolean' and url != 'packaging' and url != 'valueCoding' and url != 'type' and url != 'Normgroesse' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension' and url != 'manufacturingInstructions' and url != 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine' and url != 'Kategorie' and url != 'https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension' and url != 'drugCategory' and url != 'rxPrescriptionProcessIdentifier' and url != 'Arzneimittelkategorie' and url != 'isVaccine'
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: EPAMedication
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: extension
      structure map.group.rule.target.variable:
        value: tgtEPAMedicationExtension59cd7688
      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: 4
    structure map.group.rule.name:
      value: MedicationExtensionKategorie86255b0b
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: KBVPRERPMedicationIngredient

index: 0
structure map.group.rule.target.context:
  value: EPAMedication
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: extension

value: Feld wird nicht gemappt | Quelle: Medication.extension:Kategorie

index: 5
structure map.group.rule.name:
  value: MedicationExtensionDrugcategorye963e601
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPMedicationIngredient
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedication
  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/drug-category-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: Coding
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.source:
      index: 0
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: system
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Fixed value 'https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension'
  structure map.group.rule.rule:
    index: 1
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.element:
        value: code
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: code
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
    structure map.group.rule.documentation:
      value: Copied drugCategory code
  structure map.group.rule.documentation:
    value: Copied from 'Medication.extension:Arzneimittelkategorie.value[x]'
structure map.group.rule.documentation:
  value: Copied from 'Medication.extension:Arzneimittelkategorie'

index: 6
structure map.group.rule.name:
  value: MedicationExtensionIsvaccine98c25b06
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPMedicationIngredient
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine' and url = 'https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedication
  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/medication-id-vaccine-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 'Medication.extension:Impfstoff.value[x]'
structure map.group.rule.documentation:
  value: Copied from 'Medication.extension:Impfstoff'

index: 7
structure map.group.rule.name:
  value: MedicationExtensionNormsizecode34ece564
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPMedicationIngredient
  structure map.group.rule.source.element:
    value: extension
  structure map.group.rule.source.condition:
    value: url = 'http://fhir.de/StructureDefinition/normgroesse' and url = 'http://fhir.de/StructureDefinition/normgroesse'
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedication
  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://fhir.de/StructureDefinition/normgroesse
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 'Medication.extension:Normgroesse.value[x]'
structure map.group.rule.documentation:
  value: Copied from 'Medication.extension:Normgroesse'

index: 8
structure map.group.rule.name:
  value: MedicationExtensionType61374588
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPMedicationIngredient
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedication
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.variable:
    value: tgtEPAMedicationExtensionType1a2ef415
structure map.group.rule.documentation:
  value: Manual action required | Fester Wert: 781405001, Medicinal product package (product) | Quelle: Medication.extension:type

index: 9
structure map.group.rule.name:
  value: MedicationForm5a0bbd5f
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPMedicationIngredient
  structure map.group.rule.source.element:
    value: form
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedication
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: form
  structure map.group.rule.target.variable:
    value: tgtEPAMedicationForm691ed321
  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: MedicationIngredient801affef
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: KBVPRERPMedicationIngredient
  structure map.group.rule.source.element:
    value: ingredient
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: EPAMedication
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: ingredient
  structure map.group.rule.target.variable:
    value: tgtEPAMedicationIngredient78db398c
  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: BackboneElement
structure map.group.rule.documentation:
  value: Automatic copy