Metformin

Matthew J Carr, Alison K Wright, Lalantha Leelarantha, Hood Thabit, Nicola Milne, Naresh Kanumilli, Darren M Ashcroft, Martin K Rutter

PH836 / 1751 Clinical-Coded Phenotype

  1. Overview

    Phenotype Type
    Drug
    Sex
    Both
    Valid Event Date Range
    01/01/2010 - 29/02/2020
    Coding System
    GPRD product codes
    Data Sources
    Collections
    ClinicalCodes RepositoryPhenotype Library
    Tags
    No data
  2. Definition

    We generated a cohort of 25 million patients from 1831 UK general practices registered with the Clinical Practice Research Datalink (CPRD) Aurum (inEngland) and CPRD GOLD (in Northern Ireland, Scotland, and Wales) databases. The cohort included 14 929 251 patients (median age 41 years [IQR 25–59]; 7 461 565 [50·0%] of whom were women), who were followed between March 1 and Dec 10, 2020. We aimed to compare: (1) the UK-wide incidence of type 2 diabetes; (2) the frequency of HbA1c testing; and (3) mortality in people with type 2 diabetes, by nation, before and after the first nationwide COVID-19 lockdown, which began in March 23, 2020 (appendix pp 1–3). There were 790 377 (5·3%) people with type 2 diabetes in the cohort (median age 67 years (IQR 57–76); 348 515 (44·1%) of whom were women).

  3. Implementation

    Implementation

    No data
  4. Clinical Code List

  5. Publication

    • Matthew J Carr, Alison K Wright, Lalantha Leelarantha, Hood Thabit, Nicola Milne, Naresh Kanumilli, Darren M Ashcroft, Martin K Rutter, Impact of COVID-19 on diagnoses, monitoring, and mortality in people with type 2 diabetes in the UK. The Lancet Diabetes Endocrinology, 9, 2021.

    Citation Requirements

    No data
  6. API

    To Export Phenotype Details:

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

    Py Package

    # Download here

    from pyconceptlibraryclient import Client


    # Connect to API

    client = Client(public=True)


    # Get codelist of phenotype

    phenotype_codelist = client.phenotypes.get_detail(
     'PH836',
     version_id=1751
    )

    To Export Phenotype Code List:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH836/version/1751/export/codes/?format=json
    CSV site_root/phenotypes/PH836/version/1751/export/codes/
    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(
     'PH836',
     version_id=1751
    )

    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(
     'PH836',
     version_id=1751
    )

  7. Version History

    Version IDNameOwnerPublish date
    1751 Metformin ieuan.scanlon2022-04-04currently shown