Skip to main navigation Skip to search Skip to main content

Comparative evaluation of handwriting recognition by large language models (LLMs) in interpreting handwritten medication lists

  • Tom G. Jacobs
  • , Laize Sílvia dos Anjos Botas Beca
  • , Paul D. van der Linden*
  • , Merel van Nuland
  • *Corresponding author for this work

Research output: Contribution to journal › Article › Academic › peer-review

1 Downloads (Pure)

Abstract

Introduction: Handwritten bedside medication lists remain common in healthcare, especially in low-resource countries, presenting challenges for digitization and automated safety checks. The introduction of large-language models may present an opportunity to facilitate digitization of handwritten medication lists. Objective: This study evaluated the accuracy of three GPT-based language models in recognizing handwritten medication lists, presented in Dutch. Methods: Thirty-three participants transcribed a list of 10 medications with dosage and administration instructions. These lists were processed by each model and scored for correct medication name, dosage, frequency, and route. The effect of writer characteristics on LLM performance was assessed using the Mann-Whitney U test (sex, handedness, ink colour) and Kruskal-Wallis H-test (handwriting style: cursive, print, mixed). Results: GPT 4.1 achieved the highest accuracy, followed by GPT4o, both outperforming GPT4o-mini (p < 0.001). Recognition strongly correlated with human legibility (ρ = 0.655; p < 0.001). Print handwriting and blue ink resulted in higher recognition than cursive or mixed styles and black ink. Complex dosing instructions were most error-prone. Conclusion: GPT-based optical character recognition showed potential for scalable digitization of handwritten prescriptions, however, human oversight remains essential to ensure medication safety. Future research should validate performance in real-world, multilingual settings.

Original languageEnglish
Article number100807
JournalExploratory Research in Clinical and Social Pharmacy
Volume23
DOIs
Publication statusPublished - Sept 2026

Keywords

  • Artificial intelligence
  • Digitization
  • Large language model
  • Medication list
  • Pharmacy

Fingerprint

Dive into the research topics of 'Comparative evaluation of handwriting recognition by large language models (LLMs) in interpreting handwritten medication lists'. Together they form a unique fingerprint.

Cite this