R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - 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/renaldiet (Turtle)

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

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

Nutrition Order Renal 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:id [ fhir:v "renaldiet"] ; #    id = renaldiet  file name = nutritionorder-example-renaldiet.xml Name= Renal Diet  Description = Nutrition Order Renal Diet Example
#edited by Eric Haas Health eData Inc
#  ,    EH: use oral Diet element   
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: NutritionOrder</b><a name=\"renaldiet\"> </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;renaldiet&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>: Renal Diet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#33489005 &quot;Renal diet&quot;; diet-type-codes#1050 &quot;Renal&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><blockquote><p><b>nutrient</b></p><p><b>modifier</b>: <span title=\"  list nutrients and amounts here  \">Sodium <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#39972003)</span></span></p><p><b>amount</b>: 2 grams<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code g = 'g')</span></p></blockquote><blockquote><p><b>nutrient</b></p><p><b>modifier</b>: Phosphorus <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#30820000)</span></p><p><b>amount</b>: 1000 milligrams<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span></p></blockquote><blockquote><p><b>nutrient</b></p><p><b>modifier</b>: Potassium <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#88480006)</span></p><p><b>amount</b>: 2 grams<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code g = 'g')</span></p></blockquote></blockquote></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://goodhealthhospital.org/nutrition-requests"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "123" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ] ;
     fhir:display [ fhir:v "Peter Chalmers" ]
  ] ; # 
  fhir:encounter [
     fhir:reference [ fhir:v "Encounter/example" ] ;
     fhir:display [ fhir:v "Inpatient" ]
  ] ; # 
  fhir:dateTime [ fhir:v "2014-09-17"^^xsd:date] ; # 
  fhir:orderer [
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Dr Adam Careful" ]
  ] ; # 
  fhir:allergyIntolerance ( [
     fhir:reference [ fhir:v "AllergyIntolerance/example" ] ; #   EH  Show all the elements in this examples for preference, and intolerance   
     fhir:display [ fhir:v "Cashew Nuts" ]
  ] ) ; # 
  fhir:foodPreferenceModifier ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/diet"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "dairy-free" ]
     ] )
  ] ) ; # 
  fhir:excludeFoodModifier ( [
     fhir:coding ( [
       a sct:227493005 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "20140730" ] ;
       fhir:code [ fhir:v "227493005" ] ;
       fhir:display [ fhir:v "Cashew Nut" ]
     ] )
  ] ) ; # 
  fhir:oralDiet [
     fhir:type ( [
       fhir:coding ( [
         a sct:33489005 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "33489005" ] ;
         fhir:display [ fhir:v "Renal diet" ]
       ] [
         fhir:system [ fhir:v "http://goodhealthhospital.org/diet-type-codes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1050" ] ;
         fhir:display [ fhir:v "Renal" ]
       ] ) ;
       fhir:text [ fhir:v "Renal Diet" ]
     ] ) ;
     fhir:schedule [
       fhir:timing ( [
         fhir:repeat [
           fhir:bounds [
             a fhir:Period ;
             fhir:start [ fhir:v "2015-02-10"^^xsd:date ]
           ] ;
           fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ;
           fhir:period [ fhir:v "1"^^xsd:decimal ] ;
           fhir:periodUnit [ fhir:v "d" ]
         ]
       ] )
     ] ; #    EH example of three times a day starting on 2\/10   
     fhir:nutrient ( [
       fhir:modifier [
         fhir:coding ( [
           a sct:39972003 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "39972003" ] ;
           fhir:display [ fhir:v "Sodium" ]
         ] )
       ] ; #    list nutrients and amounts here   
       fhir:amount [
         fhir:value [ fhir:v "2"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "grams" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "g" ]
       ]
     ] [
       fhir:modifier [
         fhir:coding ( [
           a sct:30820000 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "30820000" ] ;
           fhir:display [ fhir:v "Phosphorus" ]
         ] )
       ] ;
       fhir:amount [
         fhir:value [ fhir:v "1000"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "milligrams" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "mg" ]
       ]
     ] [
       fhir:modifier [
         fhir:coding ( [
           a sct:88480006 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "88480006" ] ;
           fhir:display [ fhir:v "Potassium" ]
         ] )
       ] ;
       fhir:amount [
         fhir:value [ fhir:v "2"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "grams" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "g" ]
       ]
     ] )
  ]] . # 

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


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.