Systemic Anticancer Therapy Timelines Extraction From Electronic Medical Records Text: Algorithm Development and

Jiarui Yao1, Eli Goldner1, Harry Hochheiser2

  • 1Computational Health Informatics Program, Boston Children's Hospital, Harvard Medical School, 401 Park Drive, Boston, MA, 02115, United States, 1 7813545014.

Abstract

Insights

Automated extraction of systemic anticancer therapy (SACT) timelines from electronic medical records (EMRs) is crucial. A finetuned EntityBERT model achieved 93% F1-score, outperforming large language models for SACT timeline extraction.

Area of Science:

  • Natural Language Processing
  • Computational Linguistics
  • Bioinformatics

Background:

  • Systemic anticancer therapy (SACT) often involves complex drug combinations and sequences.
  • Clinical narratives in electronic medical records (EMRs) contain detailed SACT timelines.
  • Automated extraction of these timelines is a significant challenge.

Purpose of the Study:

  • To explore automatic methods for extracting patient-level SACT timelines from clinical narratives in EMRs.
  • To compare the performance of finetuned language models and large language models (LLMs) for this task.

Main Methods:

  • Utilized two datasets: THYME (colorectal cancer) and ChemoTimelines shared task (ovarian, breast cancer, melanoma).
  • Explored finetuning smaller language models (EntityBERT) and few-shot prompting of LLMs (LLaMA, Mixtral).
  • Evaluated performance on Subtask1 (timeline construction from annotated input) and Subtask2 (direct extraction from notes).

Main Results:

  • The finetuned EntityBERT model achieved a 93% F1-score, surpassing the best Subtask1 result (90%) in the ChemoTimelines shared task.
  • EntityBERT ranked second in Subtask2.
  • LLMs (LLaMA2, LLaMA3.1, Mixtral) underperformed the finetuned model, with the best LLM achieving 77% macro F1-score on shared task datasets (Subtask1).

Conclusions:

  • Task-specific finetuning of language models, like EntityBERT, is highly effective for extracting SACT timelines from clinical narratives.
  • This approach outperforms general-purpose LLMs for this specialized task.
  • The findings contribute to advancing automated treatment timeline extraction from EMRs.

Related Concept Videos

Cancer Survival Analysis01:21

Cancer Survival Analysis

Cancer survival analysis focuses on quantifying and interpreting the time from a key starting point, such as diagnosis or the initiation of treatment, to a specific endpoint, such as remission or death. This analysis provides critical insights into treatment effectiveness and factors that influence patient outcomes, helping to shape clinical decisions and guide prognostic evaluations. A cornerstone of oncology research, survival analysis tackles the challenges of skewed, non-normally...
630
Combination Therapies and Personalized Medicine02:50

Combination Therapies and Personalized Medicine

Combining two or more treatment methods increases the life span of cancer patients while reducing damage to vital organs or tissue from the overuse of a single treatment. Combination therapy also targets different cancer-inducing pathways, thus reducing the chances of developing resistance to treatment.
The combination of the drug acetazolamide and sulforaphane is a good example of combination therapy to treat cancer. The cells in the interior of a large tumor often die due to the hypoxic and...
5.9K
Targeted Cancer Therapies02:57

Targeted Cancer Therapies

The targeted cancer therapies, also known as “molecular targeted therapies,” take advantage of the molecular and genetic differences between the cancer cells and the normal cells. It needs a thorough understanding of the cancer cells to develop drugs that can target specific molecular aspects that drive the growth, progression, and spread of cancer cells without affecting the growth and survival of other normal cells in the body.
There are several types of targeted therapies against...
8.6K