@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/ServiceRequest/colonoscopy> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "colonoscopy"] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "45678" ]
  ] ) ; #   Example of colonoscopy service request which is grouped with a bx request 
  fhir:requisition [
     fhir:system [
       fhir:v "http://bumc.org/requisitions"^^xsd:anyURI ;
       fhir:l <http://bumc.org/requisitions>
     ] ;
     fhir:value [ fhir:v "req12345" ]
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a sct:73761001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "73761001" ] ;
         fhir:display [ fhir:v "Colonoscopy (procedure)" ]
       ] ) ;
       fhir:text [ fhir:v "Colonoscopy" ]
     ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2017-03-05"^^xsd:date] ; # 
  fhir:requester [
     fhir:l <http://hl7.org/fhir/Practitioner/3ad0687e-f477-468c-afd5-fcc2bf897809> ;
     fhir:reference [ fhir:v "Practitioner/3ad0687e-f477-468c-afd5-fcc2bf897809" ] ;
     fhir:display [ fhir:v "Dr. Beverly Crusher" ]
  ] ; # 
  fhir:performer ( [
     fhir:l <http://hl7.org/fhir/Practitioner/example> ;
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Dr Adam Careful" ]
  ] ) . # 

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

<http://hl7.org/fhir/Practitioner/3ad0687e-f477-468c-afd5-fcc2bf897809> a fhir:Practitioner .

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

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

