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 Encounter - TTL Representation

Raw ttl | Download


@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/Encounter/HIEEncounter-example> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "HIEEncounter-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://nshr.dha.go.ke/fhir/StructureDefinition/encounter"^^xsd:anyURI ;
       fhir:link <https://nshr.dha.go.ke/fhir/StructureDefinition/encounter>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Autogenerated Encounter Narrative</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 "EN" ] ;
         fhir:display [ fhir:v "Encounter number" ]
       ] )
     ] ;
     fhir:system [ fhir:v "http://example.org/encounters"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "ENC-12345" ]
  ] ) ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:class [
     fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "AMB" ] ;
     fhir:display [ fhir:v "ambulatory" ]
  ] ; # 
  fhir:type ( [
     fhir:coding ( [
       a sct:11429006 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "11429006" ] ;
       fhir:display [ fhir:v "Consultation" ]
     ] )
  ] ) ; # 
  fhir:priority [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActPriority"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "UR" ] ;
       fhir:display [ fhir:v "urgent" ]
     ] )
  ] ; # 
  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:episodeOfCare ( [
     fhir:link <http://hl7.org/fhir/EpisodeOfCare/ep-001> ;
     fhir:reference [ fhir:v "EpisodeOfCare/ep-001" ] ;
     fhir:display [ fhir:v "Episode for primary care" ]
  ] ) ; # 
  fhir:basedOn ( [
     fhir:link <http://hl7.org/fhir/ServiceRequest/sr-001> ;
     fhir:reference [ fhir:v "ServiceRequest/sr-001" ] ;
     fhir:display [ fhir:v "Neurology consult request" ]
  ] ) ; # 
  fhir:participant ( [
     fhir:type ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/participant-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PPRF" ] ;
         fhir:display [ fhir:v "primary performer" ]
       ] )
     ] ) ;
     fhir:individual [
       fhir:link <http://hl7.org/fhir/HIEPractitioner/pr-001> ;
       fhir:reference [ fhir:v "HIEPractitioner/pr-001" ] ;
       fhir:display [ fhir:v "Dr. John Clinician" ]
     ]
  ] ) ; # 
  fhir:appointment ( [
     fhir:link <http://hl7.org/fhir/Appointment/appt-001> ;
     fhir:reference [ fhir:v "Appointment/appt-001" ] ;
     fhir:display [ fhir:v "Booked slot 2025-11-12T09:00+03:00" ]
  ] ) ; # 
  fhir:reasonCode ( [
     fhir:coding ( [
       a sct:25064002 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "25064002" ] ;
       fhir:display [ fhir:v "Headache" ]
     ] )
  ] ) ; # 
  fhir:diagnosis ( [
     fhir:condition [
       fhir:link <http://hl7.org/fhir/Condition/cond-001> ;
       fhir:reference [ fhir:v "Condition/cond-001" ] ;
       fhir:display [ fhir:v "Acute headache" ]
     ] ;
     fhir:use [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "AD" ] ;
         fhir:display [ fhir:v "Admission diagnosis" ]
       ] )
     ]
  ] ) ; # 
  fhir:hospitalization [
     fhir:origin [
       fhir:link <http://hl7.org/fhir/Location/loc-ER> ;
       fhir:reference [ fhir:v "Location/loc-ER" ] ;
       fhir:display [ fhir:v "Emergency triage" ]
     ] ;
     fhir:admitSource [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/admit-source"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "emd" ] ;
         fhir:display [ fhir:v "From accident/emergency department" ]
       ] )
     ] ;
     fhir:destination [
       fhir:link <http://hl7.org/fhir/Location/loc-OPD> ;
       fhir:reference [ fhir:v "Location/loc-OPD" ] ;
       fhir:display [ fhir:v "Outpatient clinic" ]
     ] ;
     fhir:dischargeDisposition [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/discharge-disposition"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "home" ] ;
         fhir:display [ fhir:v "Discharged to home" ]
       ] )
     ]
  ] ; # 
  fhir:location ( [
     fhir:location [
       fhir:link <http://hl7.org/fhir/Location/loc-OPD> ;
       fhir:reference [ fhir:v "Location/loc-OPD" ] ;
       fhir:display [ fhir:v "Outpatient Room 3" ]
     ]
  ] ) ; # 
  fhir:serviceProvider [
     fhir:link <http://hl7.org/fhir/Organization/org-001> ;
     fhir:reference [ fhir:v "Organization/org-001" ] ;
     fhir:display [ fhir:v "Acme Health Center" ]
  ] . # 

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

<http://hl7.org/fhir/EpisodeOfCare/ep-001> a fhir:EpisodeOfCare .

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

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

<http://hl7.org/fhir/Appointment/appt-001> a fhir:Appointment .

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

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

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

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