Diabetes
Alison K Wright, Evangelos Kontopantelis, Richard Emsley, Iain Buchan, Mamas A Mamas, Naveed Sattar, Darren M Ashcroft, Martin K Rutter
PH8 / 16 Clinical-Coded Phenotype
Overview
Phenotype TypeDisease or syndromeSexBothValid Event Date Range01/01/2006 - 31/12/2013Coding SystemRead codes v2Data SourcesCollectionsPhenotype LibraryTagsNo dataDefinition
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.
Implementation
Phenoflow IDImplementation
Clinical Code List
PUBLISHED - 208 Codes
Publication
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 04 October 2024]
API
To Export Phenotype Details:
Format API JSON site_root/api/v1/phenotypes/PH8/version/16/detail/?format=json R Package 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 from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_detail(
'PH8',
version_id=16
)To Export Phenotype Code List:
Format API JSON site_root/api/v1/phenotypes/PH8/version/16/export/codes/?format=json CSV site_root/phenotypes/PH8/version/16/export/codes/ R Package 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 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
)Version History