Related Experiment Video
Updated: Jan 6, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Development of a machine learning model for predicting compulsory psychiatric care using clinical notes
Eline W Nap1, Floortje E Scheepers2, Cornelis L Mulder3,4
1Parnassia Groep, Den Haag, The Netherlands. e.nap@parnassiagroep.nl.
Background:
If patients at high risk of compulsory psychiatric care can be identified sooner, it is in some cases possible to apply stage-specific interventions that make compulsory care unnecessary. We therefore developed a machine-learning algorithm that could identify patients at risk sooner, thereby enabling timely intervention and preventive measures.
Methods:
As predictors in a machine-learning model for predicting compulsory care, we used known risk factors and clinical notes registered in electronic health records during treatment at a mental health institution in the Netherlands.
Results:
We successfully built a predictive model that, with a precision of 0.91, identified just over 50% of the compulsory care trajectories (recall/sensitivity) 60 days before the start of the trajectory. The algorithm was thus able to predict more than half of the compulsory-care admissions 2 months before they took place. It correctly flagged nine out of ten cases as being at high risk for admission. A previous compulsory-care episode was the most predictive variable in our model. Incorporating text improved the model's performance, particularly when the forecast horizon was shorter.
Conclusions:
This study shows that predicting adverse events is a promising line of research that may support future clinical practice. To enhance the clinical relevance of predictions, it is essential to understand the functioning of the model and its input variables.
More Related Videos
12:18A Machine Learning Approach to Design an Efficient Selective Screening of Mild Cognitive Impairment
Published on: January 11, 2020
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
Related Concept Videos
Classification of Illness
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
Methods of Documentation VI: Case Management Model
For example, a patient with a chronic...