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

<Composition xmlns="http://hl7.org/fhir">
  <id value="CompositionKPS"/>
  <meta>
    <profile value="https://fhir.dha.go.ke/ig/patient-summary/StructureDefinition/ke-kps-composition"/>
    <profile value="https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-composition|0.1.0"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Composition CompositionKPS</b></p><a name="CompositionKPS"> </a><a name="hcCompositionKPS"> </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">Profiles: <a href="StructureDefinition-ke-kps-composition.html">Composition Profile - KPS</a>, <code>https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-composition|0.1.0</code></p></div><p><b>status</b>: Final</p><p><b>type</b>: <span title="Codes:{http://loinc.org 60591-5}">Patient summary Document</span></p><p><b>encounter</b>: <a href="Encounter-EncounterKPS.html">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2026-05-20 08:00:00+0300 --&gt; 2026-05-20 08:30:00+0300</a></p><p><b>date</b>: 2026-05-20 09:15:00+0300</p><p><b>author</b>: <a href="Practitioner-PractitionerKPS.html">Practitioner Anne Njoroge </a></p><p><b>title</b>: Patient Summary for Amina Mohamed</p><p><b>custodian</b>: <a href="Organization-OrganizationKPS.html">Organization Kenyatta National Hospital</a></p></div>
  </text>
  <status value="final"/>
  <type>
    <coding>
      <system value="http://loinc.org"/>
      <code value="60591-5"/>
      <display value="Patient summary Document"/>
    </coding>
  </type>
  <subject>
    <reference value="Patient/PatientKPS"/>
  </subject>
  <encounter>
    <reference value="Encounter/EncounterKPS"/>
  </encounter>
  <date value="2026-05-20T09:15:00+03:00"/>
  <author>
    <reference value="Practitioner/PractitionerKPS"/>
  </author>
  <title value="Patient Summary for Amina Mohamed"/>
  <custodian>
    <reference value="Organization/OrganizationKPS"/>
  </custodian>
  <section>
    <title value="Problems"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="11450-4"/>
        <display value="Problem list"/>
      </coding>
    </code>
    <entry>
      <reference value="Condition/example-bipolar-condition"/>
    </entry>
  </section>
  <section>
    <title value="Allergies and Intolerances"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="48765-2"/>
        <display value="Allergies and adverse reactions"/>
      </coding>
    </code>
    <entry>
      <reference value="AllergyIntolerance/example-allergy-patient-001"/>
    </entry>
  </section>
  <section>
    <title value="Medications"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="10160-0"/>
        <display value="History of Medication use"/>
      </coding>
    </code>
    <entry>
      <reference value="MedicationStatement/MedicationStatementKPS"/>
    </entry>
  </section>
  <section>
    <title value="Immunizations"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="11369-6"/>
        <display value="History of immunization"/>
      </coding>
    </code>
    <entry>
      <reference value="Immunization/ImmunizationKPS"/>
    </entry>
  </section>
  <section>
    <title value="Results"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="30954-2"/>
        <display value="Relevant diagnostic tests/laboratory data"/>
      </coding>
    </code>
    <entry>
      <reference value="Observation/ObservationKPS"/>
    </entry>
  </section>
  <section>
    <title value="Procedures"/>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="47519-4"/>
        <display value="History of Procedures"/>
      </coding>
    </code>
    <entry>
      <reference value="Procedure/ProcedureKPS"/>
    </entry>
  </section>
</Composition>