TB Country of Birth support tool
This document outlines the UK Health Security Agency's algorithmic transparency record for an internal support tool that uses large language models to disambiguate free-text country of birth data from General Practitioner registrations. The tool assists in processing records for tuberculosis (TB) testing invitations for migrants from high-risk countries by converting non-standard text inputs into standard country lists. It employs a multi-model approach (Llama-3.3 and Stable-Beluga-2) alongside regex checks and mandatory human review for uncertain records to reduce manual processing time.
Summary and content fields are drawn from the document text and are pending editorial review.
Who issued it
Who it governs
Public sector officials, researchers, and citizens interested in algorithmic transparency and the responsible use of AI within UK government health services.
What the document contains
The document covers the technical architecture, operational scope, data handling procedures, risk assessments, and decision-making workflows of an LLM-powered tool used for country of birth disambiguation in public health screening workflows.
The document does not provide binding legal regulations for external entities, nor does it detail commercial deployment models or general-purpose AI governance frameworks beyond this specific public sector use case.
- The UK Health Security Agency uses a large language model support tool to automatically disambiguate free-text country of birth entries during GP registrations for TB screening invitations.
- The tool reduces the need for manual processing of roughly 10,000 unique records per quarter by mapping free-text inputs to standard country lists.
- The system runs two LLMs (Meta Llama-3.3 and Stable-Beluga-2) in parallel with regular expression matching to prioritize conservative outputs and flag uncertainties for human review.
- Human reviewers manually check a random sample of records for accuracy and review any instances where models disagree or output unknown values.
- No personally identifiable information (PII) is processed by the tool, as it operates solely on place-of-birth text strings.
· Tier 1 Information · Tier 2 - Owner and Responsibility · Tier 2 - Description and Rationale · Tier 2 - Decision making Process · Tier 2 - Tool Specification · Tier 2 - Model Specification · Tier 2 - Data Specification · Tier 2 - Risks, Mitigations and Impact Assessments
How it scores
Each score is backed by a quote verified against the document text. Editorial review has not yet confirmed them.
Accountability
4/5Clear responsibility for AI outcomes
1.1 - Organisation or department UK Health Security Agency 1.2 - Team Advanced Analytics 1.3 - Senior responsible owner Deputy Director Advanced Analytics and Chief Economist
Tier 2 - Owner and Responsibility
screening score · 2026-11-26
Fairness
1/5Non-discrimination and equitable treatment
A migrant’s country of birth is one factor in the NHS’s decision, about whether to offer post-entry Latent Tuberculosis (TB) testing.
Tier 2 - Description and Rationale 2.1 - Detailed description
screening score · 2026-11-26
Human Dignity
0/5Respect for the inherent worth of persons
screening score · 2026-11-26
Human Oversight
4/5Humans remain in control of consequential decisions
The record is manually reviewed if: either of the LLMs say the country is unknown, the LLMs propose different countries, or a REGular EXpression (REGEX) match is found from the raw record that differs from the LLM output country.
Tier 2 - Description and Rationale 2.1 - Detailed description
screening score · 2026-11-26
Privacy
4/5Protection of personal data and private life
We do not process any personally identifiable information (PII) using this tool; because we only process a country name, or other geography name - that is not a person’s address - so it is not PII, and is out of the scope of UK GDPR.
Tier 2 - Risks, Mitigations and Impact Assessments 5.1 - Impact assessment
screening score · 2026-11-26
Transparency
4/5Openness about how AI systems work and are used
To support effective data processing, we use large language models as part of a software pipeline to disambiguate countries from these free-text records.
Tier 1 Information 2 - Description
screening score · 2026-11-26
Enforcement
0/5Consequences and compliance mechanisms with real force
screening score · 2026-11-26
Impact Assessment
4/5Required assessment of an AI system's risks/impacts before or during use
We have performed various internal analyses, quantifying the number of records where this tool contributes to their data processing (c.5%). And quantified the potential number of records where the LLM driven tool may vary from a manual process (<0.5%).
Tier 2 - Risks, Mitigations and Impact Assessments 5.1 - Impact assessment
screening score · 2026-11-26