We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/Automating Responses to Patient Portal Messages Using Generative AI
PeriodicalsComputer Science & Information Technology

Automating Responses to Patient Portal Messages Using Generative AI

Checking your access to this record.

Abstract & Overview

Patient portals bridge patient and provider communications but exacerbate physician and nursing burnout. Large language models (LLMs) can generate message responses that are viewed favorably by health care professionals/providers (HCPs); however, these studies have not included diverse message types or new prompt-engineering strategies. Our goal is to investigate and compare the quality and precision of GPT-generated message responses versus real doctor responses across the spectrum of message types within a patient portal. We used prompt engineering techniques to craft synthetic provider responses tailored to adult primary care patients. We enrolled a sample of primary care providers in a cross-sectional study to compare authentic with synthetic patient portal message responses generated by GPT-3.5-turbo, July 2023 version (GPT). The survey assessed each response's empathy, relevance, medical accuracy, and readability on a scale from 0 to 5. Respondents were asked to identify responses that were GPT-generated versus provider-generated. Mean scores for all metrics were computed for subsequent analysis. A total of 49 HCPs participated in the survey (59% completion rate), comprising 16 physicians and 32 advanced practice providers (APPs). In comparison to responses generated by real doctors, GPT-generated responses scored statistically significantly higher than doctors in two of the four parameters: empathy (p < 0.05) and readability (p < 0.05). However, no statistically significant difference was observed for relevance and accuracy (p > 0.05). Although readability scores were significantly different, the absolute difference was small, and the clinical significance of this finding remains uncertain. Our findings affirm the potential of GPT-generated message responses to achieve comparable levels of empathy, relevance, and readability to those found in typical responses crafted by HCPs. Additional studies should be done within provider workflows and with careful evaluation of patient attitudes and concerns related to the ethics as well as the quality of generated responses in all settings.

Cite this record

Amarpreet Kaur, Alex Budko, Katrina Yan Liu, Eric Eaton, Bryan D. Steitz, Kevin B. Johnson (2025). Automating Responses to Patient Portal Messages Using Generative AI. Applied Clinical Informatics, 16(03), 718–731. https://doi.org/10.1055/a-2565-9155

Copy in another style

Kaur, A., Budko, A., Liu, K. Y., Eaton, E., Steitz, B. D., & Johnson, K. B. (2025). Automating Responses to Patient Portal Messages Using Generative AI. Applied Clinical Informatics, 16(03), 718–731. https://doi.org/10.1055/a-2565-9155
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.