Prompt engineering with a large language model to assist providers in responding to patient inquiries: a real-time implementation in the electronic health record

被引:0
|
作者
Afshar, Majid [1 ,2 ]
Gao, Yanjun [1 ]
Wills, Graham [2 ]
Wang, Jason [1 ]
Churpek, Matthew M. [1 ]
Westenberger, Christa J. [2 ]
Kunstman, David T. [2 ,3 ]
Gordon, Joel E. [2 ,3 ]
Goswami, Cherodeep [2 ]
Liao, Frank J. [2 ,4 ]
Patterson, Brian [2 ,4 ]
机构
[1] Univ Wisconsin, Sch Med & Publ Hlth, Dept Med, Madison, WI 53792 USA
[2] Univ Wisconsin Hlth Syst, Informat Syst & Informat, Madison, WI 53792 USA
[3] Univ Wisconsin, Sch Med & Publ Hlth, Dept Family Med & Community Hlth, Madison, WI 53792 USA
[4] Univ Wisconsin, Sch Med & Publ Hlth, Dept Emergency Med, Madison, WI 53706 USA
关键词
large language models; electronic health record; prompt engineering; sentiment analysis; artificial intelligence;
D O I
10.1093/jamiaopen/ooae080
中图分类号
R19 [保健组织与事业(卫生事业管理)];
学科分类号
摘要
Background: Large language models (LLMs) can assist providers in drafting responses to patient inquiries. We examined a prompt engineering strategy to draft responses for providers in the electronic health record. The aim was to evaluate the change in usability after prompt engineering. Materials and Methods: A pre-post study over 8 months was conducted across 27 providers. The primary outcome was the provider use of LLM-generated messages from Generative Pre-Trained Transformer 4 (GPT-4) in a mixed-effects model, and the secondary outcome was provider sentiment analysis. Results: Of the 7605 messages generated, 17.5% (n = 1327) were used. There was a reduction in negative sentiment with an odds ratio of 0.43 (95% CI, 0.36-0.52), but message use decreased (P < .01). The addition of nurses after the study period led to an increase in message use to 35.8% (P < .01). Discussion: The improvement in sentiment with prompt engineering suggests better content quality, but the initial decrease in usage highlights the need for integration with human factors design. Conclusion: Future studies should explore strategies for optimizing the integration of LLMs into the provider workflow to maximize both usability and effectiveness.
引用
收藏
页数:6
相关论文
共 6 条
  • [1] Artificial intelligence for health message generation: an empirical study using a large language model (LLM) and prompt engineering
    Lim, Sue
    Schmalzle, Ralf
    FRONTIERS IN COMMUNICATION, 2023, 8
  • [2] Leveraging the Electronic Health Record to Create an Automated Real-Time Prognostic Tool for Peripheral Arterial Disease
    Arruda-Olson, Adelaide M.
    Afzal, Naveed
    Mallipeddi, Vishnu Priya
    Said, Ahmad
    Pacha, Homam Moussa
    Moon, Sungrim
    Chaudhry, Alisha P.
    Scott, Christopher G.
    Bailey, Kent R.
    Rooke, Thom W.
    Wennberg, Paul W.
    Kaggal, Vinod C.
    Oderich, Gustavo S.
    Kullo, Iftikhar J.
    Nishimura, Rick A.
    Chaudhry, Rajeev
    Liu, Hongfang
    JOURNAL OF THE AMERICAN HEART ASSOCIATION, 2018, 7 (23):
  • [3] Electronic health record machine learning model predicts trauma inpatient mortality in real time: A validation study
    Mou, Zongyang
    Godat, Laura N.
    El-Kareh, Robert
    Berndtson, Allison E.
    Doucet, Jay J.
    Costantini, Todd W.
    JOURNAL OF TRAUMA AND ACUTE CARE SURGERY, 2022, 92 (01): : 74 - 80
  • [4] Serendipity Wall: A Discussion Support System Using Real-time Speech Recognition and Large Language Model
    Imamura, Shota
    Hiraki, Hirotaka
    Rekimoto, Jun
    AUGMENTED HUMANS 2024, AHS 2024, 2024, : 237 - 247
  • [5] LAMARS: Large Language Model-Based Anticipation Mechanism Acceleration in Real-Time Robotic Systems
    Gao, Yifang
    Luo, Wei
    Wang, Xuye
    Zhang, Shunshun
    Goh, Patrick
    IEEE ACCESS, 2025, 13 : 3864 - 3880
  • [6] ACHIEVING AN ELECTRONIC HEALTH RECORD IN A SPECIALTY DENTAL CLINIC TO OBTAIN REAL-TIME INFORMATION WITH WELL-DOCUMENTED CLINICAL-MAKING ACCURATE DECISIONS
    Vistoso, A.
    Nocera, L.
    Clark, G.
    13TH INTERNATIONAL TECHNOLOGY, EDUCATION AND DEVELOPMENT CONFERENCE (INTED2019), 2019, : 4742 - 4747