HomeArtificial Intelligence (AI)AI model could help ERs spot suicidal patients – SA study

AI model could help ERs spot suicidal patients – SA study

University of Johannesburg researchers have developed an artificial intelligence tool they hope could help emergency room staff identify patients who may be at risk of suicidal behaviour or who may be harbouring self-harm tendencies, reports TimesLIVE.

It could also identify those who arrive with physical injuries or other complaints but who don’t verbalise their emotional struggles, said Tsholofelo Mokheleli, an assistant lecturer in UJ’s Department of Applied Information Systems.

The research was published in the journal Scientific Reports.

Mokheleli said the research was developed with the pressures facing emergency rooms in mind – where, particularly during night shifts and weekends, there may be only one person responsible for triaging more than 30 patients. During busy periods, a patient’s mental health struggles may go unnoticed, especially if they have not openly asked for help.

“Not everyone who goes into a medical institution has mental health issues. What we are trying to do is to find those people who don’t talk about it or say it out loud,” he added.

Professor Nompumelelo Ndlovu, an associate professor in UJ’s Department of Nursing who was also involved in the study, said stigma could make it difficult for people to speak about what they are experiencing.

“Some people don’t even realise they’re at risk of SRB (suicide-related behaviour). They may not be aware of what is happening with them unless they speak to somebody. But it is not an easy topic to speak about. There is so much stigma. How safe do you feel to tell the next person about what is happening with you?” she said.

The model is designed to work with the information hospitals collect during the admission process – the patient’s age, gender, temperature, heart rate, breathing rate and blood pressure, and medical history, etc. – to estimate whether they may show suicidal tendencies within the next 30 days.

If the estimated risk reaches a level set by the hospital, it alerts a healthcare professional that the patient may need further screening.

The researchers have also incorporated the prediction model into a clinical decision-support system called SAFE-Triage AI: Suicide Assessment and Flagging Engine for Triage with Artificial Intelligence.

Mokheleli and Ndlovu said the system does not diagnose a patient as suicidal. Instead, it prompts a healthcare professional to carry out further checks.

“The final clinical decision remains with the healthcare professional, not the AI,” they said.

The study tested five AI models using records from a US hospital. The researchers found that one model, known as LightGBM, offered the best overall balance in identifying patients who may be at risk.

The test group included 41 202 emergency department visits. For every 1 000 visits, the model flagged 121 patients for further screening. Of these, 23 had a documented suicide-related outcome within 30 days, while 98 did not have such an outcome recorded during that period.

The model also missed 13 patients per 1 000 visits who later had a documented suicide-related outcome. The researchers caution that a patient who is flagged should not automatically be considered suicidal.

They also point out that a patient who did not have a suicide-related outcome recorded may still have been experiencing emotional distress or may have benefited from further assessment.

They said too many alerts could add to healthcare workers’ workloads, which is why the model would need to be adjusted to suit each hospital’s capacity.

A drawback is that the research was developed using US patient records rather than South African data. The researchers said South Africa’s population, disease burden, socioeconomic conditions, healthcare-seeking behaviour and medical record-keeping practices differ from those in the US, and could affect how accurately the model identifies patients at risk.

They said the next step would be to work with hospitals in this country that have established electronic health record systems and enough patient data to assess how the model performs locally.

The model would then need to be adjusted or retrained where necessary to reflect the local population.

No facility had yet formally partnered with the team to test or implement it, but they hope the growing public discussion about the research and the wider use of AI would reopen those conversations, they added.

For a hospital with a well-developed electronic records system, reliable historical patient information and the necessary support, the researchers estimate that a controlled clinical pilot could be possible within one to two years of establishing a partnership.

However, hospitals that still rely heavily on paper records would need to improve their digital systems first.

The researchers said the model had been assessed with a small sample of professional nurses, but further evaluations involving more clinicians were needed. This would include testing whether the system is easy to use; providing training; and meeting ethical, regulatory and governance requirements.

They acknowledged that every alert could create additional work for staff and that the system’s effect on workloads would have to be assessed in practice.

They said hospitals would also need enough mental health services, referral options and follow-up support to assist patients identified as potentially at risk.

“AI can provide an opportunity to strengthen our healthcare system, but it cannot be expected to solve structural healthcare challenges on its own,” they noted.

Study details

Artificial intelligence approach for predicting suicide-related behaviour in emergency departments

Tsholofelo Mokheleli, Tebogo Makaba, Patrick Ndayizigamiye & Nompumelelo Ndlovu.

Published in Scientific Reports on 2 August 2026

Abstract

Suicide remains a major public health challenge, with emergency departments (EDs) representing a critical point of contact for individuals at risk. However, conventional suicide screening approaches are often time-intensive, disclosure-dependent, and difficult to implement consistently in high-acuity settings. This study developed and evaluated an artificial intelligence (AI)-based model for predicting suicide-related behaviour (SRB) within 30 days of ED presentation using routinely collected structured triage data available at admission. Five supervised learning models, logistic regression, random forest, extreme gradient boosting (XGBoost), light gradient boosting machine (LightGBM), and a multilayer perceptron (MLP), were developed and evaluated using patient-level train-validation-test splits. Performance was assessed using a multidimensional framework including area under the receiver operating characteristic curve (AUROC), area under the precision-recall curve (AUPRC), Recall, F2-score, Matthews Correlation Coefficient (MCC), Balanced Accuracy, threshold optimisation, decision-curve analysis, bootstrap confidence intervals, and SHapley Additive exPlanations (SHAP). Among the evaluated models, LightGBM showed the most favourable balance between overall discrimination, minority-class discrimination, sensitivity, and decision stability, achieving an AUROC of 0.88, an AUPRC of 0.25, a Recall of 0.79, and an F2-score of 0.41 on the independent test set. Threshold optimisation and decision-curve analysis further supported the model’s clinical utility, while SHAP analyses identified prior psychiatric history, age, and physiological variables as important contributors to risk prediction. These findings demonstrate that short-term SRB risk can be predicted using structured ED triage information available at presentation. Rather than replacing clinicians, the proposed model aims to provide transparent, scalable decision support to support prioritisation, follow-up planning, and early intervention. Although external validation and prospective studies remain necessary, the study provides a deployment-oriented framework for integrating AI-assisted suicide risk prediction into emergency care workflows.

 

Scientific Reports article – Artificial intelligence approach for predicting suicide-related behaviour in emergency departments (Open access)

 

TimesLIVE article – AI model could help emergency rooms spot patients at risk of suicide-related behaviour (Restricted access)

 

See more from MedicalBrief archives:

 

Call for action over high suicide rate among SA men

 

Suicide rates rise among over-50 South Africans

 

High suicide intention rate among students – SA study

 

Large mental health study finds 21% of SA students have symptoms of PTSD

MedicalBrief — our free weekly e-newsletter

We'd appreciate as much information as possible, however only an email address is required.