@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/CodeSystem/em-dispatch-priority> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "em-dispatch-priority"] ;
  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: CodeSystem em-dispatch-priority</b></p><a name=\"em-dispatch-priority\"> </a><a name=\"hcem-dispatch-priority\"> </a><p>This case-sensitive code system <code>https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-dispatch-priority</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">P1<a name=\"em-dispatch-priority-P1\"> </a></td><td>Priority 1 – Immediate</td><td>Immediately life-threatening incident requiring the highest response priority.</td></tr><tr><td style=\"white-space:nowrap\">P2<a name=\"em-dispatch-priority-P2\"> </a></td><td>Priority 2 – Urgent</td><td>Potentially serious incident requiring an urgent response.</td></tr><tr><td style=\"white-space:nowrap\">P3<a name=\"em-dispatch-priority-P3\"> </a></td><td>Priority 3 – Non-urgent</td><td>Stable or non-life-threatening incident.</td></tr><tr><td style=\"white-space:nowrap\">P4<a name=\"em-dispatch-priority-P4\"> </a></td><td>Priority 4 – Advice or scheduled response</td><td>Incident suitable for advice, referral, or a scheduled response.</td></tr><tr><td style=\"white-space:nowrap\">unknown<a name=\"em-dispatch-priority-unknown\"> </a></td><td>Unknown</td><td>Dispatch priority has not been determined.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-dispatch-priority"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "EMDigitalDispatchPriorityCS"] ;
  fhir:CodeSystem.title [ fhir:value "Emergency Dispatch Priority"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-07-20T11:03:05+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Digital Health Agency (DHA), Kenya"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Digital Health Agency (DHA), Kenya" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://dha.go.ke" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@dha.go.ke" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:ContactDetail.name [ fhir:value "Digital Health Agency Kenya – FHIR Team" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@dha.go.ke" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://dha.go.ke" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Priority assigned to an emergency incident during call intake."] ;
  fhir:CodeSystem.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "KE" ] ;
       fhir:Coding.display [ fhir:value "Kenya" ]
     ]
  ] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "5"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "P1" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Priority 1 – Immediate" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Immediately life-threatening incident requiring the highest response priority." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "P2" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Priority 2 – Urgent" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Potentially serious incident requiring an urgent response." ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "P3" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Priority 3 – Non-urgent" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Stable or non-life-threatening incident." ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "P4" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Priority 4 – Advice or scheduled response" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Incident suitable for advice, referral, or a scheduled response." ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "unknown" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Unknown" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Dispatch priority has not been determined." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-dispatch-priority.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

