Why the study?
The utility of large language models in developing clinical prediction tools had not been significantly explored.
Can GPT-4o facilitate the rapid development of a clinical prediction tool (postoperative complication risk calculator) with comparable performance to existing tools?
Can GPT-4o facilitate the rapid development of a clinical prediction tool (postoperative complication risk calculator) with comparable performance to existing tools?
Large language models like GPT-4o can facilitate the rapid development of clinical decision support tools with strong predictive performance, though human oversight remains necessary.
Requires prospective validation before clinical use; leaves open LLM utility for accelerating prediction tool development.
Large language models (LLMs) have shown capabilities in generating functional code, yet their utility in the development of clinical prediction tools has not been significantly explored. We evaluated GPT-4o’s capability to create a postoperative complication risk calculator similar to the existing National Surgical Quality Improvement Program (NSQIP) risk calculator. This included data preprocessing, predictive modeling, and development of a web application. Synthetic data of a similar structure to the NSQIP dataset was used when communicating with GPT-4o to maintain privacy. 512 lines of Python code were generated across 14 prompts, with one line requiring human editing. The resulting logistic regression models achieved similar Brier scores compared to the original NSQIP risk calculator and demonstrated strong discrimination (C-statistic > 0.75), while slightly underperforming previously reported predictive metrics for some outcomes. Development was completed in three hours. These findings suggest that LLMs can facilitate rapid development of clinical decision support tools, though output still requires human oversight and refinement.
No takes yet. Share an insight, caveat, or question.
Wolfrath et al. (2025) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: