ArticleThe Lancet. Digital health2024
Foresight-a generative pretrained transformer for modelling of patient timelines using electronic health records: a retrospective modelling study.
Article in The Lancet. Digital health, 2024. The graph could read no effect estimate from its abstract, so it casts no vote on the map. An erratum has been issued. Cited by 67 papers.
What it found
Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.
The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.
The trial behind it
Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.
Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.
Who cites it
67 citing papers in PubMed.
- From patient notes to prognostication: The revolutionary potential of event-based foundation models in orthopaedics.Knee surgery, sports traumatology, arthroscopy : official journal of the ESSKA · 2026Article
- Trajectories of Nursing Care During the Critical and Intensive Phases After Coronary Artery Bypass Graft Surgery: A Retrospective Observational Study.Journal of advanced nursing · 2026Observational
- Article
- CPS-Net (Collaborating Physicians in Silico Network): A Decentralized Multi-Agent Transformer Framework for Specialty-Aware Disease Prediction.Journal of medical systems · 2026Article
- Evaluation of a Generative Medical Event Foundation Model for Predicting Post-Discharge Trajectories in Emergency Department Abdominal Pain.medRxiv : the preprint server for health sciences · 2026Article
- Moving artificial intelligence from research to real-world clinical use in neurology.Nature reviews. Neurology · 2026Review
- A meta-learning method with reduced data requirements for training and updating deep learning models on wearable devices.Communications medicine · 2026Article
- Natural Language Processing Applied to Psychiatric Clinical Notes: Scoping Review.JMIR medical informatics · 2026Article
- Review
- Challenges and Solutions in Deploying Systematized Nomenclature of Medicine-Clinical Terms in the Chinese Healthcare Context.Health care science · 2026Article
- SurvivEHR: a competing risks, time-to-event foundation model for multiple long-term conditions from primary care electronic health records.NPJ digital medicine · 2026Article
- Bridging survival analysis and machine learning to improve healthy life expectancy estimation using PHR records.NPJ digital medicine · 2026Article
- Blocking the Reflection: Milestones and Hurdles for Digital Twins in Mental Health.Pharmacopsychiatry · 2026Review
- Multi-Hospital Electronic Health Record Foundation Models Without Data Sharing: A Comparison of Federated Learning and Inference-Time Ensembling.medRxiv : the preprint server for health sciences · 2026Article
- Artificial intelligence reshaping the paradigm of hematologic malignancy diagnosis and treatment: From static assessment to dynamic precision management.Annals of hematology · 2026Review
- Temporal Learning with Dynamic Range (TLDR) for modeling recurrent exposure and treatment outcomes.Scientific reports · 2026Article
- Benchmark evaluation of large language models for clinical decision support in headache management.Journal of oral & facial pain and headache · 2026Article
- A weakly supervised transformer for rare disease diagnosis and subphenotyping from EHRs with pulmonary case studies.NPJ digital medicine · 2026Article
- A Systematic Review of Topic Modeling Techniques for Electronic Health Records.Healthcare (Basel, Switzerland) · 2026Review
- Artificial intelligence methods to detect heart failure with preserved ejection fraction within electronic health records: an equitable disease detection model.European heart journal. Digital health · 2026Article
7 more citing papers are in PubMed but not listed here.
Corrections and comments
- Commented on by
- Erratum issued
Authors and funding
12 authors.
Funding
Abstract
backgroundAn electronic health record (EHR) holds detailed longitudinal information about a patient's health status and general clinical history, a large portion of which is stored as unstructured, free text. Existing approaches to model a patient's trajectory focus mostly on structured data and a subset of single-domain outcomes. This study aims to evaluate the effectiveness of Foresight, a generative transformer in temporal modelling of patient data, integrating both free text and structured formats, to predict a diverse array of future medical outcomes, such as disorders, substances (eg, to do with medicines, allergies, or poisonings), procedures, and findings (eg, relating to observations, judgements, or assessments).
methodsForesight is a novel transformer-based pipeline that uses named entity recognition and linking tools to convert EHR document text into structured, coded concepts, followed by providing probabilistic forecasts for future medical events, such as disorders, substances, procedures, and findings. The Foresight pipeline has four main components: (1) CogStack (data retrieval and preprocessing); (2) the Medical Concept Annotation Toolkit (structuring of the free-text information from EHRs); (3) Foresight Core (deep-learning model for biomedical concept modelling); and (4) the Foresight web application. We processed the entire free-text portion from three different hospital datasets (King's College Hospital [KCH], South London and Maudsley [SLaM], and the US Medical Information Mart for Intensive Care III [MIMIC-III]), resulting in information from 811 336 patients and covering both physical and mental health institutions. We measured the performance of models using custom metrics derived from precision and recall.
findingsForesight achieved a precision@10 (ie, of 10 forecasted candidates, at least one is correct) of 0·68 (SD 0·0027) for the KCH dataset, 0·76 (0·0032) for the SLaM dataset, and 0·88 (0·0018) for the MIMIC-III dataset, for forecasting the next new disorder in a patient timeline. Foresight also achieved a precision@10 value of 0·80 (0·0013) for the KCH dataset, 0·81 (0·0026) for the SLaM dataset, and 0·91 (0·0011) for the MIMIC-III dataset, for forecasting the next new biomedical concept. In addition, Foresight was validated on 34 synthetic patient timelines by five clinicians and achieved a relevancy of 33 (97% [95% CI 91-100]) of 34 for the top forecasted candidate disorder. As a generative model, Foresight can forecast follow-on biomedical concepts for as many steps as required.
interpretationForesight is a general-purpose model for biomedical concept modelling that can be used for real-world risk forecasting, virtual trials, and clinical research to study the progression of disorders, to simulate interventions and counterfactuals, and for educational purposes.
fundingNational Health Service Artificial Intelligence Laboratory, National Institute for Health and Care Research Biomedical Research Centre, and Health Data Research UK.
Indexed as
Identifiers
What OpenQuestion holds
Registered trials
Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.