Automating Clavien–Dindo classification with large language models in percutaneous nephrolithotomy: an exploratory study
Abstract Purpose To explore the use of large language models for Clavien-Dindo classification of complications following percutaneous nephrolithotomy by benchmarking their performance against physician grading. Methods We evaluated ChatGPT, Copilot, DeepSeek, Gemini, Grok and Llama for defining Clavien-Dindo grades, classifying complications according to the Clavien-Dindo classification, and classifying case summaries with and without in-context prompting. Vignettes were obtained from a published consensus categorization of percutaneous nephrolithotomy complications. We measured agreement with Gwet’s AC2 coefficient and compared it with attending urologists and urology residents. Results All models accurately defined the Clavien-Dindo classification and graded with almost perfect agreement complication descriptions and case summaries (0.97 to 0.98 overall agreement). Six attendings and 15 residents classified the same vignettes, demonstrating lower agreement than the chatbots (0.95, p < 0.001 for residents; 0.96, p = 0.03 for attendings; 0.95, p < 0.001 for all participants). Models’ latency ranged from 0.77 to 3.90 min, while the fastest physician required 17 min to complete the same tasks. Models’ intrarater reliability was almost perfect: from 0.97 to 0.99. Interrater reliability between chatbots (0.97, 95% confidence interval: 0.97–0.98) was significantly higher than among physicians (0.93, 95% confidence interval: 0.92–0.94). Conclusion Large language models show promise in being faster, more accurate, and precise than physicians in Clavien-Dindo classification in an experimental setting. We support the need for a prospective agreement study using real-world clinical records. We urge discussion of the legal and ethical implications.
Authors
- William Carlos Nahas (ORCID: https://orcid.org/0000-0002-7395-8370)
- Giovanni Scala Marchini (ORCID: https://orcid.org/0000-0003-4334-9803)
- Eduardo Mazzucchi (ORCID: https://orcid.org/0000-0002-1328-7421)
- Fábio César Miranda Torricelli (ORCID: https://orcid.org/0000-0002-5845-0894)
- Fabio Carvalho Vicentini (ORCID: https://orcid.org/0000-0003-3745-341X)
- Alexandre Danilovic (ORCID: https://orcid.org/0000-0002-6963-6117)
- Carlos Batagello (ORCID: https://orcid.org/0000-0002-7240-7956)
- Rodrigo Perrella (ORCID: https://orcid.org/0000-0002-9358-2542)
- Gustavo Perrone (ORCID: https://orcid.org/0009-0004-8674-8921)
Institutions
- Universidade de São Paulo (BR)
- Hospital das Clínicas da Faculdade de Medicina da Universidade de São Paulo (BR)
Publication Details
- Journal
- World Journal of Urology
- Published
- 2026-09-28
- DOI
- https://doi.org/10.1007/s00345-026-06833-z
- Primary Topic
- Kidney Stones and Urolithiasis Treatments
- Type
- article
- Field-Weighted Citation Impact
- 0.00