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
Page standards status: Draft | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="NutritionOrder5to4B"/>
<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/NutritionOrder5to4B'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'NutritionOrder5to4B'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'NutritionOrder Transforms: R5 to R4B'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/NutritionOrder<span style="color: navy">" </span><b>alias </b>NutritionOrderR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/NutritionOrder<span style="color: navy">" </span><b>alias </b>NutritionOrderR4B <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*5to4B<span style="color: navy">"
</span>
<b>group </b>NutritionOrder<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>NutritionOrderR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>NutritionOrderR4B<span style="color: navy">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style="color: navy"> {
</span> src.identifier<span style="color: navy"><b> -> </b></span>tgt.identifier<span style="color: navy">;</span>
src.instantiatesCanonical<span style="color: navy"><b> -> </b></span>tgt.instantiatesCanonical<span style="color: navy">;</span>
src.instantiatesUri<span style="color: navy"><b> -> </b></span>tgt.instantiatesUri<span style="color: navy">;</span>
src.instantiates<span style="color: navy"><b> -> </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> -> </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">'http://hl7.org/fhir/ConceptMap/NutritionOrder.status-R5toR4'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.intent<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </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">'http://hl7.org/fhir/ConceptMap/NutritionOrder.intent-R5toR4'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.subject<span style="color: navy"><b> -> </b></span>tgt.patient<span style="color: navy">;</span>
src.encounter<span style="color: navy"><b> -> </b></span>tgt.encounter<span style="color: navy">;</span>
src.dateTime<span style="color: navy"><b> -> </b></span>tgt.dateTime<span style="color: navy">;</span>
src.orderer<span style="color: navy"><b> -> </b></span>tgt.orderer<span style="color: navy">;</span>
src.allergyIntolerance<span style="color: navy"><b> -> </b></span>tgt.allergyIntolerance<span style="color: navy">;</span>
src.foodPreferenceModifier<span style="color: navy"><b> -> </b></span>tgt.foodPreferenceModifier<span style="color: navy">;</span>
src.excludeFoodModifier<span style="color: navy"><b> -> </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> -> </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>
src.supplement<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </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> -> </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> -> </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> -> </b></span>tgt.type<span style="color: navy">;</span>
src.schedule<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span><span style="color: maroon">tgt</span><b> then</b><span style="color: navy"> {
</span> s.timing<span style="color: navy"><b> -> </b></span>tgt.schedule<span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span>
src.nutrient<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </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> -> </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> -> </b></span>tgt.fluidConsistencyType<span style="color: navy">;</span>
src.instruction<span style="color: navy"><b> -> </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 -> tgt.timing;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.asNeeded -> tgt.asNeeded;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.asNeededFor -> 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> -> </b></span>tgt.modifier<span style="color: navy">;</span>
src.amount<span style="color: navy"><b> -> </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> -> </b></span>tgt.modifier<span style="color: navy">;</span>
src.foodType<span style="color: navy"><b> -> </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> -> </b></span>tgt.type<span style="color: navy">;</span>
src.productName<span style="color: navy"><b> -> </b></span>tgt.productName<span style="color: navy">;</span>
src.schedule<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span><span style="color: maroon">tgt</span><b> then</b><span style="color: navy"> {
</span> s.timing<span style="color: navy"><b> -> </b></span>tgt.schedule<span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span>
src.quantity<span style="color: navy"><b> -> </b></span>tgt.quantity<span style="color: navy">;</span>
src.instruction<span style="color: navy"><b> -> </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 -> tgt.timing;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.asNeeded -> tgt.asNeeded;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.asNeededFor -> 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> -> </b></span>tgt.baseFormulaType<span style="color: navy">;</span>
src.baseFormulaProductName<span style="color: navy"><b> -> </b></span>tgt.baseFormulaProductName<span style="color: navy">;</span>
src.additive<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span><span style="color: maroon">tgt</span><b> then</b><span style="color: navy"> {
</span> s.type<span style="color: navy"><b> -> </b></span>tgt.additiveType<span style="color: navy">;</span>
s.productName<span style="color: navy"><b> -> </b></span>tgt.additiveProductName<span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span>
src.caloricDensity<span style="color: navy"><b> -> </b></span>tgt.caloricDensity<span style="color: navy">;</span>
src.routeOfAdministration<span style="color: navy"><b> -> </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> -> </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> -> </b></span>tgt.maxVolumeToDeliver<span style="color: navy">;</span>
src.administrationInstruction<span style="color: navy"><b> -> </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 -> tgt.type;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.productName -> tgt.productName;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.quantity -> 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<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span><span style="color: maroon">tgt</span><b> then</b><span style="color: navy"> {
</span> s.timing<span style="color: navy"><b> -> </b></span>tgt.schedule<span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span>
src.quantity<span style="color: navy"><b> -> </b></span>tgt.quantity<span style="color: navy">;</span>
src.rate<span style="color: navy"> : </span>Quantity<span style="color: navy"><b> -> </b></span>tgt.rate<span style="color: navy">;</span>
src.rate<span style="color: navy"> : </span>Ratio<span style="color: navy"><b> -> </b></span>tgt.rate<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/NutritionOrder5to4B"/>
<version value="0.1.0"/>
<name value="NutritionOrder5to4B"/>
<title value="NutritionOrder Transforms: R5 to R4B"/>
<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="NutritionOrderTransformsR5toR4B"/>
<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/5.0/NutritionOrder"/>
<mode value="source"/>
<alias value="NutritionOrderR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/NutritionOrder"/>
<mode value="target"/>
<alias value="NutritionOrderR4B"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*5to4B"/>
<group>
<name value="NutritionOrder"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="NutritionOrderR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="NutritionOrderR4B"/>
<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="http://hl7.org/fhir/ConceptMap/NutritionOrder.status-R5toR4"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</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="http://hl7.org/fhir/ConceptMap/NutritionOrder.intent-R5toR4"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<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="NutritionOrderOralDiet"/>
<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="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="schedule"/>
<source>
<context value="src"/>
<element value="schedule"/>
<variable value="s"/>
</source>
<target>
<transform value="copy"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
<rule>
<name value="timing"/>
<source>
<context value="s"/>
<element value="timing"/>
<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>
<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 -> tgt.timing;
src.asNeeded -> tgt.asNeeded;
src.asNeededFor -> 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="schedule"/>
<source>
<context value="src"/>
<element value="schedule"/>
<variable value="s"/>
</source>
<target>
<transform value="copy"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
<rule>
<name value="timing"/>
<source>
<context value="s"/>
<element value="timing"/>
<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>
<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 -> tgt.timing;
src.asNeeded -> tgt.asNeeded;
src.asNeededFor -> 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="additive"/>
<source>
<context value="src"/>
<element value="additive"/>
<variable value="s"/>
</source>
<target>
<transform value="copy"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
<rule>
<name value="type"/>
<source>
<context value="s"/>
<element value="type"/>
<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="productName"/>
<source>
<context value="s"/>
<element value="productName"/>
<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>
<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 -> tgt.type;
src.productName -> tgt.productName;
src.quantity -> tgt.quantity;
}"/>
<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="s"/>
</source>
<target>
<transform value="copy"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
<rule>
<name value="timing"/>
<source>
<context value="s"/>
<element value="timing"/>
<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>
<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>