1. Overview

    Phenotype Type
    Disease or syndrome
    Sex
    Both
    Valid Event Date Range
    No data
    Coding System
    No data
    Collections
    No data
    Tags
    No data
    Ontology
    No data
  2. Definition

    A potential issue has been identified in the Read code list for this phenotype and it has been withdrawn pending correction.

    This phenotype is intended to capture Type 2 diabetes recorded in primary care.

    This is a primary-care-data only phenotype designed for analysis of recorded prevalent disease in the general practice population. Additional cases may be identified using other data sources, including secondary care data. In addition, it only includes coded diagnosis, not definitions based on biomarker measurements. It also only includes codes of specified diabetes type.

    This is based on PH718, version 1436, with the exclusion of one code identified as type unspecified (C103y) and a code for Type 2 diabetes clinical review (66Ao.) added.

    Codes have been standardised to 5 character format (not including the possible additional 2 characters of the term code, but with padding to 5 digits using “.” where stems appear). Please note that codes including “.” may be corrupted if opened using software that attempts to coerce them to numeric (such as Excel).

  3. Implementation

    Implementation

    Any appearance of these codes can be identified in Read-coded primary care data (such as WLGP) to identify the phenotype. Note that this is a primary-care-data only phenotype designed for analysis of recorded prevalent disease in the general practice population. It therefore relies on cases being recorded in primary care data. Additional cases may be identified using other sources.

  4. Clinical Codelist

    No Clinical Codelists
  5. Publication

    Related publications

    No known publications

    Citation Requirements

    Please cite this phenotype definition.

  6. API

    To Export Phenotype Details:

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

    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(
     'PH4702',
     version_id=9998
    )

    To Export Phenotype Code List:

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

    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(
     'PH4702',
     version_id=9998
    )

  7. Version History

    Version IDNameOwnerPublish date
    Type 2 diabetes (primary care) walmslro2026-10-09 07:48
    9995 Type 2 diabetes (primary care) walmslro2026-10-07 17:33