Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Previously submitted to: JMIR Medical Informatics (no longer under consideration since Aug 06, 2026)

Date Submitted: Jul 20, 2026

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Knowledge-Augmented Spatiotemporal Modeling of Electronic Medical Records for Heart Failure Prognosis Prediction: Development and Validation of KA-STNet

  • Yichen Li; 
  • Zhongrang Xie; 
  • Muyu Wang; 
  • Xin Xin; 
  • Jun Huang; 
  • Congmin Zhu; 
  • Lan Wei; 
  • Xiaolu Fei; 
  • Hui Chen

ABSTRACT

Background:

Heart failure (HF) is a severe and progressive clinical syndrome associated with high mortality, frequent hospitalizations, and substantial healthcare burden worldwide. Identification of critically ill HF patients and accurate assessment of cardiac function grade at discharge are essential for timely intervention, risk stratification, and optimization of post-discharge management.

Objective:

This study aims to develop and validate KA-STNet, an interpretable knowledge-augmented spatiotemporal framework for in-hospital mortality prediction and discharge cardiac function grade prediction in patients with HF.

Methods:

To address the heterogeneity of EMR data, KA-STNet adopts distinct graph representation strategies for static and time-series data. For static data, it integrates external medical knowledge with data-driven statistical associations to learn knowledge-augmented patient representations. For time-series data, it employs a spatiotemporal graph neural network to capture spatial dependencies among laboratory indicators and temporal dynamics in longitudinal laboratory sequences, while incorporating patient-level static representations to guide inter-laboratory association modeling. Interpretability analyses based on Shapley additive explanations (SHAP), GNNExplainer, and Leiden community detection are conducted to identify key predictive factors and clinically meaningful laboratory communities.

Results:

KA-STNet outperformed all baseline models across all evaluated tasks. In the in-hospital mortality risk prediction task, it attained a mean AUROC of 0.968 on the local dataset and 0.897 on the public dataset. In the discharge cardiac function grade prediction task, KA-STNet achieved a mean AUROC of 0.925. Anemia-related variables, indicators of renal function and infection-related markers were identified as important contributors to adverse outcome prediction in patients with HF. Leiden community detection further revealed meaningful multi-organ interaction patterns. Adverse outcomes were associated with network reorganization involving acid–base/electrolyte, inflammatory, and hepatic indicators.

Conclusions:

KA-STNet provides an effective and interpretable framework for predicting HF outcomes using heterogeneous EMRs. These findings support the value of combining knowledge-augmented static representation learning with spatiotemporal dependency modeling for interpretable prediction of clinically relevant HF outcomes. Clinical Trial: Not applicable. This was a retrospective study based on electronic medical records and was not a clinical trial.


 Citation

Please cite as:

Li Y, Xie Z, Wang M, Xin X, Huang J, Zhu C, Wei L, Fei X, Chen H

Knowledge-Augmented Spatiotemporal Modeling of Electronic Medical Records for Heart Failure Prognosis Prediction: Development and Validation of KA-STNet

JMIR Preprints. 20/07/2026:107521

DOI: 10.2196/preprints.107521

URL: https://preprints.jmir.org/preprint/107521

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.