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 DiagnosticReport - 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/DiagnosticReport/HIEDiagnosticReport-example> a fhir:DiagnosticReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "HIEDiagnosticReport-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://nshr.dha.go.ke/fhir/StructureDefinition/diagnosticreport"^^xsd:anyURI ;
       fhir:link <https://nshr.dha.go.ke/fhir/StructureDefinition/diagnosticreport>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Diagnostic Report</b></p><p>CBC panel completed. Results interpreted and finalized.</p><p><b>Subject</b>: Jane Patient (Patient/p-001)</p><p><b>Encounter</b>: Outpatient visit on 2025-11-12 (Encounter/enc-001)</p><table><thead><tr><th align=\"left\">Code</th><th align=\"left\">Name</th><th align=\"left\">Value</th><th align=\"left\">Ref Range</th></tr></thead><tbody><tr><td>718-7</td><td>Hemoglobin [Mass/volume] in Blood</td><td>12.4 g/dL</td><td>12.0–16.0 g/dL</td></tr><tr><td>6690-2</td><td>Leukocytes [#/volume] in Blood</td><td>7.2 ×10^3/µL</td><td>4.0–11.0 ×10^3/µL</td></tr></tbody></table><p><b>Conclusion</b>: Findings consistent with normal CBC.</p><p><b>Performer</b>: Acme Lab (Organization/org-001)</p><p><b>Issued</b>: 2025-11-12T11:05:00+03:00</p></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 "ACSN" ] ;
         fhir:display [ fhir:v "Accession ID" ]
       ] )
     ] ;
     fhir:system [ fhir:v "http://example.org/reports"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "DR-2025-0001" ]
  ] ) ; # 
  fhir:basedOn ( [
     fhir:link <http://hl7.org/fhir/ServiceRequest/sr-001> ;
     fhir:reference [ fhir:v "ServiceRequest/sr-001" ] ;
     fhir:display [ fhir:v "CBC order" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  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:code [
     fhir:coding ( [
       a loinc:24323-8 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "24323-8" ] ;
       fhir:display [ fhir:v "CBC panel - Hematology" ]
     ] )
  ] ; # 
  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 "Outpatient visit 2025-11-12" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2025-11-12T10:40:00+03:00"^^xsd:dateTime
  ] ; # 
  fhir:issued [ fhir:v "2025-11-12T11:05:00+03:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:link <http://hl7.org/fhir/Organization/org-001> ;
     fhir:reference [ fhir:v "Organization/org-001" ] ;
     fhir:display [ fhir:v "Acme Lab" ]
  ] ) ; # 
  fhir:resultsInterpreter ( [
     fhir:link <http://hl7.org/fhir/HIEPractitioner/pr-001> ;
     fhir:reference [ fhir:v "HIEPractitioner/pr-001" ] ;
     fhir:display [ fhir:v "Dr. John Clinician" ]
  ] ) ; # 
  fhir:specimen ( [
     fhir:link <http://hl7.org/fhir/Specimen/spec-001> ;
     fhir:reference [ fhir:v "Specimen/spec-001" ] ;
     fhir:display [ fhir:v "Whole blood EDTA" ]
  ] ) ; # 
  fhir:result ( [
     fhir:link <http://hl7.org/fhir/Observation/obs-hb> ;
     fhir:reference [ fhir:v "Observation/obs-hb" ] ;
     fhir:display [ fhir:v "Hemoglobin" ]
  ] [
     fhir:link <http://hl7.org/fhir/Observation/obs-wbc> ;
     fhir:reference [ fhir:v "Observation/obs-wbc" ] ;
     fhir:display [ fhir:v "Leukocytes" ]
  ] ) ; # 
  fhir:media ( [
     fhir:comment [ fhir:v "Analyzer QC image" ] ;
     fhir:link [
       fhir:link <http://hl7.org/fhir/Media/media-1> ;
       fhir:reference [ fhir:v "Media/media-1" ] ;
       fhir:display [ fhir:v "Analyzer QC image" ]
     ]
  ] ) ; # 
  fhir:conclusion [ fhir:v "Normal CBC."] ; # 
  fhir:conclusionCode ( [
     fhir:coding ( [
       a sct:281900007 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "281900007" ] ;
       fhir:display [ fhir:v "Normal complete blood count" ]
     ] )
  ] ) . # 

<http://hl7.org/fhir/ServiceRequest/sr-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/Organization/org-001> a fhir:Organization .

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

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

<http://hl7.org/fhir/Observation/obs-hb> a fhir:Observation .

<http://hl7.org/fhir/Observation/obs-wbc> a fhir:Observation .

<http://hl7.org/fhir/Media/media-1> a fhir:Media .