A histopathologist signs out a colorectal resection report on a Tuesday afternoon. On a fixed monthly schedule, the tumour's grade, its margins, its node counts and its pathological stage are meant to reach the national cancer registry for England, where they are linked to the rest of that patient's cancer record. Whether that happens cleanly depends far less on anyone reading the report than on how the laboratory system was set up to send it.
That is the scale question for a Head of Data or a cancer services manager. NHS England's Cancer Registration Statistics, England, 2024, published on 5 November 2026, counts 373,574 new cancer diagnoses in 2024 once basal cell and cutaneous squamous cell skin cancers are set aside, an average of 1,021 a day. Each of those diagnoses can generate one or more pathology reports, and every one of those reports is a candidate input to the Cancer Outcomes and Services Data set, known as COSD.
This guide holds one narrow altitude: how cancer pathology reports reach COSD, which pathology items the data set expects, and where a free-text report still leaves a gap that document extraction could help a person close. It corrects a common assumption: COSD is designed so that MDT coordinators do not have to read pathology reports and re-key them, because the laboratory sends the data directly, and free text is the fallback rather than the plan. It cedes the general argument about why a structured national standard still leaves documents to read to our guide on discharge summary extraction for NHS teams, and the clinical safety case to our DCB0129 and DCB0160 guide. Nothing here is advice on a specific trust's submission.
This guide is shipped by the team behind Dilr Mira, a class of private clinical small language models that turn clinical documents into schema-valid JSON on hardware the customer controls. Or see DATS, the five-stage AI consulting system that decides whether a model belongs in a registry workflow at all.
What is COSD, and what does it ask of a cancer pathology report?
COSD, the Cancer Outcomes and Services Data set, is the national standard for collecting cancer data in the NHS in England, supporting cancer registration and national audit. It asks a cancer pathology report to yield a defined set of pathology data items, such as diagnosis codes, grade, margins, node counts and pathological stage, which the laboratory sends to the National Disease Registration Service as a separate pathology submission from the main data set.
The NHS England COSD page describes the data set as the standard for secondary uses information that supports national cancer registration and associated analysis, and other national cancer audit programmes. It covers every patient diagnosed with or receiving cancer treatment in or funded by the NHS in England, adult and paediatric. Providers of cancer services have been required to make a monthly COSD return on all cancer patients diagnosed from 1 January 2013. That duty sits with the provider of cancer services, not with a software supplier that happens to touch the data.
Registration itself belongs to the National Cancer Registration and Analysis Service, which the NDRS about page names as responsible for cancer registration in England. NDRS links data from every source at patient and tumour level using NHS Number, which is why the identifiers on a pathology submission matter as much as the clinical content.
The current release is COSD v10.0, in effect from 1 April 2024 and carried in the downloads as COSD 10.2.0 alongside the pathology data set at version 5.1.0. Full implementation slipped from 1 July 2024 to 1 September 2024 after a late schema pack fix. For a reader planning anything that touches the data, the practical point is that the pathology items live in their own data set with their own schema, which shapes everything below. Our healthcare industry guide sets this inside the wider NHS data picture.
How does pathology data reach the cancer registry today?
Pathology data reaches the cancer registry directly from the laboratory. The COSD pathology user guide states that, since January 2016, all pathology should be submitted to the National Disease Registration Service as structured XML from the pathology Laboratory Information Management System, once the pathologist has signed off each report, either individually or as a monthly batch. The route is laboratory to registry, not MDT office to registry.
The COSD pathology user guide, core chapter is explicit about who is not expected to do the reading. Its own words: "There is no expectation therefore for providers to double enter these data by non-clinical MDT coordinators trying to read a pathology report and transcribe the relevant information correctly into their local cancer information system." As a result, the guide says, all pathology items were removed from the main COSD data set and can only be reported through the pathology department and the pathology data set.
That design choice had a measurable effect on the people who used to transcribe. The COSD page reports that moving pathology into its own data set in v9 cut the collection burden on MDT coordinators by up to 30%, with a further 15% reduction in v10, an overall reduction of up to 45% in three years. The COSD page attributes that saving to moving the pathology items into their own data set, a change to the data flow, and in our view it is the benchmark any extraction proposal has to beat.
The alignment work sits upstream with the pathologists. Version 10 aligned the pathology items with the Royal College of Pathologists' Core data sets, and the user guide states that the core and site-specific items are a subset of the RCPath cancer datasets, approved as professional standards by the college. Histopathologists already record these items to RCPath standards, so a laboratory system with structured reporting can map its own tables to the COSD export with little extra effort. Our AI operating model work starts from the same principle: fix the flow before adding a model to it.
Which COSD core pathology items does a report have to carry?
A cancer pathology report feeding COSD has to carry the core pathology items that apply to most tumour sites, plus site-specific items for staging. The core set covers report identifiers and dates, the requesting and reporting consultants, specimen nature, SNOMED topography and morphology, the ICD pathological diagnosis, laterality, lesion size, grade, invasion, margins, node counts, TNM edition and categories, neoadjuvant therapy, Ki-67 and mismatch repair markers.
The core table in the user guide lists each item with a number prefixed by a lowercase p, a format and a schema flag of mandatory or required. A short reading of it, grouped by what a reviewer would check:
| Group | Example COSD items | What the report has to show |
|---|---|---|
| Report identity | pCR0780 Investigation Result Date, pCR0950 Service Report Identifier (both mandatory) | When the result was authorised, and a unique report identifier |
| People and places | pCR7130, pCR7140 reporting pathologist registration; pCR0800 reporting organisation | Who reported it, and where |
| Specimen | pCR0970 Specimen Nature, pCR1010 Sample Collection Date, pCR0770 Sample Receipt Date | What was sampled, and when |
| Diagnosis codes | pCR6410 Topography (SNOMED), pCR6420 Morphology (SNOMED), pCR0810 Diagnosis (ICD Pathological) | Site and tumour type in coded form |
| Tumour features | pCR0820 Laterality, pCR0830 Lesion Size, pCR0860 Grade of Differentiation, pCR0870 vascular or lymphatic invasion, pCR1100 perineural invasion | The microscopic description, as discrete values |
| Margins and nodes | pCR0880 Excision Margin, pCR1150 circumferential margin, pCR0890 nodes examined, pCR0900 nodes positive | Completeness of excision and nodal spread |
| Stage | pCR6980 TNM Coding Edition, pCR6820 TNM Version, pCR0910 to pCR0940 T, N, M and stage group | Pathological stage under a named edition |
| Markers | pCR1000 neoadjuvant therapy, pCR7000 and pCR7010 Ki-67, pCR7020 to pCR7050 MLH1, PMS2, MSH2, MSH6 | Treatment context and biomarker results |
Three details matter for anyone planning automation. First, the user guide notes that a patient may have any number of pathology reports, and there may be more than one report per specimen, so the unit of work is the report, not the patient. Second, the guide says diagnosis and grade are recorded on biopsies and may be amended after surgical resection, when pathological staging should also be available, so a later report can supersede an earlier one. Third, the TNM coding edition and version are themselves data items in the core table, and staging systems do change: the RCPath page carries a joint statement recommending a UK implementation date of 1 January 2027 for the FIGO 2026 staging of gestational trophoblastic neoplasia, with earlier diagnoses kept on the previous system for national data. An extraction pipeline that ignores the edition would mix two staging systems in one column.
Where does free-text pathology still leave an extraction gap?
Free-text pathology leaves a gap wherever a laboratory cannot send structured, coded extracts. The COSD pathology user guide says full text reports should then be submitted to carry the data items, and that many relevant items are expected to sit inside the free-text report. Someone, somewhere, then has to turn that text into discrete values before the record is complete, and that reading step is where document extraction could help a person.
The guide's fallback is precise. Full text pathology reports "should be submitted to include these data items if structured coded extracts are not available", and where structured reporting systems are not available, "it is expected that many of the relevant data items will be included in the free text pathology report." The data set even carries a dedicated field for the text, pCR1020 Pathology Report Text, with room for up to 270,000 characters. The guide does not say who converts that text into coded items, and this guide does not assume it.
In practice, the gap shows up in four places a trust or a laboratory network can see for itself:
- Laboratories without synoptic reporting. Where a laboratory system holds narrative reports rather than structured proformas, the coded items are not in a table to map from.
- Legacy and backlog records. The guide notes that some legacy data may not carry all the required mandatory fields, and recommends updating that data or leaving the items out rather than uploading incomplete records.
- Local uses that COSD does not serve. MDT preparation, local audit and research cohorts often need the same items from historic reports, before or outside the registry route.
- Reports from outside the trust. Referral packs and second-opinion reports can arrive as documents rather than as structured messages.
The NDRS page explains why incomplete records are not a harmless shortcut. A treatment record submitted without a date or modality, it says, is of no use as a cancer registration event, yet a registration officer would still have to review each incomplete record, which across thousands of records a year was an unsustainable practice. The same logic applies to pathology. Any extraction step has to produce complete, checked items or none, never a half-filled record that pushes the work onto someone else. The execution office model exists to own that kind of handover between a build and the people who run it.
How big is the cancer registration workload behind COSD?
The cancer registration workload behind COSD is large and still growing. NHS England counts 373,574 new cancer diagnoses in England in 2024, excluding two common skin cancers, and 616,404 cancers when those skin cancers are included. Each diagnosis can generate several pathology reports, and providers submit COSD monthly against fixed deadlines, so the pathology flow is continuous rather than an annual exercise.
The 2024 statistics put the rise at 11,833 more diagnoses than in 2023. NHS England's cancer registration methodology chapter describes the registry collecting information on over 300,000 cases of cancer every year, from sources including histopathology and haematology services, radiotherapy departments, screening services and GPs. Registration counts are a moving snapshot: each annual edition revises earlier years as late records arrive, so the year-on-year difference in one edition will not match totals quoted from an older one.
The data set itself changes too. The COSD page records that v10.0 added 64 data items, 42 of them pathology specific, and deleted 104, of which 28 were pathology specific, after a nine-month consultation with 50 groups and over 120 subject matter experts.
The people side is under strain. In the RCPath Workforce Census 2025 spotlight, published on 23 June 2025, 78% of pathologists responding across all specialties said current staffing levels are not adequate to keep services stable and meet growing demand, and 47% of pathologists are aged 50 and over. Those figures cover the whole pathology workforce, not histopathology alone, but they explain why nobody should design a COSD workflow that adds reading or re-keying to a consultant's day. Our approach to placing AI starts from that constraint.
The clock is fixed. For diagnoses in September 2026, the COSD schedule sets the MDT and pathology submission deadline at 4 November 2026, with the PAS feed due on 18 November 2026. For November 2026 diagnoses, the MDT and pathology deadline is 7 January 2027. During the v10 transition, the COSD page warned that a trust not uploading v10 files by the November upload would become non-compliant, so version changes carry a deadline of their own.
What can Mira-Q2 do with a pathology report today?
Mira-Q2, the current release of Dilr Mira, can read the text of an English clinical document on hardware the customer controls and return ten required JSON fields, and it can label the document as a pathology report. Its ten fields do not include grade, margins, node counts or TNM stage, so it does not produce COSD pathology items today. Every output is a draft for a person to review, never a clinical or registration decision.
The live Dilr Mira models page lists the ten fields: document type, patient age and sex, encounter, vitals, labs, medications, diagnoses, procedures, allergies and an extraction notes field. Pathology report is one of the seven document type values Mira-Q2 assigns, alongside lab report, medication list, discharge summary, intake form, progress note and other. DILR has published no evaluation of Mira-Q2 on cancer pathology reports or on COSD items, so any claim about its accuracy on this task would be invented.
What the model card does publish is the general evaluation: 782 documents across four test sets, 100% JSON validity on 200 held-out documents, 85.8% on 282 real physician documents across 39 specialties, and zero identifier leaks across all 782. The patient field returns age and sex only, never a name or NHS Number. That matters here, because COSD links on NHS Number, so the identifiers a submission needs would have to come from the laboratory system, not from the model. Our walk-through of the 782-document evaluation explains what those figures do and do not show.
On schema, Mira-Q2 was trained on 2,000 schema variants, so it follows a schema passed in its prompt, and the model card says a new schema needs no code changes. A COSD-shaped schema with TNM categories, margin codes and node counts would still be a private deployment step to build and test on real reports, not a tested capability. Pointing Mira at any schema without setup is a Mira-3 aim, and Mira-3 is in development. The deeper argument about prompting a schema versus fine-tuning for it belongs to our response schema guide.
Four practical limits close the picture. Mira-Q2 reads English only, and it was trained on synthetic data, which the models page names as its main weakness on real documents. Licensing has two parts: the 120 MB adapter is published under Apache-2.0, while the Qwen2.5-3B-Instruct base model is under the Qwen Research License for non-commercial use, so a commercial deployment needs a separate licence conversation. DILR publishes no CPU benchmarks for Mira-Q2. The full product view is in what Dilr Mira is.
How should a trust scope a pathology extraction pilot against COSD?
A trust should scope a pathology extraction pilot against COSD by starting from the laboratory, not the model. First confirm which reports already leave the laboratory system as structured extracts, because those need no extraction. Then measure the free-text remainder by tumour site, choose a short list of COSD items that a person checks today, and test any model on real reports with every drafted item reviewed before submission.
The steps below are our view of a sensible sequence, not an NHS England requirement. They follow the data flow the user guide describes and keep the reviewer in charge of every value.
- Map the laboratory route. Ask the laboratory system supplier which tumour sites produce structured RCPath proformas and which produce narrative text. The RCPath datasets page publishes COSD mapping documents for breast proformas dated January 2026, which shows how directly a structured proforma can map.
- Size the remainder. Count free-text reports by tumour site and by item. If the remainder is small, fixing the proforma is usually cheaper than any model.
- Pick items a person can verify against the text. Lesion size, node counts and margin statements are visible in the report; a TNM stage group depends on an edition and on rules, so it needs a pathologist's confirmation.
- Keep identifiers out of the model. Take report identifiers, NHS Number and dates from the laboratory system, and let the model draft only clinical content.
- Measure on your own reports. A published score on other document types says little about colorectal or breast reports in your own house style.
Health data is special category data under UK GDPR, so the trust's lawful basis and conditions, set out in the ICO guidance on special category data, and its clinical safety process apply whatever the architecture. Running a model on the trust's own hardware keeps documents inside existing controls; it does not remove those duties. Our operating model service sets out who owns each of those decisions.
What is the best way to get cancer pathology data into COSD in 2026?
The best way to get cancer pathology data into COSD in 2026 is structured synoptic reporting in the laboratory system, mapped to the RCPath core data sets and sent as structured XML. That route needs no document reading at all. Extraction models, Dilr Mira included, earn a place only for the free-text remainder, for legacy records and for local audit, always with a person confirming each item.
Our view, judged on three criteria, completeness of COSD items, edition-correct staging and reviewer effort, is that structured reporting comes first wherever a laboratory can adopt it, because it is the route the user guide is built around and it needs no reading step. For the free-text remainder, the choice is between services and models. AWS describes Amazon Comprehend Medical as linking extracted health information to ontologies such as ICD-10-CM, RxNorm and SNOMED CT, and Microsoft documents entity linking in Azure Text Analytics for health. A trust already committed to one of those platforms, with the governance agreed, may find one quicker to trial than a private model, and that is a scenario where a competitor wins. John Snow Labs is another established clinical NLP vendor that teams compare in this space. A private model such as Mira-Q2 fits a team that wants documents never to leave its own hardware and is prepared to build and test a COSD schema itself.
None of these options removes the pathologist or the registry team from the loop. Our comparisons of Mira with John Snow Labs (the on-premise comparison) and with Google's Healthcare Natural Language API (the migration guide) set out the trade-offs in more depth, and the clinical document extraction guide covers the wider model landscape.
The same diagnostic logic underpins our AI execution office, which builds a workflow like this with a trust's team and hands it over with the checks written down.
Frequently asked questions
Can an extraction model submit COSD pathology data to NDRS on its own?
No. An extraction model such as Mira-Q2 drafts values from report text for a person to check; it does not submit anything to the National Disease Registration Service. COSD submissions are the provider's responsibility and flow from the laboratory system through agreed submission methods. Any drafted item should be reviewed against the signed report, with identifiers taken from the laboratory system, before it enters a submission or a local record.
The user guide adds that regional Data Liaison Managers can support trusts with testing new reporting, especially when a new system or an upgrade is rolled out. A new extraction step is exactly that kind of change. If you are weighing where a model belongs, talk to us before you build.
Does Mira-Q2 output TNM staging or SNOMED codes for a pathology report?
Mira-Q2 does not output TNM staging, and DILR does not publish SNOMED CT coding as a Mira-Q2 capability. Its ten fixed fields include diagnoses and procedures as lists, but no topography, morphology, grade, margin or stage fields. A COSD-shaped output would need a custom schema built and tested on real reports, with a pathologist confirming staging under the correct TNM edition.
Diagnosis lists in Mira-Q2's training data drew on 71,000 real ICD-10 codes, according to the models page, which is not the same as assigning a validated ICD pathological diagnosis code. The coding question is covered in our guide to clinical coding versus document extraction. For the wider picture of how DILR works with regulated teams, see our approach, our AI solutions overview, more industry guides and about DILR.AI.
Want to see this on your own reports? Read about Dilr Mira, book an AI placement diagnostic, see our DATS methodology, or read the clinical document extraction guide before you scope a pilot.
Fix the pathology flow before you add a model.
30-min scoping call · No deck · Confidential. We will tell you whether a private extraction model fits your free-text remainder, and where structured reporting will do the job better.
Written by the Dilr.ai engineering team, practitioners who ship enterprise AI in production. Follow us on LinkedIn for shipping notes, or subscribe via the RSS feed.