@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://fhir.dha.go.ke/erx/CodeSystem/ke-episode-of-care-type-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ke-episode-of-care-type-cs"] ;
  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 ke-episode-of-care-type-cs</b></p><a name=\"ke-episode-of-care-type-cs\"> </a><a name=\"hcke-episode-of-care-type-cs\"> </a><p>This case-sensitive code system <code>https://fhir.dha.go.ke/fhir/CodeSystem/ke-episode-of-care-type-cs</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\">oncology<a name=\"ke-episode-of-care-type-cs-oncology\"> </a></td><td>Oncology Management</td><td>Systematic oncology care including chemotherapy, radiotherapy and surgical oncology programmes.</td></tr><tr><td style=\"white-space:nowrap\">chronic-disease<a name=\"ke-episode-of-care-type-cs-chronic-disease\"> </a></td><td>Chronic Disease Management</td><td>Long-term management of non-communicable chronic conditions (diabetes, hypertension, CKD, etc.).</td></tr><tr><td style=\"white-space:nowrap\">maternal-child<a name=\"ke-episode-of-care-type-cs-maternal-child\"> </a></td><td>Maternal and Child Health</td><td>Antenatal, delivery, postnatal and child health services.</td></tr><tr><td style=\"white-space:nowrap\">hiv-aids<a name=\"ke-episode-of-care-type-cs-hiv-aids\"> </a></td><td>HIV/AIDS Management</td><td>Antiretroviral therapy and HIV-related care.</td></tr><tr><td style=\"white-space:nowrap\">palliative<a name=\"ke-episode-of-care-type-cs-palliative\"> </a></td><td>Palliative Care</td><td>Symptom management and end-of-life care.</td></tr><tr><td style=\"white-space:nowrap\">mental-health<a name=\"ke-episode-of-care-type-cs-mental-health\"> </a></td><td>Mental Health</td><td>Psychiatric and psychological care including substance use disorders.</td></tr><tr><td style=\"white-space:nowrap\">emergency<a name=\"ke-episode-of-care-type-cs-emergency\"> </a></td><td>Emergency Care</td><td>Acute emergency and critical care episode.</td></tr><tr><td style=\"white-space:nowrap\">surgical<a name=\"ke-episode-of-care-type-cs-surgical\"> </a></td><td>Surgical Programme</td><td>Pre-operative assessment, surgery and post-operative recovery.</td></tr><tr><td style=\"white-space:nowrap\">tb<a name=\"ke-episode-of-care-type-cs-tb\"> </a></td><td>Tuberculosis Programme</td><td>TB diagnosis, treatment and follow-up.</td></tr><tr><td style=\"white-space:nowrap\">nutrition<a name=\"ke-episode-of-care-type-cs-nutrition\"> </a></td><td>Nutritional Rehabilitation</td><td>Severe acute malnutrition and nutrition support programmes.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://fhir.dha.go.ke/fhir/CodeSystem/ke-episode-of-care-type-cs"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "KEEpisodeOfCareTypeCS"] ;
  fhir:CodeSystem.title [ fhir:value "Kenya Episode of Care Type CodeSystem"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-08-30T09:32:21+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 "helpdesk@dha.go.ke" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:ContactDetail.name [ fhir:value "Digital Health Agency, Kenya" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "helpdesk@dha.go.ke" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.dha.go.ke/" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Clinical programme/episode categories used in the Kenya ePrescription workflow."] ;
  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.copyright [ fhir:value "Copyright 2025+ Digital Health Agency, Kenya. This content is licensed under Creative Commons Attribution 4.0 International (CC-BY-4.0). Terminology content from the Kenya Pharmacy and Poisons Board (PPB) via Open Concept Lab (OCL) is subject to separate terms."] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "10"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "oncology" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Oncology Management" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Systematic oncology care including chemotherapy, radiotherapy and surgical oncology programmes." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "chronic-disease" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Chronic Disease Management" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Long-term management of non-communicable chronic conditions (diabetes, hypertension, CKD, etc.)." ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "maternal-child" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Maternal and Child Health" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Antenatal, delivery, postnatal and child health services." ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "hiv-aids" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "HIV/AIDS Management" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Antiretroviral therapy and HIV-related care." ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "palliative" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Palliative Care" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Symptom management and end-of-life care." ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "mental-health" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Mental Health" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Psychiatric and psychological care including substance use disorders." ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "emergency" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Emergency Care" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Acute emergency and critical care episode." ]
  ], [
     fhir:index 7 ;
     fhir:CodeSystem.concept.code [ fhir:value "surgical" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Surgical Programme" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Pre-operative assessment, surgery and post-operative recovery." ]
  ], [
     fhir:index 8 ;
     fhir:CodeSystem.concept.code [ fhir:value "tb" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Tuberculosis Programme" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "TB diagnosis, treatment and follow-up." ]
  ], [
     fhir:index 9 ;
     fhir:CodeSystem.concept.code [ fhir:value "nutrition" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Nutritional Rehabilitation" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Severe acute malnutrition and nutrition support programmes." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.dha.go.ke/erx/CodeSystem/ke-episode-of-care-type-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

