SIL HIE Implementation Guide
0.1.0 - sil-hie-active

SIL HIE Implementation Guide, published by Kathurima Kimathi. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/savannahghi/hie-fhir-ig-profile/ and changes regularly. See the Directory of published versions

: Example HIE ServiceRequest - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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/HIEServiceRequest-example> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "HIEServiceRequest-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://nshr.dha.go.ke/fhir/StructureDefinition/servicerequest"^^xsd:anyURI ;
       fhir:link <https://nshr.dha.go.ke/fhir/StructureDefinition/servicerequest>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>ServiceRequest Summary</b></p><table><tbody><tr><td><b>Status</b></td><td>active</td></tr><tr><td><b>Intent</b></td><td>order</td></tr><tr><td><b>Priority</b></td><td>routine</td></tr><tr><td><b>Category</b></td><td>Laboratory test</td></tr><tr><td><b>Code</b></td><td>Complete blood count panel (LOINC 57021-8)</td></tr><tr><td><b>Subject</b></td><td>Jane Patient (Patient/p-001)</td></tr><tr><td><b>Encounter</b></td><td>OP visit 2025-11-15 (Encounter/enc-001)</td></tr><tr><td><b>When</b></td><td>2025-11-16T08:00:00+03:00</td></tr><tr><td><b>Requester</b></td><td>Dr. John Clinician (Practitioner/pr-001)</td></tr><tr><td><b>Performer</b></td><td>Acme Diagnostics Lab (Organization/lab-001)</td></tr></tbody></table><p><b>Order Details</b></p><ul><li>Fasting required</li><li>Serum specimen</li></ul><p><b>Reason</b></p><ul><li>Condition: Fatigue (Condition/cond-001)</li></ul><p><b>Specimen &amp; Location</b></p><ul><li>Collect at Outpatient Lab Room 3 (Location/loc-lab)</li><li>Specimen: Specimen/spec-001</li></ul><p><b>Notes</b></p><ul><li>Patient instructed to fast for 8 hours prior to collection.</li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PLAC" ] ;
         fhir:display [ fhir:v "Placer Identifier" ]
       ] )
     ] ;
     fhir:system [ fhir:v "http://hospital.example.org/ordernumbers"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "ORD-2025-000123" ]
  ] ) ; # 
  fhir:replaces ( [
     fhir:link <http://hl7.org/fhir/ServiceRequest/sr-older-001> ;
     fhir:reference [ fhir:v "ServiceRequest/sr-older-001" ] ;
     fhir:display [ fhir:v "Supersedes prior non-fasting order" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0074"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "LAB" ] ;
       fhir:display [ fhir:v "Laboratory" ]
     ] )
  ] ) ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:57021-8 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "57021-8" ] ;
       fhir:display [ fhir:v "CBC W Auto Differential panel" ]
     ] )
  ] ; # 
  fhir:orderDetail ( [
     fhir:coding ( [
       a sct:422512005 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "422512005" ] ;
       fhir:display [ fhir:v "Fasting procedure requested" ]
     ] )
  ] [
     fhir:coding ( [
       a sct:119361006 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "119361006" ] ;
       fhir:display [ fhir:v "Serum specimen" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:link <http://hl7.org/fhir/Patient/p-001> ;
     fhir:reference [ fhir:v "Patient/p-001" ] ;
     fhir:display [ fhir:v "Jane Patient" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://hl7.org/fhir/Encounter/enc-001> ;
     fhir:reference [ fhir:v "Encounter/enc-001" ] ;
     fhir:display [ fhir:v "OP visit 2025-11-15" ]
  ] ; # 
  fhir:occurrence [
     a fhir:dateTime ;
     fhir:v "2025-11-16T08:00:00+03:00"^^xsd:dateTime
  ] ; # 
  fhir:authoredOn [ fhir:v "2025-11-15T10:12:00+03:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:link <http://hl7.org/fhir/Practitioner/pr-001> ;
     fhir:reference [ fhir:v "Practitioner/pr-001" ] ;
     fhir:display [ fhir:v "Dr. John Clinician" ]
  ] ; # 
  fhir:performerType [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/participant-role"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "performer" ] ;
       fhir:display [ fhir:v "Performer" ]
     ] )
  ] ; # 
  fhir:performer ( [
     fhir:link <http://hl7.org/fhir/Organization/lab-001> ;
     fhir:reference [ fhir:v "Organization/lab-001" ] ;
     fhir:display [ fhir:v "Acme Diagnostics Lab" ]
  ] ) ; # 
  fhir:locationReference ( [
     fhir:link <http://hl7.org/fhir/Location/loc-lab> ;
     fhir:reference [ fhir:v "Location/loc-lab" ] ;
     fhir:display [ fhir:v "Outpatient Lab Room 3" ]
  ] ) ; # 
  fhir:reasonReference ( [
     fhir:link <http://hl7.org/fhir/Condition/cond-001> ;
     fhir:reference [ fhir:v "Condition/cond-001" ] ;
     fhir:display [ fhir:v "Fatigue" ]
  ] ) ; # 
  fhir:supportingInfo ( [
     fhir:link <http://hl7.org/fhir/DocumentReference/dr-001> ;
     fhir:reference [ fhir:v "DocumentReference/dr-001" ] ;
     fhir:display [ fhir:v "Referral letter" ]
  ] ) ; # 
  fhir:specimen ( [
     fhir:link <http://hl7.org/fhir/Specimen/spec-001> ;
     fhir:reference [ fhir:v "Specimen/spec-001" ] ;
     fhir:display [ fhir:v "Serum sample" ]
  ] ) ; # 
  fhir:bodySite ( [
     fhir:coding ( [
       a sct:368208006 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "368208006" ] ;
       fhir:display [ fhir:v "Left antecubital fossa" ]
     ] )
  ] ) ; # 
  fhir:note ( [
     fhir:author [
       a fhir:Reference ;
       fhir:link <http://hl7.org/fhir/Practitioner/pr-001> ;
       fhir:reference [ fhir:v "Practitioner/pr-001" ]
     ] ;
     fhir:time [ fhir:v "2025-11-15T10:15:00+03:00"^^xsd:dateTime ] ;
     fhir:text [ fhir:v "Patient advised to fast 8 hours. Collect before 10 AM." ]
  ] ) . # 

<http://hl7.org/fhir/ServiceRequest/sr-older-001> a fhir:ServiceRequest .

<http://hl7.org/fhir/Patient/p-001> a fhir:Patient .

<http://hl7.org/fhir/Encounter/enc-001> a fhir:Encounter .

<http://hl7.org/fhir/Practitioner/pr-001> a fhir:Practitioner .

<http://hl7.org/fhir/Organization/lab-001> a fhir:Organization .

<http://hl7.org/fhir/Location/loc-lab> a fhir:Location .

<http://hl7.org/fhir/Condition/cond-001> a fhir:Condition .

<http://hl7.org/fhir/DocumentReference/dr-001> a fhir:DocumentReference .

<http://hl7.org/fhir/Specimen/spec-001> a fhir:Specimen .