@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 -------------------------------------------------------------------

<http://hl7.org/fhir/NutritionOrder/texturemodified> a fhir:NutritionOrder ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "texturemodified"] ; #   EH: use oral Diet element  
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://goodhealthhospital.org/nutrition-requests"^^xsd:anyURI ;
       fhir:l <http://goodhealthhospital.org/nutrition-requests>
     ] ;
     fhir:value [ fhir:v "123" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ] ;
     fhir:display [ fhir:v "Peter Chalmers" ]
  ] ; # 
  fhir:dateTime [ fhir:v "2014-09-17"^^xsd:date] ; # 
  fhir:oralDiet [
     fhir:type ( [
       fhir:coding ( [
         a sct:435801000124108 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "435801000124108" ] ;
         fhir:display [ fhir:v "Texture modified diet" ]
       ] [
         fhir:system [
           fhir:v "http://goodhealthhospital.org/diet-type-codes"^^xsd:anyURI ;
           fhir:l <http://goodhealthhospital.org/diet-type-codes>
         ] ;
         fhir:code [ fhir:v "1010" ] ;
         fhir:display [ fhir:v "Texture modified diet" ]
       ] ) ;
       fhir:text [ fhir:v "Texture modified 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  
     fhir:texture ( [
       fhir:modifier [
         fhir:coding ( [
           a sct:228049004 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "228049004" ] ;
           fhir:display [ fhir:v "Chopped food" ]
         ] ) ;
         fhir:text [ fhir:v "Regular, Chopped Meat" ]
       ]
     ] )
  ] . # 

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

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

