Automatic Prediction of Rheumatoid Arthritis Disease Activity from the Electronic Medical Records

Chen Lin, Elizabeth W. Karlson, Helena Canhão, Timothy A. Miller, Dmitriy Dligach, Pei Jun Chen, Raúl Pérez, Yuanyan Shen, Michael E. Weinblatt, Nancy A. Shadick, Robert M. Plenge, Guergana SavovaPLoS 2013

Abstract

Automatic Rheumatoid Arthritis disease activity discovery from Electronic Medical Record data is a learnable task approximating human performance. As a result, this approach might have several research applications, such as the identification of patients for genome-wide pharmacogenetic studies that require large sample sizes with precise definitions of disease activity and response to therapies.

Introduction

Managing Rheumatoid Arthritis (RA) effectively requires clinicians to monitor "disease activity"—a measure of inflammation and joint damage. While standardized tools like the DAS28 (Disease Activity Score in 28 joints) exist, they are only recorded in structured Electronic Medical Record (EMR) fields for approximately 20–30% of patient visits.

The remaining vital information is often "trapped" in the free-text narrative of clinical notes. For researchers conducting large-scale studies—such as identifying genetic markers for drug response—manually reviewing thousands of charts is an impossible bottleneck. This study presents an automated phenotyping tool designed to "read" clinical notes and integrate lab results to categorize disease activity into four states: High, Moderate, Low, or Remission.

Methods and Pipeline Design

The researchers approached the challenge as a document classification task, developing a pipeline that transforms raw clinical text into structured data for machine learning.

The machine learning pipeline for processing EMR notes into disease activity classifications, utilizing cTAKES for NLP extraction and vectorization.

NLP and Feature Engineering

The pipeline utilizes the cTAKES (Apache clinical Text Analysis and Knowledge Extraction System) to process raw text. This allows the system to identify medical concepts (UMLS CUIs), handle negations (e.g., distinguishing "no joint pain" from "joint pain"), and determine clinical context. The model incorporates four primary feature types:

  • Expert-defined dictionaries: Customized medical terminology.
  • UMLS CUIs: Automatically extracted medical concepts.
  • Bag-of-Words (BOW): Standard linguistic features.
  • Structured Lab Values: Inflammatory markers such as C-reactive protein (CRP) and Erythrocyte Sediment Rate (ESR).

Training Strategy

To improve classifier sharpness, the researchers employed an "extreme" training strategy. Recognizing that "Moderate" and "Low" categories are often ambiguous even for clinicians, they trained the model primarily on the extremes—High vs. Remission. This helped the algorithm learn the most distinct features of disease activity before applying it to the full spectrum of cases. A Linear Support Vector Machine (SVM) combined with a genetic algorithm for feature selection was found to be the most effective model.

Key Insights and Results

The study demonstrated that combining numerical lab data with natural language processing of clinical notes yields the most accurate results. While lab values are strong individual predictors, they are insufficient on their own to capture the full clinical picture.

Ranking of the most influential features for predicting RA disease activity, highlighting the synergy between lab values and clinical text.

Performance Metrics

  • Top Performance: The best-performing model achieved an Area Under the Curve (AUC) of 0.831, significantly outperforming the standard Bag-of-Words baseline (AUC 0.758).
  • Human-Level Accuracy: The model’s F1 score of 0.789 approached the level of agreement found between human experts (0.81–0.87), suggesting the system is nearing human-equivalent performance for this task.
  • Robustness: The model remained surprisingly robust even when structured lab data was missing, indicating that the NLP components capture a significant portion of the clinician's assessment directly from the text.

Discussion and Future Directions

The primary limitation of the current study is its reliance on data from a single institution (Partners HealthCare). Because clinical "dialects" can vary between hospitals, the model may require re-tuning for different EMR environments.

Future work will focus on improving feature engineering through "asserted relations"—linking specific symptoms to specific body parts (e.g., "swollen" + "wrists"). The ultimate goal is to apply this tool to build longitudinal patient timelines, enabling researchers to pinpoint exactly when a patient stops responding to a therapy, a critical requirement for advancing RA pharmacogenetics.

Summary updated

BibTeX
@inproceedings{lin2013automatic,
  author = {Chen Lin and Elizabeth W. Karlson and Helena Canhão and Timothy A. Miller and Dmitriy Dligach and Pei Jun Chen and Raúl Pérez and Yuanyan Shen and Michael E. Weinblatt and Nancy A. Shadick and Robert M. Plenge and Guergana Savova},
  title = {{Automatic Prediction of Rheumatoid Arthritis Disease Activity from the Electronic Medical Records}},
  booktitle = {PLoS},
  year = {2013},
  doi = {10.1371/journal.pone.0069932},
}
Figure