FHIR Cross-Version Mapping Pack
0.1.0 - Ballot for Release 5.1.0 International flag

FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions

: NutritionOrder Transforms: R4 to R3 - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="Order4to3"/>
  <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/NutritionOrder4to3'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Order4to3'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'NutritionOrder Transforms: R4 to R3'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/4.0/NutritionOrder<span style="color: navy">&quot; </span><b>alias </b>NutritionOrder <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/3.0/NutritionOrder<span style="color: navy">&quot; </span><b>alias </b>NutritionOrderR3 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to3<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>NutritionOrderR3, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>NutritionOrder<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.status<span style="color: navy"><b> -&gt; </b></span>tgt.status<span style="color: navy">;</span>
  src.patient<span style="color: navy"><b> -&gt; </b></span>tgt.patient<span style="color: navy">;</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>
  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>
  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>oralDiet<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.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>supplement<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>enteralFormula<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><b>group </b>oralDiet<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"><b> -&gt; </b></span>tgt.schedule<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>nutrient<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>texture<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><b>group </b>nutrient<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>texture<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>supplement<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"><b> -&gt; </b></span>tgt.schedule<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><b>group </b>enteralFormula<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"><b> -&gt; </b></span>tgt.additiveType<span style="color: navy">;</span>
  src.additiveProductName<span style="color: navy"><b> -&gt; </b></span>tgt.additiveProductName<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>administration<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><b>group </b>administration<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"><b> -&gt; </b></span>tgt.schedule<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<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.rate = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Quantity'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Quantity<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.rate<span style="color: navy"> : </span>Ratio<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.rate = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Ratio'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Ratio<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <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.xver"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="draft">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/NutritionOrder4to3"/>
  <version value="0.1.0"/>
  <name value="Order4to3"/>
  <title value="NutritionOrder Transforms: R4 to R3"/>
  <status value="active"/>
  <date value="2024-02-22T03:16:50+00: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="NutritionOrderTransformsR4toR3"/>
  <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/NutritionOrder"/>
    <mode value="source"/>
    <alias value="NutritionOrder"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/3.0/NutritionOrder"/>
    <mode value="target"/>
    <alias value="NutritionOrderR3"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4to3"/>
  <group>
    <name value="NutritionOrder"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="NutritionOrderR3"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="NutritionOrder"/>
      <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="status"/>
      <source>
        <context value="src"/>
        <element value="status"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <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="patient"/>
      <source>
        <context value="src"/>
        <element value="patient"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="patient"/>
        <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="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>
    </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>
    </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="oralDiet"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </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="supplement"/>
        <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="enteralFormula"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="oralDiet"/>
    <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="schedule"/>
      <source>
        <context value="src"/>
        <element value="schedule"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="schedule"/>
        <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="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="nutrient"/>
        <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="texture"/>
        <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="nutrient"/>
    <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="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="texture"/>
    <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="supplement"/>
    <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="schedule"/>
      <source>
        <context value="src"/>
        <element value="schedule"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="schedule"/>
        <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="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="enteralFormula"/>
    <extends value="BackboneElement"/>
    <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="additiveType"/>
      <source>
        <context value="src"/>
        <element value="additiveType"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="additiveType"/>
        <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="additiveProductName"/>
      <source>
        <context value="src"/>
        <element value="additiveProductName"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="additiveProductName"/>
        <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="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="administration"/>
        <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="administration"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="schedule"/>
      <source>
        <context value="src"/>
        <element value="schedule"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="schedule"/>
        <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="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="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="rate"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Quantity"/>
        </parameter>
      </target>
      <dependent>
        <name value="Quantity"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="rateRatio"/>
      <source>
        <context value="src"/>
        <type value="Ratio"/>
        <element value="rate"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="rate"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Ratio"/>
        </parameter>
      </target>
      <dependent>
        <name value="Ratio"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>