pregnancy-icd10-aurum

PH3673 / 8781

OpenSAFELY

Jan 26, 2026

REGISTERING DOI...

OpenCodelists Phenotype
  1. Overview

    Codelist ID
    opensafely/pregnancy-icd10-aurum
    Version ID
    5a7d8d12
    Coding System
    ICD10 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.

    This codelist was developed in 2022 by Campbell and colleagues (https://onlinelibrary.wiley.com/doi/full/10.1002/pds.5584) for the purposes of identifying pregnancy in CPRD Aurum. It is designed to be highly sensitive, to identify any potential pregnancy (including potentially unconfirmed pregnancies and pregnancies not resulting in birth). It expands on a 2019 ICD-10 codelist developed by the same group for CPRD GOLD (https://onlinelibrary.wiley.com/doi/full/10.1002/pds.4811).

    The codelist is contained in the appendix 7 of supplementary information.

    © 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

    The original ICD-10 codelist by Campbell 2022 contains 560 codes. However, 10 of them are erroneous, duplicate M83.0 (puerperal osteomalacia). They are not present in the ICD-10 reference checker, nor ever been used in HES data (2015-2023), nor accepted by Open Codelists. They are M830.0, M830.1, M830.2 and so on until M830.9. These codes have been removed, resulting in a total of 550 codes.

    All codes contained in the 2019 CPRD GOLD ICD-10 codelist are fully contained in this updated 2022 codelist.

  4. References

  5. Clinical Codelist

  6. API

    To Export Phenotype Details:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH3673/version/8781/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(
     'PH3673',
     version_id=8781
    )

    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(
     'PH3673',
     version_id=8781
    )

    To Export Phenotype Code List:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH3673/version/8781/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(
     'PH3673',
     version_id=8781
    )

    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(
     'PH3673',
     version_id=8781
    )

  7. Version History

    Version IDNameOwnerPublish date
    pregnancy-icd10-aurum ieuan.scanlon2026-01-26 23:29