Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example NutritionOrder/diabeticdiet (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Encounter, Patient, Practitioner

Raw Turtle (+ also see Turtle/RDF Format Specification)

Nutrition Order Diabetic Diet Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:NutritionOrder;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "diabeticdiet"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: NutritionOrder</b><a name=\"diabeticdiet\"> </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;diabeticdiet&quot; </p></div><p><b>identifier</b>: id: 123</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example: Peter Chalmers</a> &quot;Peter 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;Adam 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><p><b>excludeFoodModifier</b>: Cashew Nut <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT[20140730]</a>#227493005)</span></p><blockquote><p><b>oralDiet</b></p><p><b>type</b>: <span title=\"  EH:  list type of diet showing standard code and local codes  \">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></span></p><h3>Schedules</h3><table class=\"grid\"><tr><td>-</td><td><b>Timing</b></td></tr><tr><td>*</td><td>Starting 2015-02-10, Do 3 per 1 days</td></tr></table><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>"
  ];
  fhir:NutritionOrder.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://goodhealthhospital.org/nutrition-requests" ];
     fhir:Identifier.value [ fhir:value "123" ]
  ];
  fhir:NutritionOrder.status [ fhir:value "active"];
  fhir:NutritionOrder.intent [ fhir:value "order"];
  fhir:NutritionOrder.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Peter Chalmers" ]
  ];
  fhir:NutritionOrder.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/example" ];
     fhir:Reference.display [ fhir:value "Inpatient" ]
  ];
  fhir:NutritionOrder.dateTime [ fhir:value "2014-09-17"^^xsd:date];
  fhir:NutritionOrder.orderer [
     fhir:Reference.reference [ fhir:value "Practitioner/example" ];
     fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
  ];
  fhir:NutritionOrder.allergyIntolerance [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "AllergyIntolerance/example" ];
     fhir:Reference.display [ fhir:value "Cashew Nuts" ]
  ];
  fhir:NutritionOrder.foodPreferenceModifier [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/diet" ];
       fhir:Coding.code [ fhir:value "dairy-free" ]
     ]
  ];
  fhir:NutritionOrder.excludeFoodModifier [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:227493005;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.version [ fhir:value "20140730" ];
       fhir:Coding.code [ fhir:value "227493005" ];
       fhir:Coding.display [ fhir:value "Cashew Nut" ]
     ]
  ];
  fhir:NutritionOrder.oralDiet [
     fhir:NutritionOrder.oralDiet.type [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:160670007;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "160670007" ];
         fhir:Coding.display [ fhir:value "Diabetic diet" ]
       ], [
         fhir:index 1;
         fhir:Coding.system [ fhir:value "http://goodhealthhospital.org/diet-type-codes" ];
         fhir:Coding.code [ fhir:value "1030" ];
         fhir:Coding.display [ fhir:value "DD - Diabetic diet" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "DD - Diabetic diet" ]
     ];
     fhir:NutritionOrder.oralDiet.schedule [
       fhir:NutritionOrder.oralDiet.schedule.timing [
         fhir:index 0;
         fhir:Timing.repeat [
           fhir:Timing.repeat.boundsPeriod [
             fhir:Period.start [ fhir:value "2015-02-10"^^xsd:date ]
           ];
           fhir:Timing.repeat.frequency [ fhir:value "3"^^xsd:positiveInteger ];
           fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
           fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
         ]
       ]
     ];
     fhir:NutritionOrder.oralDiet.nutrient [
       fhir:index 0;
       fhir:NutritionOrder.oralDiet.nutrient.modifier [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:2331003;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "2331003" ];
           fhir:Coding.display [ fhir:value "Carbohydrate" ]
         ]
       ];
       fhir:NutritionOrder.oralDiet.nutrient.amount [
         fhir:Quantity.value [ fhir:value "75"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "grams" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "g" ]
       ]
     ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.