Automating Clinical Phenotyping Using Natural Language Processing: An Application for Crohn's Disease

Linea Schmidt,Susanne Ibing,Florian Borchert,Julian Hugo,Allison Marshall,Jellyana Peraza,Judy H. Cho,Erwin P. Bottinger,Bernhard Y. Renard,Ryan C. Ungaro
DOI: https://doi.org/10.1101/2023.10.16.23297099
2024-09-12
Abstract:Real-world studies based on electronic health records often require manual chart review to derive patients' clinical phenotypes, a labor-intensive task with limited scalability. Here, we developed and compared computable phenotyping based on rules using the spaCy framework and a Large Language Model (LLM), GPT-4, for disease behavior and age at diagnosis of Crohn's disease patients. We are the first to describe computable phenotyping algorithms using clinical texts for these complex tasks with previously described inter-annotator agreements between 0.54 and 0.98. The data comprised clinical notes and radiology reports from 584 Mount Sinai Health System patients. Overall, we observed similar or better performance using GPT-4 compared to the rules. On a note-level, the F1 score was at least 0.90 for disease behavior and 0.82 for age at diagnosis. We could not find statistical evidence for a difference to the performance of human experts on this task. Our findings underline the potential of LLMs for computable phenotyping.
What problem does this paper attempt to address?