Related Experiment Video
Updated: Sep 11, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
How well are marginalised groups represented in electronic records? A codelist development project and
Tetyana Perchyk1, Isabella Joy de Vere Hunt2, Brian D Nicholson2
1School of Health Sciences, University of Surrey, Guildford, UK t.perchyk@surrey.ac.uk.
Objectives:
Primary care electronic health records provide a rich source of information for inequalities research. However, the reliability and validity of the research derived from these records depend on the completeness and resolution of the codelists (ie, collections of medical terms/codes) used to identify populations of interest. The aim of this project was to develop comprehensive codelists for identifying people from ethnic minority groups, people with learning disabilities (LDs), people with severe mental illness (SMI) and people who are transgender.
Design:
We followed a three-stage process to define and extract relevant codelists. First, groups of interest were defined a priori. Next, relevant clinical codes, relating to the groups, were identified by searching Clinical Practice Research Datalink (CPRD) publications, codelist repositories and the CPRD Code Browser. Relevant codelists were extracted and merged according to group, and duplicates were removed. Finally, the remaining codes were reviewed by two general practitioners (GPs).
Setting:
The curated codelists were compared using a representative sample in the UK. The frequencies of individuals identified using the curated codelists were assessed and compared with widely used alternative codelists.
Participants:
Comprehensiveness was assessed in a representative CPRD population of 10 966 759 people.
Results:
After removal of duplicates and GP review, codelists were finalised with 325 unique codes for ethnicity, 558 for LD, 499 for SMI and 38 for transgender. Compared with comparator codelists, an additional 48 017 (76.6%), 52 953 (68.9%) and 508 (36.9%) people with LD, SMI or transgender code were identified. The proportions identified for ethnicity, meanwhile, were consistent with expectations for the UK (eg, 6.50% Asian, 2.66% black and 1.44% mixed).
Conclusions:
The curated codelists are more sensitive than those widely used in practice and research. Discrepancies between national estimates and primary care records suggest potential record/retention issues. Resolving these requires further investigation and could lead to improved data quality for research.
More Related Videos
Related Concept Videos
Methods of Documentation VII: EMR
Ethical Standards I
The Code of Ethics provisions outline the nurse's duty to the patient, the healthcare team, the profession, and society. The Code's fundamental principles include advocacy,...
Ethical Standards II
Nurses are entrusted with upholding various ethical principles and standards. Nurses forge solid therapeutic relationships using trust, empathy, autonomy, confidentiality, and professional competence.
Confidentiality is crucial, embodying respect for individual privacy...
Purpose of Health Records II
Guidelines and Strategies for Safe Computer Charting
Maintain Confidentiality and Security:
Purpose of Health Records I
Here's a breakdown of how health records serve these purposes:

