<?xml version="1.0" encoding="UTF-8"?>

<NutritionOrder xmlns="http://hl7.org/fhir">
  <!--  id = fiberrestricteddiet  file name = nutritionorder-example-fiberrestricteddiet.xml Name= Low Fat and Fiber Restricted Diet Description = Nutrition Order Fiber Restricted and Low Fat Diet l Example
edited by Eric Haas Health eData Inc
 -->
  <!-- EH  Show all the elements in this examples for preference, and intolerance  -->
  <!--  EH: use oral Diet element  -->
  <id value="fiberrestricteddiet"/>
  <identifier>
    <system value="http://goodhealthhospital.org/nutrition-requests"/>
    <value value="123"/>
  </identifier>
  <status value="active"/>
  <intent value="order"/>
  <subject>
    <reference value="Patient/example"/>
    <display value="Peter Chalmers"/>
  </subject>
  <encounter>
    <reference value="Encounter/example"/>
    <display value="Inpatient"/>
  </encounter>
  <dateTime value="2014-09-17"/>
  <allergyIntolerance>
    <reference value="AllergyIntolerance/example"/>
    <display value="Cashew Nuts"/>
  </allergyIntolerance>
  <foodPreferenceModifier>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/diet"/>
      <code value="dairy-free"/>
    </coding>
  </foodPreferenceModifier>
  <excludeFoodModifier>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="227493005"/>
      <display value="Cashew Nut"/>
    </coding>
  </excludeFoodModifier>
  <oralDiet>
    <!--  EH:  list type of diet showing standard code and local codes  -->
    <type>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="1156444001"/>
        <display value="Decreased plant fiber diet (regime/therapy)"/>
      </coding>
      <coding>
        <system value="http://goodhealthhospital.org/diet-type-codes"/>
        <code value="1000"/>
        <display value="Fiber restricted"/>
      </coding>
      <text value="Fiber restricted diet"/>
    </type>
    <type>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="1055207008"/>
        <display value="Decreased fat and oil diet (regime/therapy)"/>
      </coding>
      <coding>
        <system value="http://goodhealthhospital.org/diet-type-codes"/>
        <code value="1100"/>
        <display value="Low Fat"/>
      </coding>
      <text value="Low fat diet"/>
    </type>
    <!--  EH example of three times a day starting on 2/10   -->
    <schedule>
      <timing>
        <repeat>
          <boundsPeriod>
            <start value="2015-02-10"/>
          </boundsPeriod>
          <frequency value="3"/>
          <period value="1"/>
          <periodUnit value="d"/>
        </repeat>
      </timing>
    </schedule>
    <nutrient>
      <!--  list nutrients and amounts here  -->
      <modifier>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="68992005"/>
          <display value="Cellulose"/>
        </coding>
      </modifier>
      <amount>
        <value value="13"/>
        <unit value="grams/day"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="g/d"/>
      </amount>
    </nutrient>
    <nutrient>
      <!--  list nutrients and amounts here  -->
      <modifier>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="226887002"/>
          <display value="Fat and oil"/>
        </coding>
      </modifier>
      <amount>
        <value value="50"/>
        <unit value="grams/day"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="g/d"/>
      </amount>
    </nutrient>
  </oralDiet>
</NutritionOrder>