Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example ServiceRequest/colonoscopy (Turtle)

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

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

Example of an order for a colonoscopy procedure with complication

@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:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "colonoscopy"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"colonoscopy\"> </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 ServiceRequest &quot;colonoscopy&quot; </p></div><p><b>identifier</b>: <span title=\"  Example of colonoscopy service request which is grouped with a bx request \">id: 45678</span></p><p><b>requisition</b>: id: req12345</p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Colonoscopy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#73761001 &quot;Colonoscopy (procedure)&quot;)</span></td></tr></table><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>authoredOn</b>: 2017-03-05</p><p><b>requester</b>: <a href=\"practitioner-examples-general.html\">Practitioner/3ad0687e-f477-468c-afd5-fcc2bf897809: Dr. Beverly Crusher</a></p><p><b>performer</b>: <a href=\"practitioner-example.html\">Practitioner/example: Dr Adam Careful</a> &quot;Adam CAREFUL&quot;</p></div>"
  ] ; #    Example of colonoscopy service request which is grouped with a bx request  
  fhir:identifier ( [
     fhir:value [ fhir:v "45678" ]
  ] ) ; # 
  fhir:requisition [
     fhir:system [ fhir:v "http://bumc.org/requisitions"^^xsd:anyURI ] ;
     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:code [ fhir:v "73761001" ] ;
         fhir:display [ fhir:v "Colonoscopy (procedure)" ]
       ] ) ;
       fhir:text [ fhir:v "Colonoscopy" ]
     ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2017-03-05"^^xsd:date] ; # 
  fhir:requester [
     fhir:reference [ fhir:v "Practitioner/3ad0687e-f477-468c-afd5-fcc2bf897809" ] ;
     fhir:display [ fhir:v "Dr. Beverly Crusher" ]
  ] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Dr Adam Careful" ]
  ] )] . # 

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


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.