@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 -------------------------------------------------------------------

<https://nshr-uat.sha.go.ke/fhir/Encounter/ECLM-ENC-001> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ECLM-ENC-001"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-eclaims-encounter"^^xsd:anyURI ;
       fhir:l <https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-eclaims-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 ECLM-ENC-001</b></p><a name=\"ECLM-ENC-001\"> </a><a name=\"hcECLM-ENC-001\"> </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-eclaims-encounter.html\">eClaims Encounter Profile</a></p></div><p><b>identifier</b>: <code>https://nshr-uat.sha.go.ke/fhir/Identifier/encounter-number</code>/ENC-2025-001234</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://hl7.org/fhir/R4/v3/ActCode/cs.html#v3-ActCode-IMP\">v3 Code System ActCode: IMP</a> (inpatient encounter)</p><p><b>serviceType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/service-type 124}\">General Practice</span></p><p><b>subject</b>: <a href=\"Patient-ECLM-PT-001.html\">John Mwangi Kamau (official) Male, DoB: 1985-06-15 ( National ID: 12345678 (use: official, ))</a></p><p><b>period</b>: 2025-11-01 08:00:00+0300 --&gt; 2025-11-07 10:00:00+0300</p><p><b>serviceProvider</b>: <a href=\"Organization-ECLM-ORG-001.html\">Organization Nairobi General Hospital</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "https://nshr-uat.sha.go.ke/fhir/Identifier/encounter-number"^^xsd:anyURI ;
       fhir:l <https://nshr-uat.sha.go.ke/fhir/Identifier/encounter-number>
     ] ;
     fhir:value [ fhir:v "ENC-2025-001234" ]
  ] ) ; # 
  fhir:status [ fhir:v "finished"] ; # 
  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 "124" ] ;
       fhir:display [ fhir:v "General Practice" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <https://nshr-uat.sha.go.ke/fhir/Patient/ECLM-PT-001> ;
     fhir:reference [ fhir:v "Patient/ECLM-PT-001" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2025-11-01T08:00:00+03:00"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2025-11-07T10:00:00+03:00"^^xsd:dateTime ]
  ] ; # 
  fhir:serviceProvider [
     fhir:l <https://nshr-uat.sha.go.ke/fhir/Organization/ECLM-ORG-001> ;
     fhir:reference [ fhir:v "Organization/ECLM-ORG-001" ]
  ] . # 

# -------------------------------------------------------------------------------------

