@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 -------------------------------------------------------------------

# This is an example of an order to not do something In this case don't do not turn patient due to spine fracture -

<http://hl7.org/fhir/ServiceRequest/do-not-turn> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "do-not-turn"] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://goodhealth.org/placer-ids"^^xsd:anyURI ;
       fhir:l <http://goodhealth.org/placer-ids>
     ] ;
     fhir:value [ fhir:v "20170201-0002" ]
  ] ) ; # placer identifier
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:priority [ fhir:v "stat"] ; # 
  fhir:doNotPerform [ fhir:v true] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a sct:359962006 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "359962006" ] ;
         fhir:display [ fhir:v "Turning patient in bed (procedure)" ]
       ] )
     ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2017-02-01T17:23:07Z"^^xsd:dateTime] ; # TimeStamp when order authorized
  fhir:requester [
     fhir:l <http://hl7.org/fhir/Practitioner/example> ;
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Dr Adam Careful" ]
  ] ; # 
  fhir:reason ( [
     fhir:reference [
       fhir:display [ fhir:v "Patient has a spinal fracture" ]
     ]
  ] ) . # demonstrating in this example the reason reference element

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

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

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

