CheckTick provides ready-to-use clinical dropdown lists drawn from authoritative NHS sources. This page covers the two main categories: NHS Data Dictionary standard code lists and SNOMED CT refsets.

For a full overview of all dataset types (including RCPCH organisational data and community-published lists), see the Datasets Overview.


NHS Data Dictionary Datasets

The NHS Data Dictionary provides standardised definitions, codes, and value sets used across the NHS. CheckTick imports selected datasets and keeps them up-to-date through automated synchronisation.

About NHS DD Datasets

  • Automated updates: Datasets are automatically scraped and synchronised on a regular schedule
  • Source verification: Each dataset includes a direct link to its NHS DD source page
  • Version tracking: Last updated dates are tracked for transparency
  • Manual review: New datasets are reviewed by maintainers before addition

How to Request a New NHS DD Dataset

If you need an NHS DD list that isn't currently available:

  1. Click the "Request NHS DD List" button on the Datasets page
  2. Fill out the GitHub issue template with:
  3. Dataset name and NHS DD URL
  4. Your use case and expected frequency of use
  5. Suggested tags for categorisation
  6. Maintainers will review and add it if it's scrapable and beneficial to the community

Available NHS DD Datasets

Dataset Name NHS DD URL Categories Date Added Last Scraped NHS DD Published
Ethnic Category Link demographics 2024-11-15 2024-11-15 -
Main Specialty Code Link medical, specialty 2024-11-15 2024-11-15 -
Treatment Function Code Link medical, treatment 2024-11-15 2024-11-15 -
Accommodation Status Link administrative, demographic 2025-11-16 Pending -
Accommodation Type Link administrative, demographic 2025-11-16 Pending -
Admission Source (Hospital Provider) Link administrative, clinic 2025-11-16 Pending -
Admission Source (Mental Health Provider) Link administrative, clinic, mental health 2025-11-16 Pending -
Alcohol Use Indicator Link clinic, medical 2025-11-16 Pending -
ASA Physical Status Classification Link surgical, medical, procedural 2025-11-16 Pending -
Blood Group (Baby) Link neonatal, paediatric, medical 2025-11-16 Pending -
Blood Transfusion Product Type Link medical, procedural 2025-11-16 Pending -
Care Professional Job Role Code Link administrative, clinic 2025-11-16 Pending -
Care Professional Main Specialty Code Link administrative, clinic, medical 2025-11-16 Pending -
Childhood Immunisation Type (Cover) Link paediatric, medical, clinic 2025-11-16 Pending -
Clinical Frailty Scale Point Link clinic, medical 2025-11-16 Pending -
Consultation Type Link administrative, clinic 2025-11-16 Pending -
Consultation Medium Used Link administrative, clinic 2025-11-16 Pending -
Contraception Other Method Link clinic, medical 2025-11-16 Pending -
Death Location Type Code Link administrative 2025-11-16 Pending -
Delivery Method Code Link medical, procedural, maternity 2025-11-16 Pending -
Emergency Care Attendance Category Link administrative, clinic 2025-11-16 Pending -
Employee Absence Category Link administrative 2025-11-16 Pending -
Enteral Feeding Method Link medical, neonatal, paediatric 2025-11-16 Pending -
Gender Identity Code Link demographic 2025-11-16 Pending -
Mental Health Absence Without Leave End Reason Link administrative, mental health 2025-11-16 Pending -
Mental Health Act Legal Status Code Link administrative, mental health 2025-11-16 Pending -
Mental Health Admitted Patient Classification Link administrative, mental health 2025-11-16 Pending -
Mode of Delivery Link medical, procedural, maternity 2025-11-16 Pending -
Neonatal Consciousness Status Link neonatal, paediatric, medical 2025-11-16 Pending -
Newborn Blood Spot Test Outcome Status Code Link neonatal, paediatric, medical 2025-11-16 Pending -
Newborn Hearing Screening Outcome Link neonatal, paediatric, medical 2025-11-16 Pending -
Out-Patient Attendance Outcome Link administrative, clinic 2025-11-16 Pending -
Patient Classification Code Link administrative, clinic 2025-11-16 Pending -
Person Stated Gender Code Link demographic 2025-11-16 Pending -
Person Stated Sexual Orientation Link demographic 2025-11-16 Pending -
Pregnancy Outcome Link medical, maternity 2025-11-16 Pending -
Presentation of Fetus at Delivery Link medical, maternity 2025-11-16 Pending -
Primitive Reflexes Status Link neonatal, paediatric, medical 2025-11-16 Pending -
Qualification Type Link administrative 2025-11-16 Pending -
Restrictive Intervention Type Link mental health, clinic 2025-11-16 Pending -
Retinopathy of Prematurity (Left Eye) Link neonatal, paediatric, medical 2025-11-16 Pending -
Retinopathy of Prematurity (Right Eye) Link neonatal, paediatric, medical 2025-11-16 Pending -
Smoking Status Code Link clinic, medical 2025-11-16 Pending -
Special Educational Need Type Link paediatric, administrative 2025-11-16 Pending -
Specialist Radiotherapy Treatment Type Link medical, procedural 2025-11-16 Pending -
Surgical Access Type Link surgical, procedural 2025-11-16 Pending -
Ward Security Level Link administrative, mental health 2025-11-16 Pending -
Zygosity Status Link neonatal, paediatric, medical 2025-11-16 Pending -

Dataset Categories

Datasets are tagged with one or more categories to aid discovery:

  • administrative: Administrative and operational data
  • clinic: Clinical consultation and care delivery
  • demographic: Patient demographic information
  • procedural: Procedures and interventions
  • surgical: Surgical procedures
  • medical: Medical treatments and conditions
  • neonatal: Neonatal care
  • paediatric: Paediatric care
  • mental health: Mental health services
  • maternity: Maternity and obstetric care

Technical Details

Sync Process

The NHS DD sync command (sync_nhs_dd_datasets):

  1. Reads dataset definitions from docs/nhs-data-dictionary-datasets.md
  2. Creates or updates dataset records in the database
  3. For each dataset:
  4. Fetches the HTML from the NHS DD URL
  5. Parses tables containing codes and descriptions
  6. Extracts key-value pairs
  7. Updates the dataset options in the database
  8. Records the last scraped timestamp
  9. Logs any errors or changes

Scheduling

The sync runs on a scheduled basis (configured in the deployment) to keep datasets up-to-date with NHS DD changes.

Manual Sync

Administrators can manually trigger a sync:

python manage.py sync_nhs_dd_datasets
python manage.py sync_nhs_dd_datasets --dataset accommodation_status_code  # Single dataset
python manage.py sync_nhs_dd_datasets --force  # Force re-sync all

Data Governance

Source Attribution

All NHS DD datasets clearly attribute their source with:

  • Link to official NHS DD page
  • "NHS DD" badge in the dataset detail view
  • Description noting "NHS Data Dictionary" origin

Data Accuracy

While we strive for accuracy:

  • Primary Source: Always refer to the official NHS DD website for authoritative data
  • Automated Sync: Regular updates minimize drift from source
  • User Verification: Users can click through to source URLs to verify data
  • Issue Reporting: Report discrepancies via GitHub issues

Usage in Surveys

NHS DD datasets can be used like any other dataset in CheckTick:

  • Select in question configuration
  • Clone to create custom variants
  • Reference in survey logic

Support

For questions or issues with NHS DD datasets:

  1. Check the official NHS DD website
  2. Search existing GitHub issues
  3. Create a new issue using the appropriate template
  4. Contact the development team

SNOMED CT Refsets

SNOMED CT (Systematised Nomenclature of Medicine โ€” Clinical Terms) is the NHS standard clinical terminology. CheckTick integrates a curated subset of SNOMED CT refsets โ€” expert-validated lists assembled for a specific clinical purpose โ€” to power dropdown questions in surveys.

What Is a Refset?

A refset is a curated subset of SNOMED CT concepts, assembled and maintained by clinical experts for a defined purpose. Examples include the QOF antiepileptic drug list (all antiepileptic medicines used in UK primary care for QOF purposes), or the UK Allergy Substances refset. These are fundamentally different from the raw SNOMED hierarchy (all 831k concepts, or all body structures): they are constrained, clinically meaningful lists that make sense as survey dropdown options.

CheckTick does not expose raw SNOMED hierarchies as survey dropdowns. Only validated refsets are surfaced.

How It Works

SNOMED CT terminology is served live from a local SQLite database (snomed.db) generated from the NHS TRUD UK Monolith Edition. The actual terms are never copied into the CheckTick database โ€” they are queried directly from snomed.db at render time. This means:

  • Terms are always current with the installed SNOMED release
  • Updating to a new SNOMED release updates every dropdown immediately
  • Survey responses store the stable SCTID (concept identifier), not the display term โ€” so responses remain valid across terminology updates

If snomed.db is not present (for example on a self-hosted instance that has not completed SNOMED setup), SNOMED datasets show as unavailable and surveys degrade gracefully โ€” no errors, just an informative message.

Available SNOMED Refsets

CheckTick ships the following featured refsets out of the box:

QOF drug lists (NHS England) - Antiepileptic drug list - Diabetes drug list - Atrial fibrillation drug list - COPD/Asthma drug list

NHS clinical - UK Ethnic Categories - UK Allergy Substances

Paediatric specialty condition sets - Epilepsy syndromes, endocrine disorders, cardiac conditions, respiratory conditions, neuromuscular disorders, epilepsy genes, renal conditions, GI conditions, rare chromosomal conditions

Requesting a New SNOMED Refset

Click the "Request SNOMED Refset" button on the Datasets page and fill in the GitHub issue template. The maintainer will review against the available refsets in the UK Monolith and add the descriptor if appropriate. Adding a new refset requires no data migration โ€” only a single descriptor row and a re-seed.

Self-Hosting SNOMED

SNOMED CT requires a one-time setup to download and build snomed.db from NHS TRUD. A TRUD account with a subscription to the UK Monolith Edition (item 1799) is required. See the SNOMED CT Integration guide for full setup instructions, environment variables, and scheduled update configuration.


See Also