Related Experiment Video
Updated: Jul 6, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Development and multicentre validation of the FLEX score: personalised preoperative surgical risk prediction using
Ran Liu1, Tom A D Stone1, Praachi Raje2
1Department of Anesthesia, Critical Care and Pain Medicine, Massachusetts General Hospital, Boston, MA, USA; Harvard Medical School, Boston, MA, USA.
Background:
Preoperative knowledge of surgical risks can improve perioperative care and patient outcomes. However, assessments requiring clinician examination of patients or manual chart review can be too burdensome for routine use.
Methods:
We conducted a multicentre retrospective study of 243 479 adult noncardiac surgical patients at four hospitals within the Mass General Brigham (MGB) system in the USA. We developed a machine learning method using routinely collected coding and patient characteristics data from the electronic health record which predicts 30-day mortality, 30-day readmission, discharge to long-term care, and hospital length of stay.
Results:
Our method, the Flexible Surgical Set Embedding (FLEX) score, achieved state-of-the-art performance to identify comorbidities that significantly contribute to the risk of each adverse outcome. The contributions of comorbidities are weighted based on patient-specific context, yielding personalised risk predictions. Understanding the significant drivers of risk of adverse outcomes for each patient can inform clinicians of potential targets for intervention.
Conclusions:
FLEX utilises information from a wider range of medical diagnostic and procedural codes than previously possible and can adapt to different coding practices to accurately predict adverse postoperative outcomes.

