Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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/diabeticsupplement (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 Supplement 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 "diabeticsupplement"];
  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=\"diabeticsupplement\"> </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;diabeticsupplement&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>: Kosher <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-diet.html\">Diet</a>#kosher)</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>supplement</b></p><h3>Types</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Adult diabetic formula <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#443051000124104 &quot;Adult diabetes specialty formula&quot;; supplement-type-codes#1010)</span></td></tr></table><p><b>productName</b>: Glucerna</p><h3>Schedules</h3><table class=\"grid\"><tr><td>-</td><td><b>Timing</b></td></tr><tr><td>*</td><td>Starting 2015-02-10T15:00:00Z, Do Once per 24 hours, Duration 1?ngen-7?, Do , before sleeping</td></tr></table><p><b>quantity</b>: 1 8 oz bottle</p></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 "kosher" ]
     ]
  ];
  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.supplement [
     fhir:index 0;
     fhir:NutritionOrder.supplement.type [
       fhir:CodeableReference.concept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:443051000124104;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "443051000124104" ];
           fhir:Coding.display [ fhir:value "Adult diabetes specialty formula" ]
         ], [
           fhir:index 1;
           fhir:Coding.system [ fhir:value "http://goodhealthhospital.org/supplement-type-codes" ];
           fhir:Coding.code [ fhir:value "1010" ];
           fhir:Coding.display [ fhir:value "Adult diabetic formula" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "Adult diabetic formula" ]
       ]
     ];
     fhir:NutritionOrder.supplement.productName [ fhir:value "Glucerna" ];
     fhir:NutritionOrder.supplement.schedule [
       fhir:NutritionOrder.supplement.schedule.timing [
         fhir:index 0;
         fhir:Timing.repeat [
           fhir:Timing.repeat.boundsPeriod [
             fhir:Period.start [ fhir:value "2015-02-10T15:00:00Z"^^xsd:dateTime ]
           ];
           fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ];
           fhir:Timing.repeat.period [ fhir:value "24"^^xsd:decimal ];
           fhir:Timing.repeat.periodUnit [ fhir:value "h" ]
         ]
       ], [
         fhir:index 1;
         fhir:Timing.repeat [
           fhir:Timing.repeat.duration [ fhir:value "1"^^xsd:decimal ];
           fhir:Timing.repeat.durationUnit [ fhir:value "h" ];
           fhir:Timing.repeat.when [
             fhir:value "HS";
             fhir:index 0
           ]
         ]
       ]
     ];
     fhir:NutritionOrder.supplement.quantity [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "8 oz bottle" ]
     ]
  ]] .

# - 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.