ethnicity (SNOMED)

PH3418 / 8446

OpenSAFELY

Jan 26, 2026

REGISTERING DOI...

OpenCodelists Phenotype
  1. Overview

    Codelist ID
    opensafely/ethnicity-snomed-0removed
    Version ID
    22911876
    Coding System
    SNOMED CT codes
    Collections
    OpenCodelistPhenotype Library
    Tags
    No data
  2. Definition

    This codelist was taken from OpenCodelists, created by OpenSAFELY. We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.

    A SNOMED UK ethnicity category codelist

    6 categories*, labels are:

    • 1 - White
    • 2 - Mixed
    • 3 - Asian or Asian British
    • 4 - Black or Black British
    • 5 - Chinese or Other Ethnic Groups

    16 categories, labels are:

    • 1 - White - British
    • 2 - White - Irish
    • 3 - White - Any other White background
    • 4 - Mixed - White and Black Caribbean
    • 5 - Mixed - White and Black African
    • 6 - Mixed - White and Asian
    • 7 - Mixed - Any other mixed background
    • 8 - Asian or Asian British - Indian
    • 9 - Asian or Asian British - Pakistani
    • 10 - Asian or Asian British - Bangladeshi
    • 11 - Asian or Asian British - Any other Asian background
    • 12 - Black or Black British - Caribbean
    • 13 - Black or Black British - African
    • 14 - Black or Black British - Any other Black background
    • 15 - Other Ethnic Groups - Chinese
    • 16 - Other Ethnic Groups - Any other ethnic group

    *The full 6 Group Categories includes "6 - Not stated" which was not included in our codelist

    © University of Oxford for the Bennett Institute for Applied Data Science 2025. This work may be copied freely for non-commercial research and study.

  3. Methodology

    We expanded the SNOMED ethnicity codelist identifying 657 ethnicity SNOMED codes. By comparing the codelist to the ctv3 codelist, the primis codelist, and a codelist from GDPPR we grouped the codelist according to the 2001 census. Then we removed the codes that did not identify an ethnicity, leaving 599 codes.

  4. References

  5. Clinical Codelist

  6. API

    To Export Phenotype Details:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH3418/version/8446/detail/?format=json
    R Package

    # Download here

    library(ConceptLibraryClient)


    # Connect to API

    client = ConceptLibraryClient::Connection$new(public=TRUE)


    # Get details of Phenotype

    phenotype_details = client$phenotypes$get_detail(
     'PH3418',
     version_id=8446
    )

    Py Package

    # Download here

    from pyconceptlibraryclient import Client


    # Connect to API

    client = Client(public=True)


    # Get details of Phenotype

    phenotype_detail = client.phenotypes.get_detail(
     'PH3418',
     version_id=8446
    )

    To Export Phenotype Code List:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH3418/version/8446/export/codes/?format=json
    R Package

    # Download here

    library(ConceptLibraryClient)


    # Connect to API

    client = ConceptLibraryClient::Connection$new(public=TRUE)


    # Get codelist of Phenotype

    phenotype_codelist = client$phenotypes$get_codelist(
     'PH3418',
     version_id=8446
    )

    Py Package

    # Download here

    from pyconceptlibraryclient import Client


    # Connect to API

    client = Client(public=True)


    # Get codelist of Phenotype

    phenotype_codelist = client.phenotypes.get_codelist(
     'PH3418',
     version_id=8446
    )

  7. Version History

    Version IDNameOwnerPublish date
    ethnicity (SNOMED) ieuan.scanlon2026-01-26 23:16
    8445 ethnicity (SNOMED) ieuan.scanlon2026-01-26 23:16