Measuring cognitive effort using tabular transformer-based language models of electronic health record-based audit log action sequences
- PMID: 39001791
- PMCID: PMC11413422
- DOI: 10.1093/jamia/ocae171
Measuring cognitive effort using tabular transformer-based language models of electronic health record-based audit log action sequences
Abstract
Objectives: To develop and validate a novel measure, action entropy, for assessing the cognitive effort associated with electronic health record (EHR)-based work activities.
Materials and methods: EHR-based audit logs of attending physicians and advanced practice providers (APPs) from four surgical intensive care units in 2019 were included. Neural language models (LMs) were trained and validated separately for attendings' and APPs' action sequences. Action entropy was calculated as the cross-entropy associated with the predicted probability of the next action, based on prior actions. To validate the measure, a matched pairs study was conducted to assess the difference in action entropy during known high cognitive effort scenarios, namely, attention switching between patients and to or from the EHR inbox.
Results: Sixty-five clinicians performing 5 904 429 EHR-based audit log actions on 8956 unique patients were included. All attention switching scenarios were associated with a higher action entropy compared to non-switching scenarios (P < .001), except for the from-inbox switching scenario among APPs. The highest difference among attendings was for the from-inbox attention switching: Action entropy was 1.288 (95% CI, 1.256-1.320) standard deviations (SDs) higher for switching compared to non-switching scenarios. For APPs, the highest difference was for the to-inbox switching, where action entropy was 2.354 (95% CI, 2.311-2.397) SDs higher for switching compared to non-switching scenarios.
Discussion: We developed a LM-based metric, action entropy, for assessing cognitive burden associated with EHR-based actions. The metric showed discriminant validity and statistical significance when evaluated against known situations of high cognitive effort (ie, attention switching). With additional validation, this metric can potentially be used as a screening tool for assessing behavioral action phenotypes that are associated with higher cognitive burden.
Conclusion: An LM-based action entropy metric-relying on sequences of EHR actions-offers opportunities for assessing cognitive effort in EHR-based workflows.
Keywords: audit log; clinical workflow; cognitive effort; entropy; language model.
© The Author(s) 2024. Published by Oxford University Press on behalf of the American Medical Informatics Association. All rights reserved. For permissions, please email: journals.permissions@oup.com.
Conflict of interest statement
None declared.
Similar articles
-
Measuring the cognitive effort associated with task switching in routine EHR-based tasks.J Biomed Inform. 2023 May;141:104349. doi: 10.1016/j.jbi.2023.104349. Epub 2023 Apr 2. J Biomed Inform. 2023. PMID: 37015304
-
Evaluation of Attention Switching and Duration of Electronic Inbox Work Among Primary Care Physicians.JAMA Netw Open. 2021 Jan 4;4(1):e2031856. doi: 10.1001/jamanetworkopen.2020.31856. JAMA Netw Open. 2021. PMID: 33475754 Free PMC article.
-
Measuring Electronic Health Record Use in the Pediatric ICU Using Audit-Logs and Screen Recordings.Appl Clin Inform. 2021 Aug;12(4):737-744. doi: 10.1055/s-0041-1733851. Epub 2021 Aug 11. Appl Clin Inform. 2021. PMID: 34380167 Free PMC article.
-
Using event logs to observe interactions with electronic health records: an updated scoping review shows increasing use of vendor-derived measures.J Am Med Inform Assoc. 2022 Dec 13;30(1):144-154. doi: 10.1093/jamia/ocac177. J Am Med Inform Assoc. 2022. PMID: 36173361 Free PMC article. Review.
-
Measurement of clinical documentation burden among physicians and nurses using electronic health records: a scoping review.J Am Med Inform Assoc. 2021 Apr 23;28(5):998-1008. doi: 10.1093/jamia/ocaa325. J Am Med Inform Assoc. 2021. PMID: 33434273 Free PMC article. Review.
References
-
- Jha AK. Meaningful use of electronic health records: the road ahead. JAMA. 2010;304(15):1709-1710. - PubMed
-
- Jha AK, DesRoches CM, Campbell EG, et al. Use of electronic health records in US hospitals. N Engl J Med. 2009;360(16):1628-1638. - PubMed
-
- Ahmed A, Chandra S, Herasevich V, et al. The effect of two different electronic health record user interfaces on intensive care provider task load, errors of cognition, and performance. Crit Care Med. 2011;39(7):1626-1634. - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
