<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">J Med Internet Res</journal-id><journal-id journal-id-type="publisher-id">jmir</journal-id><journal-id journal-id-type="index">1</journal-id><journal-title>Journal of Medical Internet Research</journal-title><abbrev-journal-title>J Med Internet Res</abbrev-journal-title><issn pub-type="epub">1438-8871</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v28i1e85073</article-id><article-id pub-id-type="doi">10.2196/85073</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Association Between Suicidal Ideation and Negative Affect: 6-Month Ecological Momentary Assessment Study</article-title></title-group><contrib-group><contrib contrib-type="author" equal-contrib="yes"><name name-style="western"><surname>Porras-Segovia</surname><given-names>Alejandro</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="equal-contrib1">*</xref></contrib><contrib contrib-type="author" equal-contrib="yes"><name name-style="western"><surname>P&#x00E9;rez-Balaguer</surname><given-names>Ana</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="fn" rid="equal-contrib1">*</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Alacreu-Crespo</surname><given-names>Adri&#x00E1;n</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff4">4</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Barrig&#x00F3;n</surname><given-names>Maria Luisa</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Garc&#x00ED;a-Barja</surname><given-names>Paula</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Courtet</surname><given-names>Philippe</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff6">6</xref><xref ref-type="aff" rid="aff7">7</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>L&#x00F3;pez-Castroman</surname><given-names>Jorge</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff8">8</xref><xref ref-type="aff" rid="aff9">9</xref><xref ref-type="aff" rid="aff10">10</xref></contrib><contrib contrib-type="author" equal-contrib="yes"><name name-style="western"><surname>Pe&#x00F1;uelas-Calvo</surname><given-names>Inmaculada</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff11">11</xref><xref ref-type="aff" rid="aff12">12</xref><xref ref-type="aff" rid="aff13">13</xref><xref ref-type="aff" rid="aff14">14</xref><xref ref-type="fn" rid="equal-contrib1">*</xref></contrib><contrib contrib-type="author" corresp="yes" equal-contrib="yes"><name name-style="western"><surname>Baca-Garc&#x00ED;a</surname><given-names>Enrique</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff15">15</xref><xref ref-type="aff" rid="aff16">16</xref><xref ref-type="aff" rid="aff17">17</xref><xref ref-type="aff" rid="aff18">18</xref><xref ref-type="aff" rid="aff19">19</xref><xref ref-type="fn" rid="equal-contrib1">*</xref></contrib></contrib-group><aff id="aff1"><institution>Health Research Institute Fundaci&#x00F3;n Jim&#x00E9;nez D&#x00ED;az</institution><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff2"><institution>Department of Psychiatry, University Hospital Rey Juan Carlos, M&#x00F3;stoles</institution><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff3"><institution>Department of Psychiatry, University Hospital El Escorial, San Lorenzo de El Escorial</institution><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff4"><institution>Department of Psychology and Sociology, University of Zaragoza</institution><addr-line>Zaragoza</addr-line><country>Spain</country></aff><aff id="aff5"><institution>Institute of Psychiatry and Mental Health, Hospital General Universitario Gregorio Mara&#x00F1;&#x00F3;n, IiSGM, CIBERSAM, ISCIII, School of Medicine, Universidad Complutense</institution><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff6"><institution>IGF, Univ. Montpellier, CNRS, INSERM</institution><addr-line>Montpellier</addr-line><country>France</country></aff><aff id="aff7"><institution>Department of Emergency Psychiatry and Acute Care, Lapeyronie Hospital, CHU Montpellier</institution><addr-line>Montpellier</addr-line><country>France</country></aff><aff id="aff8"><institution>Department of Psychiatry, Nimes University Hospital</institution><addr-line>Nimes</addr-line><country>France</country></aff><aff id="aff9"><institution>CIBERSAM, research group CB/07/09/0025</institution><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff10"><institution>Department of Psychiatry, Radiology, Public Health, Nursing and Medicine, University of Santiago de Compostela</institution><addr-line>Santiago de Compostela</addr-line><country>Spain</country></aff><aff id="aff11"><institution>Department of Child and Adolescent Psychiatry, University Hospital 12 de Octubre</institution><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff12"><institution>Department of Psychiatry, Universidad Complutense de Madrid</institution><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff13"><institution>Health Research Institute Hospital 12 de Octubre (i+12Institute)</institution><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff14"><institution>CIBERSAM-ISCIII (Biomedical Research Networking Centre for Mental Health)</institution><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff15"><institution>Department of Psychiatry, Hospital Universitario Fundaci&#x00F3;n Jim&#x00E9;nez D&#x00ED;az</institution><addr-line>Avda. de los Reyes Cat&#x00F3;licos, 2</addr-line><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff16"><institution>CIBERSAM, research group CB/07/09/0025</institution><addr-line>Av. Monforte de Lemos 3-5. Pabellon 11. Planta 0</addr-line><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff17"><institution>Department of Psychiatry, Universidad Aut&#x00F3;noma de Madrid</institution><addr-line>Calle Arzobispo Morcillo, 4</addr-line><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff18"><institution>Department of Psychiatry, Hospital Universitario General de Villalba, Collado Villalba</institution><addr-line>M-608 Carretera, M-608, Km 41</addr-line><addr-line>Madrid</addr-line><country>Spain</country></aff><aff id="aff19"><institution>Department of Psychiatry, Hospital Universitario Infanta Elena, Valdemoro</institution><addr-line>Av. de los Reyes Cat&#x00F3;licos, 21</addr-line><addr-line>Madrid</addr-line><country>Spain</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Stone</surname><given-names>Alicia</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Umeano</surname><given-names>Adanna Jessica</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Deakins</surname><given-names>Amaya</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Simons</surname><given-names>C</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Kong</surname><given-names>Yuzhe</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Enrique Baca-Garc&#x00ED;a, MD, PhD, Department of Psychiatry, Hospital Universitario Fundaci&#x00F3;n Jim&#x00E9;nez D&#x00ED;az, Avda. de los Reyes Cat&#x00F3;licos, 2, Madrid, 28040, Spain, 34 91 541 72 67, 34 91 542 35 36; <email>research.fjd@gmail.com</email></corresp><fn fn-type="equal" id="equal-contrib1"><label>*</label><p>these authors contributed equally</p></fn></author-notes><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>23</day><month>9</month><year>2026</year></pub-date><volume>28</volume><elocation-id>e85073</elocation-id><history><date date-type="received"><day>01</day><month>10</month><year>2025</year></date><date date-type="rev-recd"><day>19</day><month>05</month><year>2026</year></date><date date-type="accepted"><day>21</day><month>05</month><year>2026</year></date></history><copyright-statement>&#x00A9; Alejandro Porras-Segovia, Ana P&#x00E9;rez-Balaguer, Adri&#x00E1;n Alacreu-Crespo, Maria Luisa Barrig&#x00F3;n, Paula Garc&#x00ED;a-Barja, Philippe Courtet, Jorge L&#x00F3;pez-Castroman, Inmaculada Pe&#x00F1;uelas-Calvo, Enrique Baca-Garc&#x00ED;a. Originally published in the Journal of Medical Internet Research (<ext-link ext-link-type="uri" xlink:href="https://www.jmir.org">https://www.jmir.org</ext-link>), 23.9.2026. </copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://www.jmir.org/">https://www.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://www.jmir.org/2026/1/e85073"/><abstract><sec><title>Background</title><p>Suicide is a major public health challenge. Traditional assessments of suicidal thoughts and behaviors rely on retrospective measures that are subject to recall bias and show limited predictive accuracy. Ecological momentary assessment (EMA) can improve suicide risk assessment by capturing real-time information in participants&#x2019; natural environments. However, EMA burden often results in short follow-up periods.</p></sec><sec><title>Objective</title><p>This study aimed to examine the association between suicidal ideation (SI) and multiple variables collected in real time using smartphone-based EMA over 6 months, with the goal of identifying short-term predictors of suicide risk in a clinical population. A secondary objective was to explore whether baseline depression and psychological pain predicted EMA-reported SI.</p></sec><sec sec-type="methods"><title>Methods</title><p>This is a prospective EMA-based study carried out among outpatients at high risk of suicide, recruited in Madrid, Spain. At baseline, depression, suicidality, and psychological and physical pain were assessed using traditional questionnaires (Inventory of Depressive Symptomatology, Columbia Suicide Severity Rating Scale, and Visual Analog Scales). During the 6-month follow-up, participants completed daily smartphone-based EMA prompts assessing SI, nonsuicidal self-injury, negative affect, interpersonal experiences, sleep, and eating habits. Each day, 2-4 questions derived from validated instruments were randomly selected from a pool of 34 items to minimize participant burden. Mixed-effects models examined within-person variability, temporal trends, and real-time associations between EMA variables and SI. Intraindividual variability was quantified using intraclass correlation coefficients and root mean squared successive differences. Linear regression analyses explored associations between EMA variables and demographic covariates and evaluated whether baseline depression and psychological pain predicted the mean and variability of SI and negative affect.</p></sec><sec sec-type="results"><title>Results</title><p>A total of 99 participants were included in the final analysis, and 13,900 EMA responses were obtained. The slope of SI showed no significant changes over time, with similar results for negative affect, interpersonal difficulties, sleep problems, and appetite. Substantial within-person variability was observed across all EMA domains. Negative affect (&#x00DF;=0.193, SE 0.03; <italic>t</italic><sub>98</sub>=6.21; <italic>P</italic>&#x003C;.001) and interpersonal difficulties (&#x00DF;=0.03, SE 0.168; <italic>t</italic><sub>98</sub>=5.96; <italic>P</italic>=.001) were significantly associated with SI and remained significant in combined models. In a subsample of 37 participants, lower baseline psychological pain was associated with lower levels of negative affect and SI over time, whereas higher baseline depression was associated with greater negative affect.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>This study provides novel insights into the real-time relationship between SI and key psychological and behavioral variables, particularly negative affect and interpersonal difficulties, using smartphone-based EMA in a high-risk clinical population. The substantial within-person variability highlights the dynamic nature of suicide risk and the limitations of traditional assessments. Future studies should aim to translate EMA-based monitoring into actionable interventions to provide real-time support for individuals at high risk of suicide.</p></sec><sec><title>Trial Registration</title><p>ClinicalTrials.gov NCT04775160; https://clinicaltrials.gov/study/NCT04775160</p></sec><sec sec-type="registered-report"><title>International Registered Report Identifier (IRRID)</title><p>RR2-10.1136/bmjopen-2021-051807</p></sec></abstract><kwd-group><kwd>suicide ideation</kwd><kwd>suicide attempt</kwd><kwd>ecological momentary assessment</kwd><kwd>eHealth</kwd><kwd>mHealth</kwd><kwd>mobile health</kwd><kwd>new technologies</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Suicide is a significant global public health concern, accounting for over 700,000 deaths worldwide each year [<xref ref-type="bibr" rid="ref1">1</xref>]. Years of potential life lost due to suicide have declined less than those associated with other external causes and have even increased in some regions [<xref ref-type="bibr" rid="ref2">2</xref>]. For example, in 2020, suicide accounted for almost as many years of potential life lost as the novel coronavirus (SARS-CoV-2) in the United States [<xref ref-type="bibr" rid="ref3">3</xref>] and even surpassed it in Spain [<xref ref-type="bibr" rid="ref4">4</xref>]. Nevertheless, suicide continues to receive far less public health attention than physical illnesses.</p><p>Traditionally, suicidal thoughts and behaviors (STBs) have been assessed through clinical interviews and self-report questionnaires. However, these methods face notable limitations, including limited predictive accuracy, insufficient consideration of contextual influences, and susceptibility to recall bias [<xref ref-type="bibr" rid="ref5">5</xref>]. Furthermore, much of the research has emphasized long-term rather than immediate (proximal) risk factors for STB [<xref ref-type="bibr" rid="ref6">6</xref>].</p><p>Ecological momentary assessment (EMA) has emerged as a promising tool to address some of these limitations. EMA involves repeatedly assessing participants in real time, typically through daily prompts delivered in their natural environments [<xref ref-type="bibr" rid="ref7">7</xref>]. While EMA was originally administered via paper diaries, it is now predominantly conducted through smartphones [<xref ref-type="bibr" rid="ref8">8</xref>]. This approach reduces recall bias, enables tracking of dynamic changes over time, and captures subtle variations that traditional methods often overlook [<xref ref-type="bibr" rid="ref9">9</xref>].</p><p>Systematic reviews have highlighted the potential of EMA for real-time monitoring of STB [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref10">10</xref>]. Studies have demonstrated the feasibility and acceptability of EMA across various populations [<xref ref-type="bibr" rid="ref11">11</xref>,<xref ref-type="bibr" rid="ref12">12</xref>] and its potential for examining psychological mechanisms. For example, Herzog et al [<xref ref-type="bibr" rid="ref13">13</xref>] identified a correlation between suicidal ideation (SI) and deficits in attentional control. Other studies suggest that previous SI and shifts in emotional or cognitive states may predict SI the following day [<xref ref-type="bibr" rid="ref14">14</xref>]. Furthermore, individuals who report SI demonstrate higher levels of perceived burdensomeness and a lower sense of belonging [<xref ref-type="bibr" rid="ref15">15</xref>], while feelings of entrapment appear to be associated with short-term SI in both directions [<xref ref-type="bibr" rid="ref16">16</xref>]. However, challenges remain, particularly with regard to the burden of EMA, which refers to participant fatigue due to frequent prompts. This can reduce adherence and limit the duration of data collection to just a few weeks [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref17">17</xref>].</p><p>In recent years, our research group has sought to mitigate some of these limitations through the SmartCrisis 1.0 project [<xref ref-type="bibr" rid="ref18">18</xref>]. By implementing a rotating system of questions to reduce repetition, we achieved a higher level of feasibility than in previous EMA studies conducted in real-world clinical settings, even in the absence of financial incentives [<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref20">20</xref>].</p><p>However, SmartCrisis 1.0 had some significant limitations. For example, it focused solely on passive SI, which restricted the scope and applicability of its findings. To address this issue, we developed SmartCrisis 2.0&#x2014;an enhanced version that incorporates active suicide intervention measures and integrates a safety plan for managing suicide risk. Initial results suggest high user satisfaction, as evidenced by strong ratings in user surveys [<xref ref-type="bibr" rid="ref21">21</xref>].</p><p>The current study aims to investigate the association between STB and various variables measured in real time via smartphone-based EMA, with the goal of identifying short-term predictors of suicide risk in a clinical population. A secondary aim is to examine how baseline levels of depression and psychological distress influence variability in EMA-reported SI.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Setting and Design</title><p>This prospective study used EMA and focused on psychiatric outpatients who were identified as being at high risk of suicide. Participants were recruited from 4 hospitals in the Community of Madrid (Spain). This study is part of the SmartCrisis 2.0 project, a randomized controlled trial (RCT) with a parallel-group design. The trial includes patients with a recent history of suicidal behavior, who are randomly assigned to 1 of 2 groups. Participants in the control group receive treatment as usual together with EMA, whereas participants in the intervention group receive treatment as usual plus EMA and an ecological momentary intervention (EMI). Both groups are followed for up to 12 months, with repeated clinical assessments and continuous smartphone-based monitoring. EMA data is collected continuously throughout the follow-up period in both groups; therefore, for participants in the intervention arm, EMA monitoring occurs concurrently with the EMI, whereas in the control group, EMA is conducted without intervention. The EMI is a smartphone-based intervention that includes a personalized safety plan, an enhanced contact system with supportive messages, and a toolbox of brief therapeutic exercises delivered via the app. Full details of the SmartCrisis 2.0 RCT protocol are available in a separate publication [<xref ref-type="bibr" rid="ref7">7</xref>]. Although the broader SmartCrisis 2.0 project includes an interventional element, the present study focuses on the observational EMA monitoring data collected during the study period and does not evaluate the effectiveness of the intervention.</p><p>The original protocol planned to recruit 220 participants across 5 sites, including centers in France. However, the French sites were ultimately withdrawn, and the study proceeded with the 4 Spanish sites included in the present study. In addition, although the target sample size for the RCT is 220 participants, the present analysis includes a smaller sample because sufficient statistical power had already been achieved to address the aims of this study.</p></sec><sec id="s2-2"><title>Ethical Considerations</title><p>The study adhered to the ethical principles set forth in the Declaration of Helsinki and was approved by the Research Ethics Committee of Fundaci&#x00F3;n Jim&#x00E9;nez D&#x00ED;az (EC005-21_FJD). Written informed consent was obtained from all participants. To ensure confidentiality, the usernames and personal information of participants were pseudonymized using coded identifiers. All data were encrypted using AES-256 with 256-bit keys and were managed within a professional key management system, which underwent external security compliance audits. No financial compensation was offered to participants.</p></sec><sec id="s2-3"><title>Terminology and Definitions</title><p>In this study, STBs are used as an umbrella term encompassing different suicide-related experiences, including:</p><list list-type="order"><list-item><p>SI: a cognitive process involving thoughts about the possibility of ending one&#x2019;s life. This includes both passive wishes to be dead and active thoughts of killing oneself, in the absence of associated preparatory behavior.</p></list-item><list-item><p>Suicide attempt: a self-directed injurious behavior accompanied by intent to die and involving a real risk to life, regardless of the outcome.</p></list-item><list-item><p>Nonsuicidal self-injury: a deliberate self-injurious behavior without intent to die, typically aimed at relieving emotional distress, regulating affect, or causing changes in the external environment.</p></list-item><list-item><p>Death by suicide: a fatal self-directed injurious act with intent to die.</p></list-item></list><p>Definitions were based on the Columbia&#x2013;Suicide Severity Rating Scale [<xref ref-type="bibr" rid="ref22">22</xref>].</p><p>Negative affect refers to a broad dimension of emotional distress that includes unpleasant emotional states such as anger, guilt, fear, worry, shame, and nervousness, as originally described by Watson et al [<xref ref-type="bibr" rid="ref23">23</xref>]. In the present study, this construct was operationalized using EMA items assessing stress, restlessness, hopelessness, anxiety, sadness, psychological pain, and anger directed toward oneself or others, along with a positively worded happiness item that was coded inversely.</p></sec><sec id="s2-4"><title>Sample</title><p>The study sample comprised psychiatric outpatients who had recently experienced STBs. The inclusion and exclusion criteria are listed in <xref ref-type="other" rid="box1">Textbox 1</xref>.</p><p>For the final analysis, only those participants who responded to at least 3 EMA prompts related to STB were included.</p><boxed-text id="box1"><title> Inclusion and exclusion criteria.</title><p>Inclusion criteria</p><list list-type="bullet"><list-item><p>Age 18 years or older</p></list-item><list-item><p>A suicide attempt or emergency intervention for suicidal intention (SI) within the previous month</p></list-item><list-item><p>Capacity to understand the study and provide informed consent</p></list-item><list-item><p>Fluency in Spanish</p></list-item><list-item><p>Access to a personal smartphone with internet connectivity</p></list-item></list><p>Exclusion criteria</p><list list-type="bullet"><list-item><p>Refusal to install the mobile app</p></list-item><list-item><p>Inability to understand or sign the informed consent</p></list-item><list-item><p>No regular access to a compatible smartphone</p></list-item></list></boxed-text></sec><sec id="s2-5"><title>Measures and Procedure</title><sec id="s2-5-1"><title>Recruitment</title><p>Psychiatrists conducting routine clinical care were responsible for recruitment. They evaluated patients for eligibility, explained the study objectives, and invited those who met the criteria to participate. Those who agreed were asked to sign a written informed consent form. No financial incentives were provided for participation.</p></sec><sec id="s2-5-2"><title>Clinical (Face-to-Face) Measures</title><p>A trained psychologist conducted a baseline clinical interview, during which demographic and clinical data were collected. Standardized instruments were used to assess the following dimensions:</p><list list-type="bullet"><list-item><p>Depression: Inventory of Depressive Symptomatology&#x2013;Clinician Rated (IDS-C). The IDS-C has demonstrated good internal consistency, high interrater reliability, and strong concurrent validity [<xref ref-type="bibr" rid="ref24">24</xref>].</p></list-item><list-item><p>STBs: Columbia&#x2013;Suicide Severity Rating Scale. The Columbia&#x2013;Suicide Severity Rating Scale has demonstrated good validity, sensitivity to clinical change, and predictive validity for near-term suicidal behavior [<xref ref-type="bibr" rid="ref22">22</xref>].</p></list-item><list-item><p>Psychological and physical pain: Visual analog scales. Visual analog scales have demonstrated strong convergent validity, sensitivity to changes in pain severity, and good feasibility among individuals in clinical populations [<xref ref-type="bibr" rid="ref25">25</xref>].</p></list-item></list><p>Data on psychological pain were obtained later in the study being available only for a subsample of participants. Additional demographic details, including date of birth and gender identity, were obtained from electronic health records.</p></sec><sec id="s2-5-3"><title>EMA Measures</title><p>During the baseline interview, the MEmind mobile app was installed on participants&#x2019; smartphones. Participants were shown how to use the app, and any questions were answered; no additional training was required. This app delivers brief, daily surveys directly to the device. Each day, at a random time between 9:00 AM and 9:00 PM, a prompt containing 2-4 questions (4 in the first 2 months, and 2 thereafter) was presented. Participants could complete the questionnaire until midnight of the same day. At least 1 item related to SI was included in each daily questionnaire, while the remaining questions were randomly selected from a pool of 34 items based on validated instruments, including</p><list list-type="bullet"><list-item><p>Salzburg Suicide Process Questionnaire [<xref ref-type="bibr" rid="ref26">26</xref>]</p></list-item><list-item><p>Patient Health Questionnaire-9 [<xref ref-type="bibr" rid="ref27">27</xref>]</p></list-item><list-item><p>Positive and Negative Affect Schedule [<xref ref-type="bibr" rid="ref23">23</xref>]</p></list-item><list-item><p>Interpersonal Needs Questionnaire [<xref ref-type="bibr" rid="ref28">28</xref>]</p></list-item><list-item><p>Prior EMA research on suicidality</p></list-item></list><p>These instruments have established evidence of reliability and validity. Specifically, the Patient Health Questionnaire-9, the Positive and Negative Affect Schedule, and the Interpersonal Needs Questionnaire have demonstrated good internal consistency, as well as construct and concurrent validity [<xref ref-type="bibr" rid="ref23">23</xref>,<xref ref-type="bibr" rid="ref27">27</xref>,<xref ref-type="bibr" rid="ref28">28</xref>]. Although the formal psychometric properties of the Salzburg Suicide Process Questionnaire have not yet been reported, its items were selected from previously validated instruments and adapted for real-time monitoring of suicidal processes [<xref ref-type="bibr" rid="ref26">26</xref>].</p><p>The EMA questions were grouped into the following categories (<xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>):</p><list list-type="bullet"><list-item><p>SI: 5 items</p></list-item><list-item><p>Nonsuicidal self-injury: 2 items</p></list-item><list-item><p>Negative affect: 9 items</p></list-item><list-item><p>Interpersonal experiences: 11 items</p></list-item><list-item><p>Sleep: 4 items</p></list-item><list-item><p>Eating habits: 3 items</p></list-item></list><p>This random and varied delivery of items was specifically designed to minimize the burden typically associated with EMA, which often leads to fatigue among participants and high dropout rates. While this approach reduces redundancy, it requires questions to be grouped into broader categories for statistical analysis. Items that were positively worded (eg, &#x201C;I feel full of hope&#x201D;) were reverse-coded to align with their category.</p><p>Participants were observed over a 6-month period.</p></sec></sec><sec id="s2-6"><title>Statistical Analysis</title><p>All statistical analyses were performed using the R software package (R Foundation for Statistical Computing). The intraindividual mean and variability of responses were calculated for each participant. Variability was assessed using the root mean square of successive differences. Missing data were not imputed; mixed models were chosen for statistical analysis as they are robust in dealing with missing values [<xref ref-type="bibr" rid="ref29">29</xref>].</p><p>Mixed-effects models were used to evaluate within-person variability and temporal trends. Between-person reliability (R-between), within-person reliability (R-within), and intraclass correlation coefficients (ICCs) were calculated from the null model to quantify variability [<xref ref-type="bibr" rid="ref30">30</xref>]. Reliability coefficients were interpreted according to Shrout (1998) as follows [<xref ref-type="bibr" rid="ref31">31</xref>]: 0.00&#x2010;0.10 indicates no reliability, 0.11&#x2010;0.40 slight reliability, 0.41&#x2010;0.60 fair reliability, 0.61&#x2010;0.80 moderate reliability, and 0.81&#x2010;1.00 substantial reliability. Time was then entered as a fixed effect, participants as random effects, and each EMA category (eg, negative affect or sleep) as the dependent variable.</p><p>Mixed-effects models were also used to examine the effect of EMA categories (eg, negative affect, interpersonal difficulties, sleep, and eating behavior) on SI over time. Each model included fixed effects for the EMA category, time, and their interaction. Random intercepts were specified for participants, with random slopes for time. An additional model was run that included all significant EMA categories together.</p><p>Multiple linear regression analyses were conducted to assess the association between EMA variables and demographic covariates (age and gender). Further regressions examined whether baseline levels of depression and psychological distress predicted the mean and variability of SI and negative affect throughout the EMA follow-up period. Where appropriate, posthoc simple slope analyses were performed.</p><p>All tests were 2-tailed and significance was set at <italic>P</italic>&#x003C;.05, with 95% CIs.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Characteristics of the Sample</title><p>A total of 115 participants were recruited. Of the initial sample, 99 had sufficient data (at least 3 EMA answers) and were included in the final analysis. The mean age was 39.5 (SD 0.33) years (43.4, SD 2.24 y for men and 37.1, SD 1.74 y for women), and there was a majority of female participants (n=62, 62.6% females vs n=37, 37.4% males).</p><p>Most participants had completed secondary education (n=71, 72.1%), followed by those with university education (n=25, 25%), while a small proportion had not completed compulsory education (n=3, 2.9%). Regarding marital status, 49% (n=49) of participants were single, 17.1% (n=17) were separated, divorced, or widowed, and 33.9% (n=34) were in a relationship. Additionally, 31.3% (n=31) of the sample consisted of individuals who were employed or studying.</p><p>There were 87.9% (n=87) participants with a lifetime mood disorder, 67.7% (n=67) participants with a lifetime anxiety disorder, 63.6% (n=63) participants with a lifetime psychotic disorder, 43.4% (n=43) participants had borderline personality disorder, and 22.2% (n=22) participants had a history of substance or alcohol use disorders.</p></sec><sec id="s3-2"><title>Description of EMA Variables</title><p>A total of 13,900 EMA responses were obtained, corresponding to an approximate overall response rate of 29.3%. Of these, 5638 belonged to the SI category. The slope of SI over time was not statistically significant (&#x03B2;=&#x2212;0.006, SE 0.014; <italic>P</italic>=.68), showing no significant changes over follow-up. Similar results were obtained for the slopes of negative affect (&#x03B2;=&#x2212;0.019, SE 0.017; <italic>P</italic>=.24), interpersonal difficulties (&#x03B2;=&#x2212;0.027, SE 0.019; <italic>P</italic>=.15), sleep problems (&#x03B2;=0.007, SE 0.011; <italic>P</italic>=.52), and appetite (&#x03B2;=0.001, SE 0.018; <italic>P</italic>=.99).</p><p>SI had an R-between of 0.51, an R-within of 0.84, and an ICC of 0.17. Negative affect showed an R-between of 0.74, an R-within of 0.83, and an ICC of 0.24. Interpersonal problems had an R-between of 0.79, an R-within of 0.84, and an ICC of 0.26. Sleep problems showed an R-between of 0.63, an R-within of 0.77, and an ICC of 0.29. Finally, appetite showed an <italic>R</italic>-between of 0.53, an <italic>R</italic>-within of 0.62, and an ICC of 0.45. Between-person reliability ranged from fair to moderate, while within-person reliability was good to high across constructs. ICCs were generally low across constructs, except for appetite.</p><p>Of the total sample, 56% (n=55) of participants received the safety plan intervention during EMA monitoring. We tested whether the intervention had an effect on SI outcomes. The effect of the safety plan was not significant for SI (&#x03B2;=&#x2212;1.24; <italic>t</italic><sub>98</sub>=&#x2212;0.47; <italic>P</italic>=.64), nor for the intraindividual mean (&#x03B2;=&#x2212;.32; <italic>t</italic><sub>98</sub>=&#x2212;0.11; <italic>P</italic>=.91) or variability (&#x03B2;=&#x2212;1.29; <italic>t</italic><sub>98</sub>=&#x2212;0.54; <italic>P</italic>=.59) of SI. For this reason, the safety plan intervention was not included as a covariate in the remaining models.</p><p><xref ref-type="fig" rid="figure1">Figure 1</xref> illustrates the evolution of the EMA responses over time.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Fluctuation of ecological momentary assessment variables over time. (A) Suicidal ideation. (B) Negative affect. (C) Interpersonal experiences. (D) Sleep. (E) Eating habits.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v28i1e85073_fig01.png"/></fig></sec><sec id="s3-3"><title>Association Between EMA Variables and SI</title><p>The variables statistically significantly associated with SI were negative affect (&#x03B2;=0.193, SE 0.03; <italic>t</italic><sub>98</sub>=6.21; <italic>P</italic>&#x003C;.001) and interpersonal difficulties (&#x03B2;=0.17, SE 0.03; <italic>t</italic><sub>98</sub>=5.96; <italic>P</italic>&#x003C;.001). The association was positive: the greater the negative affect and the interpersonal difficulties, the greater the SI. When negative affect and interpersonal difficulties were put together in the same model, both predictors maintained their significance (<italic>P</italic>&#x003C;.001).</p><p>The effect of the interactions negative affect &#x00D7; time (<italic>P</italic>=.12) and interpersonal difficulties &#x00D7; time (<italic>P</italic>=.29) were not statistically significant. There were also no statistically significant effects on appetite (appetite, <italic>P</italic>=.54; appetite &#x00D7; time, <italic>P</italic>=.78) and sleep models (sleep, <italic>P</italic>=.97; sleep &#x00D7; time, <italic>P</italic>=.15).</p><p>Greater intraindividual means of negative affect (<italic>R</italic><sup>2</sup>=0.39; &#x03B2;=0.502, SE 0.08; <italic>t</italic><sub>98</sub>=6.65; <italic>P</italic>&#x003C;.001) and interpersonal difficulties (<italic>R</italic><sup>2</sup>=0.182; &#x03B2;=0.359, SE 0.07; <italic>t</italic><sub>98</sub>=5.03; <italic>P</italic>&#x003C;.001) were associated with greater intraindividual means of SI. No significant differences were found for sleep problems and appetite. None of the intraindividual variability indexes were associated with the intraindividual mean of SI.</p><p>Intraindividual variability of SI was directly associated with intraindividual variability in the rest of the EMA variables: the greater the SI variability, the greater the variability of negative affect (<italic>R</italic><sup>2</sup>=0.15; &#x03B2;=0.477, SE 0.12; <italic>t</italic><sub>98</sub>=4.04; <italic>P</italic>&#x003C;.001), interpersonal difficulties (<italic>R</italic><sup>2</sup>=0.15; &#x03B2;=0.323, SE 0.07; <italic>t</italic><sub>98</sub>=4.49; <italic>P</italic>&#x003C;.001), sleep problems (<italic>R</italic><sup>2</sup>=0.12; &#x03B2;=0.259, SE 0.09; <italic>t</italic><sub>98</sub>=2.96; <italic>P</italic>=.004), and eating habits (<italic>R</italic><sup>2</sup>=0.23; &#x03B2;=0.318, SE 0.09; <italic>t</italic><sub>98</sub>=3.54; <italic>P</italic>&#x003C;.001).</p></sec><sec id="s3-4"><title>Baseline Psychological Pain as a Predictor of Intraindividual Mean and Variability</title><p>A subsample of 37 (48.6% females, mean age 40.6, SD 2.41 y) participants had information about baseline psychological pain and depression. The mean baseline IDS-C score of the participants was 26.2 (SD 1.59). Their current and maximum psychological pain at inclusion was 6.76 (SD 0.48) and 7.36 (SD 0.59), respectively. Participants answered EMA questions for a mean of 146 (SD 21.2) days.</p><p>There was a negative association between baseline maximum psychological pain and variability of negative affect (<italic>R</italic><sup>2</sup>=0.12; &#x03B2;=&#x2212;1.40, SE 0.65; <italic>t</italic><sub>98</sub>=&#x2212;2.16; <italic>P</italic>=.04) but psychological pain itself did not predict the mean of negative affect (<italic>P</italic>=.41). Thus, the greater the psychological pain, the lower the variability. The interaction psychological pain &#x00D7; days of follow-up significantly predicted intraindividual negative affect mean (<italic>R</italic><sup>2</sup>=0.24; &#x03B2;=0.019, SE 0.007; <italic>t</italic><sub>98</sub>=2.58; <italic>P</italic>=.02). Simple slopes showed significant results for the &#x2013;1SD psychological pain (&#x03B2;=&#x2212;0.08, SE 0.037; <italic>P</italic>=.03) but not for the +1 SD of psychological pain (&#x03B2;=0.04, SE 0.039; <italic>P</italic>=.19); showing patients with lower psychological pain and longer follow-up experiments less negative affect (<xref ref-type="fig" rid="figure2">Figure 2</xref>). The interaction psychological pain &#x00D7; days of follow-up did not predict the intraindividual variability of negative affect (<italic>P=.</italic>21).</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Association between baseline psychological pain and ecological momentary assessment&#x2013;measured negative affect.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v28i1e85073_fig02.png"/></fig><p>Psychological pain itself did not predict intraindividual variability (<italic>P=.</italic>15) or the mean of SI (<italic>P=.</italic>16). The interaction psychological pain &#x00D7; days of follow-up predicted the intraindividual mean of SI (<italic>R</italic><sup>2</sup>=0.34; &#x03B2;=0.024, SE 0.001; <italic>t</italic><sub>98</sub>=3.95; <italic>P</italic>&#x003C;.001). Simple slopes showed significant results for the &#x2013;1SD psychological pain (&#x03B2;=&#x2212;0.12, SE 0.030; <italic>P</italic>&#x003C;.001) but not for the +1 SD of psychological pain (&#x03B2;=0.04, SE 0.023; <italic>P</italic>=.10), showing that patients with lower psychological pain and longer follow-up experience less SI (<xref ref-type="fig" rid="figure3">Figure 3</xref>). The interaction psychological pain*days of follow-up did not predict the intraindividual variability of SI (<italic>P=.</italic>08).</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>Association between baseline psychological pain and ecological momentary assessment&#x2013;measured suicidal ideation. IDS-C: Inventory of Depressive Symptomatology&#x2013;Clinician Rated.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v28i1e85073_fig03.png"/></fig><p>Regarding depression, the effect of depression at baseline itself did not predict intraindividual variability (<italic>P=.</italic>75) or mean of negative affect (<italic>P=.</italic>11). The interaction depression*days of follow-up predicted the intraindividual mean of negative affect (<italic>R</italic><sup>2</sup>=0.17; &#x03B2;=0.006, SE 0.003; <italic>t</italic><sub>98</sub>=2.35; <italic>P</italic>=.03). Simple slopes showed significant trend results for the +1 SD of psychological pain (&#x03B2;=0.06, SE 0.03; <italic>P</italic>=.06) but not significant results for the &#x2013;1 SD psychological pain (&#x03B2;=&#x2212;0.06, SE 0.04; <italic>P</italic>=.18). Thus, patients with higher depression and longer follow-up experience greater negative affect (<xref ref-type="fig" rid="figure4">Figure 4</xref>). The interaction depression &#x00D7; days of follow-up did not predict the intraindividual variability of negative affect (<italic>P=.</italic>87).</p><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>Association between baseline depression and ecological momentary assessment&#x2013;measured negative affect. IDS-C: Inventory of Depressive Symptomatology&#x2014;Clinician Rated.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v28i1e85073_fig04.png"/></fig><p>Results for variability in SI (depression <italic>P</italic>=.69; depression &#x00D7; days of follow-up <italic>P</italic>=.99) or SI mean (depression <italic>P</italic>=.26; depression &#x00D7; days of follow-up <italic>P</italic>=.51) using depression as a predictor did not show statistically significant results.</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Summary of Results</title><p>This study examined SI and its associations with other psychological and behavioral variables in a sample of almost 100 high-risk outpatients who were monitored for 6-months. Trajectories (slopes) of SI, negative affect, interpersonal difficulties, sleep disturbances, and appetite issues did not demonstrate significant change over time. However, SI was significantly associated with negative affect and interpersonal difficulties. Additionally, substantial within-person variability in SI was observed. Notably, individuals who reported higher levels of psychological distress at the beginning of the study exhibited increased levels of negative affect and SI throughout the follow-up period.</p></sec><sec id="s4-2"><title>Fluctuations in EMA Variables Over Time</title><p>Considerable within-person variability was observed for all EMA-tracked variables. Relatively low ICCs suggest that these constructs reflect dynamic, state-like fluctuations rather than stable traits [<xref ref-type="bibr" rid="ref32">32</xref>]. The pronounced variability in SI and its related factors emphasizes the fluctuating nature of suicide risk. Bernanke et al [<xref ref-type="bibr" rid="ref33">33</xref>] have proposed two subtypes of SI: one that is reactive to stress and tends to spike following acute stressors, and another that is more chronic and associated with persistent depressive states. This distinction may partly account for the variability observed in our data, as individual emotional responses are likely shaped by personal experiences.</p><p>Consistent with this, Bonilla-Escribano et al [<xref ref-type="bibr" rid="ref34">34</xref>] conducted an EMA study involving 275 psychiatric outpatients and nearly 50,000 responses. Their findings indicated that high SI variability was associated with greater instability in social withdrawal, sleep, and perceived social support.</p><p>The dynamic interplay between negative affect, interpersonal difficulties, and SI, as observed in our study, supports the need for personalized, real-time monitoring strategies [<xref ref-type="bibr" rid="ref10">10</xref>]. This reinforces recent critiques of traditional clinical assessments, which often fail to capture moment-to-moment fluctuations in suicide risk [<xref ref-type="bibr" rid="ref6">6</xref>]. Our results emphasize the value of EMA in capturing these rapid shifts, which standard tools may overlook.</p></sec><sec id="s4-3"><title>Associations Between EMA-Measured Variables</title><p>One of the key findings was the significant association between SI and negative affect, as well as interpersonal difficulties, as measured via EMA. These results are consistent with prior research identifying these variables as critical components in the development of suicidal thoughts. In particular, our findings align with existing literature linking SI to interpersonal distress, including feelings of loneliness and of being a burden to others [<xref ref-type="bibr" rid="ref35">35</xref>,<xref ref-type="bibr" rid="ref36">36</xref>]. Similarly, Bentley et al [<xref ref-type="bibr" rid="ref37">37</xref>] identified emotions such as anxiety, shame, and self-hatred as predictors of subsequent SI using EMA. These results echo the core tenets of the Interpersonal Theory of Suicide, which posits that a lack of belonging and the perception of being a burden are fundamental drivers of SI [<xref ref-type="bibr" rid="ref38">38</xref>].</p><p>However, sleep and appetite disturbances were not significantly associated with increased SI in this sample. This diverges from earlier studies conducted by our group [<xref ref-type="bibr" rid="ref39">39</xref>], which focused specifically on passive SI. Differences in sample size and the more pronounced role of negative affect may explain these inconsistencies.</p><p>We also found that greater variability in negative affect, interpersonal experiences, sleep, and appetite within individuals corresponded with greater variability in SI. Whether such fluctuation in SI translates into an increased risk of suicide attempts remains an open question. However, evidence from studies such as that of Oquendo et al [<xref ref-type="bibr" rid="ref40">40</xref>], which followed 51 patients with depression for two years, suggests that higher SI variability may increase reactivity to stressors and elevate the risk of impulsive suicidal behavior.</p></sec><sec id="s4-4"><title>Baseline Clinical Predictors of EMA-Measured Variables</title><p>Baseline psychological pain was found to have a significant influence on SI throughout the EMA follow-up. The relationship between psychological distress and suicidal thoughts can be explained by several theoretical models. For example, Shneidman [<xref ref-type="bibr" rid="ref41">41</xref>] identified unbearable psychological pain as a key factor in suicidal behavior, while Baumeister [<xref ref-type="bibr" rid="ref42">42</xref>] proposed that suicide may be an attempt to escape distress caused by perceived failure or unmet expectations. More recently, Klonsky and May [<xref ref-type="bibr" rid="ref43">43</xref>] 3-step theory emphasized the role of psychological pain and hopelessness in the development of SI.</p><p>Regarding depression, we found that baseline severity was associated with increased negative affect over time. However, no significant association was found between depression and SI. Since negative affect includes components such as hopelessness, anxiety, sadness, anger, and restlessness&#x2014;many of which overlap with depressive symptomatology&#x2014;this association is expected. Nevertheless, our findings suggest that SI is a more multifaceted construct that is not exclusively linked to depressive disorders. This highlights the importance of considering other psychiatric conditions, particularly those characterized by emotional dysregulation, when assessing suicide risk.</p></sec><sec id="s4-5"><title>Strengths and Limitations</title><p>This study has several strengths. The 6-month follow-up period allows for the examination of longer-term patterns beyond acute suicidal crises. Participants were recruited from real-world mental health outpatient settings and represented a high-risk clinical population, enhancing ecological validity. EMA items were derived from validated instruments and administered using a rotating sampling strategy designed to improve feasibility and adherence over time. Finally, the use of mixed-effects models allowed for the analysis of repeated EMA measurements while accounting for individual differences in response patterns.</p><p>Despite these strengths, several limitations should be acknowledged. First, the observational design does not allow causal conclusions to be drawn about the associations between SI and EMA variables. Second, EMA items were administered using a rotating sampling strategy to reduce participant burden; however, this limited temporal continuity across constructs and prevented the examination of lagged relationships. In addition, although the EMA design aimed to improve feasibility and maximize long-term adherence [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref20">20</xref>], some features&#x2014;particularly the variation in temporal framing of items (eg, momentary, since the last 24 h, in the past few days)&#x2014;could be refined in future studies to improve alignment between the time frame, response scale, and expected construct variability. Furthermore, although EMA prompts were delivered at random times, participants were allowed to complete questionnaires until midnight, which may have introduced recall bias if responses did not reflect the moment of the prompt, or selection bias if participants reported on a different moment of their choosing. Third, baseline data on psychological pain and depression were only available for a subsample of 37 participants, reducing the statistical power of secondary analyses. Finally, response rates could not be calculated for individual EMA items due to the rotating and partially random sampling design. The overall response rate was relatively low, likely due to the extended follow-up period of our study. It is important to note that EMA studies are usually conducted over shorter periods, often lasting only a few weeks (8). Therefore, the longer duration of our study may have negatively affected long-term participant adherence and should be considered when interpreting the findings.</p></sec><sec id="s4-6"><title>Future Research Directions</title><p>Future studies should explore integrating EMA into routine clinical practice. One promising approach is the use of EMIs, which can deliver personalized, context-aware feedback based on momentary risk profiles. Furthermore, research should aim to identify subgroups of patients who may benefit from specific therapeutic strategies. For instance, individuals with heightened emotional variability may respond better to interventions based on emotion regulation, while those experiencing ongoing interpersonal difficulties could benefit from targeted social support programs [<xref ref-type="bibr" rid="ref17">17</xref>].</p></sec><sec id="s4-7"><title>Conclusions</title><p>This study is one of the few to use smartphone-based EMA to monitor self-injury over an extended period [<xref ref-type="bibr" rid="ref13">13</xref>]. EMA is a useful method for capturing short-term suicide risk factors. It is particularly important to consider negative emotions and interpersonal issues in suicide prevention. The high within-person variability observed in SI and its correlates emphasizes the dynamic and fluctuating nature of suicide risk. Moving forward, integrating EMA-based monitoring into clinical care could facilitate real-time, personalized interventions aimed at mitigating suicide risk in individuals at risk.</p></sec></sec></body><back><ack><p>We used the generative AI tool DeepL merely to assist in the translation. The process was performed under full human supervision.</p></ack><notes><sec><title>Funding</title><p>This research was supported by CIBER (Consorcio Centro de Investigaci&#x00F3;n Biom&#x00E9;dica en Red, CB/07/09/0025), the Instituto de Salud Carlos III with the support of the European Regional Development Fund (ISCIII PI23/00614), Project PMP24/00026, funded by the Carlos III Health Institute (ISCIII) and the &#x201C;European Union NextGenerationEU/Recovery and Resilience Facility (RRF)/PRTR&#x201D; by Fundaci&#x00F3; La Marat&#x00F3; de TV3 (202226-31) and by CaixaResearch Health 2023 LCF/PR/HR23/52430033.</p></sec><sec><title>Data Availability</title><p>The data that support the findings of this study are available from the corresponding author upon reasonable request.</p></sec></notes><fn-group><fn fn-type="con"><p>Conceptualization: AP-S</p><p>Data Curation: AA-C</p><p>Formal analysis: AA-C</p><p>Methodology: AA-C, MLB</p><p>Resources: AA-C, MLB</p><p>Supervision: PC, JL-C, IP-C, EB-G</p><p>Writing of the Original Draft: AP-S, AP-B, PG-B</p><p>Writing (Review &#x0026; Editing): MLB, PC, JL-C, IP-C, EB-G</p></fn><fn fn-type="conflict"><p>EB-G has been a consultant to or has received honoraria or grants from Janssen Cilag, Lundbeck, Otsuka, Pfizer, Servier, and Sanofi. EB-G designed the MEmind app. All other authors declare no conflicts of interest.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">EMA</term><def><p>ecological momentary assessment</p></def></def-item><def-item><term id="abb2">EMI</term><def><p>ecological momentary intervention</p></def></def-item><def-item><term id="abb3">ICC</term><def><p>intraclass correlation coefficient</p></def></def-item><def-item><term id="abb4">IDS-C</term><def><p>Inventory of Depressive Symptomatology&#x2014;Clinician Rated</p></def></def-item><def-item><term id="abb5">RCT</term><def><p>randomized controlled trial</p></def></def-item><def-item><term id="abb6">SI</term><def><p>suicidal ideation</p></def></def-item><def-item><term id="abb7">STB</term><def><p>suicidal thoughts and behavior</p></def></def-item><def-item><term id="abb8">YPLL</term><def><p>years of potential life lost</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="web"><article-title>Suicidio [Article in Spanish]</article-title><source>World Health Organization</source><year>2025</year><month>03</month><day>25</day><access-date>2026-07-03</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.who.int/es/news-room/fact-sheets/detail/suicide">https://www.who.int/es/news-room/fact-sheets/detail/suicide</ext-link></comment></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Merayo-Cano</surname><given-names>JM</given-names> </name><name name-style="western"><surname>Porras-Segovia</surname><given-names>A</given-names> </name><name name-style="western"><surname>Ovejero-Garcia</surname><given-names>S</given-names> </name><name name-style="western"><surname>Baca-Garc&#x00ED;a</surname><given-names>E</given-names> </name></person-group><article-title>Trends in the impact of suicide compared to other external causes of death: from 1995 to 2020</article-title><source>Span J Psychiatry Ment Health</source><year>2026</year><volume>19</volume><issue>1</issue><fpage>46</fpage><lpage>54</lpage><pub-id pub-id-type="doi">10.1016/j.sjpmh.2024.07.004</pub-id><pub-id pub-id-type="medline">39059728</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Porras-Segovia</surname><given-names>A</given-names> </name><name name-style="western"><surname>Baca-Garc&#x00ED;a</surname><given-names>E</given-names> </name><name name-style="western"><surname>Courtet</surname><given-names>P</given-names> </name><name name-style="western"><surname>Wainberg</surname><given-names>M</given-names> </name><name name-style="western"><surname>Oquendo</surname><given-names>MA</given-names> </name></person-group><article-title>If suicide were COVID-19: a neglected cause of premature death</article-title><source>J Clin Psychiatry</source><year>2021</year><month>02</month><day>23</day><volume>82</volume><issue>2</issue><fpage>20l13702</fpage><pub-id pub-id-type="doi">10.4088/JCP.20l13702</pub-id><pub-id pub-id-type="medline">33988922</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Merayo-Cano</surname><given-names>JM</given-names> </name><name name-style="western"><surname>Porras-Segovia</surname><given-names>AA</given-names> </name><name name-style="western"><surname>Baca-Garc&#x00ED;a</surname><given-names>E</given-names> </name></person-group><article-title>Covid-19 impact vs. suicide impact in Spain</article-title><source>Span J Psychiatry Ment Health</source><year>2023</year><volume>16</volume><issue>2</issue><fpage>129</fpage><lpage>130</lpage><pub-id pub-id-type="doi">10.1016/j.rpsm.2022.05.006</pub-id><pub-id pub-id-type="medline">35702509</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Klimes-Dougan</surname><given-names>B</given-names> </name><name name-style="western"><surname>Mirza</surname><given-names>SA</given-names> </name><name name-style="western"><surname>Babkin</surname><given-names>E</given-names> </name><name name-style="western"><surname>Lanning</surname><given-names>C</given-names> </name></person-group><article-title>Biased reporting of past self-injurious thoughts and behaviors: a literature review</article-title><source>J Affect Disord</source><year>2022</year><month>07</month><day>1</day><volume>308</volume><fpage>596</fpage><lpage>606</lpage><pub-id pub-id-type="doi">10.1016/j.jad.2022.04.073</pub-id><pub-id pub-id-type="medline">35429538</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>O&#x2019;Connor</surname><given-names>RC</given-names> </name><name name-style="western"><surname>Portzky</surname><given-names>G</given-names> </name></person-group><article-title>Looking to the future: a synthesis of new developments and challenges in suicide research and prevention</article-title><source>Front Psychol</source><year>2018</year><volume>9</volume><fpage>2139</fpage><pub-id pub-id-type="doi">10.3389/fpsyg.2018.02139</pub-id><pub-id pub-id-type="medline">30538647</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Barrigon</surname><given-names>ML</given-names> </name><name name-style="western"><surname>Porras-Segovia</surname><given-names>A</given-names> </name><name name-style="western"><surname>Courtet</surname><given-names>P</given-names> </name><etal/></person-group><article-title>Smartphone-based ecological momentary intervention for secondary prevention of suicidal thoughts and behaviour: protocol for the SmartCrisis V.2.0 randomised clinical trial</article-title><source>BMJ Open</source><year>2022</year><month>09</month><day>20</day><volume>12</volume><issue>9</issue><fpage>e051807</fpage><pub-id pub-id-type="doi">10.1136/bmjopen-2021-051807</pub-id><pub-id pub-id-type="medline">36127081</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sedano-Capdevila</surname><given-names>A</given-names> </name><name name-style="western"><surname>Porras-Segovia</surname><given-names>A</given-names> </name><name name-style="western"><surname>Bello</surname><given-names>HJ</given-names> </name><name name-style="western"><surname>Baca-Garc&#x00ED;a</surname><given-names>E</given-names> </name><name name-style="western"><surname>Barrigon</surname><given-names>ML</given-names> </name></person-group><article-title>Use of ecological momentary assessment to study suicidal thoughts and behavior: a systematic review</article-title><source>Curr Psychiatry Rep</source><year>2021</year><month>05</month><day>18</day><volume>23</volume><issue>7</issue><fpage>41</fpage><pub-id pub-id-type="doi">10.1007/s11920-021-01255-7</pub-id><pub-id pub-id-type="medline">34003405</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Carretero</surname><given-names>P</given-names> </name><name name-style="western"><surname>Campana-Montes</surname><given-names>JJ</given-names> </name><name name-style="western"><surname>Artes-Rodriguez</surname><given-names>A</given-names> </name></person-group><article-title>Ecological momentary assessment for monitoring risk of suicide behavior</article-title><source>Curr Top Behav Neurosci</source><year>2020</year><volume>46</volume><fpage>229</fpage><lpage>245</lpage><pub-id pub-id-type="doi">10.1007/7854_2020_170</pub-id><pub-id pub-id-type="medline">32797403</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kivel&#x00E4;</surname><given-names>L</given-names> </name><name name-style="western"><surname>van der Does</surname><given-names>WAJ</given-names> </name><name name-style="western"><surname>Riese</surname><given-names>H</given-names> </name><name name-style="western"><surname>Antypa</surname><given-names>N</given-names> </name></person-group><article-title>Don&#x2019;t miss the moment: a systematic review of ecological momentary assessment in suicide research</article-title><source>Front Digit Health</source><year>2022</year><volume>4</volume><fpage>876595</fpage><pub-id pub-id-type="doi">10.3389/fdgth.2022.876595</pub-id><pub-id pub-id-type="medline">35601888</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Glenn</surname><given-names>CR</given-names> </name><name name-style="western"><surname>Kleiman</surname><given-names>EM</given-names> </name><name name-style="western"><surname>Kearns</surname><given-names>JC</given-names> </name><etal/></person-group><article-title>Feasibility and acceptability of ecological momentary assessment with high-risk suicidal adolescents following acute psychiatric care</article-title><source>J Clin Child Adolesc Psychol</source><year>2022</year><volume>51</volume><issue>1</issue><fpage>32</fpage><lpage>48</lpage><pub-id pub-id-type="doi">10.1080/15374416.2020.1741377</pub-id><pub-id pub-id-type="medline">32239986</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Jiang</surname><given-names>A</given-names> </name><name name-style="western"><surname>Al-Dajani</surname><given-names>N</given-names> </name><name name-style="western"><surname>King</surname><given-names>C</given-names> </name><name name-style="western"><surname>Hong</surname><given-names>V</given-names> </name><name name-style="western"><surname>Koo</surname><given-names>HJ</given-names> </name><name name-style="western"><surname>Czyz</surname><given-names>E</given-names> </name></person-group><article-title>Acceptability and feasibility of ecological momentary assessment with augmentation of passive sensor data in young adults at high risk for suicide</article-title><source>Psychiatry Res</source><year>2023</year><month>08</month><volume>326</volume><fpage>115347</fpage><pub-id pub-id-type="doi">10.1016/j.psychres.2023.115347</pub-id><pub-id pub-id-type="medline">37487460</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Herzog</surname><given-names>S</given-names> </name><name name-style="western"><surname>Keilp</surname><given-names>JG</given-names> </name><name name-style="western"><surname>Galfalvy</surname><given-names>H</given-names> </name><name name-style="western"><surname>Mann</surname><given-names>JJ</given-names> </name><name name-style="western"><surname>Stanley</surname><given-names>BH</given-names> </name></person-group><article-title>Attentional control deficits and suicidal ideation variability: an ecological momentary assessment study in major depression</article-title><source>J Affect Disord</source><year>2023</year><month>02</month><day>15</day><volume>323</volume><fpage>819</fpage><lpage>825</lpage><pub-id pub-id-type="doi">10.1016/j.jad.2022.12.053</pub-id><pub-id pub-id-type="medline">36549341</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Czyz</surname><given-names>EK</given-names> </name><name name-style="western"><surname>King</surname><given-names>CA</given-names> </name><name name-style="western"><surname>Al-Dajani</surname><given-names>N</given-names> </name><name name-style="western"><surname>Zimmermann</surname><given-names>L</given-names> </name><name name-style="western"><surname>Hong</surname><given-names>V</given-names> </name><name name-style="western"><surname>Nahum-Shani</surname><given-names>I</given-names> </name></person-group><article-title>Ecological momentary assessments and passive sensing in the prediction of short-term suicidal ideation in young adults</article-title><source>JAMA Netw Open</source><year>2023</year><month>08</month><day>1</day><volume>6</volume><issue>8</issue><fpage>e2328005</fpage><pub-id pub-id-type="doi">10.1001/jamanetworkopen.2023.28005</pub-id><pub-id pub-id-type="medline">37552477</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Parrish</surname><given-names>EM</given-names> </name><name name-style="western"><surname>Chalker</surname><given-names>SA</given-names> </name><name name-style="western"><surname>Cano</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Ecological momentary assessment of interpersonal theory of suicide constructs in people experiencing psychotic symptoms</article-title><source>J Psychiatr Res</source><year>2021</year><month>08</month><volume>140</volume><fpage>496</fpage><lpage>503</lpage><pub-id pub-id-type="doi">10.1016/j.jpsychires.2021.06.022</pub-id><pub-id pub-id-type="medline">34157588</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>van Ballegooijen</surname><given-names>W</given-names> </name><name name-style="western"><surname>Littlewood</surname><given-names>DL</given-names> </name><name name-style="western"><surname>Nielsen</surname><given-names>E</given-names> </name><name name-style="western"><surname>Kapur</surname><given-names>N</given-names> </name><name name-style="western"><surname>Gooding</surname><given-names>P</given-names> </name></person-group><article-title>The temporal relationships between defeat, entrapment and suicidal ideation: ecological momentary assessment study</article-title><source>BJPsych Open</source><year>2022</year><month>06</month><day>3</day><volume>8</volume><issue>4</issue><fpage>e105</fpage><pub-id pub-id-type="doi">10.1192/bjo.2022.68</pub-id><pub-id pub-id-type="medline">35656578</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Burke</surname><given-names>LE</given-names> </name><name name-style="western"><surname>Shiffman</surname><given-names>S</given-names> </name><name name-style="western"><surname>Music</surname><given-names>E</given-names> </name><etal/></person-group><article-title>Ecological momentary assessment in behavioral research: addressing technological and human participant challenges</article-title><source>J Med Internet Res</source><year>2017</year><month>03</month><day>15</day><volume>19</volume><issue>3</issue><fpage>e77</fpage><pub-id pub-id-type="doi">10.2196/jmir.7138</pub-id><pub-id pub-id-type="medline">28298264</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Berrouiguet</surname><given-names>S</given-names> </name><name name-style="western"><surname>Barrig&#x00F3;n</surname><given-names>ML</given-names> </name><name name-style="western"><surname>Castroman</surname><given-names>JL</given-names> </name><name name-style="western"><surname>Courtet</surname><given-names>P</given-names> </name><name name-style="western"><surname>Art&#x00E9;s-Rodr&#x00ED;guez</surname><given-names>A</given-names> </name><name name-style="western"><surname>Baca-Garc&#x00ED;a</surname><given-names>E</given-names> </name></person-group><article-title>Combining mobile-health (mHealth) and artificial intelligence (AI) methods to avoid suicide attempts: the Smartcrises study protocol</article-title><source>BMC Psychiatry</source><year>2019</year><month>09</month><day>7</day><volume>19</volume><issue>1</issue><fpage>277</fpage><pub-id pub-id-type="doi">10.1186/s12888-019-2260-y</pub-id><pub-id pub-id-type="medline">31493783</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Porras-Segovia</surname><given-names>A</given-names> </name><name name-style="western"><surname>Cobo</surname><given-names>A</given-names> </name><name name-style="western"><surname>D&#x00ED;az-Oliv&#x00E1;n</surname><given-names>I</given-names> </name><etal/></person-group><article-title>Disturbed sleep as a clinical marker of wish to die: a smartphone monitoring study over three months of observation</article-title><source>J Affect Disord</source><year>2021</year><month>05</month><day>1</day><volume>286</volume><fpage>330</fpage><lpage>337</lpage><pub-id pub-id-type="doi">10.1016/j.jad.2021.02.059</pub-id><pub-id pub-id-type="medline">33770541</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Porras-Segovia</surname><given-names>A</given-names> </name><name name-style="western"><surname>D&#x00ED;az-Oliv&#x00E1;n</surname><given-names>I</given-names> </name><name name-style="western"><surname>Barrig&#x00F3;n</surname><given-names>ML</given-names> </name><etal/></person-group><article-title>Real-world feasibility and acceptability of real-time suicide risk monitoring via smartphones: a 6-month follow-up cohort</article-title><source>J Psychiatr Res</source><year>2022</year><month>05</month><volume>149</volume><fpage>145</fpage><lpage>154</lpage><pub-id pub-id-type="doi">10.1016/j.jpsychires.2022.02.026</pub-id><pub-id pub-id-type="medline">35276631</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Porras-Segovia</surname><given-names>A</given-names> </name><name name-style="western"><surname>De Granda-Beltr&#x00E1;n</surname><given-names>AM</given-names> </name><name name-style="western"><surname>Gallardo</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Smartphone-based safety plan for suicidal crisis: the SmartCrisis 2.0 pilot study</article-title><source>J Psychiatr Res</source><year>2024</year><month>01</month><volume>169</volume><fpage>284</fpage><lpage>291</lpage><pub-id pub-id-type="doi">10.1016/j.jpsychires.2023.11.039</pub-id><pub-id pub-id-type="medline">38065053</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Posner</surname><given-names>K</given-names> </name><name name-style="western"><surname>Brown</surname><given-names>GK</given-names> </name><name name-style="western"><surname>Stanley</surname><given-names>B</given-names> </name><etal/></person-group><article-title>The Columbia-Suicide Severity Rating Scale: initial validity and internal consistency findings from three multisite studies with adolescents and adults</article-title><source>Am J Psychiatry</source><year>2011</year><month>12</month><volume>168</volume><issue>12</issue><fpage>1266</fpage><lpage>1277</lpage><pub-id pub-id-type="doi">10.1176/appi.ajp.2011.10111704</pub-id><pub-id pub-id-type="medline">22193671</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Watson</surname><given-names>D</given-names> </name><name name-style="western"><surname>Clark</surname><given-names>LA</given-names> </name><name name-style="western"><surname>Tellegen</surname><given-names>A</given-names> </name></person-group><article-title>Development and validation of brief measures of positive and negative affect: the PANAS scales</article-title><source>J Pers Soc Psychol</source><year>1988</year><month>06</month><volume>54</volume><issue>6</issue><fpage>1063</fpage><lpage>1070</lpage><pub-id pub-id-type="doi">10.1037//0022-3514.54.6.1063</pub-id><pub-id pub-id-type="medline">3397865</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rush</surname><given-names>AJ</given-names> </name><name name-style="western"><surname>Gullion</surname><given-names>CM</given-names> </name><name name-style="western"><surname>Basco</surname><given-names>MR</given-names> </name><name name-style="western"><surname>Jarrett</surname><given-names>RB</given-names> </name><name name-style="western"><surname>Trivedi</surname><given-names>MH</given-names> </name></person-group><article-title>The Inventory of Depressive Symptomatology (IDS): psychometric properties</article-title><source>Psychol Med</source><year>1996</year><month>05</month><volume>26</volume><issue>3</issue><fpage>477</fpage><lpage>486</lpage><pub-id pub-id-type="doi">10.1017/s0033291700035558</pub-id><pub-id pub-id-type="medline">8733206</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Scott</surname><given-names>J</given-names> </name><name name-style="western"><surname>Huskisson</surname><given-names>EC</given-names> </name></person-group><article-title>Graphic representation of pain</article-title><source>Pain</source><year>1976</year><month>06</month><volume>2</volume><issue>2</issue><fpage>175</fpage><lpage>184</lpage><pub-id pub-id-type="doi">10.1016/0304-3959(76)90113-5</pub-id><pub-id pub-id-type="medline">1026900</pub-id></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fartacek</surname><given-names>C</given-names> </name><name name-style="western"><surname>Schiepek</surname><given-names>G</given-names> </name><name name-style="western"><surname>Kunrath</surname><given-names>S</given-names> </name><name name-style="western"><surname>Fartacek</surname><given-names>R</given-names> </name><name name-style="western"><surname>Pl&#x00F6;derl</surname><given-names>M</given-names> </name></person-group><article-title>Real-time monitoring of non-linear suicidal dynamics: methodology and a demonstrative case report</article-title><source>Front Psychol</source><year>2016</year><volume>7</volume><fpage>130</fpage><pub-id pub-id-type="doi">10.3389/fpsyg.2016.00130</pub-id><pub-id pub-id-type="medline">26913016</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kroenke</surname><given-names>K</given-names> </name><name name-style="western"><surname>Spitzer</surname><given-names>RL</given-names> </name><name name-style="western"><surname>Williams</surname><given-names>JB</given-names> </name></person-group><article-title>The PHQ-9: validity of a brief depression severity measure</article-title><source>J Gen Intern Med</source><year>2001</year><month>09</month><volume>16</volume><issue>9</issue><fpage>606</fpage><lpage>613</lpage><pub-id pub-id-type="doi">10.1046/j.1525-1497.2001.016009606.x</pub-id><pub-id pub-id-type="medline">11556941</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Van Orden</surname><given-names>KA</given-names> </name><name name-style="western"><surname>Cukrowicz</surname><given-names>KC</given-names> </name><name name-style="western"><surname>Witte</surname><given-names>TK</given-names> </name><name name-style="western"><surname>Joiner</surname><given-names>TE</given-names> </name></person-group><article-title>Thwarted belongingness and perceived burdensomeness: construct validity and psychometric properties of the Interpersonal Needs Questionnaire</article-title><source>Psychol Assess</source><year>2012</year><month>03</month><volume>24</volume><issue>1</issue><fpage>197</fpage><lpage>215</lpage><pub-id pub-id-type="doi">10.1037/a0025358</pub-id><pub-id pub-id-type="medline">21928908</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gabrio</surname><given-names>A</given-names> </name><name name-style="western"><surname>Plumpton</surname><given-names>C</given-names> </name><name name-style="western"><surname>Banerjee</surname><given-names>S</given-names> </name><name name-style="western"><surname>Leurent</surname><given-names>B</given-names> </name></person-group><article-title>Linear mixed models to handle missing at random data in trial-based economic evaluations</article-title><source>Health Econ</source><year>2022</year><month>06</month><volume>31</volume><issue>6</issue><fpage>1276</fpage><lpage>1287</lpage><pub-id pub-id-type="doi">10.1002/hec.4510</pub-id><pub-id pub-id-type="medline">35368119</pub-id></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cranford</surname><given-names>JA</given-names> </name><name name-style="western"><surname>Shrout</surname><given-names>PE</given-names> </name><name name-style="western"><surname>Iida</surname><given-names>M</given-names> </name><name name-style="western"><surname>Rafaeli</surname><given-names>E</given-names> </name><name name-style="western"><surname>Yip</surname><given-names>T</given-names> </name><name name-style="western"><surname>Bolger</surname><given-names>N</given-names> </name></person-group><article-title>A procedure for evaluating sensitivity to within-person change: can mood measures in diary studies detect change reliably?</article-title><source>Pers Soc Psychol Bull</source><year>2006</year><month>07</month><volume>32</volume><issue>7</issue><fpage>917</fpage><lpage>929</lpage><pub-id pub-id-type="doi">10.1177/0146167206287721</pub-id><pub-id pub-id-type="medline">16738025</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shrout</surname><given-names>PE</given-names> </name></person-group><article-title>Measurement reliability and agreement in psychiatry</article-title><source>Stat Methods Med Res</source><year>1998</year><month>09</month><volume>7</volume><issue>3</issue><fpage>301</fpage><lpage>317</lpage><pub-id pub-id-type="doi">10.1177/096228029800700306</pub-id><pub-id pub-id-type="medline">9803527</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Bolger</surname><given-names>N</given-names> </name><name name-style="western"><surname>Laurenceau</surname><given-names>JP</given-names> </name></person-group><source>Intensive Longitudinal Methods: An Introduction to Diary and Experience Sampling Research</source><year>2013</year><publisher-name>Guildford Press</publisher-name><pub-id pub-id-type="other">9781462506781</pub-id></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bernanke</surname><given-names>JA</given-names> </name><name name-style="western"><surname>Stanley</surname><given-names>BH</given-names> </name><name name-style="western"><surname>Oquendo</surname><given-names>MA</given-names> </name></person-group><article-title>Toward fine-grained phenotyping of suicidal behavior: the role of suicidal subtypes</article-title><source>Mol Psychiatry</source><year>2017</year><month>08</month><volume>22</volume><issue>8</issue><fpage>1080</fpage><lpage>1081</lpage><pub-id pub-id-type="doi">10.1038/mp.2017.123</pub-id><pub-id pub-id-type="medline">28607457</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bonilla-Escribano</surname><given-names>P</given-names> </name><name name-style="western"><surname>Ram&#x00ED;rez</surname><given-names>D</given-names> </name><name name-style="western"><surname>Baca-Garc&#x00ED;a</surname><given-names>E</given-names> </name><name name-style="western"><surname>Courtet</surname><given-names>P</given-names> </name><name name-style="western"><surname>Art&#x00E9;s-Rodr&#x00ED;guez</surname><given-names>A</given-names> </name><name name-style="western"><surname>L&#x00F3;pez-Castrom&#x00E1;n</surname><given-names>J</given-names> </name></person-group><article-title>Multidimensional variability in ecological assessments predicts two clusters of suicidal patients</article-title><source>Sci Rep</source><year>2023</year><month>03</month><day>2</day><volume>13</volume><issue>1</issue><fpage>3546</fpage><pub-id pub-id-type="doi">10.1038/s41598-023-30085-1</pub-id><pub-id pub-id-type="medline">36864070</pub-id></nlm-citation></ref><ref id="ref35"><label>35</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shim</surname><given-names>SH</given-names> </name><name name-style="western"><surname>Kwon</surname><given-names>YJ</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>D</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>HS</given-names> </name><name name-style="western"><surname>Jin</surname><given-names>MJ</given-names> </name><name name-style="western"><surname>Kim</surname><given-names>JS</given-names> </name></person-group><article-title>Impact of interpersonal relationships and acquired capability for suicide on suicide attempts: a cross-sectional study</article-title><source>Psychiatry Investig</source><year>2022</year><month>05</month><volume>19</volume><issue>5</issue><fpage>362</fpage><lpage>370</lpage><pub-id pub-id-type="doi">10.30773/pi.2021.0379</pub-id><pub-id pub-id-type="medline">35620821</pub-id></nlm-citation></ref><ref id="ref36"><label>36</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shelef</surname><given-names>L</given-names> </name><name name-style="western"><surname>Fruchter</surname><given-names>E</given-names> </name><name name-style="western"><surname>Mann</surname><given-names>JJ</given-names> </name><name name-style="western"><surname>Yacobi</surname><given-names>A</given-names> </name></person-group><article-title>Correlations between interpersonal and cognitive difficulties: relationship to suicidal ideation in military suicide attempters</article-title><source>Eur Psychiatry</source><year>2014</year><month>10</month><volume>29</volume><issue>8</issue><fpage>498</fpage><lpage>502</lpage><pub-id pub-id-type="doi">10.1016/j.eurpsy.2014.01.006</pub-id><pub-id pub-id-type="medline">24906619</pub-id></nlm-citation></ref><ref id="ref37"><label>37</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bentley</surname><given-names>KH</given-names> </name><name name-style="western"><surname>Coppersmith</surname><given-names>DL</given-names> </name><name name-style="western"><surname>Kleiman</surname><given-names>EM</given-names> </name><etal/></person-group><article-title>Do patterns and types of negative affect during hospitalization predict short-term post-discharge suicidal thoughts and behaviors?</article-title><source>Affect Sci</source><year>2021</year><month>12</month><volume>2</volume><issue>4</issue><fpage>484</fpage><lpage>494</lpage><pub-id pub-id-type="doi">10.1007/s42761-021-00058-6</pub-id><pub-id pub-id-type="medline">35465415</pub-id></nlm-citation></ref><ref id="ref38"><label>38</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Joiner</surname><given-names>TE</given-names> </name><name name-style="western"><surname>Van Orden</surname><given-names>KA</given-names> </name><name name-style="western"><surname>Witte</surname><given-names>TK</given-names> </name><etal/></person-group><article-title>Main predictions of the interpersonal-psychological theory of suicidal behavior: empirical tests in two samples of young adults</article-title><source>J Abnorm Psychol</source><year>2009</year><month>08</month><volume>118</volume><issue>3</issue><fpage>634</fpage><lpage>646</lpage><pub-id pub-id-type="doi">10.1037/a0016500</pub-id><pub-id pub-id-type="medline">19685959</pub-id></nlm-citation></ref><ref id="ref39"><label>39</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Diaz</surname><given-names>FJ</given-names> </name><name name-style="western"><surname>Barrig&#x00F3;n</surname><given-names>ML</given-names> </name><name name-style="western"><surname>Conejero</surname><given-names>I</given-names> </name><etal/></person-group><article-title>Correlation between low sleep satisfaction and death wish in a three-month ecological momentary assessment study</article-title><source>Span J Psychiatry Ment Health</source><year>2025</year><volume>18</volume><issue>1</issue><fpage>60</fpage><lpage>64</lpage><pub-id pub-id-type="doi">10.1016/j.sjpmh.2024.06.003</pub-id><pub-id pub-id-type="medline">38944243</pub-id></nlm-citation></ref><ref id="ref40"><label>40</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Oquendo</surname><given-names>MA</given-names> </name><name name-style="western"><surname>Galfalvy</surname><given-names>HC</given-names> </name><name name-style="western"><surname>Choo</surname><given-names>TH</given-names> </name><etal/></person-group><article-title>Highly variable suicidal ideation: a phenotypic marker for stress induced suicide risk</article-title><source>Mol Psychiatry</source><year>2021</year><month>09</month><volume>26</volume><issue>9</issue><fpage>5079</fpage><lpage>5086</lpage><pub-id pub-id-type="doi">10.1038/s41380-020-0819-0</pub-id><pub-id pub-id-type="medline">32576966</pub-id></nlm-citation></ref><ref id="ref41"><label>41</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shneidman</surname><given-names>ES</given-names> </name></person-group><article-title>Perspectives on suicidology. Further reflections on suicide and psychache</article-title><source>Suicide Life Threat Behav</source><year>1998</year><volume>28</volume><issue>3</issue><fpage>245</fpage><lpage>250</lpage><pub-id pub-id-type="medline">9807770</pub-id></nlm-citation></ref><ref id="ref42"><label>42</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Baumeister</surname><given-names>RF</given-names> </name></person-group><article-title>Suicide as escape from self</article-title><source>Psychol Rev</source><year>1990</year><month>01</month><volume>97</volume><issue>1</issue><fpage>90</fpage><lpage>113</lpage><pub-id pub-id-type="doi">10.1037/0033-295x.97.1.90</pub-id><pub-id pub-id-type="medline">2408091</pub-id></nlm-citation></ref><ref id="ref43"><label>43</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>David Klonsky</surname><given-names>E</given-names> </name><name name-style="western"><surname>May</surname><given-names>AM</given-names> </name></person-group><article-title>The three-step theory (3ST): a new theory of suicide rooted in the &#x201C;ideation-to-action&#x201D; framework</article-title><source>Int J Cogn Ther</source><year>2015</year><month>06</month><volume>8</volume><issue>2</issue><fpage>114</fpage><lpage>129</lpage><pub-id pub-id-type="doi">10.1521/ijct.2015.8.2.114</pub-id></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Ecological momentary assessment questionnaire.</p><media xlink:href="jmir_v28i1e85073_app1.docx" xlink:title="DOCX File, 26 KB"/></supplementary-material></app-group></back></article>