@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 -------------------------------------------------------------------

<https://nshr-uat.sha.go.ke/fhir/Encounter/em-poc-encounter-example> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "em-poc-encounter-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-poc-encounter" ;
       fhir:index 0 ;
       fhir:link <https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-poc-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 em-poc-encounter-example</b></p><a name=\"em-poc-encounter-example\"> </a><a name=\"hcem-poc-encounter-example\"> </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-em-poc-encounter.html\">Encounter - Emergency Point of Care</a></p></div><p><b>identifier</b>: <code>http://hie.go.ke/fhir/identifier/incident-id</code>/INC-20260629120000-0712345678-abc123</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"CodeSystem-em-encounter-class.html#em-encounter-class-FLD\">Emergency Encounter Class: FLD</a> (Emergency medical services field response)</p><p><b>type</b>: <span title=\"Codes:{https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-poc-encounter-type scene-and-transport}\">Scene and transport care</span></p><p><b>priority</b>: <span title=\"Codes:{https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-clinical-acuity orange}\">Orange - Very urgent</span></p><p><b>subject</b>: <a href=\"Patient/pat-0712345678\">Patient/pat-0712345678</a></p><p><b>episodeOfCare</b>: <a href=\"EpisodeOfCare/em-episode-of-care-example-valid\">EpisodeOfCare/em-episode-of-care-example-valid</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-em-practitioner-example.html\">Practitioner Sarah Njoroge </a></td></tr></table><p><b>period</b>: 2026-06-29 12:08:00+0300 --&gt; 2026-06-29 12:38:00+0300</p><h3>Hospitalizations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Destination</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Location-em-destination-facility-example.html\">Location Kenyatta National Hospital Emergency Centre</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-em-scene-location-example.html\">Location Mbagathi Road Pickup Point</a></td></tr></table><p><b>serviceProvider</b>: <a href=\"Organization-org-nairobi-ems-dispatch.html\">Organization Nairobi County Emergency Medical Services</a></p><p><b>partOf</b>: <a href=\"Encounter-em-incident-encounter-example.html\">Encounter: extension = ; identifier = http://hie.go.ke/fhir/identifier/dispatch-id#DISP-20260629120000-9981,http://hie.go.ke/fhir/identifier/incident-id#INC-20260629120000-0712345678-abc123; status = finished; class = Emergency medical services field response (Emergency Encounter Class#FLD); type = Road traffic incident; priority = Priority 1 – Immediate; period = 2026-06-29 12:00:00+0300 --&gt; 2026-06-29 12:40:00+0300; reasonCode = </a></p></div>"
  ] ;
  fhir:Encounter.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://hie.go.ke/fhir/identifier/incident-id" ] ;
     fhir:Identifier.value [ fhir:value "INC-20260629120000-0712345678-abc123" ]
  ] ;
  fhir:Encounter.status [ fhir:value "finished"] ;
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-encounter-class" ] ;
     fhir:Coding.code [ fhir:value "FLD" ]
  ] ;
  fhir:Encounter.type [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-poc-encounter-type" ] ;
       fhir:Coding.code [ fhir:value "scene-and-transport" ] ;
       fhir:Coding.display [ fhir:value "Scene and transport care" ]
     ]
  ] ;
  fhir:Encounter.priority [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-clinical-acuity" ] ;
       fhir:Coding.code [ fhir:value "orange" ] ;
       fhir:Coding.display [ fhir:value "Orange - Very urgent" ]
     ]
  ] ;
  fhir:Encounter.subject [
     fhir:link <https://nshr-uat.sha.go.ke/fhir/Patient/pat-0712345678> ;
     fhir:Reference.reference [ fhir:value "Patient/pat-0712345678" ]
  ] ;
  fhir:Encounter.episodeOfCare [
     fhir:index 0 ;
     fhir:link <https://nshr-uat.sha.go.ke/fhir/EpisodeOfCare/em-episode-of-care-example-valid> ;
     fhir:Reference.reference [ fhir:value "EpisodeOfCare/em-episode-of-care-example-valid" ]
  ] ;
  fhir:Encounter.participant [
     fhir:index 0 ;
     fhir:Encounter.participant.individual [
       fhir:link <https://nshr-uat.sha.go.ke/fhir/Practitioner/em-practitioner-example> ;
       fhir:Reference.reference [ fhir:value "Practitioner/em-practitioner-example" ]
     ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2026-06-29T12:08:00+03:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2026-06-29T12:38:00+03:00"^^xsd:dateTime ]
  ] ;
  fhir:Encounter.hospitalization [
     fhir:Encounter.hospitalization.destination [
       fhir:link <https://nshr-uat.sha.go.ke/fhir/Location/em-destination-facility-example> ;
       fhir:Reference.reference [ fhir:value "Location/em-destination-facility-example" ]
     ]
  ] ;
  fhir:Encounter.location [
     fhir:index 0 ;
     fhir:Encounter.location.location [
       fhir:link <https://nshr-uat.sha.go.ke/fhir/Location/em-scene-location-example> ;
       fhir:Reference.reference [ fhir:value "Location/em-scene-location-example" ]
     ]
  ] ;
  fhir:Encounter.serviceProvider [
     fhir:link <https://nshr-uat.sha.go.ke/fhir/Organization/org-nairobi-ems-dispatch> ;
     fhir:Reference.reference [ fhir:value "Organization/org-nairobi-ems-dispatch" ]
  ] ;
  fhir:Encounter.partOf [
     fhir:link <https://nshr-uat.sha.go.ke/fhir/Encounter/em-incident-encounter-example> ;
     fhir:Reference.reference [ fhir:value "Encounter/em-incident-encounter-example" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://nshr-uat.sha.go.ke/fhir/Encounter/em-poc-encounter-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

