Development and multicentre validation of the FLEX score: personalised preoperative surgical risk prediction using attention-based ICD-10 and Current Procedural Terminology set embeddings

Br J Anaesth. 2024 Mar;132(3):607-615. doi: 10.1016/j.bja.2023.11.039. Epub 2024 Jan 6.

Abstract

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.

Keywords: adverse surgical outcomes; billing codes; machine learning; multicentre study; postoperative outcome; risk prediction; surgical comorbidities.

Publication types

  • Multicenter Study

MeSH terms

  • Adult
  • Current Procedural Terminology*
  • Humans
  • International Classification of Diseases*
  • Patient Readmission
  • Perioperative Care
  • Retrospective Studies