Identification of Primary Sclerosing Cholangitis: ICD-10 Code Validation and Comparison with a Large Language Model Approach.
Melinda Wang, Mai Dao, Molly Delk, Cynthia Fenton, Michelle Y Li, Jessica B Rubin, Jin Ge, Jennifer C Lai,
Division of Gastroenterology and Hepatology, Department of Medicine, University of California-San Francisco, 513 Parnassus Ave S357, San Francisco, CA, USA. · Division of Gastroenterology and Hepatology, Department of Medicine, Tulane University, New Orleans, LA, USA.
Key points
From the paper's conclusion- The PSC-specific ICD-10 code had strong discriminatory capacity for identifying patients with PSC. While an optimized PSC prediction algorithm had slightly improved test characteristics, ICD-10 code alone was sufficient in identifying patients with PSC, supporting the use of the ICD-10 code in future database studies of PSC. In contrast, LLM had inferior discrimination compared to either ICD-10 code or the prediction model.
Abstract
BACKGROUND: Retrospective studies investigating primary sclerosing cholangitis (PSC) have been limited by the absence of a PSC-specific diagnostic code. In 2018, a new PSC-specific ICD-10 code was introduced. AIMS: We aimed to validate the new ICD-10 code and compare it to other methods of identifying patients with PSC. METHODS: All gastroenterology/hepatology and primary clinic notes and discharge summaries were extracted from UCSF Epic Clarity database and potential PSC patients were identified using natural language processing (NLP). PSC diagnosis was determined by physician adjudication through chart review. LASSO regression was used to develop and internally validate a PSC prediction model. Separately, we tested large language model's (LLM) ability to distinguish PSC from non-PSC patients. RESULTS: Among 867 patients identified using NLP, 226 (26%) patients were adjudicated to have a true PSC diagnosis. The LASSO model selected ICD-10 code, alkaline phosphatase > 120 IU/L, ursodiol use, inflammatory bowel disease, and history of cholangitis. ICD-10 code alone had a c-statistic of 0.87, sensitivity 87.6%, and PPV 68.8%. The LASSO model had a c-statistic of 0.92, sensitivity 87.4%, and PPV 70.7%. LLM had a c-statistic 0.77, sensitivity 91.7%, and PPV 51.0%. CONCLUSIONS: The PSC-specific ICD-10 code had strong discriminatory capacity for identifying patients with PSC. While an optimized PSC prediction algorithm had slightly improved test characteristics, ICD-10 code alone was sufficient in identifying patients with PSC, supporting the use of the ICD-10 code in future database studies of PSC. In contrast, LLM had inferior discrimination compared to either ICD-10 code or the prediction model.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PSC ‐ DM : A Validated Clinical Diagnostic Model for Distinguishing Primary From Secondary Sclerosing CholangitisLiver International · 2026
- Segmental FLIS and ANALI provide complementary MR-based risk stratification in primary sclerosing cholangitis.European radiology · 2026
- Associations Between Liver Biomarkers and Clinical Outcomes in Patients With Primary Sclerosing Cholangitis: A Retrospective Real‐World StudyLiver International Communications · 2026
- Harnessing large language models for reliable automatic Charlson Comorbidity Index scoring: a validation study.JAMIA open · 2026
- A novel inflammatory bowel disease registry powered by artificial intelligence and natural language processing.PLOS digital health · 2026
- Predictive value of systemic immune-inflammatory indices for severe acute cholangitis and in-hospital mortalityBMC Gastroenterology · 2026