| Active as of 2026-10-02 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir/StructureMap/ERPTPrescriptionStructureMapKBVIngredientMedication> a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:Resource.id [ fhir:value "ERPTPrescriptionStructureMapKBVIngredientMedication"] ; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap ERPTPrescriptionStructureMapKBVIngredientMedication</b></p><a name=\"ERPTPrescriptionStructureMapKBVIngredientMedication\"> </a><a name=\"hcERPTPrescriptionStructureMapKBVIngredientMedication\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://gematik.de/fhir/tiflow-bfarm/StructureMap/ERPTPrescriptionStructureMapKBVIngredientMedication<span style=\"color: navy\">\" = \"</span>ERPTPrescriptionStructureMapKBVIngredientMedication<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Maps KBV-Ingredient ERP Medication to BfArM T-Prescription Medication format</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/medication.html\" title=\"Medication\">http://hl7.org/fhir/StructureDefinition/Medication</a><span style=\"color: navy\">\" </span><b>alias </b>kbvMedicationIngredient <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/medication.html\" title=\"Medication\">http://hl7.org/fhir/StructureDefinition/Medication</a><span style=\"color: navy\">\" </span><b>alias </b>bfarmMedication <b>as </b><b>target</b>#xD;\n#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">Mapping-Anweisungen zur Transformation von KBV Wirkstoff-Medikamenten zu BfArM T-Prescription Format</span>#xD;\n<b>group </b>ERPTPrescriptionStructureMapKBVIngredientMedication<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">kbvMedicationIngredient</span><span style=\"color: navy\"> : </span>kbvMedicationIngredient, <b>target</b> <span style=\"color: maroon\">bfarmMedication</span><span style=\"color: navy\"> : </span>bfarmMedication<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Übernimmt die eindeutige Medication-ID unverändert</span>#xD;\n kbvMedicationIngredient.id<b> as </b><span style=\"color: maroon\">IdVar</span><span style=\"color: navy\"><b> -> </b></span>bfarmMedication.id = <span style=\"color: maroon\">IdVar</span> <i>\"medicationId\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Mappt Medication-Extensions von KBV- zu BfArM-Format</span>#xD;\n kbvMedicationIngredient.extension<b> as </b><span style=\"color: maroon\">extVar</span><span style=\"color: navy\"><b> -> </b></span>bfarmMedication.extension<b> as </b><span style=\"color: maroon\">tgtExtVar</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Übernimmt die Normgröße-Extension unverändert (deutsche Packungsgrößenangabe)</span>#xD;\n extVar<b> where </b><span style=\"color: navy\">(</span>url='http://fhir.de/StructureDefinition/normgroesse'<span style=\"color: navy\">)</span><span style=\"color: navy\"><b> -> </b></span>tgtExtVar.url = <span style=\"color: blue\">'http://fhir.de/StructureDefinition/normgroesse'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Kopiert den Wert der Normgröße-Extension (N1, N2, N3)</span>#xD;\n extVar.value<b> as </b><span style=\"color: maroon\">extValVar</span><span style=\"color: navy\"><b> -> </b></span>tgtExtVar.value = <span style=\"color: maroon\">extValVar</span> <i>\"copyExtensionValue\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"copyNormgroesseExtensionUrl\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"medicationExt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Kopiert die gewünschte Darreichungsform für die Wirkstoff-Verordnung (Kapseln, Salbe, Lösung, etc.)</span>#xD;\n kbvMedicationIngredient.form<b> as </b><span style=\"color: maroon\">formVar</span><span style=\"color: navy\"><b> -> </b></span>bfarmMedication.form = <span style=\"color: maroon\">formVar</span> <i>\"medicationForm\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Mappt die Gesamtmenge der herzustellenden Wirkstoff-Verordnung</span>#xD;\n kbvMedicationIngredient.amount<b> as </b><span style=\"color: maroon\">amountVar</span><span style=\"color: navy\"><b> -> </b></span>bfarmMedication.amount<b> as </b><span style=\"color: maroon\">tgtAmountVar</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Kopiert den Nenner der Mengenangabe (z.B. '1' für 'pro Herstellung')</span>#xD;\n amountVar.denominator<b> as </b><span style=\"color: maroon\">amountDenominatorVar</span><span style=\"color: navy\"><b> -> </b></span>tgtAmountVar.denominator = <span style=\"color: maroon\">amountDenominatorVar</span> <i>\"medicationAmountDenominator\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Mappt die detaillierte Mengenangabe</span>#xD;\n amountVar.numerator<b> as </b><span style=\"color: maroon\">amountNumeratorVar</span><span style=\"color: navy\"><b> -> </b></span>tgtAmountVar.numerator<b> as </b><span style=\"color: maroon\">tgtAmountNumeratorVar</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Transformiert Packungsgrößen-Extensions von KBV- zu gematik-Format für Wirkstoff Verordnung</span>#xD;\n amountNumeratorVar.extension<b> as </b><span style=\"color: maroon\">amountNumExtVar</span><span style=\"color: navy\"><b> -> </b></span>tgtAmountNumeratorVar.extension<b> as </b><span style=\"color: maroon\">tgtAmountNumExtVar</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Wandelt KBV-Packungsgrößen-Extension in gematik EPA-Medication Extension um</span>#xD;\n amountNumExtVar<b> where </b><span style=\"color: navy\">(</span>url='https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize'<span style=\"color: navy\">)</span><span style=\"color: navy\"><b> -> </b></span>tgtAmountNumExtVar.url = <span style=\"color: blue\">'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension'</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Übernimmt den Packungsgrößenwert</span>#xD;\n amountNumExtVar.value<b> as </b><span style=\"color: maroon\">extValVar</span><span style=\"color: navy\"><b> -> </b></span>tgtAmountNumExtVar.value = <span style=\"color: maroon\">extValVar</span> <i>\"copyExtensionValue\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"copyPackagingSizeExtensionUrl\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"medicationAmountExt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Kopiert den numerischen Wert der Gesamtmenge (z.B. '100' für 100g Salbe)</span>#xD;\n amountNumeratorVar.value<b> as </b><span style=\"color: maroon\">amountNumeratorValueVar</span><span style=\"color: navy\"><b> -> </b></span>tgtAmountNumeratorVar.value = <span style=\"color: maroon\">amountNumeratorValueVar</span> <i>\"medicationAmountNumeratorValue\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Übernimmt die Mengeneinheit (g, ml, Stück, etc.)</span>#xD;\n amountNumeratorVar.unit<b> as </b><span style=\"color: maroon\">amountNumeratorUnitVar</span><span style=\"color: navy\"><b> -> </b></span>tgtAmountNumeratorVar.unit = <span style=\"color: maroon\">amountNumeratorUnitVar</span> <i>\"medicationAmountNumeratorUnit\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Kopiert das Codesystem für die Mengeneinheit (meist UCUM)</span>#xD;\n amountNumeratorVar.system<b> as </b><span style=\"color: maroon\">amountNumeratorSystemVar</span><span style=\"color: navy\"><b> -> </b></span>tgtAmountNumeratorVar.system = <span style=\"color: maroon\">amountNumeratorSystemVar</span> <i>\"medicationAmountNumeratorSystem\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Übernimmt den standardisierten Code für die Mengeneinheit</span>#xD;\n amountNumeratorVar.code<b> as </b><span style=\"color: maroon\">amountNumeratorCodeVar</span><span style=\"color: navy\"><b> -> </b></span>tgtAmountNumeratorVar.code = <span style=\"color: maroon\">amountNumeratorCodeVar</span> <i>\"medicationAmountNumeratorCode\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"medicationAmountNumerator\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"medicationAmount\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Kopiert die detaillierten Wirkstoffinformationen mit Konzentrationen und Mengenangaben</span>#xD;\n kbvMedicationIngredient.ingredient<b> as </b><span style=\"color: maroon\">ingredientVar</span><span style=\"color: navy\"><b> -> </b></span>bfarmMedication.ingredient = <span style=\"color: maroon\">ingredientVar</span> <i>\"medicationIngredient\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>" ] ; fhir:StructureMap.url [ fhir:value "https://gematik.de/fhir/tiflow-bfarm/StructureMap/ERPTPrescriptionStructureMapKBVIngredientMedication"] ; fhir:StructureMap.version [ fhir:value "2.0.0"] ; fhir:StructureMap.name [ fhir:value "ERPTPrescriptionStructureMapKBVIngredientMedication"] ; fhir:StructureMap.title [ fhir:value "E-T-Rezept Structure Map for KBV Ingredient Medication"] ; fhir:StructureMap.status [ fhir:value "active"] ; fhir:StructureMap.experimental [ fhir:value "false"^^xsd:boolean] ; fhir:StructureMap.date [ fhir:value "2026-10-02"^^xsd:date] ; fhir:StructureMap.publisher [ fhir:value "gematik GmbH"] ; fhir:StructureMap.contact [ fhir:index 0 ; fhir:ContactDetail.name [ fhir:value "gematik GmbH" ] ; fhir:ContactDetail.telecom [ fhir:index 0 ; fhir:ContactPoint.system [ fhir:value "url" ] ; fhir:ContactPoint.value [ fhir:value "https://gematik.de" ] ], [ fhir:index 1 ; fhir:ContactPoint.system [ fhir:value "email" ] ; fhir:ContactPoint.value [ fhir:value "erp-umsetzung@gematik.de" ] ] ] ; fhir:StructureMap.description [ fhir:value "Maps KBV-Ingredient ERP Medication to BfArM T-Prescription Medication format"] ; fhir:StructureMap.jurisdiction [ fhir:index 0 ; fhir:CodeableConcept.coding [ fhir:index 0 ; fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ; fhir:Coding.code [ fhir:value "DE" ] ; fhir:Coding.display [ fhir:value "Germany" ] ] ] ; fhir:StructureMap.structure [ fhir:index 0 ; fhir:StructureMap.structure.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/Medication" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Medication> ] ; fhir:StructureMap.structure.mode [ fhir:value "source" ] ; fhir:StructureMap.structure.alias [ fhir:value "kbvMedicationIngredient" ] ], [ fhir:index 1 ; fhir:StructureMap.structure.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/Medication" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Medication> ] ; fhir:StructureMap.structure.mode [ fhir:value "target" ] ; fhir:StructureMap.structure.alias [ fhir:value "bfarmMedication" ] ] ; fhir:StructureMap.group [ fhir:index 0 ; fhir:StructureMap.group.name [ fhir:value "ERPTPrescriptionStructureMapKBVIngredientMedication" ] ; fhir:StructureMap.group.typeMode [ fhir:value "none" ] ; fhir:StructureMap.group.documentation [ fhir:value "Mapping-Anweisungen zur Transformation von KBV Wirkstoff-Medikamenten zu BfArM T-Prescription Format" ] ; fhir:StructureMap.group.input [ fhir:index 0 ; fhir:StructureMap.group.input.name [ fhir:value "kbvMedicationIngredient" ] ; fhir:StructureMap.group.input.type [ fhir:value "kbvMedicationIngredient" ] ; fhir:StructureMap.group.input.mode [ fhir:value "source" ] ], [ fhir:index 1 ; fhir:StructureMap.group.input.name [ fhir:value "bfarmMedication" ] ; fhir:StructureMap.group.input.type [ fhir:value "bfarmMedication" ] ; fhir:StructureMap.group.input.mode [ fhir:value "target" ] ] ; fhir:StructureMap.group.rule [ fhir:index 0 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationId" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "kbvMedicationIngredient" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "IdVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "bfarmMedication" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "IdVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Übernimmt die eindeutige Medication-ID unverändert" ] ], [ fhir:index 1 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationExt" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "kbvMedicationIngredient" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "extVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "bfarmMedication" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ; fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtExtVar" ] ] ; fhir:StructureMap.group.rule.rule [ fhir:index 0 ; fhir:StructureMap.group.rule.name [ fhir:value "copyNormgroesseExtensionUrl" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "extVar" ] ; fhir:StructureMap.group.rule.source.condition [ fhir:value "url='http://fhir.de/StructureDefinition/normgroesse'" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtExtVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://fhir.de/StructureDefinition/normgroesse" ] ] ] ; fhir:StructureMap.group.rule.rule [ fhir:index 0 ; fhir:StructureMap.group.rule.name [ fhir:value "copyExtensionValue" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "extVar" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "extValVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtExtVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "extValVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Kopiert den Wert der Normgröße-Extension (N1, N2, N3)" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Übernimmt die Normgröße-Extension unverändert (deutsche Packungsgrößenangabe)" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Mappt Medication-Extensions von KBV- zu BfArM-Format" ] ], [ fhir:index 2 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationForm" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "kbvMedicationIngredient" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "form" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "formVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "bfarmMedication" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "form" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "formVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Kopiert die gewünschte Darreichungsform für die Wirkstoff-Verordnung (Kapseln, Salbe, Lösung, etc.)" ] ], [ fhir:index 3 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationAmount" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "kbvMedicationIngredient" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "amount" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "amountVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "bfarmMedication" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "amount" ] ; fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtAmountVar" ] ] ; fhir:StructureMap.group.rule.rule [ fhir:index 0 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationAmountDenominator" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "amountVar" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "denominator" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "amountDenominatorVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtAmountVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "denominator" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "amountDenominatorVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Kopiert den Nenner der Mengenangabe (z.B. '1' für 'pro Herstellung')" ] ], [ fhir:index 1 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationAmountNumerator" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "amountVar" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "numerator" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "amountNumeratorVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtAmountVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "numerator" ] ; fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtAmountNumeratorVar" ] ] ; fhir:StructureMap.group.rule.rule [ fhir:index 0 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationAmountExt" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "amountNumeratorVar" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "amountNumExtVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtAmountNumeratorVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ; fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtAmountNumExtVar" ] ] ; fhir:StructureMap.group.rule.rule [ fhir:index 0 ; fhir:StructureMap.group.rule.name [ fhir:value "copyPackagingSizeExtensionUrl" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "amountNumExtVar" ] ; fhir:StructureMap.group.rule.source.condition [ fhir:value "url='https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize'" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtAmountNumExtVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension" ] ] ] ; fhir:StructureMap.group.rule.rule [ fhir:index 0 ; fhir:StructureMap.group.rule.name [ fhir:value "copyExtensionValue" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "amountNumExtVar" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "extValVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtAmountNumExtVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "extValVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Übernimmt den Packungsgrößenwert" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Wandelt KBV-Packungsgrößen-Extension in gematik EPA-Medication Extension um" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Transformiert Packungsgrößen-Extensions von KBV- zu gematik-Format für Wirkstoff Verordnung" ] ], [ fhir:index 1 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationAmountNumeratorValue" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "amountNumeratorVar" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "amountNumeratorValueVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtAmountNumeratorVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "amountNumeratorValueVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Kopiert den numerischen Wert der Gesamtmenge (z.B. '100' für 100g Salbe)" ] ], [ fhir:index 2 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationAmountNumeratorUnit" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "amountNumeratorVar" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "amountNumeratorUnitVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtAmountNumeratorVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "amountNumeratorUnitVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Übernimmt die Mengeneinheit (g, ml, Stück, etc.)" ] ], [ fhir:index 3 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationAmountNumeratorSystem" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "amountNumeratorVar" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "system" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "amountNumeratorSystemVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtAmountNumeratorVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "amountNumeratorSystemVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Kopiert das Codesystem für die Mengeneinheit (meist UCUM)" ] ], [ fhir:index 4 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationAmountNumeratorCode" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "amountNumeratorVar" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "amountNumeratorCodeVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "tgtAmountNumeratorVar" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "amountNumeratorCodeVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Übernimmt den standardisierten Code für die Mengeneinheit" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Mappt die detaillierte Mengenangabe" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Mappt die Gesamtmenge der herzustellenden Wirkstoff-Verordnung" ] ], [ fhir:index 4 ; fhir:StructureMap.group.rule.name [ fhir:value "medicationIngredient" ] ; fhir:StructureMap.group.rule.source [ fhir:index 0 ; fhir:StructureMap.group.rule.source.context [ fhir:value "kbvMedicationIngredient" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "ingredient" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "ingredientVar" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index 0 ; fhir:StructureMap.group.rule.target.context [ fhir:value "bfarmMedication" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "ingredient" ] ; fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ; fhir:StructureMap.group.rule.target.parameter [ fhir:index 0 ; fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ingredientVar" ] ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Kopiert die detaillierten Wirkstoffinformationen mit Konzentrationen und Mengenangaben" ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/StructureMap/ERPTPrescriptionStructureMapKBVIngredientMedication.ttl> a owl:Ontology ; owl:imports fhir:fhir.ttl ; owl:versionIRI <http://build.fhir.org/StructureMap/ERPTPrescriptionStructureMapKBVIngredientMedication.ttl> .
IG © 2026+ gematik GmbH. Paket de.gematik.tiflow.bfarm#2.0.0 basierend auf FHIR 4.0.1. Generiert 2026-10-02
Links: Table of Contents |
QA Report