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

<NutritionOrder xmlns="http://hl7.org/fhir">
  <!--  id = renaldiet  file name = nutritionorder-example-renaldiet.xml Name= Renal Diet  Description = Nutrition Order Renal Diet Example
edited by Eric Haas Health eData Inc
 -->
  <!--  EH: use oral Diet element  -->
  <id value="renaldiet"/>
  <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>
    <!-- EH  Show all the elements in this examples for preference, and intolerance  -->
    <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>
    <type>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="437421000124105"/>
        <display value="Decreased sodium diet (regime/therapy)"/>
      </coding>
      <coding>
        <system value="http://goodhealthhospital.org/diet-type-codes"/>
        <code value="1050"/>
        <display value="Renal"/>
      </coding>
      <text value="Low Sodium Diet"/>
    </type>
    <type>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="437401000124100"/>
        <display value="Decreased potassium diet (regime/therapy)"/>
      </coding>
    </type>
    <type>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="437381000124100"/>
        <display value="Decreased phosphorus diet (regime/therapy)"/>
      </coding>
    </type>
    <type>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="439061000124104"/>
        <display value="Fluid restricted diet (regime/therapy)"/>
      </coding>
    </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="60471000"/>
          <display value="Sodium compound"/>
        </coding>
      </modifier>
      <amount>
        <value value="2"/>
        <unit value="mg/d"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="mg/d"/>
      </amount>
    </nutrient>
    <nutrient>
      <modifier>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="63793008"/>
          <display value="Phosphorus compound"/>
        </coding>
      </modifier>
      <amount>
        <value value="1"/>
        <unit value="mg/d"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="mg/d"/>
      </amount>
    </nutrient>
    <nutrient>
      <modifier>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="19751002"/>
          <display value="Potassium compound"/>
        </coding>
      </modifier>
      <amount>
        <value value="2"/>
        <unit value="mg/d"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="mg/d"/>
      </amount>
    </nutrient>
    <instruction value="restrict fluid to 1000 mL/day"/>
  </oralDiet>
</NutritionOrder>