QI-Core Implementation Guide
4.1.0 - release

This page is part of the Quality Improvement Core Framework (v4.1.0: STU 4) 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 - TTL Representation

Raw ttl | Download


@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 "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nutritionorder";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nutritionorder>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 \"example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-nutritionorder.html\">QICoreNutritionOrder</a></p></div><p><b>identifier</b>: id: 123</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> \" CHALMERS\"</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> \" CAREFUL\"</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.0.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 \"Diabetic diet\"; diet-type-codes#1030)</span></p><p><b>schedule</b>: Starting 2015-02-10, Do 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>"
  ];
  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.patient [
     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.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: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.