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?

Accepted for/Published in: JMIR Mental Health

Date Submitted: Sep 29, 2025
Open Peer Review Period: Oct 1, 2025 - Nov 26, 2025
Date Accepted: Dec 11, 2025
(closed for review but you can still tweet)

The final, peer-reviewed published version of this preprint can be found here:

Advancing Psychiatric Safety With the Predictive Risk Identification for Mental Health Events Tool: Retrospective Cohort Study

Dolatabadi E, Tamayo Velasquez V, Dabboussi AH, Wen D, Crawford J, Waddell A, El Morr C

Advancing Psychiatric Safety With the Predictive Risk Identification for Mental Health Events Tool: Retrospective Cohort Study

JMIR Ment Health 2026;13:e84318

DOI: 10.2196/84318

PMID: 41649861

PMCID: 12924039

Advancing Psychiatric Safety with PRIME: a Predictive Risk Identification for Mental Health

  • Elham Dolatabadi; 
  • Valentina Tamayo Velasquez; 
  • Abdul Hamid Dabboussi; 
  • David Wen; 
  • Jennifer Crawford; 
  • Andrea Waddell; 
  • Christo El Morr

ABSTRACT

Background:

Patient safety incidents are a leading cause of harm in psychiatric settings, yet early warning systems tailored to mental health remain underdeveloped. Traditional risk tools like DASA-IV offer limited predictive accuracy and are reactive rather than proactive.

Objective:

We introduce the Mental Health Adverse Event Prediction (MAP) tool, a deep learning-based EWS trained on longitudinal psychiatric EMR data to anticipate adverse events in 24-hour windows.

Methods:

A retrospective and prospective cohort study using routinely collected electronic medical record (EMR) data to train and validate ML models for short-term risk prediction. This study took place at Waypoint Centre for Mental Healthcare, a large inpatient psychiatric hospital in Ontario, Canada, serving both high-secure forensic and non-forensic patient populations. A total of 4,651 patients and 403,098 encounters from January 2020 to August 2024. For prospective evaluation, the 2024 test set included 900 patients and 48,313 encounters. MAP was trained using recurrent neural networks with attention mechanisms on multivariate time-series data. The model employed an autoregressive design to forecast risk based on 7 days of prior patient data and was benchmarked against the DASA-IV clinical tool and other machine learning baselines. The primary outcome was the occurrence of an adverse mental health event recorded in the EMR within the next 24 hours. Model performance was assessed using area under the receiver operating characteristic curve (AUC) and recall, alongside subgroup analyses and interpretability assessments using integrated gradients.

Results:

The LSTM with attention mechanism achieved the highest predictive performance (AUC = 0.83), outperforming existing tools such as the DASA-IV by 20 AUC points (0.81 vs. 0.61)​​, and demonstrating the potential of ML-based models to support proactive risk management in mental health settings.

Conclusions:

MAP is one of the first prospectively evaluated deep learning-based early warning systems for psychiatric inpatient care. By outperforming existing clinical tools and providing interpretable, rolling predictions, MAP offers a pathway toward safer, more proactive mental health interventions. Future work should assess its equity implications and integration into routine psychiatric workflows.


 Citation

Please cite as:

Dolatabadi E, Tamayo Velasquez V, Dabboussi AH, Wen D, Crawford J, Waddell A, El Morr C

Advancing Psychiatric Safety With the Predictive Risk Identification for Mental Health Events Tool: Retrospective Cohort Study

JMIR Ment Health 2026;13:e84318

DOI: 10.2196/84318

PMID: 41649861

PMCID: 12924039

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.