← Learn · Costing

Explainer 3 of 6 · Intermediate level · 6–8 min What do the levels mean?

Builds on: Where the numbers come from

Coding: the first data source

Applies to England. The rules and organisations described here are those of the NHS in England. Scotland, Wales and Northern Ireland organise and fund care differently: see how each nation works.

The clinical question

Your service looks 25% more expensive than peers for the same HRGs. Before anyone looks at practice, what should you check about the coding?

The essentials

  • Costs are compared within HRGs, and the HRG comes from the coded record.
  • Under-coded patients look expensive in every cost comparison, whatever the payment arrangement.
  • Better coding changes the comparator, not the cost.

Every cost hangs off a coded record

Patient-level costing attaches the trust’s spending to each episode of care. Each episode carries its healthcare resource group (HRG), taken from the coded record, and almost every comparison of cost uses it: your cost per case against the national average for the HRG, against similar trusts, and between your own consultants. So before you trust a comparison of cost, check the coding underneath it.

Worth knowing

The detail is in its own series

Clinical coding has its own series of four explainers: From notes to codes, Codes, groups and money, Coding and your data and Put it to work. This explainer covers only what coding does to costs.

Same patient, same cost, two comparisons

An invented 80-year-old has a planned hip replacement. Her stay costs £6,400. Her heart failure and an acute kidney injury affected her care. What the comparison says depends entirely on whether the notes named them.

Conditions not named
  • Her HRGlowest complexity
  • Average cost for that HRG£4,800
  • Her cost£6,400

33% above peers: looks inefficient

Conditions named
  • Her HRGhigher complexity
  • Average cost for that HRG£6,900
  • Her cost£6,400

7% below peers: looks efficient

Illustrative figures, made up for teaching. Your trust’s rules and numbers will differ.

Her cost did not change. The comparator did. Improving coding never lowers what care costs; it makes sure each patient is compared with patients like them.

Three coding checks before you act on a cost

Was it coded when costs were run?

Local costs are often produced before coding is complete. Ask what share of your episodes were coded at the time, and when the figures will be refreshed.

Is the depth of coding like your peers’?

Fewer diagnoses per episode than similar services means patients sit in simpler groups and look expensive. Ask for your depth for the HRGs in question.

Are the patients really yours?

Episodes under the wrong consultant or specialty, often after an unrecorded transfer, carry someone else’s costs into your figures.

Go deeper: why the HRG matters more than the price

Much NHS income is a fixed sum, so a lot of clinicians conclude coding does not matter to them. For costing it always does. PLICS reports, the national cost collection and benchmarking tools all compare cost within an HRG. A service whose patients are under-coded will look expensive in every one of them, whatever its payment arrangement, and the gap is easily mistaken for inefficiency in a GIRFT visit or a cost improvement plan.

The reverse is also worth knowing: if a cost gap shrinks after coding improves, the service did not get cheaper. It was being compared unfairly before.

Apply it

Check the coding behind your next cost report

Before your next cost or benchmarking review, take the three HRGs where your service looks most expensive. For each, ask your coding team for the share of episodes coded when the costs were run, your depth of coding against peers, and the share of cases in the lowest complexity step. Decide whether any of the gap could be the record rather than the care.

See a model answer

In short: a good answer separates gaps the record could explain from gaps it cannot.

  • Emergency cholecystectomy, 18% above peers. 97% coded when costs were run; depth 3.2 against a peer median of 4.9; 70% in the lowest step against 45% for peers. Much of the gap could be the record: audit the notes before discussing practice.
  • Elective knee replacement, 12% above peers. Coding complete and depth similar to peers. The record does not explain it: look at length of stay and implant costs.
  • Day-case hernia repair, 9% above peers. Only 80% coded when costs were run. Wait for the refreshed figures before drawing any conclusion.

Illustrative. Figures are invented.

What would you do?

Two short situations. Choose the best answer, then read why each option is right or wrong.

1. A cost report shows your emergency admissions cost 25% more than the national average for their HRGs. Your service says it sees older, sicker patients than most. What should you check first?
  • A. Comparing consultants comes later, once you know the comparison itself is fair.
  • B. Right. If the record makes sick patients look simple, they are compared with fitter patients and look expensive.
  • C. Price is income. It does not tell you whether the cost comparison is fair.
  • D. Possibly, later. First check the comparison is like for like.
2. After a documentation project, more of your patients are coded to higher-complexity HRGs and your service now looks 10% cheaper than peers. Finance wants to count this as a saving. What do you say?
  • A. Nothing was spent differently. Booking a saving that is not there creates a gap later.
  • B. Right. Better coding changes the comparator, not the cost.
  • C. There is no saving to move.
  • D. The new record is the more accurate one. Keep it.

Back at work: things to try

  1. Before your next cost review, ask what share of your episodes were coded when the costs were run.
  2. Ask for your depth of coding for the HRGs where you look most expensive.
  3. Take the Clinical Coding series if your service’s patients look simpler in the data than they are.
For educators Teaching this?
Use it for
Any meeting about to look at PLICS or benchmarking data.
Listen for
"Coding does not matter, we are on a fixed payment." Every cost comparison still uses the HRG.
Ask the group
Where do we look most expensive, and how well coded are those patients?
Time
6 minutes to read; 20 minutes for the three-HRG check.

New to teaching clinicians? Read Teaching clinicians about finance. Everything on Clinical.finance is free to use in your own teaching; a link back is appreciated. If you teach finance to clinical colleagues, the Finance and Clinical Educators (FACE) network brings together people doing the same.

Sources and further reading

Written by Ak Maheswaran, Consultant Anaesthetist

Current at 18 November 2026Last reviewed 18 November 2026Policy and payment rules change: check the linked sources before relying on this page.

Spotted an error, or something missing? Tell me.