<?xml version="1.0" encoding="UTF-8"?>

<EpisodeOfCare xmlns="http://hl7.org/fhir">
  <id value="example-episodeofcare-otieno-oncology"/>
  <meta>
    <profile value="https://fhir.dha.go.ke/erx/StructureDefinition/ke-episode-of-care"/>
    <profile value="https://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-care"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>EpisodeOfCare EOC-2025-ONCO-00099 – Oncology Management</b></p><p>Active oncology episode for James Otieno at KNH from 10 June 2025. Managed by Dr. Sarah Njoroge. Diagnosis: lung cancer.</p></div>
  </text>
  <identifier>
    <system value="https://ilm-hie.dha.go.ke/fhir/NamingSystem/episode-identifier"/>
    <value value="EOC-2025-ONCO-00099"/>
  </identifier>
  <status value="active"/>
  <type>
    <coding>
      <system value="https://fhir.dha.go.ke/fhir/CodeSystem/ke-episode-of-care-type-cs"/>
      <code value="oncology"/>
      <display value="Oncology Management"/>
    </coding>
  </type>
  <diagnosis>
    <condition>
      <reference value="Condition/example-condition-otieno-lungcancer"/>
    </condition>
  </diagnosis>
  <patient>
    <reference value="Patient/example-patient-otieno"/>
  </patient>
  <managingOrganization>
    <reference value="Organization/example-organization-knh"/>
  </managingOrganization>
  <period>
    <start value="2025-06-10"/>
  </period>
  <careManager>
    <reference value="Practitioner/example-practitioner-njoroge"/>
  </careManager>
</EpisodeOfCare>