@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 -------------------------------------------------------------------

<http://localhost:8085/fhir/Encounter/EncounterKPS> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "EncounterKPS"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://localhost:8085/fhir/StructureDefinition/ke-kps-encounter"^^xsd:anyURI ;
       fhir:l <http://localhost:8085/fhir/StructureDefinition/ke-kps-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 EncounterKPS</b></p><a name=\"EncounterKPS\"> </a><a name=\"hcEncounterKPS\"> </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-kps-encounter.html\">Encounter Profile - KPS</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://hl7.org/fhir/R4/v3/ActCode/cs.html#v3-ActCode-AMB\">v3 Code System ActCode: AMB</a> (ambulatory)</p><p><b>subject</b>: <a href=\"Patient-PatientKPS.html\">Amina Mohamed  Female, DoB: 1992-03-25 ( http://moh.kenya/identifier/nationalID-no#12345678)</a></p><p><b>period</b>: 2026-05-20 08:00:00+0300 --&gt; 2026-05-20 08:30:00+0300</p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Location-LocationKPS.html\">Location Nairobi Referral Clinic</a></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  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 "AMB" ] ;
     fhir:display [ fhir:v "ambulatory" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://localhost:8085/fhir/Patient/PatientKPS> ;
     fhir:reference [ fhir:v "Patient/PatientKPS" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2026-05-20T08:00:00+03:00"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2026-05-20T08:30:00+03:00"^^xsd:dateTime ]
  ] ; # 
  fhir:location ( [
     fhir:location [
       fhir:l <http://localhost:8085/fhir/Location/LocationKPS> ;
       fhir:reference [ fhir:v "Location/LocationKPS" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

