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

<Composition xmlns="http://hl7.org/fhir">
  <id value="em-ed-patient-record-composition-example"/>
  <meta>
    <profile value="https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-ed-patient-record-composition"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Composition em-ed-patient-record-composition-example</b></p><a name="em-ed-patient-record-composition-example"> </a><a name="hcem-ed-patient-record-composition-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-ed-patient-record-composition.html">Composition - Emergency Department Patient Record</a></p></div><p><b>status</b>: Final</p><p><b>type</b>: <span title="Codes:{http://loinc.org 34111-5}">Emergency department Note</span></p><p><b>encounter</b>: <a href="Encounter-em-ed-encounter-example.html">Encounter: extension = Government insurance,Ambulance,Non-ambulatory,Acute,false,,; identifier = http://hie.go.ke/fhir/identifier/hospital-registration-number#KNH-ED-2026-004417; status = finished; class = emergency (ActCode#EMER); priority = Orange - Very urgent; period = 2026-06-29 12:40:00+0300 --&gt; 2026-06-29 14:10:00+0300</a></p><p><b>date</b>: 2026-06-29 14:10:00+0300</p><p><b>author</b>: </p><ul><li><a href="Practitioner-em-practitioner-example.html">Practitioner Sarah Njoroge </a></li><li><a href="Practitioner-em-ed-nurse-example.html">Practitioner Grace Wanjiru </a></li></ul><p><b>title</b>: Emergency Department Patient Record - Amina Atieno - 2026-06-29</p></div>
  </text>
  <status value="final"/>
  <type>
    <coding>
      <system value="http://loinc.org"/>
      <code value="34111-5"/>
      <display value="Emergency department Note"/>
    </coding>
  </type>
  <subject>
    <reference value="Patient/pat-0712345678"/>
  </subject>
  <encounter>
    <reference value="Encounter/em-ed-encounter-example"/>
  </encounter>
  <date value="2026-06-29T14:10:00+03:00"/>
  <author>
    <reference value="Practitioner/em-practitioner-example"/>
  </author>
  <author>
    <reference value="Practitioner/em-ed-nurse-example"/>
  </author>
  <title value="Emergency Department Patient Record - Amina Atieno - 2026-06-29"/>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="registration-arrival"/>
      </coding>
    </code>
    <entry>
      <reference value="Encounter/em-ed-encounter-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="triage-vitals"/>
      </coding>
    </code>
    <entry>
      <reference value="Observation/em-ed-vitals-arrival-hr-example"/>
    </entry>
    <entry>
      <reference value="Observation/em-ed-high-risk-signs-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="chief-complaint-referral"/>
      </coding>
    </code>
    <entry>
      <reference value="Condition/em-ed-condition-chief-complaint-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="allergies"/>
      </coding>
    </code>
    <entry>
      <reference value="AllergyIntolerance/em-allergy-example-valid"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="past-medical-history"/>
      </coding>
    </code>
    <entry>
      <reference value="Condition/em-ed-condition-past-medical-history-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="provider-assessment-abcde"/>
      </coding>
    </code>
    <entry>
      <reference value="Observation/em-ed-abcde-breathing-example"/>
    </entry>
    <entry>
      <reference value="Observation/em-ed-abcde-circulation-example"/>
    </entry>
    <entry>
      <reference value="Procedure/em-ed-procedure-chest-tube-example"/>
    </entry>
    <entry>
      <reference value="MedicationAdministration/em-ed-medication-analgesia-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="history-of-present-illness"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Patient reports sudden onset right-sided chest pain and shortness of breath following a road traffic collision approximately 45 minutes prior to arrival.</div>
    </text>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="trauma"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Road traffic crash, unintentional. See the traumaDetails extension on the referenced EMEDEncounter for coded mechanism/intent.</div>
    </text>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="review-of-systems"/>
      </coding>
    </code>
    <entry>
      <reference value="Observation/em-ed-ros-respiratory-example"/>
    </entry>
    <entry>
      <reference value="Observation/em-ed-ros-gi-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="physical-exam"/>
      </coding>
    </code>
    <entry>
      <reference value="Observation/em-ed-physical-exam-respiratory-example"/>
    </entry>
    <entry>
      <reference value="Observation/em-ed-physical-exam-general-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="diagnostic-tests"/>
      </coding>
    </code>
    <entry>
      <reference value="DiagnosticReport/em-ed-diagnostic-report-cbc-example"/>
    </entry>
    <entry>
      <reference value="Observation/em-ed-pocus-chest-example"/>
    </entry>
    <entry>
      <reference value="Observation/em-ed-urinalysis-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="procedures"/>
      </coding>
    </code>
    <entry>
      <reference value="Procedure/em-ed-procedure-chest-tube-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="medications"/>
      </coding>
    </code>
    <entry>
      <reference value="MedicationAdministration/em-ed-medication-analgesia-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="diagnosis-impression"/>
      </coding>
    </code>
    <entry>
      <reference value="Condition/em-ed-condition-discharge-diagnosis-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="management-plan"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Chest tube inserted for right pneumothorax; admit to ICU for observation; repeat chest X-ray in 4 hours.</div>
    </text>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="final-reassessment"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Improved perfusion and reduced work of breathing following chest tube insertion.</div>
    </text>
    <entry>
      <reference value="Observation/em-ed-vitals-final-hr-example"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="https://fhir.dha.go.ke/ig/emergency/CodeSystem/em-ed-section"/>
        <code value="disposition"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Admitted to ICU for further management of traumatic pneumothorax.</div>
    </text>
    <entry>
      <reference value="Encounter/em-ed-encounter-example"/>
    </entry>
  </section>
</Composition>