Diabetes

PH8 / 16

Alison K Wright, Evangelos Kontopantelis, Richard Emsley, Iain Buchan, Mamas A Mamas, Naveed Sattar, Darren M Ashcroft, Martin K Rutter

Oct 6, 2021

Clinical-Coded Phenotype
  1. Overview

    Phenotype Type
    Disease or syndrome
    Sex
    Both
    Valid Event Date Range
    01/01/2006 - 31/12/2013
    Coding System
    Read codes v2
    Data Sources
    Collections
    Phenotype Library
    Tags
    No data
    Ontology
    No data
  2. Definition

    In this retrospective cohort study, using the Clinical Practice Research Datalink linked to hospital and death records for people in England, we identified 79 985 patients with incident type 2 diabetes mellitus (T2DM) between 2006 to 2013 matched to 386 547 patients without diabetes mellitus. Sex-stratified Cox models were used to assess cardiovascular risk.

    img

  3. Implementation

    Phenoflow ID

    Please see the PhenoFLOW website here for more information on workflow-based Phenotypes.

    Implementation

    No data
  4. Clinical Codelist

  5. Publication

    Related publications

    • Alison K Wright, Evangelos Kontopantelis, Richard Emsley, Iain Buchan, Mamas A. Mamas, Naveed Sattar, Darren M. Ashcroft, Martin K Rutter, "Cardiovascular Risk and Risk Factor Management in Type 2 Diabetes Mellitus: A Population-Based Cohort Study Assessing Sex Disparities". Circulation, 139(24), 2742-2753, 2019.

    Citation Example

    Alison K Wright, Evangelos Kontopantelis, Richard Emsley, Iain Buchan, Mamas A Mamas, Naveed Sattar, Darren M Ashcroft, Martin K Rutter. PH8 / 16 - Diabetes. Phenotype Library [Online]. 06 October 2021. Available from: http://phenotypes.healthdatagateway.org/phenotypes/PH8/version/16/detail/. [Accessed 27 January 2026]

  6. API

    To Export Phenotype Details:

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

    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(
     'PH8',
     version_id=16
    )

    To Export Phenotype Code List:

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

    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(
     'PH8',
     version_id=16
    )

  7. Version History

    Version IDNameOwnerPublish date
    Diabetes ieuan.scanlon2021-10-06 15:59