<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "JATS-journalpublishing1.dtd" [
]>
<article xml:lang="en" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML"
  dtd-version="1.2" article-type="abstract">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">IJPDS</journal-id>
      <journal-title-group>
        <journal-title>International Journal of Population Data Science</journal-title>
        <abbrev-journal-title>IJPDS</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="epub">2399-4908</issn>
      <publisher>
        <publisher-name>Swansea University</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.23889/ijpds.v9i5.2630</article-id>
      <article-id pub-id-type="publisher-id">9:5:146</article-id>
      <title-group>
        <article-title>Improving Detection of Hospital Adverse Events Using Machine Learning on Real-World Narrative EMR Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>Cheligeer</surname>
            <given-names initials="C">Cheligeer</given-names>
          </name>
          <xref ref-type="aff" rid="affil-1">1</xref>
          <xref ref-type="aff" rid="affil-2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Wu</surname>
            <given-names initials="G">Guosong</given-names>
          </name>
          <xref ref-type="aff" rid="affil-1">1</xref>
          <xref ref-type="aff" rid="affil-3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Lee</surname>
            <given-names initials="S">Seungwon</given-names>
          </name>
          <xref ref-type="aff" rid="affil-4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>1</surname>
            <given-names initials="J">Jie Pan</given-names>
          </name>
          <xref ref-type="aff" rid="affil-3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Sapiro</surname>
            <given-names initials="N">Natalie</given-names>
          </name>
          <xref ref-type="aff" rid="affil-1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Southern</surname>
            <given-names initials="D">Danielle A.</given-names>
          </name>
          <xref ref-type="aff" rid="affil-1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Eastwood</surname>
            <given-names initials="C">Cathy A.</given-names>
          </name>
          <xref ref-type="aff" rid="affil-1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Quan</surname>
            <given-names initials="H">Hude</given-names>
          </name>
          <xref ref-type="aff" rid="affil-1">1</xref>
          <xref ref-type="aff" rid="affil-3">3</xref>
          <xref ref-type="aff" rid="affil-5">5</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Xu</surname>
            <given-names initials="Y">Yuan</given-names>
          </name>
          <xref ref-type="aff" rid="affil-1">1</xref>
          <xref ref-type="aff" rid="affil-3">3</xref>
          <xref ref-type="aff" rid="affil-6">6</xref>
        </contrib>

      </contrib-group>
      <aff id="affil-1"><label>1</label><institution>Centre for Health Informatics, Cumming School of Medicine, University of Calgary</institution></aff>
      <aff id="affil-2"><label>2</label><institution>Provincial Research Data Services, Alberta Health Services</institution></aff>
      <aff id="affil-3"><label>3</label><institution>Department of Community Health Sciences, Cumming School of Medicine, University of Calgary</institution></aff>
      <aff id="affil-4"><label>4</label><institution>Lee Centre for Health Informatics, Cumming School of Medicine, University of Calgary</institution></aff>
      <aff id="affil-5"><label>5</label><institution>Libin Cardiovascular Institute, University of Calgary</institution></aff>
      <aff id="affil-6"><label>6</label><institution>Department of Oncology, Cumming School of Medicine, University of Calgary</institution></aff>
      <pub-date date-type="pub" publication-format="electronic">
        <day>18</day>
        <month>09</month>
        <year>2024</year>
      </pub-date>
      <pub-date date-type="collection" publication-format="electronic">
        <year>2024</year>
      </pub-date>
      <volume>9</volume>
      <issue>5</issue>
      <elocation-id>2630</elocation-id>
      <permissions>
        <license license-type="open-access" xlink:href="https://creativecommons.org/licences/by/4.0/">
          <license-p>This work is licenced under a Creative Commons Attribution 4.0 International License.</license-p>
        </license>
      </permissions>
      <self-uri xlink:href="https://ijpds.org/article/view/2630">This article is available from the IJPDS website at: https://ijpds.org/article/view/2630</self-uri>
    </article-meta>
  </front>
  <body>
    <sec>
      <title>Objective</title>
      <p>Administrative data often underrepresents hospital adverse events (AEs) due to limitations in International Classification of Diseases (ICD) coding. By leveraging electronic medical records (EMRs), we aim to mitigate these discrepancies and enhance the precision of healthcare surveillance and performance evaluations. To this end, we have developed a machine learning (ML)-based approach that utilizes EMR text data to detect common AEs.</p>
    </sec>
    <sec>
      <title>Methods</title>
      <p>We sampled adult admissions from four Calgary hospitals (2017 - 2022). Registered nurses assessed charts for 17 AEs, and the results were used as reference standard. We compared two AE detection methods: the standard ICD-based method following Canadian guidelines, and our ML algorithm applied to EMR narratives. Sensitivity, positive predictive value (PPV), negative predictive value (NPV), and specificity for both methods were calculated and compared against the reference standard.</p>
    </sec>
    <sec>
      <title>Results</title>
      <p>We analyzed 9,566 patients, of whom 1,506 were identified with AEs. Of the 17 AEs, the sensitivity in ICD-coded data ranged from 0-37%, and in EMRs, it was between 75-100%. Both showed low PPV (0-50% ICD vs.1-34% EMR). ICD data had high specificity ranging from 99-100% and NPV (99%-100%), while EMRs had specificity between 68-94% and an NPV of 100%.</p>
    </sec>
    <sec>
      <title>Conclusion and Implications</title>
      <p>ML significantly enhances sensitivity for AE detection compared to ICD-10-CA coding, despite both methods experiencing low PPV due to imbalances in EMR data. This marked improvement in sensitivity highlights ML's potential to transform AE surveillance and reporting, promising significant advancements in patient safety and healthcare quality by enabling more accurate and comprehensive identification of AEs.</p>
    </sec>
  </body>
</article>