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
Overview
Phenotype TypeDrugSexBothValid Event Date Range01/01/2010 - 29/02/2020Coding SystemGPRD product codesData SourcesCollectionsClinicalCodes RepositoryPhenotype LibraryTagsNo dataDefinition
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).
Implementation
Implementation
Clinical Code List
PUBLISHED - 90 Codes
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 Example
Matthew J Carr, Alison K Wright, Lalantha Leelarantha, Hood Thabit, Nicola Milne, Naresh Kanumilli, Darren M Ashcroft, Martin K Rutter. PH836 / 1751 - Metformin. Phenotype Library [Online]. 04 April 2022. Available from: http://phenotypes.healthdatagateway.org/phenotypes/PH836/version/1751/detail/. [Accessed 04 October 2024]
API
To Export Phenotype Details:
Format API JSON site_root/api/v1/phenotypes/PH836/version/1751/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(
'PH836',
version_id=1751
)Py Package 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:
Format API JSON site_root/api/v1/phenotypes/PH836/version/1751/export/codes/?format=json CSV site_root/phenotypes/PH836/version/1751/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(
'PH836',
version_id=1751
)Py Package 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
)Version History