Evidence map›Paper›PMID 42560822›Full record

ArticleJMIR formative research2026

Two-Stage Extraction of Clinical Course Information From Psychiatric Discharge Summaries Using Fine-Tuned Large Language Models: Cross-Validation Study.

Chien-Hung Chen, Po-Chang Tseng, Hong-Jie Dai, Chu-Hsien Su, Shi-Heng Wang, Yi-Ling Chien, Wei-Lieh Huang, Chi-Shin Wu, Hsin-Hsi Chen

Abstract read
In one paragraph

Article in JMIR formative research, 2026. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

9 authors.

Chien-Hung ChenGraduate Institute of Networking and Multimedia, National Taiwan University, Taipei, Taiwan.ORCID 0009-0008-0690-5181
Po-Chang TsengInstitute of Psychiatry, Psychology & Neuroscience, King's College London, London, United Kingdom.ORCID 0000-0002-6039-6401
Hong-Jie DaiDepartment of Electrical Engineering, College of Electrical Engineering and Computer Science, National Kaohsiung University of Science and Technology, Kaohsiung, Taiwan.ORCID 0000-0002-1516-7255
Chu-Hsien SuNational Center for Geriatrics and Welfare Research, National Health Research Institutes, 35, Keyan Road, Zhunan, Miaoli County, 350401, Taiwan, 886 037-206-166 ext 51001.ORCID 0009-0009-5895-9517
Shi-Heng WangNational Center for Geriatrics and Welfare Research, National Health Research Institutes, 35, Keyan Road, Zhunan, Miaoli County, 350401, Taiwan, 886 037-206-166 ext 51001.ORCID 0000-0002-8466-2698
Yi-Ling ChienDepartment of Psychiatry, National Taiwan University Hospital, Taipei, Taiwan.ORCID 0000-0002-3477-3015
Wei-Lieh HuangDepartment of Psychiatry, National Taiwan University Hospital, Yunlin Branch, Douliu, Taiwan.ORCID 0000-0001-5786-3366
Chi-Shin WuNational Center for Geriatrics and Welfare Research, National Health Research Institutes, 35, Keyan Road, Zhunan, Miaoli County, 350401, Taiwan, 886 037-206-166 ext 51001.ORCID 0000-0003-2762-7295
Hsin-Hsi ChenDepartment of Computer Science and Information Engineering, National Taiwan University, Taipei, Taiwan.ORCID 0000-0001-9757-9423

Funding

No grant is acknowledged in the PubMed record.

6 · The paper itself

Abstract

Background: Clinical course information, including disease onset, episode recurrence, and hospitalization history, is essential for psychiatric care and research. However, these data are embedded in unstructured clinical narratives with substantial linguistic variability, making manual extraction labor-intensive and rule-based extraction difficult to scale. Fine-tuned large language models (LLMs) may flexibly extract such information from privacy-sensitive psychiatric records. Objective: This study aimed to evaluate the performance of LLMs for automatically extracting temporal and clinical course information from psychiatric discharge summaries. Methods: We analyzed 500 psychiatric discharge summaries from the Integrated Medical Database of National Taiwan University Hospital. A psychiatrist and a natural language processing researcher manually annotated clinical events and temporal information. Four open-source LLMs (LLaMA, MentaLLaMA, OpenBioLLM, and Mistral) were fine-tuned using low-rank adaptation and evaluated using 10-fold cross-validation. A 2-stage framework was developed in which sentence-level extraction of clinical events and temporal information was followed by chart-level prediction of 4 clinical course features: first-episode onset time, episode count, number of psychiatric hospitalizations, and most recent hospitalization. Performance was assessed using precision, recall, F1-score, accuracy, mean absolute error (MAE), and bootstrap significance testing. Results: A total of 12,947 sentences were extracted from 500 discharge summaries, yielding 7177 clinical event annotations and 4842 temporal annotations. At the sentence level, Mistral achieved the highest F1-scores for clinical event extraction, including symptom/episode detection (0.925, 95% CI 0.920-0.930), hospitalization detection (0.944, 95% CI 0.934-0.952), and remission/response detection (0.867, 95% CI 0.851-0.883). Mistral also achieved the highest F1-scores for most temporal information categories, including age expressions (0.983, 95% CI 0.973-0.993), relative time expressions (0.953, 95% CI 0.944-0.963), duration expressions (0.976, 95% CI 0.962-0.987), and vague temporal expressions (0.888, 95% CI 0.871-0.905). At the chart level, the proposed 2-stage framework showed the clearest benefit for first-episode onset prediction. Using the 2-stage framework, Mistral achieved the highest point estimate for onset accuracy (0.772), although its performance did not significantly differ from that of LLaMA using the same framework (0.744; bootstrap P=.26). For onset prediction, the 2-stage framework significantly outperformed the direct and joint extraction approaches across all evaluated models (all bootstrap P≤.002). For other chart-level features, the best-performing approach varied: using the 2-stage framework, Mistral achieved the highest episode count accuracy (0.624; MAE=0.428); using the direct approach, LLaMA achieved the highest hospitalization count accuracy (0.692; MAE=0.379); and using the 2-stage framework, OpenBioLLM achieved the highest most recent hospitalization accuracy (0.868; F1-score=0.617). Conclusions: Fine-tuned, locally deployable, open-source LLMs can extract temporal and longitudinal disease course information from psychiatric discharge summaries. The 2-stage framework was most beneficial for first-episode onset prediction and performed competitively across other chart-level features, supporting the use of LLMs to transform heterogeneous psychiatric narratives into structured data for research and decision support.

Indexed as

Large Language ModelsMental DisordersPatient DischargePatient Discharge SummariesHumansNatural Language ProcessingTaiwanmedical record linkagemedical recordsmental disordersnatural language processingtime factors

Identifiers

PMID42560822
PMCPMC13446380

What OpenQuestion holds

Textmetadata
LicenceCC BY
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.