Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

Example NutritionOrder/fiberrestricteddiet (Turtle)

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

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

Nutrition Order Low Fat and Fiber Restricted 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 "fiberrestricteddiet"]; #    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   
  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=\"fiberrestricteddiet\"> </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;fiberrestricteddiet&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/4.0.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  \">Fiber restricted diet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#15108003 &quot;Restricted fiber diet&quot;; diet-type-codes#1000 &quot;Fiber restricted&quot;)</span></span>, Low fat diet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#16208003; diet-type-codes#1100 &quot;Low Fat&quot;)</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, 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><span title=\"  list nutrients and amounts here  \">Fat <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#256674009)</span></span></td><td>50 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:15108003;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "15108003" ];
         fhir:Coding.display [ fhir:value "Restricted fiber diet" ]
       ], [
         fhir:index 1;
         fhir:Coding.system [ fhir:value "http://goodhealthhospital.org/diet-type-codes" ];
         fhir:Coding.code [ fhir:value "1000" ];
         fhir:Coding.display [ fhir:value "Fiber restricted" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Fiber restricted diet" ]
     ], [
       fhir:index 1;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:16208003;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "16208003" ];
         fhir:Coding.display [ fhir:value "Low fat diet" ]
       ], [
         fhir:index 1;
         fhir:Coding.system [ fhir:value "http://goodhealthhospital.org/diet-type-codes" ];
         fhir:Coding.code [ fhir:value "1100" ];
         fhir:Coding.display [ fhir:value "Low Fat" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Low fat diet" ]
     ]; #    EH:  list type of diet showing standard code and local codes   
     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" ]
         ]
       ]
     ]; #    EH example of three times a day starting on 2\/10    
     fhir:NutritionOrder.oralDiet.nutrient [
       fhir:index 0;
       fhir:NutritionOrder.oralDiet.nutrient.modifier [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:256674009;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "256674009" ];
           fhir:Coding.display [ fhir:value "Fat" ]
         ]
       ]; #    list nutrients and amounts here   
       fhir:NutritionOrder.oralDiet.nutrient.amount [
         fhir:Quantity.value [ fhir:value "50"^^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.