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.
“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.”
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.