RIVO-Noord Zorgviewer Implementation Guide
1.23.0 - CI build

RIVO-Noord Zorgviewer Implementation Guide, published by RIVO-NN HL7NL. This guide is not an authorized publication; it is the continuous build for version 1.23.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/RIVO-Noord/zorgviewer-ig/ and changes regularly. See the Directory of published versions

## Resource Profile: NutritionAdvice - XML Profile

Active as of 2026-03-30

XML representation of the NutritionAdvice resource profile.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="NutritionAdvice"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition NutritionAdvice</b></p><a name="NutritionAdvice"> </a><a name="hcNutritionAdvice"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-NutritionAdvice-definitions.html#NutritionOrder">NutritionOrder</a><a name="NutritionOrder"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://simplifier.net/resolve?scope=nictiz.fhir.nl.stu3.zib2017@2.3.2&amp;canonical=http://nictiz.nl/fhir/StructureDefinition/zib-NutritionAdvice">Zib NutritionAdvice</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">NutritionOrder</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-NutritionAdvice-definitions.html#NutritionOrder.oralDiet">oralDiet</a><a name="NutritionOrder.oralDiet"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck001.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-NutritionAdvice-definitions.html#NutritionOrder.oralDiet.type">type</a><a name="NutritionOrder.oralDiet.type"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-NutritionAdvice-definitions.html#NutritionOrder.oralDiet.type.text">text</a><a name="NutritionOrder.oralDiet.type.text"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">DietType</span></td></tr>
    <tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
      </text>
      <url
           value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/NutritionAdvice"/>
      <version value="1.23.0"/>
      <name value="NutritionAdvice"/>
      <title value="NutritionAdvice"/>
      <status value="active"/>
      <date value="2026-03-30T13:23:57+00:00"/>
      <publisher value="RIVO-NN HL7NL"/>
      <contact>
        <name value="RIVO-NN"/>
        <telecom>
          <system value="url"/>
          <value value="https://rivo-noord.nl"/>
        </telecom>
      </contact>
      <contact>
        <name value="HL7NL"/>
        <telecom>
          <system value="url"/>
          <value value="https://hl7.nl"/>
        </telecom>
      </contact>
      <description value="VoedingsAdvies"/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="NL"/>
        </coding>
      </jurisdiction>
      <fhirVersion value="3.0.2"/>
      <mapping>
        <identity value="hcim-nutritionadvice-v3.1-2017EN"/>
        <uri value="https://zibs.nl/wiki/NutritionAdvice-v3.1(2017EN)"/>
        <name value="HCIM NutritionAdvice-v3.1(2017EN)"/>
      </mapping>
      <mapping>
        <identity value="hcim-basicelements-v1.0-2017EN"/>
        <uri value="https://zibs.nl/wiki/BasicElements-v1.0(2017EN)"/>
        <name value="HCIM BasicElements-v1.0(2017EN)"/>
      </mapping>
      <mapping>
        <identity value="hcim-nutritionadvice-v3.0-2016EN"/>
        <uri value="https://zibs.nl/wiki/NutritionAdvice-v3.0(2016EN)"/>
        <name value="HCIM NutritionAdvice-v3.0(2016EN)"/>
      </mapping>
      <mapping>
        <identity value="hcim-nutritionadvice-v1.0-2015EN"/>
        <uri value="https://zibs.nl/wiki/NutritionAdvice-v1.0(2015EN)"/>
        <name value="HCIM NutritionAdvice-v1.0(2015EN)"/>
      </mapping>
      <kind value="resource"/>
      <abstract value="false"/>
      <type value="NutritionOrder"/>
      <baseDefinition
                      value="http://nictiz.nl/fhir/StructureDefinition/zib-NutritionAdvice"/>
      <derivation value="constraint"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="2.1.2"/>
        </extension>
        <element id="NutritionOrder">
          <path value="NutritionOrder"/>
          <short value="NutritionOrder"/>
          <definition
                      value="A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident."/>
          <comment value="Referenced by an Order Request (workflow)."/>
          <alias value="Nutrition Order"/>
          <alias value="Diet Order"/>
          <alias value="Diet"/>
          <alias value="Nutritional Supplement"/>
          <alias value="Enteral Nutrition"/>
          <alias value="Voedingsadvies"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Resource"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <constraint>
            <key value="dom-2"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
            <expression value="contained.contained.empty()"/>
            <xpath value="not(parent::f:contained and f:contained)"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="dom-1"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
            <expression value="contained.text.empty()"/>
            <xpath value="not(parent::f:contained and f:text)"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="dom-4"/>
            <severity value="error"/>
            <human
                   value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
            <expression
                        value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
            <xpath
                   value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="dom-3"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
            <expression
                        value="contained.where(('#'+id in %resource.descendants().reference).not()).empty()"/>
            <xpath
                   value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="nor-1"/>
            <severity value="warning"/>
            <human
                   value="Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class"/>
            <expression
                        value="oralDiet.exists() or supplement.exists() or enteralFormula.exists()"/>
            <xpath
                   value="exists(f:oralDiet) or exists(f:supplement) or exists(f:enteralFormula)"/>
            <source
                    value="http://nictiz.nl/fhir/StructureDefinition/zib-NutritionAdvice"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map value="Entity. Role, or Act"/>
          </mapping>
          <mapping>
            <identity value="workflow"/>
            <map value="Request"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="SupplyRequest"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="clinical.careprovision"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v1.0-2015EN"/>
            <map value="NL-CM:7.11.1"/>
            <comment value="DietaryRecommendations"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.0-2016EN"/>
            <map value="NL-CM:7.11.1"/>
            <comment value="DietaryRecommendations"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.1-2017EN"/>
            <map value="NL-CM:7.11.1"/>
            <comment value="NutritionAdvice"/>
          </mapping>
        </element>
        <element id="NutritionOrder.id">
          <path value="NutritionOrder.id"/>
          <short value="Logical id of this artifact"/>
          <definition
                      value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
          <comment
                   value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="id"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="NutritionOrder.meta">
          <path value="NutritionOrder.meta"/>
          <short value="Metadata about the resource"/>
          <definition
                      value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.meta"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Meta"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="NutritionOrder.implicitRules">
          <path value="NutritionOrder.implicitRules"/>
          <short value="A set of rules under which this content was created"/>
          <definition
                      value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
          <comment
                   value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element.

    This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.implicitRules"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
        </element>
        <element id="NutritionOrder.language">
          <path value="NutritionOrder.language"/>
          <short value="Language of the resource content"/>
          <definition
                      value="The base language in which the resource is written."/>
          <comment
                   value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.language"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
              <valueReference>🔗
                <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
              </valueReference>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="Language"/>
            </extension>
            <strength value="extensible"/>
            <description value="A human language."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/languages"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="NutritionOrder.text">
          <path value="NutritionOrder.text"/>
          <short value="Text summary of the resource, for human interpretation"/>
          <definition
                      value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
          <comment
                   value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
          <alias value="narrative"/>
          <alias value="html"/>
          <alias value="xhtml"/>
          <alias value="display"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="DomainResource.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Narrative"/>
          </type>
          <condition value="dom-1"/>
          <mapping>
            <identity value="rim"/>
            <map value="Act.text?"/>
          </mapping>
        </element>
        <element id="NutritionOrder.contained">
          <path value="NutritionOrder.contained"/>
          <short value="Contained, inline Resources"/>
          <definition
                      value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
          <comment
                   value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
          <alias value="inline resources"/>
          <alias value="anonymous resources"/>
          <alias value="contained resources"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="DomainResource.contained"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Resource"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.extension">
          <path value="NutritionOrder.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="DomainResource.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.extension:Comment">
          <path value="NutritionOrder.extension"/>
          <sliceName value="Comment"/>
          <short value="Comment"/>
          <definition value="A comment on the nutrition advice."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="Toelichting"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="DomainResource.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
            <profile
                     value="http://nictiz.nl/fhir/StructureDefinition/zib-NutritionAdvice-Explanation"/>
          </type>
          <condition value="ele-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
            <source
                    value="http://nictiz.nl/fhir/StructureDefinition/zib-NutritionAdvice-Explanation"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v1.0-2015EN"/>
            <map value="NL-CM:7.11.4"/>
            <comment value="Explanation"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.0-2016EN"/>
            <map value="NL-CM:7.11.4"/>
            <comment value="Explanation"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.1-2017EN"/>
            <map value="NL-CM:7.11.4"/>
            <comment value="Comment"/>
          </mapping>
        </element>
        <element id="NutritionOrder.extension:Comment.id">
          <path value="NutritionOrder.extension.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.extension:Comment.extension">
          <path value="NutritionOrder.extension.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="0"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.extension:Comment.url">
          <path value="NutritionOrder.extension.url"/>
          <representation value="xmlAttr"/>
          <short value="identifies the meaning of the extension"/>
          <definition
                      value="Source of the definition for the extension code - a logical name or a URL."/>
          <comment
                   value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Extension.url"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri
                    value="http://nictiz.nl/fhir/StructureDefinition/zib-NutritionAdvice-Explanation"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.extension:Comment.value[x]:valueString">
          <path value="NutritionOrder.extension.value[x]"/>
          <sliceName value="valueString"/>
          <short value="Comment"/>
          <definition value="A comment on the nutrition advice."/>
          <alias value="Toelichting"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Extension.value[x]"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.modifierExtension">
          <path value="NutritionOrder.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="DomainResource.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.identifier">
          <path value="NutritionOrder.identifier"/>
          <short value="Identifiers assigned to this order"/>
          <definition
                      value="Identifiers assigned to this order by the order sender or by the order receiver."/>
          <comment
                   value="The Identifier.type element can be to indicate filler vs. placer if needed.  This is explained in further detail [here](http://hl7.org/fhir/STU3/procedurerequest.html#notes)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.identifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Identifier"/>
          </type>
          <mapping>
            <identity value="workflow"/>
            <map value="Request.identifier"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".id"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="id"/>
          </mapping>
          <mapping>
            <identity value="hcim-basicelements-v1.0-2017EN"/>
            <map value="NL-CM:0.0.6"/>
            <comment value="IdentificationNumber"/>
          </mapping>
        </element>
        <element id="NutritionOrder.status">
          <path value="NutritionOrder.status"/>
          <short
                 value="proposed | draft | planned | requested | active | on-hold | completed | cancelled | entered-in-error"/>
          <definition
                      value="The workflow status of the nutrition order/request."/>
          <comment
                   value="Typically the system placing the order sets the status to &quot;requested&quot;. Thereafter, the order is maintained by the receiver that updates the status as the request is handled.

    This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.status"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="NutritionOrderStatus"/>
            </extension>
            <strength value="required"/>
            <description
                         value="Codes specifying the state of the request. Describes the lifecycle of the nutrition order."/>
            <valueSetReference>🔗
              <reference
                         value="http://hl7.org/fhir/ValueSet/nutrition-request-status"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="workflow"/>
            <map value="Request.status"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".statusCode"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="status"/>
          </mapping>
        </element>
        <element id="NutritionOrder.patient">
          <path value="NutritionOrder.patient"/>
          <short
                 value="The person who requires the diet, formula or nutritional supplement"/>
          <definition
                      value="The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.patient"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://fhir.nl/fhir/StructureDefinition/nl-core-patient"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="workflow"/>
            <map value="Request.subject.reference(Patient)"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".participation[typeCode=SBJ].role"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="who.focus"/>
          </mapping>
          <mapping>
            <identity value="hcim-basicelements-v1.0-2017EN"/>
            <map value="NL-CM:0.0.11"/>
            <comment value="Subject"/>
          </mapping>
        </element>
        <element id="NutritionOrder.encounter">
          <path value="NutritionOrder.encounter"/>
          <short value="The encounter associated with this nutrition order"/>
          <definition
                      value="An encounter that provides additional information about the healthcare context in which this request is made."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.encounter"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://nictiz.nl/fhir/StructureDefinition/zib-Encounter"/>
          </type>
          <mapping>
            <identity value="workflow"/>
            <map value="Request.context.reference(Encounter)"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="context"/>
          </mapping>
        </element>
        <element id="NutritionOrder.dateTime">
          <path value="NutritionOrder.dateTime"/>
          <short value="Date and time the nutrition order was requested"/>
          <definition
                      value="The date and time that this nutrition order was requested."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.dateTime"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="workflow"/>
            <map value="Request.authoredOn"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="author.time"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="when.recorded"/>
          </mapping>
          <mapping>
            <identity value="hcim-basicelements-v1.0-2017EN"/>
            <map value="NL-CM:0.0.14"/>
            <comment value="DateTime"/>
          </mapping>
        </element>
        <element id="NutritionOrder.orderer">
          <path value="NutritionOrder.orderer"/>
          <short value="Who ordered the diet, formula or nutritional supplement"/>
          <definition
                      value="The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.orderer"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="workflow"/>
            <map value="Request.requester"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".participation[typeCode=AUT].role"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="who.author"/>
          </mapping>
          <mapping>
            <identity value="hcim-basicelements-v1.0-2017EN"/>
            <map value="NL-CM:0.0.7"/>
            <comment value="Author"/>
          </mapping>
        </element>
        <element id="NutritionOrder.orderer.id">
          <path value="NutritionOrder.orderer.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.orderer.extension">
          <path value="NutritionOrder.orderer.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.orderer.extension:practitionerRole">
          <path value="NutritionOrder.orderer.extension"/>
          <sliceName value="practitionerRole"/>
          <short value="Optional Extensions Element"/>
          <definition
                      value="Optional Extension Element - found in all resources."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
            <profile
                     value="http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference"/>
          </type>
          <condition value="ele-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
            <source
                    value="http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.orderer.reference">
          <path value="NutritionOrder.orderer.reference"/>
          <short value="Literal reference, Relative, internal or absolute URL"/>
          <definition
                      value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
          <comment
                   value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure &quot;/[type]/[id]&quot; then it should be assumed that the reference is to a FHIR RESTful server."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <condition value="ref-1"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.orderer.identifier">
          <path value="NutritionOrder.orderer.identifier"/>
          <short value="Logical reference, when literal reference is not known"/>
          <definition
                      value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference."/>
          <comment
                   value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

    When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

    Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Reference.identifier"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Identifier"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value=".identifier"/>
          </mapping>
        </element>
        <element id="NutritionOrder.orderer.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="NutritionOrder.orderer.display"/>
          <short value="Text alternative for the resource"/>
          <definition
                      value="Plain text narrative that identifies the resource in addition to the resource reference."/>
          <comment
                   value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.allergyIntolerance">
          <path value="NutritionOrder.allergyIntolerance"/>
          <short
                 value="List of the patient's food and nutrition-related allergies and intolerances"/>
          <definition
                      value="A link to a record of allergies or intolerances  which should be included in the nutrition order."/>
          <comment
                   value="Information on a patient's food allergies and intolerances to inform healthcare personnel about the type of foods that the patient shouldn't receive or consume."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.allergyIntolerance"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".outboundRelationship[typeCode=RSON].target[classCode=OBS, moodCode=EVN]"/>
          </mapping>
        </element>
        <element id="NutritionOrder.foodPreferenceModifier">
          <path value="NutritionOrder.foodPreferenceModifier"/>
          <short
                 value="Order-specific modifier about the type of food that should be given"/>
          <definition
                      value="This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings."/>
          <comment
                   value="Information on a patient's food preferences that inform healthcare personnel about the food that the patient should receive or consume."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.foodPreferenceModifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="PatientDiet"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Medical, cultural or ethical food preferences to help with catering requirements"/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/encounter-diet"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".outboundRelationship [typeCode =COMP], target [classCode=PROC, moodCode=EVN, code=NutritionModificationType]"/>
          </mapping>
        </element>
        <element id="NutritionOrder.excludeFoodModifier">
          <path value="NutritionOrder.excludeFoodModifier"/>
          <short
                 value="Order-specific modifier about the type of food that should not be given"/>
          <definition
                      value="This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or  Gluten-Free.  While it should not be necessary to repeat allergy or intolerance information captured in the referenced AllergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason.  This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings."/>
          <comment
                   value="Information on a patient's food allergies, intolerances and preferences to inform healthcare personnel about the type  of foods that the patient shouldn't receive or consume."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.excludeFoodModifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="FoodType"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes used to indicate the type of food that should NOT be given to the patient."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/food-type"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet">
          <path value="NutritionOrder.oralDiet"/>
          <short value="Oral diet components"/>
          <definition
                      value="Diet given orally in contrast to enteral (tube) feeding."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.oralDiet"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <condition value="nor-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map
                 value="oralDiet .outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=OralDietSupplyType]"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.id">
          <path value="NutritionOrder.oralDiet.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.extension">
          <path value="NutritionOrder.oralDiet.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.modifierExtension">
          <path value="NutritionOrder.oralDiet.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.type">
          <path value="NutritionOrder.oralDiet.type"/>
          <short
                 value="Type of oral diet or diet restrictions that describe what can be consumed orally"/>
          <definition
                      value="The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.oralDiet.type"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="OralDiet"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes used to indicate the type of diet being ordered for a patient."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/diet-type"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map value=".code"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="what"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.type.id">
          <path value="NutritionOrder.oralDiet.type.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.type.extension">
          <path value="NutritionOrder.oralDiet.type.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.type.coding">
          <path value="NutritionOrder.oralDiet.type.coding"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.type.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="NutritionOrder.oralDiet.type.text"/>
          <short value="DietType"/>
          <definition value="Description of the type of diet."/>
          <comment
                   value="Very often the text is the same as a displayName of one of the codings."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <alias value="DieetType"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v1.0-2015EN"/>
            <map value="NL-CM:7.11.2"/>
            <comment value="DietType"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.0-2016EN"/>
            <map value="NL-CM:7.11.2"/>
            <comment value="DietType"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.1-2017EN"/>
            <map value="NL-CM:7.11.2"/>
            <comment value="DietType"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.schedule">
          <path value="NutritionOrder.oralDiet.schedule"/>
          <short value="Scheduled frequency of diet"/>
          <definition
                      value="The time period and frequency at which the diet should be given.  The diet should be given for the combination of all schedules if more than one schedule is present."/>
          <alias value="Frequency"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.oralDiet.schedule"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Timing"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".expectedUseTime"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.nutrient">
          <path value="NutritionOrder.oralDiet.nutrient"/>
          <short value="Required  nutrient modifications"/>
          <definition
                      value="Class that defines the quantity and type of nutrient modifications (for example carbohydrate, fiber or sodium) required for the oral diet."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.oralDiet.nutrient"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.nutrient.id">
          <path value="NutritionOrder.oralDiet.nutrient.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.nutrient.extension">
          <path value="NutritionOrder.oralDiet.nutrient.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.nutrient.modifierExtension">
          <path value="NutritionOrder.oralDiet.nutrient.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.nutrient.modifier">
          <path value="NutritionOrder.oralDiet.nutrient.modifier"/>
          <short value="Type of nutrient that is being modified"/>
          <definition
                      value="The nutrient that is being modified such as carbohydrate or sodium."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.oralDiet.nutrient.modifier"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="NutrientModifier"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes for types of nutrient that is being modified such as carbohydrate or sodium."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/nutrient-code"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map value=".code"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="what"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.nutrient.amount">
          <path value="NutritionOrder.oralDiet.nutrient.amount"/>
          <short value="Quantity of the specified nutrient"/>
          <definition
                      value="The quantity of the specified nutrient to include in diet."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.oralDiet.nutrient.amount"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".quantity"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture">
          <path value="NutritionOrder.oralDiet.texture"/>
          <short value="Required  texture modifications"/>
          <definition
                      value="Class that describes any texture modifications required for the patient to safely consume various types of solid foods."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.oralDiet.texture"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".inboundRelationship [typeCode =COMP], target [classCode=PROC, moodCode=EVN, code=DietTextureModificationType]"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.id">
          <path value="NutritionOrder.oralDiet.texture.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.extension">
          <path value="NutritionOrder.oralDiet.texture.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.modifierExtension">
          <path value="NutritionOrder.oralDiet.texture.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.modifier">
          <path value="NutritionOrder.oralDiet.texture.modifier"/>
          <short
                 value="Code to indicate how to alter the texture of the foods, e.g. pureed"/>
          <definition
                      value="Any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed."/>
          <comment value="Coupled with the foodType (Meat)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.oralDiet.texture.modifier"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="TextureModifier"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes for food consistency types or texture modifications to apply to foods."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/texture-code"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map value=".code"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.modifier.id">
          <path value="NutritionOrder.oralDiet.texture.modifier.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.modifier.extension">
          <path value="NutritionOrder.oralDiet.texture.modifier.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.modifier.coding">
          <path value="NutritionOrder.oralDiet.texture.modifier.coding"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.modifier.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="NutritionOrder.oralDiet.texture.modifier.text"/>
          <short value="Consistency"/>
          <definition value="A description of the consistency of the food."/>
          <comment
                   value="Because of a granularity difference between the HCIM NutritionAdvice and the NutritionOrder resource, the HCIM concept Consistency is mapped to the elements `.oralDiet.texture.modifier.text`, `.oralDiet.texture.foodType.text` and `.oralDiet.fluidConsistencyType.text`."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <alias value="Consistentie"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v1.0-2015EN"/>
            <map value="NL-CM:7.11.3"/>
            <comment value="Consistency"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.0-2016EN"/>
            <map value="NL-CM:7.11.3"/>
            <comment value="Consistency"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.1-2017EN"/>
            <map value="NL-CM:7.11.3"/>
            <comment value="Consistency"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.foodType">
          <path value="NutritionOrder.oralDiet.texture.foodType"/>
          <short
                 value="Concepts that are used to identify an entity that is ingested for nutritional purposes"/>
          <definition
                      value="The food type(s) (e.g. meats, all foods)  that the texture modification applies to.  This could be all foods types."/>
          <comment
                   value="Coupled with the textureModifier; could be (All Foods)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.oralDiet.texture.foodType"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="TextureModifiedFoodType"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes for types of foods that are texture modified."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/modified-foodtype"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.foodType.id">
          <path value="NutritionOrder.oralDiet.texture.foodType.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.foodType.extension">
          <path value="NutritionOrder.oralDiet.texture.foodType.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.foodType.coding">
          <path value="NutritionOrder.oralDiet.texture.foodType.coding"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.texture.foodType.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="NutritionOrder.oralDiet.texture.foodType.text"/>
          <short value="Consistency"/>
          <definition value="A description of the consistency of the food."/>
          <comment
                   value="Because of a granularity difference between the HCIM NutritionAdvice and the NutritionOrder resource, the HCIM concept Consistency is mapped to the elements `.oralDiet.texture.modifier.text`, `.oralDiet.texture.foodType.text` and `.oralDiet.fluidConsistencyType.text`."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <alias value="Consistentie"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v1.0-2015EN"/>
            <map value="NL-CM:7.11.3"/>
            <comment value="Consistency"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.0-2016EN"/>
            <map value="NL-CM:7.11.3"/>
            <comment value="Consistency"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.1-2017EN"/>
            <map value="NL-CM:7.11.3"/>
            <comment value="Consistency"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.fluidConsistencyType">
          <path value="NutritionOrder.oralDiet.fluidConsistencyType"/>
          <short
                 value="The required consistency of fluids and liquids provided to the patient"/>
          <definition
                      value="The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.oralDiet.fluidConsistencyType"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="FluidConsistencyType"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes used to represent the consistency of fluids and liquids provided to the patient."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/consistency-type"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".code  (Not differentiated from dietTextureModificationType in HL7 v3)"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.fluidConsistencyType.id">
          <path value="NutritionOrder.oralDiet.fluidConsistencyType.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.fluidConsistencyType.extension">
          <path value="NutritionOrder.oralDiet.fluidConsistencyType.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.fluidConsistencyType.coding">
          <path value="NutritionOrder.oralDiet.fluidConsistencyType.coding"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.fluidConsistencyType.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="NutritionOrder.oralDiet.fluidConsistencyType.text"/>
          <short value="Consistency"/>
          <definition value="A description of the consistency of the food."/>
          <comment
                   value="Because of a granularity difference between the HCIM NutritionAdvice and the NutritionOrder resource, the HCIM concept Consistency is mapped to the elements `.oralDiet.texture.modifier.text`, `.oralDiet.texture.foodType.text` and `.oralDiet.fluidConsistencyType.text`."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <alias value="Consistentie"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v1.0-2015EN"/>
            <map value="NL-CM:7.11.3"/>
            <comment value="Consistency"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.0-2016EN"/>
            <map value="NL-CM:7.11.3"/>
            <comment value="Consistency"/>
          </mapping>
          <mapping>
            <identity value="hcim-nutritionadvice-v3.1-2017EN"/>
            <map value="NL-CM:7.11.3"/>
            <comment value="Consistency"/>
          </mapping>
        </element>
        <element id="NutritionOrder.oralDiet.instruction">
          <path value="NutritionOrder.oralDiet.instruction"/>
          <short
                 value="Instructions or additional information about the oral diet"/>
          <definition
                      value="Free text or additional instructions or information pertaining to the oral diet."/>
          <comment
                   value="Free text dosage instructions can be used for cases where the instructions are too complex to code."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.oralDiet.instruction"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value=".text"/>
          </mapping>
        </element>
        <element id="NutritionOrder.supplement">
          <path value="NutritionOrder.supplement"/>
          <short value="Supplement components"/>
          <definition
                      value="Oral nutritional products given in order to add further nutritional value to the patient's diet."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.supplement"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <condition value="nor-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=SUPPLEMENT]"/>
          </mapping>
        </element>
        <element id="NutritionOrder.supplement.id">
          <path value="NutritionOrder.supplement.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.supplement.extension">
          <path value="NutritionOrder.supplement.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.supplement.modifierExtension">
          <path value="NutritionOrder.supplement.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.supplement.type">
          <path value="NutritionOrder.supplement.type"/>
          <short value="Type of supplement product requested"/>
          <definition
                      value="The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.supplement.type"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="SupplementType"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes for nutritional supplements to be provided to the patient"/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/supplement-type"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code (NutritionalSupplementType)"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="what"/>
          </mapping>
        </element>
        <element id="NutritionOrder.supplement.productName">
          <path value="NutritionOrder.supplement.productName"/>
          <short value="Product or brand name of the nutritional supplement"/>
          <definition
                      value="The product or brand name of the nutritional supplement such as &quot;Acme Protein Shake&quot;."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.supplement.productName"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".id"/>
          </mapping>
        </element>
        <element id="NutritionOrder.supplement.schedule">
          <path value="NutritionOrder.supplement.schedule"/>
          <short value="Scheduled frequency of supplement"/>
          <definition
                      value="The time period and frequency at which the supplement(s) should be given.  The supplement should be given for the combination of all schedules if more than one schedule is present."/>
          <alias value="Frequency"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.supplement.schedule"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Timing"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".effectiveTime"/>
          </mapping>
        </element>
        <element id="NutritionOrder.supplement.quantity">
          <path value="NutritionOrder.supplement.quantity"/>
          <short value="Amount of the nutritional supplement"/>
          <definition
                      value="The amount of the nutritional supplement to be given."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.supplement.quantity"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".quantity"/>
          </mapping>
        </element>
        <element id="NutritionOrder.supplement.instruction">
          <path value="NutritionOrder.supplement.instruction"/>
          <short
                 value="Instructions or additional information about the oral supplement"/>
          <definition
                      value="Free text or additional instructions or information pertaining to the oral supplement."/>
          <comment
                   value="Free text dosage instructions can be used for cases where the instructions are too complex to code."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.supplement.instruction"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value=".text"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula">
          <path value="NutritionOrder.enteralFormula"/>
          <short value="Enteral formula components"/>
          <definition
                      value="Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <condition value="nor-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=FORMULA]"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.id">
          <path value="NutritionOrder.enteralFormula.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.extension">
          <path value="NutritionOrder.enteralFormula.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.modifierExtension">
          <path value="NutritionOrder.enteralFormula.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.baseFormulaType">
          <path value="NutritionOrder.enteralFormula.baseFormulaType"/>
          <short value="Type of enteral or infant formula"/>
          <definition
                      value="The type of enteral or infant formula such as an adult standard formula with fiber or a soy-based infant formula."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.baseFormulaType"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="EnteralFormulaType"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes for type of enteral formula to be administered to patient."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/entformula-type"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code (NutritionalFormulaType)"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="what"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.baseFormulaProductName">
          <path value="NutritionOrder.enteralFormula.baseFormulaProductName"/>
          <short value="Product or brand name of the enteral or infant formula"/>
          <definition
                      value="The product or brand name of the enteral or infant formula product such as &quot;ACME Adult Standard Formula&quot;."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.baseFormulaProductName"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".id"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.additiveType">
          <path value="NutritionOrder.enteralFormula.additiveType"/>
          <short value="Type of modular component to add to the feeding"/>
          <definition
                      value="Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the base formula."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.additiveType"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="EnteralFormulaAdditiveType"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes for the type of modular component such as protein, carbohydrate or fiber to be provided in addition to or mixed with the base formula."/>
            <valueSetReference>🔗
              <reference
                         value="http://hl7.org/fhir/ValueSet/entformula-additive"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map
                 value="N/A (not differentiated from NutritionalFormulaType in HL7 v3)"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="what"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.additiveProductName">
          <path value="NutritionOrder.enteralFormula.additiveProductName"/>
          <short value="Product or brand name of the modular additive"/>
          <definition
                      value="The product or brand name of the type of modular component to be added to the formula."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.additiveProductName"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.caloricDensity">
          <path value="NutritionOrder.enteralFormula.caloricDensity"/>
          <short value="Amount of energy per specified volume that is required"/>
          <definition
                      value="The amount of energy (calories) that the formula should provide per specified volume, typically per mL or fluid oz.  For example, an infant may require a formula that provides 24 calories per fluid ounce or an adult may require an enteral formula that provides 1.5 calorie/mL."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.caloricDensity"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".quantity (caloricDensity)"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.routeofAdministration">
          <path value="NutritionOrder.enteralFormula.routeofAdministration"/>
          <short
                 value="How the formula should enter the patient's gastrointestinal tract"/>
          <definition
                      value="The route or physiological path of administration into the patient's gastrointestinal  tract for purposes of providing the formula feeding, e.g. nasogastric tube."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.routeofAdministration"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="EnteralRouteOfAdministration"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="Codes specifying the route of administration of enteral formula."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/enteral-route"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map value=".routeCode"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.administration">
          <path value="NutritionOrder.enteralFormula.administration"/>
          <short value="Formula feeding instruction as structured data"/>
          <definition
                      value="Formula administration instructions as structured data.  This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding.  An example of this would be an instruction to increase the rate of continuous feeding every 2 hours."/>
          <comment
                   value="See implementation notes below for further discussion on how to order continuous vs bolus enteral feeding using this resource."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="NutritionOrder.enteralFormula.administration"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".outboundRelationship [typeCode =COMP], target [classCode=SBADM, moodCode=RQO]"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.administration.id">
          <path value="NutritionOrder.enteralFormula.administration.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.administration.extension">
          <path value="NutritionOrder.enteralFormula.administration.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="NutritionOrder.enteralFormula.administration.modifierExtension">
          <path
                value="NutritionOrder.enteralFormula.administration.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.administration.schedule">
          <path value="NutritionOrder.enteralFormula.administration.schedule"/>
          <short value="Scheduled frequency of enteral feeding"/>
          <definition
                      value="The time period and frequency at which the enteral formula should be delivered to the patient."/>
          <alias value="Frequency"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.administration.schedule"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Timing"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".effectiveUseTime"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.administration.quantity">
          <path value="NutritionOrder.enteralFormula.administration.quantity"/>
          <short value="The volume of formula to provide"/>
          <definition
                      value="The volume of formula to provide to the patient per the specified administration schedule."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.administration.quantity"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".doseQuantity"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.administration.rate[x]">
          <path value="NutritionOrder.enteralFormula.administration.rate[x]"/>
          <short
                 value="Speed with which the formula is provided per period of time"/>
          <definition
                      value="The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule."/>
          <comment
                   value="Ratio is used when the quantity value in the denominator is not &quot;1&quot;, otherwise use Quantity. For example, the Ratio datatype is used for &quot;200 mL/4 hrs&quot; versus the Quantity datatype for &quot;50 mL/hr&quot;."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.administration.rate[x]"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
          </type>
          <type>
            <code value="Ratio"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".rateQuantity"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.maxVolumeToDeliver">
          <path value="NutritionOrder.enteralFormula.maxVolumeToDeliver"/>
          <short value="Upper limit on formula volume per unit of time"/>
          <definition
                      value="The maximum total quantity of formula that may be administered to a subject over the period of time, e.g. 1440 mL over 24 hours."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="NutritionOrder.enteralFormula.maxVolumeToDeliver"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value=".maxDoseQuantity"/>
          </mapping>
        </element>
        <element id="NutritionOrder.enteralFormula.administrationInstruction">
          <path value="NutritionOrder.enteralFormula.administrationInstruction"/>
          <short value="Formula feeding instructions expressed as text"/>
          <definition
                      value="Free text formula administration, feeding instructions or additional instructions or information."/>
          <comment
                   value="Free text dosage instructions can be used for cases where the instructions are too complex to code."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path
                  value="NutritionOrder.enteralFormula.administrationInstruction"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
      </snapshot>
      <differential>
        <element id="NutritionOrder">
          <path value="NutritionOrder"/>
        </element>
        <element id="NutritionOrder.oralDiet.type.text">
          <path value="NutritionOrder.oralDiet.type.text"/>
          <mustSupport value="true"/>
        </element>
      </differential>
    </StructureDefinition>