R6 Ballot (2nd Draft)

Publish-box (todo)

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:id [ fhir:v "diabeticdiet"] ; #   id = diabeticdiet  file name = nutritionorder-example-diabeticdiet.xml Name= Diabetic Diet  Description = Nutrition Order Diabetic Diet Canonical 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: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" ] ;
     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:code [ fhir:v "227493005" ] ;
       fhir:display [ fhir:v "Cashew Nut" ]
     ] )
  ] ) ; # 
  fhir:oralDiet [
     fhir:type ( [
       fhir:coding ( [
         a sct:160670007 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "160670007" ] ;
         fhir:display [ fhir:v "Diabetic diet" ]
       ] [
         fhir:system [ fhir:v "http://goodhealthhospital.org/diet-type-codes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1030" ] ;
         fhir:display [ fhir:v "DD - Diabetic diet" ]
       ] ) ;
       fhir:text [ fhir:v "DD - Diabetic diet" ]
     ] ) ; #   EH:  list type of diet showing standard code and local codes  
     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 using schedule  
     fhir:nutrient ( [
       fhir:modifier [
         fhir:coding ( [
           a sct:2331003 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "2331003" ] ;
           fhir:display [ fhir:v "Carbohydrate" ]
         ] )
       ] ;
       fhir:amount [
         fhir:value [ fhir:v "75"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "grams" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "g" ]
       ]
     ] ) #   list nutrients and amounts here  
  ]] . # 

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


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.