Hostname: page-component-cd9895bd7-mkpzs Total loading time: 0 Render date: 2024-12-26T08:18:00.092Z Has data issue: false hasContentIssue false

Performance of a large language model for identifying central line-associated bloodstream infections (CLABSI) using real clinical notes

Published online by Cambridge University Press:  30 October 2024

Guillermo Rodriguez-Nava*
Affiliation:
Division of Infectious Diseases & Geographic Medicine, Department of Medicine, Stanford University School of Medicine, Stanford, CA, USA
Goar Egoryan
Affiliation:
Division of Oncology, Department of Medicine, Stanford University School of Medicine, Stanford, CA, USA
Katherine E. Goodman
Affiliation:
Department of Epidemiology and Public Health, University of Maryland School of Medicine, Baltimore, MD, USA University of Maryland Institute for Health Computing, Bethesda, MD, USA
Daniel J. Morgan
Affiliation:
Department of Epidemiology and Public Health, University of Maryland School of Medicine, Baltimore, MD, USA VA Maryland Healthcare System, Baltimore, MD, USA
Jorge L. Salinas
Affiliation:
Division of Infectious Diseases & Geographic Medicine, Department of Medicine, Stanford University School of Medicine, Stanford, CA, USA
*
Corresponding author: Guillermo Rodriguez-Nava; Email: guiro@stanford.edu
Rights & Permissions [Opens in a new window]

Abstract

We evaluated one of the first secure large language models approved for protected health information, for identifying central line-associated bloodstream infections (CLABSIs) using real clinical notes. Despite no pretraining, the model demonstrated rapid assessment and high sensitivity for CLABSI identification. Performance would improve with access to more patient data.

Type
Concise Communication
Copyright
© The Author(s), 2024. Published by Cambridge University Press on behalf of The Society for Healthcare Epidemiology of America

Background

CLABSI significantly influences morbidity, mortality, and costs.[Reference Stevens, Geiger, Concannon, Nelson, Brown and Dumyati1] CLABSI reporting is crucial for quality care in the United States.[Reference Herzig, Reagan, Pogorzelska-Maziarz, Srinath and Stone2] Most programs use active surveillance for CLABSI monitoring, with an infection control team reviewing inpatients based on National Healthcare Safety Network criteria to confirm true CLABSI events. However, subjective elements exist, including judging whether bacteremia is linked to a central line or originates from another source, and whether a skin commensal signifies infection or contamination.[Reference Herzig, Reagan, Pogorzelska-Maziarz, Srinath and Stone2,Reference Streefkerk, Verkooijen, Bramer and Verbrugh3] Computer algorithms designed to assist with this process have been explored, yet manual review remains standard.[Reference Streefkerk, Verkooijen, Bramer and Verbrugh3]

Large language models (LLMs) have emerged as advanced AI systems capable of processing coherent text and adapting to various tasks.[Reference Naveed, Khan and Qiu4] They can perform tasks or predict outcomes for which they have not been explicitly trained. Some LLMs have passed medical exams[Reference Han, Adams, Bressem, Busch, Nebelung and Truhn7] and outperformed humans in evaluating clinical vignettes.[Reference Goh, Gallo and Hom5,Reference Han, Adams, Bressem, Busch, Nebelung and Truhn7,Reference Wiemken and Carrico8] However, standardized test questions and clinical vignettes have a concrete answer, whereas raw clinical documentation is complex and prone to subjectivity. In addition, due to privacy risks associated with AI chatbots,[Reference Kanter and Packel9] their performance with real patient information has been limited.

On January 29, 2024, Stanford Health Care and Stanford School of Medicine launched a secure LLM, powered by OpenAI’s GPT 4.0 (gpt-4-turbo), cleared for protected health information data. We aimed to assess this LLM’s performance in identifying CLABSI cases.

Methods

Stanford Health Care conducts active CLABSI surveillance, reviewing patients admitted for 48 hours with a central line in place for ≥3 days and a positive blood culture (Figure 1). Infection preventionists (IPs) use an Electronic Health Record (EHR) module (Epic Bugsy™) with full chart review capabilities to determine if an infection is a CLABSI or secondary bloodstream infection, based on NHSN criteria. Their findings are documented using a standardized NHSN abstraction form integrated into the EHR.[10] For this pilot study, we selected 40 patients reviewed for CLABSI between November 2023 and March 2024: 20 consecutive CLABSI patients and 20 randomly sampled non-CLABSI patients. The low incidence of CLABSI made a larger sample impractical, and a smaller sample allowed quicker LLM assessment.

Figure 1. Comparative workflow of infection preventionists and LLM in CLABSI determination. The flow diagram illustrates the parallel workflows of IPs and an LLM. In the formal CLABSI review process, each case begins with an initial assessment by an IP after the patient is flagged by the Epic Bugsy™ EHR module for meeting the NHSN surveillance definition. This is followed by a thorough evaluation from the lead IP. If discrepancies or uncertainties arise, the case is escalated for further review by the infection prevention group, including the medical director or co-director, before a final determination is made. Abbreviations: CLABSI, central line-associated bloodstream infection; IP, infection preventionists; BCx, blood cultures; IWP, infection window period.

We prompted the secure LLM with clinical information and blood culture results, asking if each patient met the NHSN CLABSI definition. Due to token limits, we copied to the chat window only the blood culture results triggering the CLABSI alert and the last two progress notes within the infection window period (Table 1).

Table 1. Cases in which the LLM did not agree with IP assessment for CLABSI

Abbreviations: LLM, large language model; IP, infection preventionist; CLABSI, central line-associated bloodstream infection; BSI, bloodstream infection; CoNS, coagulase-negative Staphylococcus; MBI, mucosal barrier injury; NHSN, National Healthcare Safety Network.

* Community onset: Blood cultures obtained within 2 days of admission.

+ NHSN guidelines list Fusobacterium nucleatum as an MBI organism.[10]

The LLM’s performance was quantified by comparing its determinations with the infection prevention group (the “gold standard”), calculating sensitivity, specificity, and agreement rates with 95% CIs.

Results

From November 2023 to March 2024, the LLM identified 16 of 20 CLABSIs and 7 of 20 not CLABSIs. It achieved a sensitivity of 80% (95% CI 57.6%–92.9%) and a specificity of 35% (95% CI 33.3%–86.5%) for identifying CLABSI. The agreement rate between IPs and the LLM was 57.5% (95% CI 41.2%–73.3%).

The LLM’s limited data processing capacity impacted performance. Among 17 cases of disagreement between the LLM and the IPs, 11 (65%) were due to missing chart information (i.e., not in the most recent 2 progress notes or blood culture results). These included admission details (4 LLM false-positives: BSIs present on admission); matching BSI organisms with other clinical sources (4 LLM false-positives had other clinical cultures during the infection window period); and central line status or signs/symptoms, such as fever or shock (2 LLM false-negatives, 1 false-positive). When key information missing from the context window was included (Supplement), the LLM correctly changed its adjudication 10 out of 11 times, adjusting sensitivity to 90% (18/20), specificity to 75% (15/20), and agreement rate to 82.5%.

In the remaining discordant cases, the LLM misclassified a skin commensal or mucosal barrier injury organism as a true pathogen (4 false-positives), deemed a concurrent infection (pancreatitis) as the BSI source (1 false-negative), and misclassified a potential pathogen as a skin commensal (1 false-negative). Representative summaries of determinations are provided in the Supplement, and summaries of discordant cases are in Table 1.

Eight IPs reported a mean of 75 minutes (SD 48.7 minutes) to perform each CLABSI review. Furthermore, 77% reported reviewing over 5 clinical documents, including notes, flowsheets, medication records, and imaging studies, when evaluating CLABSI cases. The average time for LLM CLABSI review, including data inputting by the investigators, was 5 minutes for each case.

Discussion

To our knowledge, this is the first U.S. study to evaluate the accuracy of an LLM in identifying CLABSI using real clinical notes. The LLM showed high sensitivity with limited data and no specific pretraining for CLABSI. While these results should be considered preliminary, they suggest that LLMs could eventually offer a promising “first-pass” screening tool for CLABSI detection by IPs, to winnow the pool of records requiring human review. The LLM’s data input and review process took 5 minutes, compared to 75 minutes per case for IPs.

Although the LLM demonstrated high sensitivity for identifying CLABSI, it had low specificity, resulting in many false-positives. This low specificity was due to practical limitations in the LLM’s implementation. Specifically, token limits (i.e., limits on the number of words that could be input) capped the data we could provide for review. Key details like admission information, other culture results or imaging studies and clinical information were often missing from the last two progress notes from the infection window period, causing discordance between IPs and the LLM. For example, four patients labeled as CLABSI by the LLM had BSI present on admission according to IPs. In three other cases, progress notes lacked culture results indicating a different source of bacteremia. With this additional information, the LLM’s sensitivity increased to 90% and specificity to 75%. Importantly, however, because IPs currently review all patients with bacteremia and central lines in place ≥3 days, even lower specificity in the context of high sensitivity could meaningfully reduce IP review workloads without sacrificing CLABSI identification.

In this pilot, we aimed to explore how an LLM could reduce the burden on IPs. We used full progress notes without curating them for relevant information. While this approach hindered results, it was more time efficient. An LLM integrated within the EHR and higher capacity to take more data would likely be more accurate and faster. Given the LLM’s goal to reduce IP burden, we believe this is the most operationally reasonable process.

Token limitations also restricted our ability to upload NHSN CLABSI guidelines for retrieval-augmented generation, which enhances LLM performance by providing reference materials. In one instance, the LLM classified Brachybacterium spp. as a skin commensal, whereas the NHSN guidelines do not recognize it as such.[10] Additionally, context retention issues, where the LLM could not maintain relevant details across interactions in the same context window, prevented consistent application of learned information.

Finally, while we evaluated the LLM’s performance in strictly applying NHSN criteria for CLABSI as a binary outcome, some of its inaccurate conclusions were often reasonable from a clinical perspective. For example, the IP deemed coagulase-negative Staphylococcus as commensal based on NHSN criteria, lacking definitive symptoms. In contrast, the LLM flagged it as pathogenic, interpreting a temperature of 37.8°C (100.2°F) coupled with tachycardia as indicative of fever.

In conclusion, this secure LLM powered by OpenAI’s GPT-4 demonstrated high sensitivity for identifying CLABSI from real clinical notes. We expect its specificity to improve with access to more data from patient records and training using NHSN documents and sample cases. Our experience provides insights for institutions that may soon implement LLM technologies, including significant potential efficiency improvements but also practical challenges that can limit performance. We view LLMs as a promising tool to assist, not replace, human CLABSI review.

Supplementary material

The supplementary material for this article can be found at https://doi.org/10.1017/ice.2024.164.

Acknowledgments

We would like to thank the infection prevention team at Stanford Health Care for their contribution in taking the survey.

Author contributions

Guillermo Rodriguez-Nava: Data curation; investigation; formal analysis; visualization; writing—original draft; and writing—review and editing. Goar Egoryan: Data curation; investigation; and writing—review and editing. Katherine E. Goodman: Conceptualization; visualization; methodology; and writing—review and editing. Daniel J. Morgan: Conceptualization; visualization; methodology; and writing—review and editing. Jorge L. Salinas: Conceptualization; supervision; methodology; visualization; project administration; and writing—review and editing.

Financial support

This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

Competing interest

The authors declare that they have no competing interests.

References

Stevens, V, Geiger, K, Concannon, C, Nelson, RE, Brown, J, Dumyati, G. Inpatient costs, mortality and 30-day re-admission in patients with central-line-associated bloodstream infections. Clin Microbiol Infect. 2014;20:O31824.CrossRefGoogle ScholarPubMed
Herzig, CT, Reagan, J, Pogorzelska-Maziarz, M, Srinath, D, Stone, PW. State-mandated reporting of health care-associated infections in the United States: trends over time. Am J Med Qual. 2015;30:417–24.CrossRefGoogle Scholar
Streefkerk, HRA, Verkooijen, RP, Bramer, WM, Verbrugh, HA. Electronically assisted surveillance systems of healthcare-associated infections: a systematic review. Euro Surveill. 2020;25:1900321.CrossRefGoogle ScholarPubMed
Naveed, H, Khan, AU, Qiu, S, et al. A comprehensive overview of large language models. 2023 [cited 2024 Apr 20]. Available from: https://doi.org/10.48550/arXiv.2307.06435 CrossRefGoogle Scholar
Goh, E, Gallo, R, Hom, J, et al. Influence of a large language model on diagnostic reasoning: a randomized clinical vignette study. 2024. medRxiv [Preprint]. https://doi.org/10.1101/2024.03.12.24303785 CrossRefGoogle Scholar
Kung, TH, Cheatham, M, Medenilla, A, et al. Performance of ChatGPT on USMLE: potential for AI-assisted medical education using large language models. PLOS Digit Health. 2023;2:e0000198 CrossRefGoogle ScholarPubMed
Han, T, Adams, LC, Bressem, KK, Busch, F, Nebelung, S, Truhn, D. Comparative analysis of multimodal large language model performance on clinical vignette questions. JAMA. 2024;331:13201321.CrossRefGoogle ScholarPubMed
Wiemken, TL, Carrico, RM. Assisting the infection preventionist: use of artificial intelligence for health care-associated infection surveillance. Am J Infect Control. 2024:S0196-6553(24)00077-4.Google ScholarPubMed
Kanter, GP, Packel, EA. Health care privacy risks of AI chatbots. JAMA. 2023;330:311312.CrossRefGoogle ScholarPubMed
CDC: C.F.D.C.A.P Bloodstream Infection Event (Central Line-Associated Bloodstream Infection and non-central line-associated Bloodstream Infection). (Atlanta, Georgia, USA). 2024 [cited 2024 Apr 20]. Available from: https://www.cdc.gov/nhsn/pdfs/pscmanual/4psc_clabscurrent.pdf Google Scholar
Figure 0

Figure 1. Comparative workflow of infection preventionists and LLM in CLABSI determination. The flow diagram illustrates the parallel workflows of IPs and an LLM. In the formal CLABSI review process, each case begins with an initial assessment by an IP after the patient is flagged by the Epic Bugsy™ EHR module for meeting the NHSN surveillance definition. This is followed by a thorough evaluation from the lead IP. If discrepancies or uncertainties arise, the case is escalated for further review by the infection prevention group, including the medical director or co-director, before a final determination is made. Abbreviations: CLABSI, central line-associated bloodstream infection; IP, infection preventionists; BCx, blood cultures; IWP, infection window period.

Figure 1

Table 1. Cases in which the LLM did not agree with IP assessment for CLABSI

Supplementary material: File

Rodriguez-Nava et al. supplementary material

Rodriguez-Nava et al. supplementary material
Download Rodriguez-Nava et al. supplementary material(File)
File 29.5 KB