Abstract
Predicting postoperative adverse events and managing the associated risk factors is crucial for patient safety. Care coordination, also known as provider team interactions, significantly impacts outcomes, yet few studies have explored this link and applied it to risk prediction. To address this, Medical Heterogeneous Graphs for Patient Safety analysis (MedHG-PS), a novel graph-based framework that simultaneously models complex relationships among patient characteristics, provider interactions, and patient transfer records was proposed in this study. Evaluated on a real-world dataset with 102,768 patients from the University of Florida Health Integrated Data Repository, MedHG-PS outperforms state-of-the-art methods, achieving an AUC above 0.90 and up to a 20% improvement in recall for three major postoperative outcomes—prolonged length of stay (PLOS), 30-day mortality, and 90-day mortality. By using meta-path analysis (MPA), SHapley Additive exPlanations (SHAP) and Local Interpretable Model-agnostic Explanations (LIME), MedHG-PS identifies key predictive features, such as patient transfers highly influencing PLOS, whereas provider interactions affect mortality risks. This study highlights how care coordination can be modeled at scale using EHRs and can affect patient care safety outcomes—an important aspect of an automated and rapid-learning health system.
Introduction
Postoperative complications, including prolonged length of stay (PLOS) and mortality, remain significant challenges in clinical informatics. While traditional risk prediction models focus heavily on individual patient clinical variables (e.g., age, BMI, lab results), they often overlook the systemic context of care. Healthcare is a collaborative process; patient safety is deeply influenced by care coordination—the interactions between provider teams and the transitions between hospital units. This study introduces MedHG-PS, a framework designed to capture these "system-level" factors by modeling the hospital environment as a dynamic network of human and institutional interactions.
Methodology
The MedHG-PS framework utilizes a Heterogeneous Graph Neural Network (HGNN) to represent the complex hospital ecosystem. The model incorporates three primary node types:
- Encounters: Specific patient hospital stays.
- Providers: Surgeons, nurses, and technicians involved in care.
- Care Units: The specific wards (e.g., ICU, OR) where care was delivered.
The backbone of the system is an interpretable and efficient heterogeneous graph convolutional network (ie-HGCN). To ensure clinical utility, the researchers integrated explainability tools, including Meta-path Analysis (MPA) to identify predictive relationship sequences, and SHAP/LIME to highlight specific clinical feature importance.
Dataset and Benchmarking
The model was trained and validated using a massive dataset from the University of Florida (UF) Health Integrated Data Repository, encompassing 136,647 surgical encounters from 102,768 adult patients (2011–2022). MedHG-PS was benchmarked against standard machine learning baselines: XGBoost, Multi-layer Perceptrons (MLP), and Logistic Regression.
Results
MedHG-PS demonstrated superior performance across all primary outcomes. Notably, the model achieved an AUROC of 0.960 for PLOS prediction. In the context of patient safety, the model's ability to identify at-risk patients (recall) is paramount. MedHG-PS improved recall by over 15% for 30-day mortality and 20% for 90-day mortality compared to traditional methods like XGBoost.
Key insights from the model's explainability components revealed that patient transfers between units were the strongest predictors for PLOS, while the specific composition of provider interactions was more critical for mortality risks. The model also successfully captured known clinical phenomena, such as the "weekend effect" and the "obesity paradox."
Discussion and Conclusion
MedHG-PS represents a significant advancement in modeling care coordination at scale. By achieving high accuracy and sensitivity while maintaining computational efficiency (0.03 seconds per inference), the framework is well-suited for real-time clinical decision support. Future work will focus on multi-center validation to ensure generalizability across different hospital workflows and addressing data imbalance through ensemble modeling. Ultimately, this graph-based approach provides a scalable path toward more holistic and automated patient safety monitoring in modern health systems.
Summary updated