Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Apr 29:2022:805-814.
eCollection 2022.

Using Time Series Clustering to Segment and Infer Emergency Department Nursing Shifts from Electronic Health Record Log Files

Affiliations

Using Time Series Clustering to Segment and Infer Emergency Department Nursing Shifts from Electronic Health Record Log Files

Amanda J Moy et al. AMIA Annu Symp Proc. .

Abstract

Few computational approaches exist for abstracting electronic health record (EHR) log files into clinically meaningful phenomena like clinician shifts. Because shifts are a fundamental unit of work recognized in clinical settings, shifts may serve as a primary unit of analysis in the study of documentation burden. We conducted a proof- of-concept study to investigate the feasibility of a novel approach using time series clustering to segment and infer clinician shifts from EHR log files. From 33,535,585 events captured between April-June 2021, we computationally identified 43,911 potential shifts among 2,285 (74.2%) emergency department nurses. On average, computationally-identified shifts were 10.6±3.1 hours long. Based on data distributions, we classified these shifts based on type: day, evening, night; and length: 12-hour, 8-hour, other. We validated our method through manual chart review of computationally-identified 12-hour shifts achieving 92.0% accuracy. Preliminary results suggest unsupervised clustering methods may be a reasonable approach for rapidly identifying clinician shifts.

PubMed Disclaimer

Figures

Figure 1.
Figure 1.
Schematic of our two-step time series clustering approach to automatically identify shifts using raw EHR log files. In this scenario, EHR event timestamps for two nurses, depicted as spheres (teal and red respectively), are subsetted at the individual-nurse level and clustered into shifts based on timestamp density using DBSCAN (gray boxes) in Step 1. In Step 2, rule-based logic conditioned on the first timestamp identified in the time series is applied to classify clusters into day, evening and night shifts.
Figure 2.
Figure 2.
Distribution of EHR events that nurses logged per day, April 2021 (M=median; Q=quartile; Min=minimum; Max=maximum)
Figure 3.
Figure 3.
Distribution of time intervals between EHR events logged among nurses in hours, April 2021*
Figure 4a.
Figure 4a.
Distribution of shift duration among computationally-identified nurse shifts*
Figure 4b.
Figure 4b.
Distribution of shift start times among computationally-identified nurse shifts
Figure 5.
Figure 5.
Process model of our two-step approach starting with raw EHR log file data extraction to the validation of computationally-identified shifts using Kronos data.

Similar articles

Cited by

References

    1. Sittig DF, Wright A, Ash J, Singh H. New Unintended Adverse Consequences of Electronic Health Records. Yearb Med Inform. 2016 Nov 10;(1):7–12. doi: 10.15265/IY-2016-023. - PMC - PubMed
    1. Moy AJ, Schwartz JM, Withall J, Lucas E, Cato KD, Rosenbloom ST, et al. Clinician and Health Care Leaders’ Experiences with-and Perceptions of-COVID-19 Documentation Reduction Policies and Practices. Appl Clin informaticsfile///Users/amanda/Downloads/25140332.nbib. 2021 Oct;12(5):1061–73. - PMC - PubMed
    1. Stehman CR, Testo Z, Gershaw RS, Kellogg AR. Burnout, Drop Out, Suicide: Physician Loss in Emergency Medicine, Part I. West J Emerg Med. 2019 May;20(3):485–494. doi: 10.5811/westjem.2019.4.40970. Epub 2019 Apr 23. Erratum in: West J Emerg Med. 2019 Aug 21;20(5):840-841. - PMC - PubMed
    1. Park SY, Lee SY, Chen Y. The effects of EMR deployment on doctors’ work practices: a qualitative study in the emergency department of a teaching hospital. Int J Med Inform. 2012 Mar;81(3):204–17. doi: 10.1016/j.ijmedinf.2011.12.001. Epub 2012 Jan 3. - PubMed
    1. Melnick ER, Dyrbye LN, Sinsky CA, Trockel M, West CP, Nedelec L, et al. The Association Between Perceived Electronic Health Record Usability and Professional Burnout Among US Physicians. Mayo Clin Proc. 2020 Mar;95(3):476–487. doi: 10.1016/j.mayocp.2019.09.024. Epub 2019 Nov 14. PMID: 31735343. - PubMed

Publication types

LinkOut - more resources