Start here
If clinical coding is new to you, watch One NHS Finance’s six-minute animation first. It explains what coders do, spells and consultant episodes, the two classifications used for diagnoses and procedures, and four habits that make notes codable. This series picks up where it ends, with worked cases of what coding changes.
What a coder does with your notes
Every admission and day case in England is turned into a set of standard codes after the patient goes home: ICD-10 codes for diagnoses and OPCS-4 codes for procedures. Trained clinical coders do this, working from what the clinical team wrote. They are skilled and they follow detailed national standards, but they are not clinicians, and the standards stop them filling gaps with clinical judgement.
- The patient is dischargedThe record is complete: notes, operation notes, results, letters and the discharge summary.
- A coder reads the recordOften under time pressure, and often starting with the discharge summary.
- Codes are assignedThe main condition treated comes first, then other conditions that affected care, then procedures.
- The record is submitted nationallyUsually within weeks of discharge, to monthly deadlines.
- The codes are used for yearsFor payment, costing, mortality indicators, national benchmarks, planning and research.
One stay, several episodes
A hospital stay is a spell. Each period under one consultant within it is a finished consultant episode, and each episode is coded separately, from its own documentation. A patient who moves between three teams has three coded episodes.
One stay, three coded episodes
An invented patient, aged 84, admitted as an emergency. Each block is one consultant episode.
- Episode 1: Acute medicine. Admitted with breathlessness and confusion. Diagnosis not yet clear.
- Episode 2: Respiratory. Pneumonia confirmed and treated. Acute kidney injury treated with fluids.
- Episode 3: Older people. Rehabilitation and discharge planning. Delirium resolving.
Two things follow. First, what is written in the early episodes matters a great deal. The national mortality indicator takes the diagnosis from the first episode whose main diagnosis is not a symptom, and counts only the long-term conditions coded in that same episode: explainer 3, Coding and your data, shows what that does to a real stay. Second, every team’s notes need to carry the diagnoses and conditions that affected their care. A diagnosis made on day six does not travel back to the first episode by itself.
Five rules that decide what gets coded
These come from the national coding standards. Each card shows what was written, what a coder can code from it, and why.
Written“Na 118. IV fluids, diuretic stopped. Recheck in the morning.”
CodedNothing for the sodium
Coders do not interpret results. A number is not a diagnosis until someone writes the diagnosis.
Written“Hyponatraemia (Na 118) due to diuretic. Fluids, diuretic stopped.”
CodedHyponatraemia, and the drug that caused it
Named, linked to a cause and treated. That is codable.
Written“Probable myocardial infarction.”
CodedMyocardial infarction
“Probable” counts. “Probable”, “presumed”, “working diagnosis” and “treat as” are coded as the condition being treated.
Written“Abdominal pain: likely appendicitis.”
CodedAbdominal pain
“Likely” does not. The national standard treats “likely” as a differential, so the symptom is coded. “?”, “query” and “impression” do not count either: the coder codes the symptom or sends a query. If you have reached a diagnosis, write it.
Written“PMH: as per previous admission.”
CodedNothing
This stay only. Coders are told not to look through previous admissions for conditions. List what matters in this stay’s notes.
Written“AF: apixaban held for surgery, restarted day 2.”
CodedAtrial fibrillation
Only conditions that affect care. Inactive history and background are not coded. Say how a condition changed what you did.
The fifth rule is the simplest: when the record is unclear, the coder should ask the responsible consultant. Answering coding queries promptly is part of getting the record right, not an administrative extra.
Your trust may have local rules
Trusts can agree local coding policies on how particular terms or recurring documentation are treated, provided they do not contravene the national standard, and must record them in a local policy manual. Some have agreed how a term their clinicians commonly use should be read, and in some trusts what counts can differ between the electronic patient record and handwritten notes, for example where an EPR field or drop-down is accepted as a confirmed diagnosis. Ask your coding manager what your trust’s local policy says, for both, before assuming a word will or will not be coded.
A true record, never an inflated one
The aim is a record that describes the patient accurately: every condition that affected care, and nothing that did not. Writing conditions to raise income, or recording diagnoses that were not made, is wrong and is checked for. The usual problem is the reverse: sick patients recorded as if they were well, because the notes did not say what the team knew.
Right codes can still tell the wrong story
National standards describe three ways a coded record must be right. Coding audits look at all three, and so should you when you check your own service.
Each code
Every diagnosis and procedure has the correct code.
All the codes
Every condition that affected care is there. A list of individually correct codes can still describe the stay wrongly if a major condition is missing.
The order
The main condition treated comes first, because the first code drives how the stay is grouped and compared.
Go deeper: one stay, coded two ways
The patient from the episode diagram, coded from two versions of the same notes. Nothing about her care differs; only what was written down.
- Main condition: breathlessness (a symptom)
- Other conditions: hypertension
- Not coded: pneumonia written only as “?chest”; kidney injury shown only in results; delirium recorded as “confused”
Looks like a fitter patient with a vague problem
- Main condition: pneumonia
- Other conditions: acute kidney injury, delirium, chronic obstructive pulmonary disease, type 2 diabetes, hypertension
Describes the patient the team actually treated
The first record makes her look less unwell than she was. Her twelve-day stay will look long for her group, her cost high for her group, and her risk of dying low. The next two explainers follow that record into the price the trust is paid, its costs, and its mortality indicators.
Illustrative patient and records, made up for teaching. Your trust’s rules and numbers will differ.
Go deeper: what the coder actually sees
Coders work from the record available to them, which varies by trust: an electronic record, scanned notes, or both. In many trusts the discharge summary is the first and sometimes main source, because it is the one document meant to summarise the stay. Things that commonly go uncoded:
- Diagnoses that exist only in results, observation charts or prescriptions.
- Comorbidities in a clerking proforma that nobody carries into the summary.
- Conditions written as abbreviations or question marks that the coder cannot safely interpret.
- Diagnoses written on a different team’s documentation that the coder never reaches.
Reports are different: when a consultant, or a designated colleague such as a radiologist or microbiologist, writes a definitive diagnosis on a report, that diagnosis can be coded. A report that only describes findings cannot.
Go deeper: answering a coding query
When the record is unclear, the coder sends a query to the responsible consultant: is this pneumonia or a chest infection, was this anaemia treated, which side was operated on? Queries work best when they are answered quickly, in writing, with the diagnosis stated plainly. A query that sits unanswered may mean the episode is coded with what the coder can see, or misses the monthly deadline. Some trusts let coders query the team directly through the electronic record; others route queries through a coding manager. Find out which yours does, and who covers when you are away.
Read your notes as a coder would
A coder cannot ask “what did they mean?” at every line. Before you sign a discharge summary, read it as someone who was not there: is the main condition named, are the conditions that changed your care listed, and is anything left as a question mark that you have since answered?
Read three of your discharge summaries as a coder
Pick three recent discharge summaries you wrote or signed. For each, list what a coder could code using the five rules: the main condition, other conditions that affected care, and procedures. Then list what you know happened that a coder could not code. Look for patterns: results without diagnoses, “likely” and question marks, history by reference.
See a model answer
In short: most clinicians find the same two or three gaps in every summary. Those gaps are your template change.
An invented answer from a respiratory registrar:
- Summary 1, pneumonia. Codable: pneumonia, COPD. Missed: acute kidney injury (creatinine shown, never named) and type 2 diabetes (on the drug list only).
- Summary 2, COPD exacerbation. Codable: COPD exacerbation. Missed: “?pneumonia” never resolved in writing; frailty described as “lives alone, uses frame” with no score or diagnosis.
- Summary 3, pleural effusion. Codable: pleural effusion, the drain. Missed: the cause (“likely malignant, awaiting cytology”), heart failure “as per previous letters”.
Patterns: results without diagnoses; question marks left open; history by reference. Changes: a “conditions treated this stay” line in the summary template, and an agreement with the specialty coder to query open question marks.
Illustrative. Patients and summaries are invented.