Related Experiment Video
Updated: Feb 28, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Exploring the coding of migration status in English primary care from 2011 to 2025 using OpenCodeCounts
Yamina Boukari1, Lucinda Hiam2, James Scuffell3
1Bennett Institute of Applied Data Science, Nuffield Department of Primary Care Health Sciences, University of Oxford, Oxford, UK yamina.boukari@jesus.ox.ac.uk.
Background:
The migration status of the 9.8 million migrants living in England is not consistently recorded in primary care electronic health records (EHRs). Codelist approaches enable creation of cohorts of individuals who have had a predefined, optional migration-related code (e.g. "refugee") added to their EHR.
Aims:
We aimed to explore the use of migration-related SNOMED CT codes to inform future research using primary care data.
Design & Setting:
We used our OpenCodeCounts tool to explore data published by NHS England on SNOMED CT code usage in English primary care.
Method:
We created migration-related codelists and described their use from 1st August 2011 to 31st July 2025. To understand code usage in the context of known information on migrants in England, we compared code usage to trends in migration-related statistics from the Home Office and the 2021 Census.
Results:
There were 34.2 million uses of 1119 migration-related codes from 2011 to 2025. Migration-related coding increased over time, generally exceeding the increase observed for coding overall, with a sharp increase from 2020, particularly for country-of-birth and language. Language-related coding represented 65% of code usage and where country of birth was recorded, there was mixed agreement with the Census. Coding of immigration legal statuses was low and overwhelmingly about asylum/refugee status.
Conclusion:
Utilising OpenCodeCounts, we demonstrate the feasibility of using migration-related SNOMED CT codelists within primary care EHRs and highlight some of the potential biases that cohorts created based on these codelists may have to inform future research.
More Related Videos
06:55Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
09:34Targeted Next-generation Sequencing and Bioinformatics Pipeline to Evaluate Genetic Determinants of Constitutional Disease
Published on: April 4, 2018
Related Concept Videos
Prevalence and Incidence
Prevalence indicates the proportion of individuals in a population who have a specific disease or health...
Migration
Statistical Methods for Analyzing Epidemiological Data
Improving Translational Accuracy
Improving Translational Accuracy
Mutation, Gene Flow, and Genetic Drift