Practical Guide to Large Language Models for Information Extraction in Behavioral Health Notes: Tutorial

Background: Mental health clinical notes contain decision-critical information often absent from structured electronic health record fields. Large language models (LLMs) can extract clinically relevant signals from narrative text; however, variability in output format, limited reproducibility, and inconsistent evaluation remain barriers to clinical deployment. Despite rapid advances in LLM-based information extraction, clear and reproducible guidance for interdisciplinary clinical teams is limited. Objective: This tutorial aims to present a structured workflow for zero-shot information extraction from mental health clinical notes using locally deployed open-source LLMs. It aims to reduce barriers for clinicians and researchers with limited familiarity with natural language processing (NLP) or LLM-based pipelines. Each stage includes key decision points and examples. The workflow is illustrated on two tasks using synthetic notes: (1) detection of self-injurious thoughts and behaviors (SITB) in pediatric emergency department (ED) notes and (2) antipsychotic medication nonadherence detection in outpatient notes, using schema-constrained outputs and standardized evaluation. Methods: We describe a five-stage zero-shot LLM pipeline: (1) infrastructure setup with local deployment via to prevent protected health information (PHI) transmission; (2) task definition specifying the clinical construct, output format, and evaluation; (3) dataset preparation using synthetic notes; (4) iterative prompt development using a hold-out development set with binary and Likert scale outputs constrained via JSON schemas; and (5) output parsing, normalization, and validation. We generated 300 synthetic notes per task using separate LLMs for generation and evaluation; 200 notes were used for evaluation, and 100 notes (50 positive and 50 negative) were used as a prompt-development set and excluded from final metrics. Evaluation used Large Language Model Meta AI (Llama) 3.2 and Llama 3.3 with deterministic decoding (temperature=0). Performance was assessed using accuracy, precision, recall, and -score; Likert thresholds were optimized using the Youden index with bootstrapped CIs. Results: We demonstrated the pipeline’s functionality using 2 example behavioral health detection tasks. Across both examples, the more capable model (Llama 3.3) performed better than the lighter model used earlier in development (Llama 3.2), and we described how the pipeline’s evaluation and error-analysis steps work in practice. These examples also illustrated 2 useful design choices: requiring the model to output in a fixed format reduced errors, and using a graded rating scale, rather than a simple yes/no format, allowed the detection threshold to be adjusted based on clinical risk tolerance. These results are meant to show that the pipeline works as intended, not to serve as a benchmark of real-world accuracy. Conclusions: A schema-driven, zero-shot LLM workflow can support reproducible extraction of clinically relevant information from narrative notes. Local deployment enables processing without transmitting PHI to external servers. This tutorial provides a transferable methodology for institutional adaptation and validation prior to clinical use. All prompts, code, and datasets are publicly available via Zenodo (European Organization for Nuclear Research [CERN]).
<img src="https://jmir-production.s3.us-east-2.amazonaws.com/thumbs/029d58368b7b6c5236836d88448abd8f" />

Prevalence of positive screens for depression, anxiety, and PTSD symptoms among parents of infants admitted to a NICU: a pilot study

IntroductionParents of infants admitted to the Neonatal Intensive Care Unit (NICU) may experience substantial psychological distress. This study aimed to assess the prevalence of positive screens for depressive, anxiety, and post-traumatic stress disorder (PTSD) symptoms and to explore their associations with gender, education level, and parental age. The study also described the coping strategies reported by participants.MethodsThis cross-sectional pilot study assessed 82 parents of infants admitted to the NICU at Thumbay University Hospital, Ajman. Parents who were primary caregivers and provided consent were included. Data were collected from March to July 2025 using self-administered questionnaires; Patient Health Questionnaire-9 (PHQ-9), Generalized Anxiety Disorder-7 (GAD-7), and PTSD Checklist for DSM-5 (PCL-5). They were then grouped based on whether they met the positive or negative screen criteria for the respective psychiatric symptoms.ResultsOut of the 82 parents who had participated, 22% screened positive for anxiety symptoms, 13.4% for depression symptoms, and 9.8% for PTSD symptoms. Female participants had a higher proportion of positive screen for depressive symptoms than male participants (20.5% vs. 4.8% in men, p = 0.043), and younger participants (≤30 years) had a higher proportion of positive screens for PTSD symptoms than those aged >30 years (17.5% vs. 2.4%; Fisher’s exact p = 0.027), although the small number of positive cases warrants cautious interpretation. No significant associations were found with education level. The most reported coping strategies were religious/spiritual (34.8%) and physical/behavioral (26.1%) methods.ConclusionA notable proportion of parents of infants admitted to the NICU in this UAE pilot cross-sectional study screened positive for symptoms of depression, anxiety, and PTSD, with female participants and younger participants showing higher proportions of positive screening for depressive and PTSD symptoms, respectively. These findings support consideration of mental health screening, promotion of a socially supportive environment, and culturally appropriate psychosocial support for parents of NICU-admitted infants.

Effects of psychedelic drug use on neurocognitive function and the psychological and social domains of quality of life: an international online study

BackgroundThe past few decades have seen a revived interest in psychedelic-assisted and ketamine-assisted therapy for mental health disorders, but data concerning the acute, subacute, and long-term effects of serotonergic psychedelics on cognitive functioning are scarce. This international, online study (N = 759) sought to investigate the potential acute, subacute, and long-term effects of psychedelic drug use on cognition through cognitive task assessment. Questionnaires assessing mental health and quality of life were also administered.MethodsParticipants completed cognitive tasks assessing working memory, selective attention, and visual/spatial perception, as well as questionnaires assessing mental health outcomes and quality of life. Based on self-reported substance use, participants were classified as non-users, lifetime users, and recent users.ResultsRecent users had significantly lower accuracy across all cognitive tasks, and lifetime users had the highest task accuracy without corresponding reaction time deficits, with the exception of the 2D mental rotation task. Lifetime use was not associated with long-term cognitive decline. Recent users reported more depressive and dissociative symptoms, whereas lifetime users reported lower scores. Lifetime users scored lower on psychological and social quality of life domains, indicating possible long-term psychosocial effects.ConclusionsThese findings highlight the need to differentiate between the acute and long-term effects of psychedelics; lab-controlled, longitudinal studies are needed to enable safe clinical application.

Exploring the interplay of discrimination perception, alexithymia, and shyness among hearing-impaired college students: a network approach

BackgroundHearing-impaired college students face limitations in auditory and verbal communication, placing them at higher risk for mental health problems. While previous studies have mostly used traditional structural equation models to examine the relationship between discrimination perception and psychological adaptation issues, these approaches have difficulty capturing complex nonlinear associations and dynamic interactions between variables. This study adopted a network analysis perspective to explore the association patterns between discrimination perception, shyness, and alexithymia among hearing-impaired college students, and to identify influential intervention targets.MethodsThis study was conducted in March 2026 on college students with hearing -impairments mainly from Fujian and Sichuan provinces using the Hearing-impaired Children perceived discrimination Questionnaire, the Social Withdrawal Subtypes and Peer Isolation Questionnaire, the Perth Alexithymia Questionnaire, and SPSS software for descriptive statistical analysis, and R software for network analysis.ResultsThe discrimination perception–shyness network had 12 cross-community edges (range: −0.044 to 0.057). Most were small (below 0.06), suggesting weak conditional associations. The strongest edge was Pd3–S5 (0.057). Pd3 showed the highest BEI (0.057). The discrimination perception–alexithymia network had 5 cross-community edges (range: 0.012 to 0.050). All were small (below 0.06). The strongest edge was Pd5–A2 (0.050). Pd6 showed the highest BEI (0.071).ConclusionThis study explored the relationships between discrimination perception, shyness, and alexithymia in hearing-impaired college students using network analysis methods. The Pd3 (Excluded from games) in the shyness network and Pd6 (Dishonesty) in the alexithymia network were identified as the highest bridge centrality nodes, suggesting that these are core symptoms connecting external stress to internal psychological adaptation difficulties and key triggers for social avoidance and emotional recognition difficulties in hearing-impaired college students. Thus, they represent the optimal targets for psychological intervention.

Implementing BEAM: A Scalable Digital Mental Health Program, for Families of Children Referred to Neurodevelopmental Services

Conditions: Depression and Anxiety Symptom; Anger; Parenting; Stress (Psychology); Parent Child Relationship; Child Development; Neurodevelopmental Conditions

Interventions: Behavioral: The Building Emotional Awareness and Mental Health (BEAM) Program

Sponsors: University of Manitoba; Children’s Hospital Research Institute of Manitoba; Kids Brain Health Network

Not yet recruiting

Creative Art Teletherapy for Veterans With PTSD

Conditions: Post-Traumatic Stress Disorder F03.950.750.500 D013313

Interventions: Behavioral: Art-therapy Remote Treatment for Veterans Experiencing Trauma

Sponsors: VA Office of Research and Development; Henry M. Jackson Foundation for the Advancement of Military Medicine; Drexel University

Not yet recruiting

Standardized Manual-Based Smoking Cessation Treatment in Patients With Comorbid Mental Disorders: Qualitative Interview Study

Background: Smoking prevalence is disproportionately high among individuals with mental disorders, who also show reduced cessation success, suggesting that current cessation interventions may not fully address their specific needs. A barrier to smoking cessation is the fear that quitting may worsen mental health, yet little is known about how individuals with mental disorders experience guideline-conform cessation treatments, which may address such concerns. Objective: This qualitative study explored the perspectives of smoking individuals with comorbid mental disorders who participated in a standardized, manual-based, cognitive behavioral smoking cessation program to identify targets for optimizing guideline-conform interventions for this population, spanning treatment engagement, perceived challenges, and facilitators within this context. Methods: Semistructured interviews were conducted with 11 participants representing diverse cessation trajectories (sustained abstinence, relapse, and no quit attempt) 6 months after treatment completion. Data were analyzed using reflexive thematic analysis. Results: Three overarching themes were identified. First, participants described smoking cessation as a multidimensional, processual experience extending beyond behavioral change to encompass psychological and social dimensions, characterized by nonlinearity, adaptive meaning-making, and improvements in self-efficacy despite transient strain during early abstinence. Second, smoking was experienced as a functionally embedded practice serving affective, habitual, and social functions, with motivation emerging as dynamic and relationally sustained rather than stable. Third, treatment engagement was shaped by motivational states and contextual circumstances, with participants offering favorable evaluations of the structured intervention alongside recommendations for greater individualization and flexibility. Notably, mental health–related concerns about cessation largely persisted despite predominantly positive or neutral mental health outcomes, a pattern consistent with cognitive immunization processes. Conclusions: Guideline-conform smoking cessation treatment appears feasible and largely well-received by individuals with comorbid mental disorders. The findings highlight the need for targeted psychoeducation to address persistent misconceptions about the mental health risks of cessation, as well as individualized, context-sensitive treatment adaptations, including greater flexibility in session structure, motivational support beyond the active treatment phase, and explicit attention to the social and functional embeddedness of smoking, to improve cessation outcomes in this high-risk population. Trial Registration: ISCRTN ISRCTN12859609; https://www.isrctn.com/ISRCTN12859609
<img src="https://jmir-production.s3.us-east-2.amazonaws.com/thumbs/e30e35ce7199fad3ff56801549d10f97" />

Trajectories of Persistent Exposure to Self-Harm–Encouraging Websites and Subsequent Mental Health Outcomes in US Youth: Longitudinal Cohort Study

Background: Self-harm, including suicidal thoughts, self-injurious behavior, and disordered eating, is a major public health concern among adolescents and young adults. Youth increasingly encounter self-harm–related content online, including websites that explicitly encourage harmful behaviors. Although exposure to such content has been linked to poorer mental health, most research is cross-sectional and has not examined longitudinal exposure trajectories. Whether persistent exposure represents a distinct digital risk pattern remains unclear. Objective: This study examined longitudinal trajectories and correlates of exposure to self-harm–encouraging websites over 1 year and tested whether persistent exposure was associated with subsequent suicidal ideation, self-injury, and disordered eating. Methods: We analyzed data from 2197 US youth aged 13 to 22 years who completed waves 2 and 4 of Project Lift Up, a national longitudinal cohort study. Website exposure was categorized into 4 trajectories: none, desist (wave 2 only), new (wave 4 only), and persistent (both waves). Categories reflected reported exposure at the 2 assessment waves rather than the frequency or continuity of website use between assessments. Logistic regression models estimated associations between exposure trajectory and wave 4 suicidal ideation, self-injury, and disordered eating, restricting analyses to participants without the respective outcome at wave 2. Models were adjusted for demographics and wave 2 depression or anxiety symptoms and other mental health indicators. Results: Overall, 26.5% (583/2197) reported exposure to self-harm–encouraging websites at wave 2, and 18.5% (407/2197) reported persistent exposure. Privacy concerns, embarrassment, curiosity, and lack of offline support were associated with greater odds of persistence (adjusted odds ratios [aORs] 1.84‐3.23), whereas accidental exposure was associated with lower odds of persistence (aOR 0.28, 95% CI 0.19‐0.41). Compared with no exposure, persistent exposure was associated with higher odds of suicidal ideation (aOR 1.88, 95% CI 1.24‐2.86; =.003), self-injury (aOR 3.14, 95% CI 2.05‐4.80; <.001), and disordered eating (aOR 2.46, 95% CI 1.54‐3.93; <.001). Adjusted predicted probabilities showed a graded pattern, with persistent exposure associated with the highest predicted probabilities (suicidal ideation: 33.4% vs 21.3%; self-injury: 25.7% vs 10.2%; disordered eating: 11.7% vs 5.3%). New exposure was associated with increased odds of self-injury (aOR 2.32, 95% CI 1.30‐4.15; =.004) but was not significantly associated with suicidal ideation or disordered eating. The desist trajectory was not significantly associated with outcomes. Conclusions: Persistent exposure to self-harm–encouraging websites may represent a distinct digital risk pattern associated with higher subsequent odds of suicidal ideation, self-injury, and disordered eating. Assessing patterns of repeated website exposure and youths’ motivations for seeking this content—not merely whether exposure occurred—may improve the identification of youth at heightened risk and inform digital prevention and clinical intervention strategies.

Relationship between loneliness and self-efficacy: the mediating role of internet addiction and the moderating role of sleep quality

IntroductionThis study aimed to examine the association between loneliness and self-efficacy among adolescents and to investigate whether internet addiction mediated this association and whether sleep quality moderated the direct and indirect pathways. Although previous research has demonstrated significant associations between loneliness and both general and social self-efficacy, the behavioral mechanisms underlying these associations and the conditions under which their strength may vary remain insufficiently understood.MethodsA cross-sectional survey was conducted among 1,323 students in Grades 7–9 from two schools in Baotou, Inner Mongolia, China. Participants completed the UCLA Loneliness Scale, the General Self-Efficacy Scale, the Internet Addiction Diagnostic Questionnaire, and the Athens Insomnia Scale. A moderated mediation model was used to examine the mediating role of internet addiction and the moderating role of sleep quality in the association between loneliness and self-efficacy.ResultsLoneliness was negatively associated with self-efficacy. Internet addiction partially mediated the association between loneliness and self-efficacy. In addition, sleep quality moderated the direct association between loneliness and self-efficacy and the first stage of the indirect pathway from loneliness to internet addiction. Specifically, the associations of loneliness with self-efficacy and internet addiction varied across different levels of sleep quality.DiscussionThese findings provide a more comprehensive understanding of the mechanisms linking loneliness to adolescent self-efficacy by identifying internet addiction as an important behavioral mediator and sleep quality as a moderating factor. The findings highlight the importance of considering problematic Internet use and sleep quality when developing interventions aimed at promoting adolescents’ psychological adjustment, self-efficacy, and well-being.

Maternal folate receptor alpha autoantibodies and folate levels during pregnancy in relation to autism spectrum disorder: a pilot case-control study

BackgroundFolate receptor alpha autoantibodies (FRAA) are reported to be associated with autism spectrum disorder (ASD) and are found more frequently in mothers of children with ASD. However, the relationship between maternal FRAA during pregnancy, folate status, and ASD risk in offspring remains unclear.ObjectiveIn this exploratory pilot study, we compared maternal serum binding FRAA measured during pregnancy between high-folate ASD cases and childbirth-time–matched mothers of typically developing children.MethodsFRAA were retrospectively analyzed in serum samples collected between gestational weeks 7 and 18 from women whose children were later diagnosed with ASD (case subgroup, n = 10) and mothers of neurotypical children (control subgroup, n = 10). Case samples were selected based on previously measured elevated folate levels, while controls were selected to minimize differences in biobank storage duration.ResultsFRAA were detected in 2 of 10 samples in each group, corresponding to a prevalence of 20%. Although based on limited statistical power, no significant difference in FRAA prevalence was observed.ConclusionIn this exploratory pilot study, no difference in binding FRAA prevalence was found between mothers of children with ASD, who were selected for elevated maternal folate levels, and mothers of neurotypical children. While this finding does not support a link between FRAA and elevated maternal folate levels, the small sample size and selection criteria limit interpretation.LimitationsThe study was limited by the small sample size, differences in subgroup selection, uncertainty in gestational age at sampling, and the inability to assess blocking FRAA.