JMIR AI (Jun 2023)

Detecting Ground Glass Opacity Features in Patients With Lung Cancer: Automated Extraction and Longitudinal Analysis via Deep Learning–Based Natural Language Processing

  • Kyeryoung Lee,
  • Zongzhi Liu,
  • Urmila Chandran,
  • Iftekhar Kalsekar,
  • Balaji Laxmanan,
  • Mitchell K Higashi,
  • Tomi Jun,
  • Meng Ma,
  • Minghao Li,
  • Yun Mai,
  • Christopher Gilman,
  • Tongyu Wang,
  • Lei Ai,
  • Parag Aggarwal,
  • Qi Pan,
  • William Oh,
  • Gustavo Stolovitzky,
  • Eric Schadt,
  • Xiaoyan Wang

DOI
https://doi.org/10.2196/44537
Journal volume & issue
Vol. 2
p. e44537

Abstract

Read online

BackgroundGround-glass opacities (GGOs) appearing in computed tomography (CT) scans may indicate potential lung malignancy. Proper management of GGOs based on their features can prevent the development of lung cancer. Electronic health records are rich sources of information on GGO nodules and their granular features, but most of the valuable information is embedded in unstructured clinical notes. ObjectiveWe aimed to develop, test, and validate a deep learning–based natural language processing (NLP) tool that automatically extracts GGO features to inform the longitudinal trajectory of GGO status from large-scale radiology notes. MethodsWe developed a bidirectional long short-term memory with a conditional random field–based deep-learning NLP pipeline to extract GGO and granular features of GGO retrospectively from radiology notes of 13,216 lung cancer patients. We evaluated the pipeline with quality assessments and analyzed cohort characterization of the distribution of nodule features longitudinally to assess changes in size and solidity over time. ResultsOur NLP pipeline built on the GGO ontology we developed achieved between 95% and 100% precision, 89% and 100% recall, and 92% and 100% F1-scores on different GGO features. We deployed this GGO NLP model to extract and structure comprehensive characteristics of GGOs from 29,496 radiology notes of 4521 lung cancer patients. Longitudinal analysis revealed that size increased in 16.8% (240/1424) of patients, decreased in 14.6% (208/1424), and remained unchanged in 68.5% (976/1424) in their last note compared to the first note. Among 1127 patients who had longitudinal radiology notes of GGO status, 815 (72.3%) were reported to have stable status, and 259 (23%) had increased/progressed status in the subsequent notes. ConclusionsOur deep learning–based NLP pipeline can automatically extract granular GGO features at scale from electronic health records when this information is documented in radiology notes and help inform the natural history of GGO. This will open the way for a new paradigm in lung cancer prevention and early detection.