← Learn · Clinical Coding

Explainer 2 of 4 · Foundation level · 12–15 min What do the levels mean?

Builds on: From notes to codes

Codes, groups and money

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

Two patients have the same operation and the same conditions, but only one patient’s conditions are named in the notes. Will the trust see them as the same?

The essentials

  • Software assigns the HRG from the coded record; nobody chooses it.
  • Unnamed conditions put complex patients in simple groups, so they look long, costly and, if paid per case, are paid as simpler work.
  • Better coding changes income only for work paid per case, but every cost, benchmark and mortality indicator uses the record.

Nobody chooses the group

Once an episode is coded, software called a grouper reads the codes and a few other fields and places the episode in a healthcare resource group (HRG): care that is clinically similar and uses similar resources. No coder, clinician or finance officer picks the HRG. If the record is incomplete, the group is wrong, and everything built on it inherits the error: the price for work paid per case, the cost comparisons and the benchmarks.

The Payment Systems explainer From clinical record to income follows a record all the way to a price. This explainer looks at the clinician’s side: what the grouper needs from your notes, and what happens when it does not get it.

What the grouper reads

  • Main diagnosisthe condition treated
  • Proceduresincluding approach and side
  • Complications and comorbiditieswhich raise the complexity score
  • Admission methodelective or emergency
  • Agefor some groups
  • Length of stayagainst the trim point
Grouper software
One HRGdecides what the episode is compared with, and its price where activity is paid per case

Most of these come from what clinicians write. The admission method and dates come from the patient administration system; everything else depends on the notes.

Same operation, different patient

Many procedures split into several HRGs by recorded complexity. Each relevant complication or comorbidity adds to a score, and a higher score moves the episode into a group expected to use more resources. The steps below show the pattern.

Same operation, different recorded complexity

Relative expected cost of one procedure, by recorded complexity. Base = 100.

No relevant conditions recordedNo relevant conditions recorded: 100
Some relevant conditions recordedSome relevant conditions recorded: about 120
Several major conditions recordedSeveral major conditions recorded: about 175

The same patient, written up two ways, can land on different steps.

Illustrative relative values only. Real steps differ by HRG and by year: check the current NHS Payment Scheme for actual prices.

Three cases from everyday practice

The patient who looked well on paper

An 80-year-old has a planned hip replacement. Her heart failure needed diuretics adjusting, and an acute kidney injury delayed discharge by two days. The notes say “fluids, furosemide held” but never name either condition. She groups as an uncomplicated case: her five-day stay looks long, her cost looks high for her group, and if the work is paid per case, the trust is paid for a simpler patient than she was.

The procedure that became a chat

A rheumatology clinic gives joint injections at many follow-up visits. They are recorded as follow-up attendances only. Recorded properly, the procedure groups to an outpatient procedure HRG that recognises the extra time, drugs and equipment. The clinic looks expensive for what it appears to do.

The clinic under the wrong name

A nurse-led continence clinic is recorded under a consultant’s treatment function code. Its activity is counted, compared and, where paid per attendance, paid as that consultant specialty. Benchmarks for both services are distorted, and the nurses’ work is invisible in the data.

In each case the care was good. Only the record was wrong, and the record is what the organisation, the commissioner and national tools can see.

Outpatients, emergency care and same day emergency care

  • Outpatients are grouped in far less detail than admissions: mainly whether the appointment is a first or follow-up, single or multi-professional, and the treatment function code (the specialty) it is recorded under. Procedures done in clinic group to their own HRGs only if they are recorded.
  • Emergency department attendances are recorded in the Emergency Care Data Set (ECDS), using a limited set of clinical terms for the chief complaint, acuity and diagnosis. These are usually entered by the clinicians at the point of care, not by the coding team, so no coder reviews them afterwards: what the emergency department team picks is what the data shows.
  • Same day emergency care (SDEC) is recorded in different ways in different trusts: as an emergency care attendance or as a zero-day admission. The choice changes admission counts, average length of stay and costs, so check how yours does it before comparing with anyone else.
Worth knowing

A change in recording can look like a change in care

NHS England has noted that trusts moving same day emergency care out of the admitted patient data and into the Emergency Care Data Set may see their mortality indicator rise, because the indicator is calculated from admitted patient data. Short, low-risk stays leave the denominator while the sicker admissions stay. Nothing about the care has changed. The explainer Coding and your data explains why.

When does better coding change income?

Less often than many people think, and that is not a reason to ignore it. The Payment Systems series explains the payment routes; this is the short version for coding.

Paid per case

This yearYes. Planned care paid for the activity at the HRG’s price, within the commissioner’s agreed plan, and activity best practice prices.

Still matters becauseIt is the most direct link between the notes and the money.

Fixed sums

This yearLittle or none. Most urgent and emergency care, and small commissioners paid a fixed low-volume amount.

Still matters becauseCoded activity shapes future contract values and plans, and the case for more funding.

Every service

This yearNot directly.

Still matters becauseCosts, benchmarks, GIRFT comparisons, mortality indicators and service planning all use the coded record.

Do not confuse these

The aim is accuracy, not income

Coding to raise income is wrong, and coding audits look for it. The aim is a record that describes the patient you treated. When that record improves, income for work paid per case often rises too, because the usual error is under-recording, not over-recording.

Go deeper: which conditions count?

Not every comorbidity moves an episode up a step. The grouper uses its own lists of complications and comorbidities, each with a weight, and some common conditions count for little or nothing in a given group. That is not a reason to leave anything out: the coder codes every condition that affected care, the grouper decides what it is worth, and other uses of the record (mortality indicators, costing, planning) use different lists again.

Two practical consequences. First, you cannot reliably guess which conditions matter for grouping, so do not try: write what affected care. Second, a mortality report’s comorbidity table will not tell you how an episode groups for payment, and the reverse.

Go deeper: long stays and the trim point

Each HRG for admitted care has a trim point: the length of stay beyond which a stay counts as unusually long. For activity paid per case, days beyond it may attract an extra daily payment. Two things follow for clinicians:

  • A long stay with the reasons written down (a complication named, a delayed discharge recorded as such) is explained in the data. A long stay with no reason looks like inefficiency.
  • If the reason is a complication or comorbidity, naming it may also move the episode into a group with a longer expected stay, so it is no longer an outlier at all.

Days waiting for a care home or package of care are worth recording clearly too. They do not change the HRG, but they separate delays outside the hospital from delays in clinical care when the service is reviewed.

Go deeper: best practice prices depend on data too

Some best practice prices pay more, or are only paid, when care meets defined standards. Whether a case qualifies often depends on two records being right: the coded episode, so the case is identified, and data submitted to a national clinical audit, so the standards can be checked. A case missing from either may not be paid at the higher price even when the care met every standard. If your service has a best practice price, ask who checks that both records match, and how often.

Apply it

Follow ten of your patients into their groups

Ask your coding or information team for ten recent episodes of your most common procedure or admission, with the HRG each grouped to and the codes behind it. Find the ones that grouped to the lowest step. Read their notes: was the patient genuinely straightforward, or did they have conditions that affected care but were not written as diagnoses?

See a model answer

In short: a good answer separates patients who really were simple from patients whose notes made them look simple, and names the documentation habit behind the second group.

An invented answer from a general surgeon, for ten emergency cholecystectomies:

  • Six in the lowest step. Four genuinely straightforward. Two had treated conditions not written as diagnoses: new atrial fibrillation (shown on the drug chart as rate control only) and an acute kidney injury (creatinine on the results screen only).
  • Three in the middle step, one in the highest. All with conditions named in the discharge summary.
  • Pattern. Conditions managed by the medical team on consult were treated but never named in the surgical notes the coder used.

Change: a line in the surgical discharge summary for “conditions managed this admission, including by other teams”, and a monthly 20-minute review of the lowest-step cases with the specialty coder.

Illustrative. Patients and 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 notes audit finds that your patients’ COPD and diabetes often needed treatment adjusting but appear only on the drug chart, so the coded record shows simpler patients than you treat. What do you change?
  • A. Coders do not infer diagnoses from prescriptions, and should not.
  • B. Right. A change built into how notes are already written makes the record match the patient, and measuring shows whether it worked.
  • C. Grouping still decides your costs, benchmarks and mortality indicators, whatever the payment.
  • D. Never. Codes must reflect what was documented and true.
2. Your clinic gives joint injections at many follow-up appointments, but they are recorded as follow-up attendances only. Finance says the clinic costs more than its activity seems to justify. What should you check first?
  • A. Premature. The data may be describing a different clinic from the one you run.
  • B. Right. Unrecorded procedures make the clinic look like simple follow-ups. Whether recording them changes income depends on the payment route, but it always makes the activity visible.
  • C. Possibly, for some trusts, but the lasting fix is recording the procedure at the time in the outpatient system.
  • D. Prices are set nationally or agreed in contracts. The first problem is that the activity is not recorded.

Same idea in other services

The worked example uses one service. Here is how the same idea looks elsewhere. Illustrative: check how your own service is funded.

  • Medicine

    Ask how your trust records same day emergency care. Comparing SDEC length of stay or costs with a trust that records it differently compares different things.

  • Therapy

    A clinic seen jointly by a physiotherapist and a consultant is multi-professional. Recorded as single-professional, it groups as simpler work.

  • Nursing

    Nurse-led clinics need their own treatment function code where one exists; recorded under a consultant specialty, the nursing work disappears from the data.

  • Community

    Much community work is not grouped into HRGs, but the same rule holds: activity that is not recorded does not exist for planning or funding.

Back at work: things to try

  1. Ask for ten recent episodes of your commonest procedure with their HRGs, and read the notes of the lowest-step cases.
  2. Check that procedures done in your clinics are recorded as procedures, not just attendances.
  3. Find out which treatment function code each of your clinics is recorded under, including nurse-led and therapy clinics.
For educators Teaching this?
Use it for
Specialty governance or business meetings, especially before a GIRFT visit or a review of income.
Listen for
"Coding is about income, and we are on a fixed payment, so it does not matter." Costs, benchmarks, mortality indicators and future contracts all use the record.
Ask the group
Which of our clinics do procedures that may be recorded as plain attendances?
Time
12 minutes to read; an hour with the coding team for the ten-patient exercise.

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 19 November 2026Last reviewed 19 November 2026Policy and payment rules change: check the linked sources before relying on this page.

Spotted an error, or something missing? Tell me.