This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="NutritionOrder5to4"/>
<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/NutritionOrder5to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'NutritionOrder5to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for NutritionOrder: R5 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>conceptmap</b><span style="color: navy"> "</span>NutritiionOrderIntent<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</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">"
</span><b> prefix </b>t<span style="color: navy"> = "</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">"
</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>"original-order" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>original-order<span style="color: navy">"</span>
s<span style="color: navy">:</span>"reflex-order" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>reflex-order<span style="color: navy">"</span>
s<span style="color: navy">:</span>"filler-order" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>filler-order<span style="color: navy">"</span>
s<span style="color: navy">:</span>"instance-order" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>instance-order<span style="color: navy">"</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"> "</span>NutritionOrderStatus<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</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">"
</span><b> prefix </b>t<span style="color: navy"> = "</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">"
</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>"on-hold" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>on-hold<span style="color: navy">"</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>"entered-in-error" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>entered-in-error<span style="color: navy">"</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"> "</span><a href="http://hl7.org/fhir/R5/nutritionorder.html" title="NutritionOrder">http://hl7.org/fhir/StructureDefinition/NutritionOrder</a><span style="color: navy">" </span><b>alias </b>NutritionOrderR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</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">" </span><b>alias </b>NutritionOrderR4 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*5to4<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>NutritionOrderR4<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">'#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 -> tgt.basedOn;</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">'#NutritiionOrderIntent'</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> <span style="color: navy">// </span><span style="color: green">src.priority as v -> tgt.priority = translate(v, '#NutritionOrderPriority', 'code');</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> <span style="color: navy">// </span><span style="color: green">src.supportingInformation -> tgt.supportingInformation;</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> <span style="color: navy">// </span><span style="color: green">src.performer -> tgt.performer;</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> <span style="color: navy">// </span><span style="color: green">src.outsideFoodAllowed -> tgt.outsideFoodAllowed;</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> <span style="color: navy">// </span><span style="color: green">src.deliveryDevice -> tgt.deliveryDevice;</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>
<contained>
<ConceptMap>
<id value="NutritiionOrderIntent"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/request-intent"/>
<target value="http://hl7.org/fhir/4.0/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/request-status"/>
<target value="http://hl7.org/fhir/4.0/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-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/NutritionOrder5to4"/>
<version value="1.0.0"/>
<name value="NutritionOrder5to4"/>
<title value="FML Conversion for NutritionOrder: R5 to R4"/>
<status value="active"/>
<date value="2023-03-26T08:47:34+11:00"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/Special/committees/fhir-i"/>
</telecom>
</contact>
<description value="FMLConversionforNutritionOrderR5toR4"/>
<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/StructureDefinition/NutritionOrder"/>
<mode value="source"/>
<alias value="NutritionOrderR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/StructureDefinition/NutritionOrder"/>
<mode value="target"/>
<alias value="NutritionOrderR4"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*5to4"/>
<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="NutritionOrderR4"/>
<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 -> 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="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>
<documentation
value="src.priority as v -> 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 -> 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 -> 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 -> 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="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>
<documentation value="src.deliveryDevice -> tgt.deliveryDevice;"/>
</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>
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.extensions#1.0.0 based on FHIR 5.0.0. Generated 2023-03-26
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change