Kenya ePrescription FHIR Implementation Guide
0.1.0 - ci-build Kenya flag

Kenya ePrescription FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Encounter – James Otieno Oncology Inpatient Admission - 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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-encounter-otieno-inpatient"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://nshr-uat.sha.go.ke/StructureDefinition/ke-encounter"^^xsd:anyURI ;
fhir:l <https://nshr-uat.sha.go.ke/StructureDefinition/ke-encounter>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter example-encounter-otieno-inpatient</b></p><a name=\"example-encounter-otieno-inpatient\"> </a><a name=\"hcexample-encounter-otieno-inpatient\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ke-encounter.html\">Kenya eRx Encounter</a></p></div><p><b>identifier</b>: <a href=\"NamingSystem-ns-encounter-identifier.html\" title=\"Encounter number generated by the facility HIS/EMR. Format: ENC-{YYYY}-{TYPE}-{SEQ}.\">KenyaEncounterIdentifier</a>/ENC-2025-IPD-00456</p><p><b>status</b>: In Progress</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode: IMP</a> (inpatient encounter)</p><p><b>serviceType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/service-type 218}\">Oncology</span></p><p><b>priority</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActPriority R}\">Routine</span></p><p><b>subject</b>: <a href=\"Patient-example-patient-otieno.html\">James Otieno (official) Male, DoB: 1968-09-20 ( https://ilm-hie.dha.go.ke/fhir/NamingSystem/national-id#KenyaNationalId#10293847)</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-example-practitioner-njoroge.html\">Practitioner Sarah Njoroge (official)</a></td></tr></table><p><b>period</b>: 2025-06-10 08:00:00+0300 --&gt; (ongoing)</p><h3>Hospitalizations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>AdmitSource</b></td><td><b>DischargeDisposition</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/admit-source outp}\">From outpatient department</span></td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/discharge-disposition home}\">Home</span></td></tr></table><p><b>serviceProvider</b>: <a href=\"Organization-example-organization-knh.html\">Organization Kenyatta National Hospital</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
fhir:system [
fhir:v "https://ilm-hie.dha.go.ke/fhir/NamingSystem/encounter-identifier"^^xsd:anyURI ;
fhir:l <https://ilm-hie.dha.go.ke/fhir/NamingSystem/encounter-identifier>     ] ;
fhir:value [ fhir:v "ENC-2025-IPD-00456" ]
  ] ) ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:class [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>     ] ;
fhir:code [ fhir:v "IMP" ] ;
fhir:display [ fhir:v "inpatient encounter" ]
  ] ; # 
  fhir:serviceType [
    ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/service-type"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/service-type>       ] ;
fhir:code [ fhir:v "218" ] ;
fhir:display [ fhir:v "Oncology" ]     ] )
  ] ; # 
  fhir:priority [
    ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActPriority"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActPriority>       ] ;
fhir:code [ fhir:v "R" ] ;
fhir:display [ fhir:v "Routine" ]     ] )
  ] ; # 
  fhir:subject [
fhir:l fhir:Patient/example-patient-otieno ;
fhir:reference [ fhir:v "Patient/example-patient-otieno" ]
  ] ; # 
  fhir:participant ( [
fhir:individual [
fhir:l fhir:Practitioner/example-practitioner-njoroge ;
fhir:reference [ fhir:v "Practitioner/example-practitioner-njoroge" ]     ]
  ] ) ; # 
  fhir:period [
fhir:start [ fhir:v "2025-06-10T08:00:00+03:00"^^xsd:dateTime ]
  ] ; # 
  fhir:hospitalization [
fhir:admitSource [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/admit-source"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/admit-source>         ] ;
fhir:code [ fhir:v "outp" ] ;
fhir:display [ fhir:v "From outpatient department" ]       ] )     ] ;
fhir:dischargeDisposition [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/discharge-disposition"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/discharge-disposition>         ] ;
fhir:code [ fhir:v "home" ] ;
fhir:display [ fhir:v "Home" ]       ] )     ]
  ] ; # 
  fhir:serviceProvider [
fhir:l fhir:Organization/example-organization-knh ;
fhir:reference [ fhir:v "Organization/example-organization-knh" ]
  ] . #