| Orders and Observations Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: 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 -------------------------------------------------------------------
<http://hl7.org/fhir/ServiceRequest/colonoscopy> a fhir:ServiceRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "colonoscopy"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 "colonoscopy" </p></div><p><b>identifier</b>: id: 45678</p><p><b>requisition</b>: id: req12345</p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: Colonoscopy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#73761001 "Colonoscopy (procedure)")</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><p><b>authoredOn</b>: 2017-03-05</p><p><b>requester</b>: <a href=\"practitioner-3ad0687e-f477-468c-afd5-fcc2bf897809.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> "Adam CAREFUL"</p></div>"
  ];
  fhir:ServiceRequest.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "45678" ]
  ];
  fhir:ServiceRequest.requisition [
     fhir:Identifier.system [ fhir:value "http://bumc.org/requisitions" ];
     fhir:Identifier.value [ fhir:value "req12345" ]
  ];
  fhir:ServiceRequest.status [ fhir:value "completed"];
  fhir:ServiceRequest.intent [ fhir:value "order"];
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:73761001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "73761001" ];
       fhir:Coding.display [ fhir:value "Colonoscopy (procedure)" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Colonoscopy" ]
  ];
  fhir:ServiceRequest.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:ServiceRequest.authoredOn [ fhir:value "2017-03-05"^^xsd:date];
  fhir:ServiceRequest.requester [
     fhir:link <http://hl7.org/fhir/Practitioner/3ad0687e-f477-468c-afd5-fcc2bf897809>;
     fhir:Reference.reference [ fhir:value "Practitioner/3ad0687e-f477-468c-afd5-fcc2bf897809" ];
     fhir:Reference.display [ fhir:value "Dr. Beverly Crusher" ]
  ];
  fhir:ServiceRequest.performer [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ];
     fhir:Reference.display [ fhir:value "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 .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/ServiceRequest/colonoscopy.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/ServiceRequest/colonoscopy.ttl> .
# -------------------------------------------------------------------------------------
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.