Kenya ePrescription Implementation Guide, published by Digital Health Agency (DHA), Kenya. 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/IntelliSOFT-Consulting/Kenya-ePrescription-IG/ and changes regularly. See the Directory of published versions
: Encounter – INVALID: Missing participant/serviceProvider; wrong class code - TTL Representation
Raw ttl | Download
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/Encounter/example-encounter-invalid> a fhir:Encounter ;
fhir:nodeRole fhir:treeRoot ;
fhir:Resource.id [ fhir:value "example-encounter-invalid"] ;
fhir:Resource.meta [
fhir:Meta.profile [
fhir:value "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-encounter" ;
fhir:index 0 ;
fhir:link <https://fhir.dha.go.ke/fhir/StructureDefinition/ke-encounter>
]
] ;
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ] ;
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter example-encounter-invalid</b></p><a name=\"example-encounter-invalid\"> </a><a name=\"hcexample-encounter-invalid\"> </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: <code>https://fhir.dha.go.ke/fhir/StructureDefinition/ke-encounter</code></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-INVALID-001</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActCode.html#v3-ActCode-WALK-IN\">ActCode: WALK-IN</a> (Walk-in)</p><p><b>subject</b>: <a href=\"Patient-example-patient-amina.html\">Amina Hassan (official) Female, DoB: 1988-04-15 ( https://ilm-hie.dha.go.ke/fhir/NamingSystem/national-id#KenyaNationalId#29834765)</a></p><p><b>period</b>: 2025-06-15 09:00:00+0300 --> 2025-06-15 10:00:00+0300</p></div>"
] ;
fhir:Encounter.identifier [
fhir:index 0 ;
fhir:Identifier.system [ fhir:value "https://ilm-hie.dha.go.ke/fhir/NamingSystem/encounter-identifier" ] ;
fhir:Identifier.value [ fhir:value "ENC-INVALID-001" ]
] ;
fhir:Encounter.status [ fhir:value "finished"] ;
fhir:Encounter.class [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
fhir:Coding.code [ fhir:value "WALK-IN" ] ;
fhir:Coding.display [ fhir:value "Walk-in" ]
] ;
fhir:Encounter.subject [
fhir:link <http://hl7.org/fhir/Patient/example-patient-amina> ;
fhir:Reference.reference [ fhir:value "Patient/example-patient-amina" ]
] ;
fhir:Encounter.period [
fhir:Period.start [ fhir:value "2025-06-15T09:00:00+03:00"^^xsd:dateTime ] ;
fhir:Period.end [ fhir:value "2025-06-15T10:00:00+03:00"^^xsd:dateTime ]
] .
<http://hl7.org/fhir/Patient/example-patient-amina> a fhir:Patient .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Encounter/example-encounter-invalid.ttl> a owl:Ontology ;
owl:imports fhir:fhir.ttl ;
owl:versionIRI <http://build.fhir.org/Encounter/example-encounter-invalid.ttl> .