Case studies›Clinical coding

AI-Assisted Clinical Coding Recovered up to £5.5m in Missed Outpatient Activity

The procedures were done and the notes were written, but the codes never arrived. Here’s how one London Trust closed the gap.

Guy’s and St Thomas’ NHS Foundation Trust3 min read

Executive Summary

The problem

Clinicians document far more than what is captured in diagnosis codes used for reimbursement and commissioning. During manual review, a clinical coder can easily miss a comorbidity in a discharge letter or a procedure on a clinic form, so the hospital isn't paid for that care and its data doesn't reflect the reality of the care delivered.

What they did

Guy’s and St Thomas’ NHS Foundation Trust (GSTT) ran a focused pilot with CogStack across outpatient and inpatient coding. CogStack AI reads clinical text from the hospital’s EHR records, followed by Human-in-the-Loop validation of a trained coder to surface missing codes.

The result

Up to £5.5madditional outpatient income identified, FY 2023/24
>£0.5minpatient coding opportunity per specialty, per year
Up to 25%under-coding of common comorbidities uncovered

The Challenge

Under the NHS Payment Scheme (NHSPS), coding accuracy drives Trust income in two ways: elective activity is reimbursed directly through Healthcare Resource Group (HRG) based variable payments (previously called as Payment by Results), while the fixed element of Aligned Payment and Incentive (API) arrangements is recalibrated annually against coded activity. Getting coding wrong affects both. Yet the reality makes consistently accurate coding extremely difficult. At GSTT, three problems got in the way:

  • Unbilled outpatient procedures. Procedures were recorded in one clinical system but never reached the billing system, a gap that opened during the pandemic and never closed.
  • A widening gap for value-based care. As healthcare moves towards value-based healthcare, patient comorbidities and patient outcomes will increasingly be dependent on adequate outpatient coding and this is prone to omissions that affect HRG assessment.
  • Details buried in free text. Around 80% of clinical data is unstructured, and coding teams, which take years to train, can’t read it all.

The Solution

CogStack AI ran inside the Hospital’s own data environment as a Middleware alongside existing clinical and billing systems.

  • Making unstandardised data accessible. CogStack AI ingested every kind of clinical text and made it searchable in one place.
  • Locally adapted. CogStack’s clinically validated NLP model (MedCAT) read clinical notes and letters and fine-tuned on GSTT data by trained coder to suggest ICD-10, SNOMED CT, and OPCS-4 codes while keeping Clinical Coders in control with semi-automation or AI-assistance.
  • Recovering uncoded diagnosis & procedures. In outpatients, CogStack’s enterprise search found procedures recorded in one system but missing from billing, and the codes were uploaded in bulk. In inpatients, it surfaced comorbidities and complications that manual review consistently misses

Results & Impact

The pilot identified up to £5.5 million in additional outpatient income for FY 2023/24. In inpatients, it uncovered up to 25% under-coding of common comorbidities, worth more than £0.5 million per specialty each year.

Up to £5.5madditional outpatient income identified, FY 2023/24
>£0.5minpatient coding opportunity per specialty, per year
Up to 25%under-coding of common comorbidities uncovered
35%reduction in coding-related agency staffing costs
“CogStack’s AI reads and interprets the clinical narrative at a scale no coding team could achieve manually. It doesn’t replace our coders; it gives them the complete picture before they even start.”
Aleksandra FoyHead of Productivity, Guy’s and St Thomas’ NHS Foundation Trust

Why CogStack

Built inside the your own environment and validated in more than 100 peer-reviewed publications, CogStack AI is tuned to each healthcare provider’s own documentation and leaves Healthcare provider in control of their data.

CogStack AI is a foundational shift. Coding is an entry point: the same platform supports patient safety alerting, medication reviews, waiting list validation and trial cohorting.

Case study developed in partnership with Guy’s and St Thomas’ NHS Foundation Trust. Outcomes reflect the specific context of this deployment and may vary across organisations.

Topics
AI-assisted workflowsClinical codingCoding depthHuman-in-the-loop AIICD-10 / OPCS-4Natural language processing (NLP)NHS income recovery
Find more like this
Validating Waiting Lists at Scale with Clinical NLP: 40,000+ Referrals Safely Closed
Guy’s and St Thomas’ NHS Foundation Trust
Flagging 9 in 10 unplanned intensive care admissions before elective neurosurgery at UCLH
University College London Hospitals NHS Foundation Trust
Mental Health Records Made Usable: Medication Reviews Cut from Hours to Minutes
South London and Maudsley NHS Foundation Trust

Next steps

Meet NHS coding deadlines without increasing coder workload.

Book a walkthrough of CogStack AI for clinical coding at your Trust: