@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/example-encounter> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-encounter"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  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</b></p><a name=\"example-encounter\"> </a><a name=\"hcexample-encounter\"> </a><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>type</b>: <span title=\"Codes:{https://nshr-uat.sha.go.ke/fhir/CodeSystem/oncology-encounter-type-cs TREATMENT-ENCOUNTER}\">Treatment Encounter</span></p><p><b>subject</b>: <a href=\"Patient-example-patient.html\">Mary Wanjiku  Female, DoB: 1975-06-15</a></p><p><b>episodeOfCare</b>: <a href=\"EpisodeOfCare-example-episode.html\">EpisodeOfCare: status = active; type = Cancer Care Program</a></p><p><b>period</b>: 2026-01-15 09:00:00+0000 --&gt; 2026-01-15 13:00:00+0000</p><h3>Diagnoses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Condition</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Condition-example-condition.html\">Condition C50 — Malignant neoplasm of breast</a></td></tr></table><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-oncology-day-unit.html\">Location KNH Oncology Day Treatment Unit</a></td></tr></table><p><b>serviceProvider</b>: <a href=\"Organization-example-organization.html\">Organization Kenyatta National Hospital — Oncology Unit</a></p></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:type ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "https://nshr-uat.sha.go.ke/fhir/CodeSystem/oncology-encounter-type-cs"^^xsd:anyURI ;
         fhir:l <https://nshr-uat.sha.go.ke/fhir/CodeSystem/oncology-encounter-type-cs>
       ] ;
       fhir:code [ fhir:v "TREATMENT-ENCOUNTER" ] ;
       fhir:display [ fhir:v "Treatment Encounter" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <https://nshr-uat.sha.go.ke/fhir/Patient/example-patient> ;
     fhir:reference [ fhir:v "Patient/example-patient" ]
  ] ; # 
  fhir:episodeOfCare ( [
     fhir:l <https://nshr-uat.sha.go.ke/fhir/EpisodeOfCare/example-episode> ;
     fhir:reference [ fhir:v "EpisodeOfCare/example-episode" ]
  ] ) ; # 
  fhir:period [
     fhir:start [ fhir:v "2026-01-15T09:00:00Z"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2026-01-15T13:00:00Z"^^xsd:dateTime ]
  ] ; # 
  fhir:diagnosis ( [
     fhir:condition [
       fhir:l <https://nshr-uat.sha.go.ke/fhir/Condition/example-condition> ;
       fhir:reference [ fhir:v "Condition/example-condition" ]
     ]
  ] ) ; # 
  fhir:location ( [
     fhir:location [
       fhir:l <https://nshr-uat.sha.go.ke/fhir/Location/oncology-day-unit> ;
       fhir:reference [ fhir:v "Location/oncology-day-unit" ]
     ]
  ] ) ; # 
  fhir:serviceProvider [
     fhir:l <https://nshr-uat.sha.go.ke/fhir/Organization/example-organization> ;
     fhir:reference [ fhir:v "Organization/example-organization" ]
  ] . # 

# -------------------------------------------------------------------------------------

