The 2026/27 NHS mental-health payment scheme moves specialist trusts from block contracts to payment by activity, priced on 192 currencies — 138 Mental Health & Neurodevelopmental Resource Groups and 54 Talking Therapies courses. Each one is derived from a handful of fields that live in the clinical note. This is the agent that reads them.
All six NELFT service types, each with a recorded agent run — pick one ↓
NHS Talking Therapies — course-level currencies driven by PHQ-9/GAD-7 severity and contact intensity.
MAT01D · MATThe CMHT and older-adults community estate — 98.7% of NELFT contacts carry a recorded clinical need.
MAA96A · MHNRGAdult, older-adult and children's beds — the bed-type field is the trust's biggest gap (recorded in ≤2.25%).
MAB98A · MHNRGCrisis resolution, home treatment and liaison — currency by crisis group; clinical need is not even required.
MAA97A · MHNRGThe children's model — CAMHS contacts under 18, age and severity screen are the currency inputs.
MCG96B · MHNRGPerinatal, memory and early-intervention-in-psychosis services — the specialist community setting band.
MAA96B · MHNRGEach demo runs the same two-stage agent used in the research harness. Stage 1 routes the note to the most likely ICD-10-CM mental-health categories (the F chapter — 872 codes in 72 categories). Stage 2 ranks the candidate codes inside the top categories and returns a ranked list with probabilities. A final mapping step selects the 2026/27 payment currency — the resource-group section, care setting and intensity band — using the service/team/bed lines in the note.
Every transcript on this site is a recorded run of that agent, pinned in the Limoja/medical-coding repository with its exact probabilities. The animated walkthrough is the recording, replayed. Case notes are synthetic and de-identified — no patient data.
On the frozen 400-note general coding benchmark the agent ranks 45.2% of diagnoses inside its top five (ICD-10-CM, all chapters). Mental health is a smaller, self-contained space — one of the two best-performing domains in the full benchmark — and the currency level the NHS pays at is coarser still than the ICD leaf, which is the point of these demos.