Identifying features of risk periods for suicide attempts using document frequency and language use in electronic health records
- PMID: 38152362
- PMCID: PMC10752595
- DOI: 10.3389/fpsyt.2023.1217649
Identifying features of risk periods for suicide attempts using document frequency and language use in electronic health records
Abstract
Background: Individualising mental healthcare at times when a patient is most at risk of suicide involves shifting research emphasis from static risk factors to those that may be modifiable with interventions. Currently, risk assessment is based on a range of extensively reported stable risk factors, but critical to dynamic suicide risk assessment is an understanding of each individual patient's health trajectory over time. The use of electronic health records (EHRs) and analysis using machine learning has the potential to accelerate progress in developing early warning indicators.
Setting: EHR data from the South London and Maudsley NHS Foundation Trust (SLaM) which provides secondary mental healthcare for 1.8 million people living in four South London boroughs.
Objectives: To determine whether the time window proximal to a hospitalised suicide attempt can be discriminated from a distal period of lower risk by analysing the documentation and mental health clinical free text data from EHRs and (i) investigate whether the rate at which EHR documents are recorded per patient is associated with a suicide attempt; (ii) compare document-level word usage between documents proximal and distal to a suicide attempt; and (iii) compare n-gram frequency related to third-person pronoun use proximal and distal to a suicide attempt using machine learning.
Methods: The Clinical Record Interactive Search (CRIS) system allowed access to de-identified information from the EHRs. CRIS has been linked with Hospital Episode Statistics (HES) data for Admitted Patient Care. We analysed document and event data for patients who had at some point between 1 April 2006 and 31 March 2013 been hospitalised with a HES ICD-10 code related to attempted suicide (X60-X84; Y10-Y34; Y87.0/Y87.2).
Findings: n = 8,247 patients were identified to have made a hospitalised suicide attempt. Of these, n = 3,167 (39.8%) of patients had at least one document available in their EHR prior to their first suicide attempt. N = 1,424 (45.0%) of these patients had been "monitored" by mental healthcare services in the past 30 days. From 60 days prior to a first suicide attempt, there was a rapid increase in the monitoring level (document recording of the past 30 days) increasing from 35.1 to 45.0%. Documents containing words related to prescribed medications/drugs/overdose/poisoning/addiction had the highest odds of being a risk indicator used proximal to a suicide attempt (OR 1.88; precision 0.91 and recall 0.93), and documents with words citing a care plan were associated with the lowest risk for a suicide attempt (OR 0.22; precision 1.00 and recall 1.00). Function words, word sequence, and pronouns were most common in all three representations (uni-, bi-, and tri-gram).
Conclusion: EHR documentation frequency and language use can be used to distinguish periods distal from and proximal to a suicide attempt. However, in our study 55.0% of patients with documentation, prior to their first suicide attempt, did not have a record in the preceding 30 days, meaning that there are a high number who are not seen by services at their most vulnerable point.
Keywords: assessment; electronic health records; language; risk; suicide.
Copyright © 2023 Dutta, Gkotsis, Velupillai, Downs, Roberts, Stewart and Hotopf.
Conflict of interest statement
MH leads the RADAR-CNS consortium, a private–public pre-competitive collaboration on mobile health, through which King’s College London receives in-kind and cash contributions from Janssen, Biogen, UCB, Merck, and Lundbeck. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Figures




Similar articles
-
Reviewing a Decade of Research Into Suicide and Related Behaviour Using the South London and Maudsley NHS Foundation Trust Clinical Record Interactive Search (CRIS) System.Front Psychiatry. 2020 Nov 27;11:553463. doi: 10.3389/fpsyt.2020.553463. eCollection 2020. Front Psychiatry. 2020. PMID: 33329090 Free PMC article. Review.
-
Folic acid supplementation and malaria susceptibility and severity among people taking antifolate antimalarial drugs in endemic areas.Cochrane Database Syst Rev. 2022 Feb 1;2(2022):CD014217. doi: 10.1002/14651858.CD014217. Cochrane Database Syst Rev. 2022. PMID: 36321557 Free PMC article.
-
Clinician-recalled quoted speech in electronic health records and risk of suicide attempt: a case-crossover study.BMJ Open. 2020 Apr 22;10(4):e036186. doi: 10.1136/bmjopen-2019-036186. BMJ Open. 2020. PMID: 32327481 Free PMC article.
-
Development and evaluation of a de-identification procedure for a case register sourced from mental health electronic records.BMC Med Inform Decis Mak. 2013 Jul 11;13:71. doi: 10.1186/1472-6947-13-71. BMC Med Inform Decis Mak. 2013. PMID: 23842533 Free PMC article.
-
Associations of remote mental healthcare with clinical outcomes: a natural language processing enriched electronic health record data study protocol.BMJ Open. 2023 Feb 10;13(2):e067254. doi: 10.1136/bmjopen-2022-067254. BMJ Open. 2023. PMID: 36764723 Free PMC article.
Cited by
-
A Machine Learning-Based Case-Control Study on Suicide Risk Identification: Integrating Acoustic and Linguistic Features Under Stress Conditions.Depress Anxiety. 2025 Aug 8;2025:1671972. doi: 10.1155/da/1671972. eCollection 2025. Depress Anxiety. 2025. PMID: 40821764 Free PMC article.
-
Nursing Records Regarding Decision-Making in Cancer Supportive Care: A Retrospective Study in Japan.Healthc Inform Res. 2024 Oct;30(4):364-374. doi: 10.4258/hir.2024.30.4.364. Epub 2024 Oct 31. Healthc Inform Res. 2024. PMID: 39551923 Free PMC article.
References
-
- APA . The American Psychiatric Association practice guidelines for the psychiatric evaluation of adults: guideline III. Assessment of suicide risk. Arlington, VA: American Psychiatric Association; (2016).
-
- Abdelrahman W, Abdelmageed A. Medical record keeping: clarity, accuracy, and timeliness are essential. BMJ. (2014) 348:f7716. doi: 10.1136/bmj.f7716 - DOI
Grants and funding
LinkOut - more resources
Full Text Sources
Miscellaneous