FHIR Extensions Pack
5.1.0 - 5.1.0 (April 2024) International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

: FML Conversion for NutritionOrder: R4 to R5 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="NutritionOrder4to5"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><pre class="fml">
<span style="color: #cc00cc">/// <b>url</b> = </span><span style="color: blue">'http://hl7.org/fhir/StructureMap/NutritionOrder4to5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'NutritionOrder4to5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for NutritionOrder: R4 to R5'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>conceptmap</b><span style="color: navy"> &quot;</span>NutritiionOrderIntent<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-request-intent.html" title="RequestIntent">http://hl7.org/fhir/4.0/request-intent</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-request-intent.html" title="RequestIntent">http://hl7.org/fhir/request-intent</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>proposal <b>-</b> t<span style="color: navy">:</span>proposal
  s<span style="color: navy">:</span>plan <b>-</b> t<span style="color: navy">:</span>plan
  s<span style="color: navy">:</span>directive <b>-</b> t<span style="color: navy">:</span>directive
  s<span style="color: navy">:</span>order <b>-</b> t<span style="color: navy">:</span>order
  s<span style="color: navy">:</span>&quot;original-order&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>original-order<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;reflex-order&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>reflex-order<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;filler-order&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>filler-order<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;instance-order&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>instance-order<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>option <b>-</b> t<span style="color: navy">:</span>option
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>NutritionOrderStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-request-status.html" title="RequestStatus">http://hl7.org/fhir/4.0/request-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-request-status.html" title="RequestStatus">http://hl7.org/fhir/request-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>draft <b>-</b> t<span style="color: navy">:</span>draft
  s<span style="color: navy">:</span>active <b>-</b> t<span style="color: navy">:</span>active
  s<span style="color: navy">:</span>&quot;on-hold&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>on-hold<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>revoked <b>-</b> t<span style="color: navy">:</span>revoked
  s<span style="color: navy">:</span>completed <b>-</b> t<span style="color: navy">:</span>completed
  s<span style="color: navy">:</span>&quot;entered-in-error&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>entered-in-error<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>unknown <b>-</b> t<span style="color: navy">:</span>unknown
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/nutritionorder.html" title="NutritionOrder">http://hl7.org/fhir/4.0/StructureDefinition/NutritionOrder</a><span style="color: navy">&quot; </span><b>alias </b>NutritionOrderR4 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/nutritionorder.html" title="NutritionOrder">http://hl7.org/fhir/StructureDefinition/NutritionOrder</a><span style="color: navy">&quot; </span><b>alias </b>NutritionOrderR5 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to5<span style="color: navy">&quot;
</span>
<b>group </b>NutritionOrder<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>NutritionOrderR4, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>NutritionOrderR5<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.instantiatesCanonical<span style="color: navy"><b> -&gt; </b></span>tgt.instantiatesCanonical<span style="color: navy">;</span>
  src.instantiatesUri<span style="color: navy"><b> -&gt; </b></span>tgt.instantiatesUri<span style="color: navy">;</span>
  src.instantiates<span style="color: navy"><b> -&gt; </b></span>tgt.instantiates<span style="color: navy">;</span>
  src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.status = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#NutritionOrderStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.basedOn -&gt; tgt.basedOn;</span>
  src.intent<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.intent = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#NutritiionOrderIntent'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.patient<span style="color: navy"><b> -&gt; </b></span>tgt.subject<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.priority as v -&gt; tgt.priority = translate(v, '#NutritionOrderPriority', 'code');</span>
  src.encounter<span style="color: navy"><b> -&gt; </b></span>tgt.encounter<span style="color: navy">;</span>
  src.dateTime<span style="color: navy"><b> -&gt; </b></span>tgt.dateTime<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.supportingInformation -&gt; tgt.supportingInformation;</span>
  src.orderer<span style="color: navy"><b> -&gt; </b></span>tgt.orderer<span style="color: navy">;</span>
  src.allergyIntolerance<span style="color: navy"><b> -&gt; </b></span>tgt.allergyIntolerance<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.performer -&gt; tgt.performer;</span>
  src.foodPreferenceModifier<span style="color: navy"><b> -&gt; </b></span>tgt.foodPreferenceModifier<span style="color: navy">;</span>
  src.excludeFoodModifier<span style="color: navy"><b> -&gt; </b></span>tgt.excludeFoodModifier<span style="color: navy">;</span>
  src.oralDiet<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.oralDiet<b> as </b><span style="color: maroon">t</span><b> then </b>NutritionOrderOralDiet<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.outsideFoodAllowed -&gt; tgt.outsideFoodAllowed;</span>
  src.supplement<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.supplement<b> as </b><span style="color: maroon">t</span><b> then </b>NutritionOrderSupplement<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.enteralFormula<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.enteralFormula<b> as </b><span style="color: maroon">t</span><b> then </b>NutritionOrderEnteralFormula<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>NutritionOrderOralDiet<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.schedule<span style="color: navy"> : </span>Timing<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.schedule<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.timing = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.nutrient<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.nutrient<b> as </b><span style="color: maroon">t</span><b> then </b>NutritionOrderOralDietNutrient<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.texture<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.texture<b> as </b><span style="color: maroon">t</span><b> then </b>NutritionOrderOralDietTexture<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.fluidConsistencyType<span style="color: navy"><b> -&gt; </b></span>tgt.fluidConsistencyType<span style="color: navy">;</span>
  src.instruction<span style="color: navy"><b> -&gt; </b></span>tgt.instruction<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group NutritionOrderOralDietSchedule(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.timing -&gt; tgt.timing;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.asNeeded -&gt; tgt.asNeeded;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.asNeededFor -&gt; tgt.asNeededFor;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>NutritionOrderOralDietNutrient<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.modifier<span style="color: navy"><b> -&gt; </b></span>tgt.modifier<span style="color: navy">;</span>
  src.amount<span style="color: navy"><b> -&gt; </b></span>tgt.amount<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>NutritionOrderOralDietTexture<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.modifier<span style="color: navy"><b> -&gt; </b></span>tgt.modifier<span style="color: navy">;</span>
  src.foodType<span style="color: navy"><b> -&gt; </b></span>tgt.foodType<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>NutritionOrderSupplement<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.productName<span style="color: navy"><b> -&gt; </b></span>tgt.productName<span style="color: navy">;</span>
  src.schedule<span style="color: navy"> : </span>Timing<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.schedule<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.timing = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span>
  src.instruction<span style="color: navy"><b> -&gt; </b></span>tgt.instruction<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group NutritionOrderSupplementSchedule(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.timing -&gt; tgt.timing;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.asNeeded -&gt; tgt.asNeeded;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.asNeededFor -&gt; tgt.asNeededFor;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>NutritionOrderEnteralFormula<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.baseFormulaType<span style="color: navy"><b> -&gt; </b></span>tgt.baseFormulaType<span style="color: navy">;</span>
  src.baseFormulaProductName<span style="color: navy"><b> -&gt; </b></span>tgt.baseFormulaProductName<span style="color: navy">;</span>
  src.additiveType<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.additive<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.type = <span style="color: maroon">s</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.deliveryDevice -&gt; tgt.deliveryDevice;</span>
  src.additiveProductName<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.additive<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.productName = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.caloricDensity<span style="color: navy"><b> -&gt; </b></span>tgt.caloricDensity<span style="color: navy">;</span>
  src.routeofAdministration<span style="color: navy"><b> -&gt; </b></span>tgt.routeOfAdministration<span style="color: navy">;</span>
  src.administration<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.administration<b> as </b><span style="color: maroon">t</span><b> then </b>NutritionOrderEnteralFormulaAdministration<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.maxVolumeToDeliver<span style="color: navy"><b> -&gt; </b></span>tgt.maxVolumeToDeliver<span style="color: navy">;</span>
  src.administrationInstruction<span style="color: navy"><b> -&gt; </b></span>tgt.administrationInstruction<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group NutritionOrderEnteralFormulaAdditive(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.type -&gt; tgt.type;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.productName -&gt; tgt.productName;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.quantity -&gt; tgt.quantity;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>NutritionOrderEnteralFormulaAdministration<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.schedule<span style="color: navy"> : </span>Timing<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.schedule<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.timing = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span>
  src.rate<span style="color: navy"> : </span>Quantity<span style="color: navy"><b> -&gt; </b></span>tgt.rate<span style="color: navy">;</span>
  src.rate<span style="color: navy"> : </span>Ratio<span style="color: navy"><b> -&gt; </b></span>tgt.rate<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="NutritiionOrderIntent"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/request-intent"/>
        <target value="http://hl7.org/fhir/request-intent"/>
        <element>
          <code value="proposal"/>
          <target>
            <code value="proposal"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="plan"/>
          <target>
            <code value="plan"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="directive"/>
          <target>
            <code value="directive"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="order"/>
          <target>
            <code value="order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="original-order"/>
          <target>
            <code value="original-order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="reflex-order"/>
          <target>
            <code value="reflex-order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="filler-order"/>
          <target>
            <code value="filler-order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="instance-order"/>
          <target>
            <code value="instance-order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="option"/>
          <target>
            <code value="option"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="NutritionOrderStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/request-status"/>
        <target value="http://hl7.org/fhir/request-status"/>
        <element>
          <code value="draft"/>
          <target>
            <code value="draft"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="active"/>
          <target>
            <code value="active"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="on-hold"/>
          <target>
            <code value="on-hold"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="revoked"/>
          <target>
            <code value="revoked"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="completed"/>
          <target>
            <code value="completed"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="entered-in-error"/>
          <target>
            <code value="entered-in-error"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unknown"/>
          <target>
            <code value="unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/NutritionOrder4to5"/>
  <version value="5.1.0"/>
  <name value="NutritionOrder4to5"/>
  <title value="FML Conversion for NutritionOrder: R4 to R5"/>
  <status value="active"/>
  <date value="2024-04-27T18:54:50+10:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="FMLConversionforNutritionOrderR4toR5"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/4.0/StructureDefinition/NutritionOrder"/>
    <mode value="source"/>
    <alias value="NutritionOrderR4"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
    <mode value="target"/>
    <alias value="NutritionOrderR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4to5"/>
  <group>
    <name value="NutritionOrder"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="NutritionOrderR4"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="NutritionOrderR5"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="instantiatesCanonical"/>
      <source>
        <context value="src"/>
        <element value="instantiatesCanonical"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instantiatesCanonical"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="instantiatesUri"/>
      <source>
        <context value="src"/>
        <element value="instantiatesUri"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instantiatesUri"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="instantiates"/>
      <source>
        <context value="src"/>
        <element value="instantiates"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instantiates"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="status"/>
      <source>
        <context value="src"/>
        <element value="status"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#NutritionOrderStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
      <documentation value="src.basedOn -&gt; tgt.basedOn;"/>
    </rule>
    <rule>
      <name value="intent"/>
      <source>
        <context value="src"/>
        <element value="intent"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="intent"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#NutritiionOrderIntent"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="patient"/>
      <source>
        <context value="src"/>
        <element value="patient"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.priority as v -&gt; tgt.priority = translate(v, '#NutritionOrderPriority', 'code');"/>
    </rule>
    <rule>
      <name value="encounter"/>
      <source>
        <context value="src"/>
        <element value="encounter"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="encounter"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="dateTime"/>
      <source>
        <context value="src"/>
        <element value="dateTime"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="dateTime"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.supportingInformation -&gt; tgt.supportingInformation;"/>
    </rule>
    <rule>
      <name value="orderer"/>
      <source>
        <context value="src"/>
        <element value="orderer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="orderer"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="allergyIntolerance"/>
      <source>
        <context value="src"/>
        <element value="allergyIntolerance"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="allergyIntolerance"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.performer -&gt; tgt.performer;"/>
    </rule>
    <rule>
      <name value="foodPreferenceModifier"/>
      <source>
        <context value="src"/>
        <element value="foodPreferenceModifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="foodPreferenceModifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="excludeFoodModifier"/>
      <source>
        <context value="src"/>
        <element value="excludeFoodModifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="excludeFoodModifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="oralDiet"/>
      <source>
        <context value="src"/>
        <element value="oralDiet"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="oralDiet"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="NutritionOrderOralDiet"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.outsideFoodAllowed -&gt; tgt.outsideFoodAllowed;"/>
    </rule>
    <rule>
      <name value="supplement"/>
      <source>
        <context value="src"/>
        <element value="supplement"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="supplement"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="NutritionOrderSupplement"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="enteralFormula"/>
      <source>
        <context value="src"/>
        <element value="enteralFormula"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="enteralFormula"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="NutritionOrderEnteralFormula"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="note"/>
      <source>
        <context value="src"/>
        <element value="note"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="note"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="NutritionOrderOralDiet"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="scheduleTiming"/>
      <source>
        <context value="src"/>
        <type value="Timing"/>
        <element value="schedule"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="schedule"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="timing"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="nutrient"/>
      <source>
        <context value="src"/>
        <element value="nutrient"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="nutrient"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="NutritionOrderOralDietNutrient"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="texture"/>
      <source>
        <context value="src"/>
        <element value="texture"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="texture"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="NutritionOrderOralDietTexture"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="fluidConsistencyType"/>
      <source>
        <context value="src"/>
        <element value="fluidConsistencyType"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="fluidConsistencyType"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="instruction"/>
      <source>
        <context value="src"/>
        <element value="instruction"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instruction"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="NutritionOrderOralDietNutrient"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group NutritionOrderOralDietSchedule(source src, target tgt) extends BackboneElement {
src.timing -&gt; tgt.timing;
src.asNeeded -&gt; tgt.asNeeded;
src.asNeededFor -&gt; tgt.asNeededFor;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="amount"/>
      <source>
        <context value="src"/>
        <element value="amount"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="amount"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="NutritionOrderOralDietTexture"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="foodType"/>
      <source>
        <context value="src"/>
        <element value="foodType"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="foodType"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="NutritionOrderSupplement"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="productName"/>
      <source>
        <context value="src"/>
        <element value="productName"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productName"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="scheduleTiming"/>
      <source>
        <context value="src"/>
        <type value="Timing"/>
        <element value="schedule"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="schedule"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="timing"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="quantity"/>
      <source>
        <context value="src"/>
        <element value="quantity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="quantity"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="instruction"/>
      <source>
        <context value="src"/>
        <element value="instruction"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instruction"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="NutritionOrderEnteralFormula"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group NutritionOrderSupplementSchedule(source src, target tgt) extends BackboneElement {
src.timing -&gt; tgt.timing;
src.asNeeded -&gt; tgt.asNeeded;
src.asNeededFor -&gt; tgt.asNeededFor;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="baseFormulaType"/>
      <source>
        <context value="src"/>
        <element value="baseFormulaType"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="baseFormulaType"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="baseFormulaProductName"/>
      <source>
        <context value="src"/>
        <element value="baseFormulaProductName"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="baseFormulaProductName"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="additiveTypeCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="additiveType"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="additive"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="type"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
      <documentation value="src.deliveryDevice -&gt; tgt.deliveryDevice;"/>
    </rule>
    <rule>
      <name value="additiveProductName"/>
      <source>
        <context value="src"/>
        <element value="additiveProductName"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="additive"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="productName"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="caloricDensity"/>
      <source>
        <context value="src"/>
        <element value="caloricDensity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="caloricDensity"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="routeofAdministration"/>
      <source>
        <context value="src"/>
        <element value="routeofAdministration"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="routeOfAdministration"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="administration"/>
      <source>
        <context value="src"/>
        <element value="administration"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="administration"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="NutritionOrderEnteralFormulaAdministration"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="maxVolumeToDeliver"/>
      <source>
        <context value="src"/>
        <element value="maxVolumeToDeliver"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="maxVolumeToDeliver"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="administrationInstruction"/>
      <source>
        <context value="src"/>
        <element value="administrationInstruction"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="administrationInstruction"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="NutritionOrderEnteralFormulaAdministration"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group NutritionOrderEnteralFormulaAdditive(source src, target tgt) extends BackboneElement {
src.type -&gt; tgt.type;
src.productName -&gt; tgt.productName;
src.quantity -&gt; tgt.quantity;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="scheduleTiming"/>
      <source>
        <context value="src"/>
        <type value="Timing"/>
        <element value="schedule"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="schedule"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="timing"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="quantity"/>
      <source>
        <context value="src"/>
        <element value="quantity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="quantity"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="rateQuantity"/>
      <source>
        <context value="src"/>
        <type value="Quantity"/>
        <element value="rate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="rate"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="rateRatio"/>
      <source>
        <context value="src"/>
        <type value="Ratio"/>
        <element value="rate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="rate"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>