An accessible, efficient, and accurate natural language processing method for extracting diagnostic data from pathology reports

Hansen Lam, Freddy Nguyen, Xintong Wang, Aryeh Stock, Volha Lenskaya, Maryam Kooshesh, Peizi Li, Mohammad Qazi, Shenyu Wang, Mitra Dehghan, Xia Qian, Qiusheng Si, Alexandros D. Polydorides

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

Abstract

Context: Analysis of diagnostic information in pathology reports for the purposes of clinical or translational research and quality assessment/control often requires manual data extraction, which can be laborious, time-consuming, and subject to mistakes. Objective: We sought to develop, employ, and evaluate a simple, dictionary- and rule-based natural language processing (NLP) algorithm for generating searchable information on various types of parameters from diverse surgical pathology reports. Design: Data were exported from the pathology laboratory information system (LIS) into extensible markup language (XML) documents, which were parsed by NLP-based Python code into desired data points and delivered to Excel spreadsheets. Accuracy and efficiency were compared to a manual data extraction method with concordance measured by Cohen's κ coefficient and corresponding P values. Results: The automated method was highly concordant (90%–100%, P<.001) with excellent inter-observer reliability (Cohen's κ: 0.86–1.0) compared to the manual method in 3 clinicopathological research scenarios, including squamous dysplasia presence and grade in anal biopsies, epithelial dysplasia grade and location in colonoscopic surveillance biopsies, and adenocarcinoma grade and amount in prostate core biopsies. Significantly, the automated method was 24–39 times faster and inherently contained links for each diagnosis to additional variables such as patient age, location, etc., which would require additional manual processing time. Conclusions: A simple, flexible, and scaleable NLP-based platform can be used to correctly, safely, and quickly extract and deliver linked data from pathology reports into searchable spreadsheets for clinical and research purposes.

Original languageEnglish
Article number100154
JournalJournal of Pathology Informatics
Volume13
DOIs
StatePublished - Jan 2022

Keywords

  • Algorithm
  • Carcinoma
  • Extraction
  • Free-text
  • Narrative
  • Python
  • Unstructured
  • XML

Fingerprint

Dive into the research topics of 'An accessible, efficient, and accurate natural language processing method for extracting diagnostic data from pathology reports'. Together they form a unique fingerprint.

Cite this