QI-Core Implementation Guide
5.0.0 - STU5 United States of America flag

This page is part of the Quality Improvement Core Framework (v5.0.0: STU5 (v5.0.0)) based on FHIR R4. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

: NutrientOrder example - JSON Representation

Raw json | Download


{
  "resourceType" : "NutritionOrder",
  "id" : "example",
  "meta" : //  Example based on NutritionOrder/diabeticdiet 
  {
    "profile" : [
      "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nutritionorder"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: NutritionOrder</b><a name=\"example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource NutritionOrder &quot;example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-nutritionorder.html\">QICore NutritionOrder</a></p></div><p><b>identifier</b>: id:\u00a0123</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>patient</b>: <a href=\"Patient-example.html\">Patient/example: Peter Chalmers</a> &quot; CHALMERS&quot;</p><p><b>encounter</b>: <a href=\"Encounter-example.html\">Encounter/example: Inpatient</a></p><p><b>dateTime</b>: 2014-09-17</p><p><b>orderer</b>: <a href=\"Practitioner-example.html\">Practitioner/example: Dr Adam Careful</a> &quot; CAREFUL&quot;</p><p><b>allergyIntolerance</b>: <a href=\"AllergyIntolerance-example.html\">AllergyIntolerance/example: Cashew Nuts</a></p><p><b>foodPreferenceModifier</b>: Dairy Free <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-diet.html\">Diet</a>#dairy-free)</span></p><blockquote><p><b>oralDiet</b></p><p><b>type</b>: DD - Diabetic diet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#160670007 &quot;Diabetic diet&quot;; diet-type-codes#1030)</span></p><p><b>schedule</b>: Starting 2015-02-10, 3 per 1 days</p><h3>Nutrients</h3><table class=\"grid\"><tr><td>-</td><td><b>Modifier</b></td><td><b>Amount</b></td></tr><tr><td>*</td><td>Carbohydrate <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#2331003)</span></td><td>75 grams<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code g = 'g')</span></td></tr></table></blockquote></div>"
  },
  "identifier" : [
    {
      "system" : "http://goodhealthhospital.org/nutrition-requests",
      "value" : "123"
    }
  ],
  "status" : "active",
  "intent" : "order",
  "patient" : {
    "reference" : "Patient/example",
    "display" : "Peter Chalmers"
  },
  "encounter" : {
    "reference" : "Encounter/example",
    "display" : "Inpatient"
  },
  "dateTime" : "2014-09-17",
  "orderer" : {
    "reference" : "Practitioner/example",
    "display" : "Dr Adam Careful"
  },
  "allergyIntolerance" : [
    {
      "reference" : "AllergyIntolerance/example",
      "display" : "Cashew Nuts"
    }
  ],
  "foodPreferenceModifier" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/diet",
          "code" : "dairy-free"
        }
      ]
    }
  ],
  "oralDiet" : //  Unknown SNOMED Version 20140730, began showing up 2021-10-27
	<excludeFoodModifier>
		<coding>
			<system value="http://snomed.info/sct"/>
			<version value="20140730"/>
			<code value="227493005"/>
			<display value="Cashew Nut"/>
		</coding>
	</excludeFoodModifier>

  {
    "type" : [
      //    EH:  list type of diet showing standard code and local codes   
      {
        "coding" : [
          {
            "system" : "http://snomed.info/sct",
            "code" : "160670007",
            "display" : "Diabetic diet"
          },
          {
            "system" : "http://example.org/diet-type-codes",
            "code" : "1030",
            "display" : "DD - Diabetic diet"
          }
        ],
        "text" : "DD - Diabetic diet"
      }
    ],
    "schedule" : [
      //    EH example of three times a day starting on 2/10 using schedule   
      {
        "repeat" : {
          "boundsPeriod" : {
            "start" : "2015-02-10"
          },
          "frequency" : 3,
          "period" : 1,
          "periodUnit" : "d"
        }
      }
    ],
    "nutrient" : [
      //    list nutrients and amounts here   
      {
        "modifier" : {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "2331003",
              "display" : "Carbohydrate"
            }
          ]
        },
        "amount" : {
          "value" : 75,
          "unit" : "grams",
          "system" : "http://unitsofmeasure.org",
          "code" : "g"
        }
      }
    ]
  }
}