Assessing accuracy of ChatGPT in response to questions from day to day pharmaceutical care in hospitals

Publication date

2024-09

Authors

van Nuland, Merel
Lobbezoo, Anne-Fleur H
van de Garde, E M WORCID 0000-0002-1334-2144ISNI 0000000391503086
Herbrink, Maikel
van Heijl, Inger
Bognàr, Tim
Houwen, Jeroen P A
Dekens, Marloes
Wannet, Demi
Egberts, ToineORCID 0000-0003-1758-7779ISNI 0000000392745722

Editors

Advisors

Supervisors

Document Type

Article
Open Access logo

License

cc_by_nc_nd

Abstract

BACKGROUND: The advent of Large Language Models (LLMs) such as ChatGPT introduces opportunities within the medical field. Nonetheless, use of LLM poses a risk when healthcare practitioners and patients present clinical questions to these programs without a comprehensive understanding of its suitability for clinical contexts. OBJECTIVE: The objective of this study was to assess ChatGPT's ability to generate appropriate responses to clinical questions that hospital pharmacists could encounter during routine patient care. METHODS: Thirty questions from 10 different domains within clinical pharmacy were collected during routine care. Questions were presented to ChatGPT in a standardized format, including patients' age, sex, drug name, dose, and indication. Subsequently, relevant information regarding specific cases were provided, and the prompt was concluded with the query "what would a hospital pharmacist do?". The impact on accuracy was assessed for each domain by modifying personification to "what would you do?", presenting the question in Dutch, and regenerating the primary question. All responses were independently evaluated by two senior hospital pharmacists, focusing on the availability of an advice, accuracy and concordance. RESULTS: In 77% of questions, ChatGPT provided an advice in response to the question. For these responses, accuracy and concordance were determined. Accuracy was correct and complete for 26% of responses, correct but incomplete for 22% of responses, partially correct and partially incorrect for 30% of responses and completely incorrect for 22% of responses. The reproducibility was poor, with merely 10% of responses remaining consistent upon regeneration of the primary question. CONCLUSIONS: While concordance of responses was excellent, the accuracy and reproducibility were poor. With the described method, ChatGPT should not be used to address questions encountered by hospital pharmacists during their shifts. However, it is important to acknowledge the limitations of our methodology, including potential biases, which may have influenced the findings.

Keywords

Accuracy, ChatGPT, Clinical pharmacy, Drug information, Language model, Health, Toxicology and Mutagenesis, Pharmacology (medical), Pharmacy

Citation

van Nuland, M, Lobbezoo, A-F H, van de Garde, E M W, Herbrink, M, van Heijl, I, Bognàr, T, Houwen, J P A, Dekens, M, Wannet, D, Egberts, T & van der Linden, P D 2024, 'Assessing accuracy of ChatGPT in response to questions from day to day pharmaceutical care in hospitals', Exploratory Research in Clinical and Social Pharmacy, vol. 15, 100464. https://doi.org/10.1016/j.rcsop.2024.100464