Mayo Clinic Proceedings: Digital Health (Mar 2024)

Thyroid Ultrasound Appropriateness Identification Through Natural Language Processing of Electronic Health Records

  • Cristian Soto Jacome, MD,
  • Danny Segura Torres, MD,
  • Jungwei W. Fan, PhD,
  • Ricardo Loor-Torres, MD,
  • Mayra Duran, MD,
  • Misk Al Zahidy, MS,
  • Esteban Cabezas, MD,
  • Mariana Borras-Osorio, MD,
  • David Toro-Tobon, MD,
  • Yuqi Wu, PhD,
  • Yonghui Wu, PhD,
  • Naykky Singh Ospina, MD, MS,
  • Juan P. Brito, MD, MS

Journal volume & issue
Vol. 2, no. 1
pp. 67 – 74

Abstract

Read online

Objective: To address thyroid cancer overdiagnosis, we aim to develop a natural language processing (NLP) algorithm to determine the appropriateness of thyroid ultrasounds (TUS). Patients and Methods: Between 2017 and 2021, we identified 18,000 TUS patients at Mayo Clinic and selected 628 for chart review to create a ground truth dataset based on consensus. We developed a rule-based NLP pipeline to identify TUS as appropriate TUS (aTUS) or inappropriate TUS (iTUS) using patients’ clinical notes and additional meta information. In addition, we designed an abbreviated NLP pipeline (aNLP) solely focusing on labels from TUS order requisitions to facilitate deployment at other health care systems. Our dataset was split into a training set of 468 (75%) and a test set of 160 (25%), using the former for rule development and the latter for performance evaluation. Results: There were 449 (95.9%) patients identified as aTUS and 19 (4.06%) as iTUS in the training set; there are 155 (96.88%) patients identified as aTUS and 5 (3.12%) were iTUS in the test set. In the training set, the pipeline achieved a sensitivity of 0.99, specificity of 0.95, and positive predictive value of 1.0 for detecting aTUS. The testing cohort revealed a sensitivity of 0.96, specificity of 0.80, and positive predictive value of 0.99. Similar performance metrics were observed in the aNLP pipeline. Conclusion: The NLP models can accurately identify the appropriateness of a thyroid ultrasound from clinical documentation and order requisition information, a critical initial step toward evaluating the drivers and outcomes of TUS use and subsequent thyroid cancer overdiagnosis.