One record, many uses
The coded record of a stay is used far beyond payment. Most of these uses compare your service with others, so an incomplete record does more than lose income: it makes your patients look different from how they were.
Mortality indicators
Expected deaths are worked out from each patient’s coded diagnosis and conditions.
Costs and benchmarks
Patient-level costs and national comparisons are grouped by HRG and specialty.
GIRFT and Model Health
Length of stay, outcomes and productivity, compared like for like using codes.
Commissioning and planning
Case mix and demand for services, from frailty to cancer.
Clinical audit and research
Finding the right patients, and describing them accurately.
Payment
For work paid per case, the price follows the group.
How SHMI reads the record
The Summary Hospital-level Mortality Indicator (SHMI) compares the number of patients who died, in hospital or within 30 days of discharge, with the number expected to die given their characteristics. Each stay is placed in one of about 140 diagnosis groups. The expected risk of death then depends on the patient’s age, sex, how they were admitted, when, and their recorded long-term conditions, summarised as a comorbidity score (the Charlson index).
Two rules, in use since May 2024, decide which parts of a long stay’s record count:
- The diagnosis group comes from the first episode whose main diagnosis is not a symptom or sign. If every episode records only a symptom, the first episode is used.
- The comorbidity score is worked out from the other conditions coded in that same episode, and no other.
Which episode counts?
The invented patient from explainer 1, admitted as an emergency and seen by three teams.
- Episode 1: acute medicineBreathlessnessOther conditions coded: noneA symptom, so SHMI looks at the next episode.
- Episode 2: respiratoryPneumoniaOther conditions coded: none recordedThe first diagnosis that is not a symptom. Used for the diagnosis group and the comorbidity score.
- Episode 3: older peoplePneumoniaOther conditions coded: COPD, heart failure, diabetes, dementiaNot used. These conditions do not count towards her expected risk.
Her expected risk of death is calculated as if she had no long-term conditions, because none were coded in the episode SHMI uses.
Illustrative patient and episodes, made up for teaching. Your trust’s rules and numbers will differ.
The fix is not complicated. Every team’s notes, from the first, should name the patient’s significant long-term conditions as well as the problem they are treating. The coder can only code each episode from its own documentation.
The other indicator: HSMR
Many trusts also watch the Hospital Standardised Mortality Ratio (HSMR), bought from commercial suppliers. It comes in two versions. Dr Foster replaced its original model with HSMR+ from late 2024. CHKS still calculates HSMR using the original method, alongside its own measure, RAMI. Like SHMI, both compare observed with expected deaths using the coded record. But they are built differently, so they can disagree. The Care Quality Commission monitors SHMI; trusts use HSMR alongside it, and it is worth knowing which version your trust buys.
SHMI and HSMR side by side
The same deaths, counted and adjusted in different ways.
Who produces it
SHMINHS England, as official statistics, published monthly.
HSMRCommercial suppliers, for trusts that subscribe: Dr Foster (HSMR+) and CHKS (original method).
Which deaths count
SHMIIn hospital or within 30 days of discharge.
HSMRIn hospital only, counted across a whole continuous stay, including transfers between hospitals.
Which stays count
SHMIMost admissions, in about 140 diagnosis groups. Day cases excluded.
HSMROnly the diagnosis groups that account for about 80% of deaths in hospital: 56 in the original, 41 in HSMR+. Day cases excluded.
Long-term conditions
SHMICharlson index, from the episode used.
HSMRCharlson index in the original. HSMR+ uses a longer list (the Elixhauser-Bottle index) plus a frailty score built from coded conditions.
Other adjustments
SHMIAge, sex, admission method, month of admission.
HSMRAlso deprivation, source of admission and the number of previous admissions.
Palliative care
SHMINot adjusted; the share of stays with palliative care coding is published alongside.
HSMRThe original adjusts: a stay counts as palliative if Z51.5 is coded in any diagnosis field or it is under the palliative medicine treatment function. HSMR+ does not adjust.
Sources: NHS England SHMI methodology; CHKS, Understanding your hospital performance metrics, July 2024; Dr Foster (then Telstra Health UK) descriptions of HSMR+, 2024.
For coding, the same points apply as for SHMI, with three additions:
- Palliative care coding moves the original HSMR. Where palliative care is not recorded consistently, the trust’s expected deaths are lower than its peers’. Agree with your palliative care team and coders how specialist palliative input is documented and coded.
- HSMR+ draws on more of the coded record, including conditions linked to frailty, so depth of coding matters even more.
- HSMR counts only deaths in hospital. Where patients die, in hospital, at home or in a hospice, affects HSMR but not SHMI. When the two indicators move apart, that difference is often the place to start.
Four things that move a mortality indicator without any change in care
In the recordLong-term conditions written only in a later episode, or not at all
Shows up asExpected deaths too low, so each death counts for more against the trust.
In the recordSymptoms as the main diagnosis throughout a stay
Shows up asStays grouped by symptom, often with a lower expected risk than the condition really treated.
In the recordEpisodes not coded by the deadline (an invalid main diagnosis)
Shows up asSince May 2024 these sit in their own group, with no comorbidity adjustment. NHS England found this ranged from none to almost a quarter of stays between trusts.
In the recordPalliative care not recorded, or recorded inconsistently
Shows up asSHMI does not adjust for palliative care, because trusts record it so differently. It publishes the share of stays and deaths with palliative care coding alongside, to help read the result.
A signal, not a verdict
A SHMI “higher than expected” means more patients died than the model expected. It does not say why. The first questions are about the record: depth of coding, symptom codes, uncoded episodes, palliative care recording and how same day emergency care is counted. Then case-note review. A good record means that when the indicator does flag something, it is worth acting on.
Benchmarks, costs and plans
The same record feeds every comparison of your service with others. The common problems are few, and most start in the notes or in the patient administration system.
In the recordEpisodes under the wrong consultant or specialty, often after a transfer that was never entered
Shows up asOne consultant’s outcomes, lengths of stay and costs include another team’s patients.
In the recordLow depth of coding: few diagnoses recorded for each episode
Shows up asPatients look simpler than peers’, so their stays and costs look high for their group in GIRFT packs, Model Health and patient-level costing.
In the recordFrailty, dementia or social circumstances not recorded
Shows up asCase mix adjustment misses them, and plans for older people’s services underestimate the need.
In the recordProcedures in clinic not recorded
Shows up asThe work looks like simple attendances, and demand for procedures is invisible to planners.
Go deeper: what the Charlson index counts
The Charlson index scores long-term conditions known to affect the risk of dying, such as heart failure, chronic lung disease, diabetes with complications, dementia, kidney and liver disease, and cancer, each with a weight. It is a different list from the one the HRG grouper uses for complexity. A condition can count for one and not the other, which is another reason to record every condition that affected care rather than guess which ones matter.
Two consequences of the May 2024 rules are worth repeating to colleagues. The score uses only the episode that gives the diagnosis group. And stays with an invalid main diagnosis get no comorbidity adjustment at all.
Go deeper: reading your trust’s mortality data
Most trusts have a mortality or information lead who can show SHMI by diagnosis group. Useful questions:
- Which diagnosis groups contribute most of the gap between observed and expected deaths?
- For those groups, what share of stays have a symptom as the main diagnosis, and what is our depth of coding against peers?
- What share of stays are uncoded at the deadline, and in which specialties?
- How does our palliative care coding compare with similar trusts?
- Have we changed how same day emergency care is recorded?
Ask the same questions of HSMR if your trust subscribes to it, and find out which version it is, and ask whether the two indicators tell the same story. When they disagree, it is often a clue to a data question rather than a contradiction.
Go deeper: several short episodes at the start of a stay
NHS England changed the rule in 2024 because more trusts now have models of care with several short episodes early in a stay: an emergency department decision unit, an acute medical unit, a short-stay ward, then the specialty. The diagnosis may not be known until the third episode or later. The new rule finds it wherever it first appears, but the comorbidity score still comes only from that episode. In practice, the team that first records a diagnosis should also record the patient’s long-term conditions, even if they look after the patient for a few hours.
Look at five deaths’ coded records
With your mortality or coding lead, take five recent deaths in your specialty. For each, find which episode SHMI used, its main diagnosis and the other conditions coded in that episode. Compare that with what you know about the patient. Note anything missing, anything in the wrong episode, and whether palliative care was recorded where it applied.
See a model answer
In short: a good answer finds where the record and the patient differ, and which team’s documentation could have closed the gap.
An invented answer from an acute physician:
- Three of five used an acute medical unit episode with a confirmed diagnosis but no long-term conditions coded. The conditions appeared in the specialty episode or nowhere.
- One used a symptom (falls) for the whole stay: the cause, a urinary infection with delirium, was in the notes as “?UTI” and “confused”.
- One was coded well, including palliative care.
Change: a mandatory “active long-term conditions” line in the acute medical unit post-take note, and a monthly ten-minute review of uncoded or symptom-coded deaths with the coding team.
Illustrative. Patients and findings are invented.