NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Building a tobacco user registry by extracting multiple smoking behaviors from clinical notes

Ellen L. Palmer, Saeed Hassanpour, John H. Higgins, Jennifer A. Doherty, Tracy OnegaBMC Medical Informatics Decis. Mak 2019

TL;DR

This paper presents a novel informatics pipeline that extracts detailed smoking behaviors (status, pack years, cessation dates) from free-text clinical notes in Electronic Health Records (EHRs). This approach is crucial for building comprehensive "Smokers' Registries" that can significantly improve patient risk identification and access to preventative care, moving beyond simple smoking status.

What Problem Does This Paper Address?

Electronic Health Records (EHRs) are a rich source of patient information, but they often rely on structured fields that capture only basic data. For smoking history, this typically means just knowing if a patient is a current, former, or never smoker. However, this limited information fails to capture the nuances of smoking behaviors, such as how much a patient smoked historically (pack years) or when they last quit. This detailed information is vital for clinicians to accurately assess a patient's risk for smoking-related diseases and to tailor interventions like cessation assistance or lung cancer screening. The paper addresses the challenge of extracting this richer, more granular smoking behavior data from the unstructured text within clinical notes.

Methods

The researchers developed and evaluated an informatics pipeline that combines machine learning and regular expressions to extract comprehensive smoking behavior information.

  • Smoking Status Classification: They adapted a "hotspot-guided support vector machine" (SVM) approach, similar to prior work, using six domain-expert identified "hotspot" words (e.g., "smok," "cig") to identify relevant text segments. They found that a reduced set of four hotspots and a window of +/- five words around them was sufficient for high performance.
  • Pack Year and Cessation Date Extraction: For notes classified as indicating a positive smoking history (current, former, or smoker temporality unknown), they employed regular expression algorithms. These algorithms were designed to identify pack year history (including packs per day, cigarettes per day, and years smoked) and cessation dates. The pack year extraction was hierarchical, prioritizing complete pack year data before attempting to infer it from partial information.

Datasets

The study utilized two datasets:

  • i2b2 Challenge Dataset: A public, de-identified dataset of 502 patient-visit notes from the 2006 i2b2 Challenge, used for training and testing the smoking status algorithm. This dataset provided annotations for smoking status.
  • Local EHR Dataset: A dataset of 758 patient-visit notes collected from the Dartmouth-Hitchcock healthcare system between March 28, 2016, and April 4, 2016. This dataset was manually annotated by the study team for smoking status, cessation date, and consumption information (pack years, etc.). This dataset was crucial for evaluating the pipeline's ability to extract more detailed smoking behaviors.

Key Insights and Ideas

  • Beyond Binary Smoking Status: The core insight is that simply knowing if someone smokes isn't enough. The how much and when they quit are critical for clinical decision-making and risk stratification.
  • NLP for Granular Data: Natural Language Processing (NLP) techniques, specifically a combination of SVMs and regular expressions, are effective in extracting this nuanced information from unstructured clinical text, which is often missed by structured fields.
  • Generalizability is Key: The pipeline's ability to perform well when trained on one EHR system (local) and tested on another (i2b2) suggests its potential for broader implementation across different healthcare institutions with minimal retraining.
  • Context Matters for NLP: The finding that a +/- five-word window around "hotspot" terms was optimal highlights the importance of local context in accurately interpreting smoking behavior mentions.
  • Iterative Refinement: The process of adapting existing algorithms and iteratively testing them on local data, then validating against a public benchmark, is a robust approach for developing and evaluating clinical NLP tools.

Key Results

  • Smoking Status: The pipeline achieved a micro-F1 score of 0.90 for smoking status classification on both the i2b2 and local datasets, indicating high accuracy.
  • Pack Year History: In the local test set, the regular expression algorithm for pack year history achieved 91.7% sensitivity and 95.2% specificity. However, approximately 25% of extractions were incomplete, only capturing "packs per day" or "years smoked" rather than a full "pack year" calculation.
  • Cessation Date: The regular expression algorithm for cessation date extraction achieved 63.2% sensitivity and 94.6% specificity. While sensitivity was lower, the specificity was high, meaning extracted dates were generally accurate.

Limitations and Future Work

  • Pack Year Incompleteness: The paper acknowledges that about 25% of pack year extractions were incomplete, requiring further refinement of the regular expression rules or more advanced algorithms.
  • Cessation Date Sensitivity: The lower sensitivity for cessation date extraction (63.2%) is attributed to challenges with non-standard notation and date ranges in clinical notes.
  • Generalizability Testing: While the smoking status classifier showed promise for generalizability, the pack year and cessation date algorithms could not be formally tested on the i2b2 dataset due to a lack of annotations for these concepts. Further testing in external EHRs is needed.
  • Misclassification of Smoking Status: The smoking status algorithm showed some misclassification between current, former, and temporality unknown smoker groups, though sensitivity for never smokers and unknown status was high. Future work suggests using pre-visit questionnaires or patient portal updates to improve accuracy.
  • Future Directions: The authors suggest future work including comparing their pipeline's output with semi-structured data, developing more advanced algorithms (like deep neural networks), and exploring the extraction of other smoking-related concepts such as diseases and quit attempts. They also aim to make the pipeline publicly available.

Summary updated

BibTeX
@inproceedings{palmer2019building,
  author = {Ellen L. Palmer and Saeed Hassanpour and John H. Higgins and Jennifer A. Doherty and Tracy Onega},
  title = {{Building a tobacco user registry by extracting multiple smoking behaviors from clinical notes}},
  booktitle = {BMC Medical Informatics Decis. Mak},
  year = {2019},
  url = {https://openreview.net/forum?id=3MAlaU2PQr},
}
Figure