Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

npj Digital Medicine
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. npj digital medicine
  3. articles
  4. article
A deep learning model to dynamically predict cancer-associated thromboembolism in large-scale healthcare systems
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 18 May 2026

A deep learning model to dynamically predict cancer-associated thromboembolism in large-scale healthcare systems

  • Tianshe He1,2 na1,
  • Chunlei Zheng1,3 na1,
  • Jennifer La1,3,4,
  • Dang Pham5,
  • Omid Jafari5,
  • Jamie Strampe1,
  • Karlynn Dulberger1,
  • Jaime Ramos-Cejudo1,2,
  • J. Michael Gaziano1,4,
  • Nhan V. Do1,3,
  • Vipul Chitalia3,
  • Katya Ravid3,6,
  • Ang Li5 na2 &
  • …
  • Nathanael R. Fillmore1,3,4 na2 

npj Digital Medicine (2026) Cite this article

  • 709 Accesses

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Computational biology and bioinformatics
  • Diseases
  • Health care
  • Medical research
  • Risk factors

Abstract

Venous thromboembolism (VTE) is a leading cause of preventable death among patients undergoing systemic treatment for cancer. Studies suggest that treatment strategies such as direct oral anticoagulant administration can significantly reduce the likelihood of VTE. Therefore, identifying people at high risk is of critical importance. Leveraging electronic health records (EHRs) from the U.S. Veterans Affairs (VA) healthcare system, we developed a transformer model to predict VTE risk in 80,808 cancer patients following the initiation of systemic treatment. The model uses longitudinal diagnostic codes, laboratory values, and demographic data. The proposed transformer model dynamically predicts VTE risk in 3-month quarterly intervals over the year following systemic treatment, achieving progressively improved performance across quarters (AUC: 0.68–0.77). The model is similarly performant on the external validation cohort from the Harris Health System (HHS) with 9752 patients (AUC: 0.68–0.74). By improving its predictions as a patient’s history evolves, this dynamic model surpasses prior static risk scores and better supports actionable decisions deeper into the treatment course.

Similar content being viewed by others

Cancer-associated venous thromboembolism

Article 17 February 2022

Using machine learning to predict venous thromboembolism and major bleeding events following total joint arthroplasty

Article Open access 07 February 2023

Development and validation of a prediction model to estimate risk of acute pulmonary embolism in deep vein thrombosis patients

Article Open access 13 January 2022

Acknowledgements

The authors thank the referees for helpful comments during the revision process. The authors also thank Catherine Dorece for her help throughout the submission process.

Author information

Author notes
  1. These authors contributed equally: Tianshe He, Chunlei Zheng.

  2. These authors jointly supervised this work: Ang Li, Nathanael R. Fillmore.

Authors and Affiliations

  1. Boston Cooperative Studies Program, MAVERIC, VA Boston Healthcare System, Boston, MA, USA

    Tianshe He, Chunlei Zheng, Jennifer La, Jamie Strampe, Karlynn Dulberger, Jaime Ramos-Cejudo, J. Michael Gaziano, Nhan V. Do & Nathanael R. Fillmore

  2. Department of Psychiatry, New York University Grossman School of Medicine, New York, NY, USA

    Tianshe He & Jaime Ramos-Cejudo

  3. Department of Medicine, Boston University Chobanian & Avedisian School of Medicine, Boston, MA, USA

    Chunlei Zheng, Jennifer La, Nhan V. Do, Vipul Chitalia, Katya Ravid & Nathanael R. Fillmore

  4. Brigham and Women’s Hospital, Harvard Medical School, Boston, MA, USA

    Jennifer La, J. Michael Gaziano & Nathanael R. Fillmore

  5. Dan L Duncan Comprehensive Cancer Center, Baylor College of Medicine, Houston, TX, USA

    Dang Pham, Omid Jafari & Ang Li

  6. Whitaker Cardiovascular Institute, Boston University Chobanian & Avedisian School of Medicine, Boston, MA, USA

    Katya Ravid

Authors
  1. Tianshe He
    View author publications

    Search author on:PubMed Google Scholar

  2. Chunlei Zheng
    View author publications

    Search author on:PubMed Google Scholar

  3. Jennifer La
    View author publications

    Search author on:PubMed Google Scholar

  4. Dang Pham
    View author publications

    Search author on:PubMed Google Scholar

  5. Omid Jafari
    View author publications

    Search author on:PubMed Google Scholar

  6. Jamie Strampe
    View author publications

    Search author on:PubMed Google Scholar

  7. Karlynn Dulberger
    View author publications

    Search author on:PubMed Google Scholar

  8. Jaime Ramos-Cejudo
    View author publications

    Search author on:PubMed Google Scholar

  9. J. Michael Gaziano
    View author publications

    Search author on:PubMed Google Scholar

  10. Nhan V. Do
    View author publications

    Search author on:PubMed Google Scholar

  11. Vipul Chitalia
    View author publications

    Search author on:PubMed Google Scholar

  12. Katya Ravid
    View author publications

    Search author on:PubMed Google Scholar

  13. Ang Li
    View author publications

    Search author on:PubMed Google Scholar

  14. Nathanael R. Fillmore
    View author publications

    Search author on:PubMed Google Scholar

Corresponding author

Correspondence to Nathanael R. Fillmore.

Ethics declarations

Competing interests

J.M.G., J.L., N.R.F. report research funding to institution from Merck and Bayer.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Supplementary information. (download PDF )

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

He, T., Zheng, C., La, J. et al. A deep learning model to dynamically predict cancer-associated thromboembolism in large-scale healthcare systems. npj Digit. Med. (2026). https://doi.org/10.1038/s41746-026-02730-2

Download citation

  • Received: 09 July 2025

  • Accepted: 30 April 2026

  • Published: 18 May 2026

  • DOI: https://doi.org/10.1038/s41746-026-02730-2

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Download PDF

Associated content

Collection

Applications of Artificial Intelligence in Cancer

Advertisement

Explore content

  • Research articles
  • Reviews & Analysis
  • News & Comment
  • Collections
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • Aims and scope
  • Content types
  • Journal Information
  • About the Editors
  • Contact
  • Editorial policies
  • Calls for Papers
  • Journal Metrics
  • About the Partner
  • Open Access
  • Early Career Researcher Editorial Fellowship
  • Editorial Team Vacancies
  • News and Views Student Editor
  • Communication Fellowship

Publish with us

  • For Authors and Referees
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

npj Digital Medicine (npj Digit. Med.)

ISSN 2398-6352 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing