An In-Hospital Mortality Risk Model for Patients Undergoing Coronary Artery Bypass Grafting Based on Machine Learning: Cohort Study

<strong>Background:</strong> Ischemic heart disease remains the leading cause of death worldwide. Coronary artery bypass grafting (CABG) remains the primary surgical treatment for ischemic heart disease. There is currently a lack of highly accurate and widely applicable models for assessing the risk of postoperative mortality following CABG. <strong>Objective:</strong> This study aimed to develop and validate an in-hospital mortality risk prediction system for patients undergoing coronary artery bypass grafting (CABG) by using machine learning algorithms and to compare its performance with the European System for Cardiac Operative Risk Evaluation II (EuroSCORE II) and Sino System for Coronary Operative Risk Evaluation (SinoSCORE). <strong>Methods:</strong> Between January 2017 and December 2020, 21,443 patients undergoing CABG in the Chinese Cardiac Surgery Registry were included. Patients were randomly divided into training (n=17,753) and test (n=3690) cohorts. We addressed class imbalance using the synthetic minority oversampling technique (SMOTE) and optimized hyperparameters via grid search. Fifteen machine learning algorithms were developed to predict in-hospital mortality. Performance was evaluated using the area under the receiver operating characteristic curve (AUC), calibration metrics (Brier score), and decision curve analysis, and was compared against EuroSCORE II and SinoSCORE. <strong>Results:</strong> A total of 21,443 patients were included. Overall, in-hospital mortality was 2.1% (n=450). The Extreme Gradient Boosting (XGBoost) model achieved the best performance with an AUC of 0.850 in the training cohort and 0.782 in the independent test cohort (this cohort was independent and not involved in model construction). While EuroSCORE II showed an AUC of 0.722 and SinoSCORE showed an AUC of 0.726 in the test cohort, the XGBoost model demonstrated superior discrimination and calibration (<i>P</i>&lt;.05). <strong>Conclusions:</strong> Our study developed and validated a machine learning–based risk prediction model for in-hospital mortality after CABG by using a large-scale Chinese multicenter registry. Among the algorithms tested, the XGBoost model demonstrated superior discrimination and calibration compared with the traditional EuroSCORE II and SinoSCORE, suggesting that locally calibrated models may better capture the risk profile of Chinese patients. The derived 7-variable web calculator may serve as an exploratory auxiliary tool to provide a preliminary reference for bedside risk stratification, though its direct impact on surgical decision-making requires further prospective validation. Future research should focus on independent test cohorts across diverse hospital tiers to ensure broad generalizability.

Prediction of 30-Day All-Cause Hospital Readmissions Using Limited Structured Electronic Health Record Data: Retrospective Comparative Study

Background: Unplanned hospital readmissions represent a critical operational and financial challenge for health care systems in the United States, with 3.8 million 30-day all-cause readmissions in 2018 at an average cost of US $15,200 each, totaling US $58 billion in costs. Many published prediction models rely on comprehensive information (eg, full billing abstractions, discharge summaries, laboratory tests, and vitals) that becomes available only late in the encounter, limiting usefulness for real-time, in-hospital intervention. This creates a timeliness-accuracy trade-off: models that are most accurate retrospectively may arrive too late to act upon. Objective: This study tests whether a clinically meaningful predictive signal for 30-day all-cause readmission is present within a limited set of structured clinical codes recorded during the patient’s hospital stay. This approach evaluates whether predictive signals are retained when using a restricted set of structured clinical codes. Methods: We conducted a retrospective comparative modeling study using a large, deidentified electronic health record dataset of 50,000 inpatient encounters from the 2019 New York State Emergency Department Database. Two feature sets were constructed: (1) a limited set consisting of the first 5 () diagnosis codes, the first 5 Current Procedural Terminology (CPT) codes, and Charlson Comorbidity Index (CCI; 11 input features); and (2) a rich set using all available and CPT codes plus CCI (up to 135 input features). We trained 4 models: random forest, CatBoost, multilayer perceptron, and DistilBERT (a distilled Bidirectional Encoder Representations from Transformers [BERT] model; structured codes mapped to text and tokenized with DistilBERT-base-uncased). Evaluation used an untouched hold-out set of 10,000 encounters, preserving the natural 21.1% readmission prevalence. Primary metrics were area under the receiver operating characteristic curve (AUROC), -score, and accuracy. To address class imbalance, the training split only was balanced via undersampling of the majority class and bootstrap oversampling of the minority class; validation/test distributions were left unchanged. Results: Models trained on the limited feature set achieved AUROC values ranging from 0.5369 to 0.5596 and -scores from 0.2555 to 0.3434. Across 3 of 4 architectures, models trained on the limited feature set matched or exceeded the discrimination of their rich counterparts. The best model (random forest, limited) achieved an area under the curve AUROC 0.5596 (95% CI 0.5440‐0.5739) compared to the best performing rich model (DistilBERT) at 0.5703 (95% CI 0.5565‐0.5842), an absolute difference of 0.0107. The highest -score (0.3434) was achieved by DistilBERT on the limited feature set. Differences across architectures were small in absolute terms, with threshold-dependent metrics (eg, -score) being comparable. Conclusions: The findings suggest that models using a limited set of structured clinical codes can achieve performance comparable to those using more comprehensive coding information.
<img src="https://jmir-production.s3.us-east-2.amazonaws.com/thumbs/2c6a3535f15393463cd4b4c04e53b2e6" />

Neuromotor and Cognitive Outcomes of Preterm Infants at 3 Months of Corrected Age in a Northeastern Region of Brazil: Longitudinal Feasibility Study

<strong>Background:</strong> Preterm infants (PTIs) are at increased risk of neurodevelopmental impairment, particularly in socioeconomically vulnerable regions, where access to early intervention services is limited. However, little is known about the feasibility of longitudinal developmental monitoring in such contexts. <strong>Objective:</strong> This study aimed to evaluate the feasibility of recruiting, retaining, and assessing preterm infants in a resource-limited setting in Northeastern Brazil and to generate preliminary data on early neurodevelopmental outcomes. <strong>Methods:</strong> This longitudinal feasibility study was conducted at a referral maternity hospital in Northeastern Brazil between October 2023 and March 2024. PTIs born at ≤32 weeks of gestational age were recruited during hospitalization. Feasibility outcomes included recruitment rate, retention rate, and completeness of assessments. Development was assessed at three time points: (1) Neonatal Intensive Care Unit discharge, (2) Kangaroo Neonatal Intermediate Care Unit discharge, and (3) at 3 months of corrected age (CA), using the Motor Optimality Score (MOS), Test of Infant Motor Performance (TIMP), and Bayley Scales of Infant Development III (BAYLEY-III). Caregiver-infant interaction was assessed using the Recorded Interaction Task (RIT). <strong>Results:</strong> Of 45 eligible infants, 20 (44.4%) were enrolled, and 10 (50%) completed follow-up in 3 months CA. A total of 67 assessments were conducted. Attrition was due to death (n=5), loss of contact (n=2), withdrawal (n=2), and transfer to another service (n=1). Among infants assessed at 3 months CA, 60% (n=6) of infants had MOS &lt;25, indicating increased risk of neurological impairment. At TIMP, 80% (n=8) showed motor performance below expected levels in 3 months. BAYLEY-III assessments (n=8) indicated below-average motor performance in 50% (n=4) of the infants and below-average cognitive performance in 50% (n=4). All caregiver-infant dyads assessed at follow-up (n=10) demonstrated adequate interaction on RIT (mean score 57.9, SD 12.3). <strong>Conclusions:</strong> Longitudinal developmental monitoring of PTIs in a resource-limited setting was feasible, although retention remained a major challenge. Preliminary findings indicated frequent motor and cognitive vulnerabilities after hospital discharge, underscoring the importance of structured follow-ups in early infancy. These findings support the need for larger studies to refine follow-up strategies and evaluate early intervention in similar contexts.