CliniCIRCA

A Modular LLM Framework for Constructing Longitudinal
Mental Health Patient Journeys from Raw EHR Narratives

Manuscript under review, 2026
1Georgia Institute of Technology  ·  2University of Texas at Austin  ·  3Northwell Health  ·  4Stevens Institute of Technology
Abstract

Auditable patient journeys from raw clinical narratives

Mental health care often requires clinicians to reason over patient journeys: longitudinal patterns of symptoms, diagnoses, treatments, behaviors, social context, and responses to care. Yet these journeys are rarely documented as explicit timelines. Clinically important temporal information is embedded in unstructured discharge narratives, where events may be repeated, narrated out of order, or expressed through vague and relative time references.

We present CliniCIRCA, a multi-stage large language model (LLM) framework for Calendar-anchored, Imprecision-aware Reconstruction of Clinical Annals. CliniCIRCA decomposes patient-journey reconstruction into three stages: extracting atomic clinical events from raw discharge summaries, assigning calendar-grounded temporal labels with explicit uncertainty, and rendering the verified timeline as a date-grouped clinical summary. This makes temporal reasoning inspectable instead of hiding it inside a single summarization step.

From 14,882 MIMIC-III mental-health-coded admissions, we construct a benchmark of 52 discharge summaries on which CliniCIRCA produces 15,891 temporally tagged events. Clinician-guided annotation corrects 629 errors, producing verified gold-standard timelines that drive a summarization stage compressing each source 1.52× into a date-grouped chronological record. Scaling the framework to 1,000 silver-standard timelines, we find that instruction tuning on them generally improves five open-weight models across event extraction, temporal tagging, and summarization, compared with zero- and few-shot prompting.

The Challenge

Why patient journeys are hard to recover

Discharge summaries synthesize a patient's prior history, hospital course, and outcomes into a single narrative, which makes them a rich source for reconstructing patient journeys. Their temporal structure, however, is largely implicit. Three gaps motivated CliniCIRCA.

01

Timestamps record documentation, not events

Structured EHR timestamps reflect when information was documented or billed: a diagnosis code is dated to the encounter, not to disease onset. The real chronology lives in free text, narrated out of sequence or anchored only by phrases like “2 days prior to admission” or “remote history.”

02

Fixed schemas miss what defines a course

Under Engel's biopsychosocial model, a psychiatric course is shaped by medication use, trauma, social history, and daily functioning, as well as by diagnoses and procedures. A narrow schema omits events that define an individual's course, while an exhaustive one quickly becomes impractical.

03

Uncertainty gets flattened

Prior timeline systems often represent time as a single relative offset, so vague events are either left unmodeled or forced into a precise timestamp. Summaries generated directly from the note inherit its implicit chronology and risk presenting a resolved condition as active.

Dataset

Mental health admissions from MIMIC-III

CliniCIRCA is built on MIMIC-III v1.4, a de-identified critical-care database from Beth Israel Deaconess Medical Center (2001–2012), accessed through PhysioNet's credentialed data-use agreement. An admission is included if it has a discharge summary and at least one diagnosis from the ICD-9-CM Mental Disorders chapter (codes 290–319):

  • 290–294Organic psychotic conditions
  • 295–299Other psychoses
  • 300–316Neurotic disorders, personality disorders, and other nonpsychotic mental disorders
  • 317–319Intellectual disabilities

This yields 14,882 discharge summaries from 12,273 patients, spanning primary psychiatric admissions and medical or surgical admissions with psychiatric comorbidity. Three structured fields (date of birth, admission date, and discharge date) serve as temporal anchors.

Dataset curation: MIMIC-III admissions with ICD-9 codes 290–319, their discharge summaries, and date anchors (admission date, discharge date, date of birth)
Method

Three stages: what happened, when it happened, and how to render it

CliniCIRCA is a sequential framework of three LLM stages. Each stage receives the previous stage's output and has a single main task. Raw discharge summaries go in without chunking, section parsing, or normalization.

CliniCIRCA overview: dataset curation from MIMIC-III, a three-stage LLM pipeline, and human plus LLM-judge evaluation
Figure 1: CliniCIRCA overview. (1) Dataset curation from MIMIC-III; (2) the three-stage LLM pipeline producing tagged clinical timelines (Output A) and clinical summaries (Output B); (3) human and LLM-judge evaluation against clinician-defined rubrics.

Pipeline

  • Stage 1: Atomic clinical event extraction. Reads the raw note and extracts a high-recall, open-vocabulary list of atomic events.
  • Stage 2: Date & uncertainty tagging. Resolves each event against the three anchors and assigns an ISO date plus exactly one certainty tag, producing Output A, a tagged clinical timeline.
  • Stage 3: Temporally guided summarization. Groups the verified events by date into a chronological, clinician-readable summary (Output B) without re-reading the note.
  • Each stage can be prompted, evaluated, and improved on its own.

Evaluation

  • 11 candidate LLMs (4 proprietary, 5 open-weight, 2 medical-domain), each run through Stages 1–2 on a 52-note benchmark sized by power analysis, for 572 model–document outputs
  • Clinician-defined rubrics: Completeness, Semantic Faithfulness, and Temporal Tag Accuracy for timelines; Faithfulness to Source and Temporal Accuracy for summaries
  • Two human annotators apply the rubrics; clinicians adjudicate disagreements and ambiguous cases
  • Gemini 3.1 Pro serves as an LLM judge, calibrated against clinician-adjudicated labels before it is used to scale model selection
Example

From discharge note to tagged timeline to readable summary

Every event in Output A carries a calendar date (or range) and one of four certainty tags. Only explicitly written dates are tagged [EXACT]. Inferred or relative dates resolve to [APPROX] at the coarsest defensible granularity, such as year-only when only a year is recoverable.

An illustrative discharge summary, its Stage 2 tagged timeline, and its Stage 3 date-grouped summary
Figure 2: An illustrative discharge summary (left), its Stage 2 tagged timeline, Output A (center), and the Stage 3 date-grouped summary, Output B (right). Colors link each event across the three views.
[DATE] [EXACT]

A date is written in the event text itself.

[DATE] [APPROX]

No written date, but the event resolves to an anchor or to a relative offset from one.

[PRE-ADM]

Framed as prior to, or continuous through, this admission: history, “status post,” demographics, undated chronic states.

[INDETERMINATE]

A guardrail used only when none of the above applies and the timing genuinely cannot be determined.

How often each tag is used

Share of events by temporal tag in CliniCIRCA outputs on the 52-note benchmark. Most events have timing that can be recovered only approximately, and a single-timestamp representation would erase that uncertainty.

[APPROX], [PRE-ADM], and [INDETERMINATE] shares are reported in the paper (§3.2.2); [EXACT] is the remainder, since every event receives exactly one tag.
Results

Gemini 2.5 Pro leads, and temporal tagging separates the field

Most candidates extract events near the rubric ceiling, but Temporal Tag Accuracy ranges from 2.00 to 4.83. Gemini 2.5 Pro ranks among the top candidates on every dimension and is frozen as the single agent that advances to Stage 3.

4.94
avg. rubric score (of 5)
Gemini 2.5 Pro, Stages 1–2
98.4%
time-labeling accuracy
vs 54.3% for a single-offset formulation
1.52×
summary compression
~600 fewer words per admission
629
errors corrected
across 15,891 events → gold timelines
Evaluation dimension
11 candidate LLMs · 52 notes

View as table
Dimensions A–C are clinician-defined 1–5 Likert scores averaged over 52 notes; their bars start at the rubric floor of 1. MEDCON is the F1 overlap of UMLS medical concepts between extracted events and the source note (0–1). Highlighted: the model selected for the final pipeline. From Table 1 of the paper.

Stage 3 summaries stay faithful and temporal

Rendered from the verified timeline by Gemini 2.5 Pro, Stage 3 summaries cut reading burden by about a third while preserving dates, tags, and uncertainty.

99.93%
faithfulness
(band 5.00)
95.33%
temporal accuracy
(band 4.75)
34.0%
corpus-level
word reduction

Per-note reduction: 31.5% mean, 33.8% median. MEDCON F1 against the timeline: 0.599.

LLM judges locate errors; clinicians adjudicate

The calibrated Gemini 3.1 Pro judge agrees strongly with clinician-adjudicated labels on correct content but over-flags rare errors.

0.972
Gwet's AC1
(Stage 2 timelines)
0.655
Cohen's κ
(3.96% error rate)
6.7×
error inflation
(Stage 3 summaries)

On summaries, the judge flagged 262 errors and humans upheld 39. Agreement on whether a summary contains any error is still substantial (κ = 0.77; Spearman ρ = 0.77 on error counts).

Silver Supervision

1,000 silver timelines as training data for smaller models

We scale the frozen pipeline to 1,000 admissions disjoint from the gold set (750 train / 100 validation / 150 test). We then compare zero-shot prompting, three-shot prompting, and LoRA instruction tuning across five locally deployable open-weight models from 7B to 35B parameters.

Downstream task

View as table
Point estimates from Table 4 of the paper; instruction-tuned values are labeled, and hovering any bar shows its value. Bootstrap standard deviations and paired confidence intervals are reported in the paper, and not every ordering shown here is statistically reliable.

Silver beats gold-only. Across all three tasks and all five models, tuning on silver timelines yields higher gold-set scores than tuning on the 52 gold examples alone. For example, Mistral-24B reaches 0.847 on event extraction versus 0.715 with gold-only tuning. This reflects the coverage and volume of the silver set, not higher label quality, so the gold set remains the independent benchmark.

Takeaways

Built for auditability, not just accuracy

CliniCIRCA treats patient-journey reconstruction as a set of separable decisions: what happened, when it happened, and how it should be rendered for review.

🔍

Inspectable chronology

The summary is a readable rendering of an auditable timeline, not a fresh compression of the note. Each claim stays linked to event-level evidence, and each stage can be evaluated on its own.

🩺

Clinicians stay in the loop

Automated judges agree with clinicians on most correct events but are less reliable on rare errors, particularly pre-admission medications and date granularity. Trustworthy reference labels still require clinician adjudication.

🧩

Reusable supervision

1,000 pipeline-generated examples improved every model on extraction and summarization, and four of five on temporal tagging. This offers a practical route to small, locally deployable models without labeling an entire corpus.

🔐

Responsible use

Built on MIMIC-III under PhysioNet's credentialed access. Summaries are meant to complement, not replace, the source record, especially for safety-relevant content such as suicidality or medication timing.

Cite

BibTeX

@misc{zhang2026clinicirca,
  title  = {CliniCIRCA: A Modular LLM Framework for Constructing Longitudinal
            Mental Health Patient Journeys from Raw EHR Narratives},
  author = {Zhang, Aiwei Ivy and Ishfaq, Nimra and Chandra, Mohit and
            Alvarez Lesmes, Santiago and Coscia, Adam and Moon, Khatiya Chelidze and
            Ding, Xiaohan and De Choudhury, Munmun},
  year   = {2026},
  note   = {Under review}
}