Print

Depression

Evangelos Kontopantelis, David A Springate, David Reeves, Darren M. Aschroff, Martin Rutter, Iain Buchan, Tim Doran, Matthias Pierce, Darren M. Ashcroft

ID
PH516
Version ID
1032
Type
Disease or Syndrome
Data Sources
Valid event data range
01/04/2006 - 31/03/2012
Sex
♀  Female ♂  Male
Agreement Date
2014-12-16
Coding system
Read codes v2
Collections
ClinicalCodes Repository Phenotype Library
Tags
No tags

Definition

Data source:

We used the Clinical Practice Research Datalink (CPRD), a large primary care database that holds complete electronic patient records (including diagnoses, prescriptions and referrals) from participating family practices across the UK. A hierarchical clinical coding system (Read) is used to record the data. In July 2012, data were available for 644 practices and 13,772,992 patients. Full details of the database have been provided elsewhere.

Diabetes cohort:

We extracted data from 1 April 2006 to 31 March 2012 and, for ease of reporting and analysing, aggregated information into six financial years. Within each year, practice inclusion eligibility was determined by a CPRD assessment algorithm, which informs on practices considered to be of research standard; therefore, our cohort of practices varied over time. For each research standard practice and year, we defined as eligible patients those who were registered with the practice for the full year and were aged 18 years or over in that year. From these patients, using relevant Read codes for type 2 diabetes (e.g. C10F.00: Type 2 diabetes mellitus) and excluding those treated with insulin within 2 years of diagnosis, we identified 246,544 patients over the study period. Diagnoses were not constrained to the study period and a relevant code prior to the study as well as during the study period would flag a patient from the respective year onwards. Data on sex, age and removal from the database due to deaths were available and complete for all patients.We extracted data on diabetes-related macrovascular (myocardial infarction, stroke, peripheral vascular disease or amputation) and microvascular (retinopathy, neuropathy, nephropathy [chronic kidney disease stages 4–5] or foot ulcer) complications as well as comorbidities (asthma, coronary heart disease, chronic kidney disease [excluded from microvascular analysis], chronic obstructive pulmonary disease, depression, dementia, severe mental illness, heart failure, hypertension, stroke [excluded from macrovascular analysis], cancer, epilepsy, osteoarthritis, osteoporosis and hypothyroidism). Although we aimed to include all conditions associated with diabetes, the choice was partially determined by the domains incentivised under the Quality and Outcomes Framework (QOF), for which accuracy of diagnosis is considered high. Information was also extracted on smoking (never smoked, current, exsmoker and missing data),BMI, HbA1c levels (%), cholesterol levels (mmol/l) and systolic/diastolic BP (mmHg). Biometric measurement data were cleaned and we calculated patient means for each year when more than one relevant record was available. Using product lists we determined prescription prevalence (at least one) for relevant medications: ACE inhibitors, acarbose, α-blockers, anticoagulants, antiplatelet agents, β-blockers, calcium-channel blockers, thiazide diuretics, loop diuretics, dipeptidyl peptidase-4 inhibitors, glucagon-like peptide- 1 agonists, statins and other lipid-lowering drugs, meglitinides , metformin, sulfonylureas and thiazolidinediones. For approximately 60% of the practices, records were linked to Office of National Statistics (ONS) mortality data and we had access to death dates for all their patients. For these, using ICD-10 codes (www.who.int/classifications/icd/en/) we were able to estimate deathslinked to specific causes (underlying or in the top three): diabetes (E10–E16), ischaemic heart disease (I21–I22), stroke (I60–I64) or stroke excluding bleeds (excluding I63).

Publications

  • Evangelos Kontopantelis, David A Springate, David Reeves, Darren M. Aschroff, Martin Rutter, Iain Buchan, Tim Doran, Glucose, blood pressure and cholesterol levels and their relationships to clinical outcomes in type 2 diabetes: a retrospective cohort study. Diabetologia, 58:505-518, 2015.

Clinical Code List

Rows: 88
Code Description Entity type Category Coding System (Read)
1B17.00 Depressed depression diagnostic Read
212S.00 Depression resolved depression diagnostic Read
2257 O/E - depressed depression diagnostic Read
62T1.00 Puerperal depression depression diagnostic Read
9HA1.00 Removed from depression register depression diagnostic Read
E001300 Presenile dementia with depression depression diagnostic Read
E002100 Senile dementia with depression depression diagnostic Read
E004300 Arteriosclerotic dementia with depression depression diagnostic Read
E112.00 Single major depressive episode depression diagnostic Read
E112.11 Agitated depression depression diagnostic Read
E112.12 Endogenous depression first episode depression diagnostic Read
E112.13 Endogenous depression first episode depression diagnostic Read
E112.14 Endogenous depression depression diagnostic Read
E112000 Single major depressive episode; unspecified depression diagnostic Read
E112100 Single major depressive episode; mild depression diagnostic Read
E112200 Single major depressive episode; moderate depression diagnostic Read
E112300 Single major depressive episode; severe; without psychosis depression diagnostic Read
E112500 Single major depressive episode; partial or unspec remission depression diagnostic Read
E112600 Single major depressive episode; in full remission depression diagnostic Read
E112z00 Single major depressive episode NOS depression diagnostic Read
E113.00 Recurrent major depressive episode depression diagnostic Read
E113.11 Endogenous depression - recurrent depression diagnostic Read
E113000 Recurrent major depressive episodes; unspecified depression diagnostic Read
E113100 Recurrent major depressive episodes; mild depression diagnostic Read
E113200 Recurrent major depressive episodes; moderate depression diagnostic Read
E113300 Recurrent major depressive episodes; severe; no psychosis depression diagnostic Read
E113500 Recurrent major depressive episodes;partial/unspec remission depression diagnostic Read
E113600 Recurrent major depressive episodes; in full remission depression diagnostic Read
E113700 Recurrent depression depression diagnostic Read
E113z00 Recurrent major depressive episode NOS depression diagnostic Read
E118.00 Seasonal affective disorder depression diagnostic Read
E11y200 Atypical depressive disorder depression diagnostic Read
E11z200 Masked depression depression diagnostic Read
E135.00 Agitated depression depression diagnostic Read
E200300 Anxiety with depression depression diagnostic Read
E204.00 Neurotic depression reactive type depression diagnostic Read
E204.11 Postnatal depression depression diagnostic Read
E290.00 Brief depressive reaction depression diagnostic Read
E290z00 Brief depressive reaction NOS depression diagnostic Read
E291.00 Prolonged depressive reaction depression diagnostic Read
E2B..00 Depressive disorder NEC depression diagnostic Read
E2B0.00 Postviral depression depression diagnostic Read
E2B1.00 Chronic depression depression diagnostic Read
Eu32.00 [X]Depressive episode depression diagnostic Read
Eu32.11 [X]Single episode of depressive reaction depression diagnostic Read
Eu32.12 [X]Single episode of psychogenic depression depression diagnostic Read
Eu32.13 [X]Single episode of reactive depression depression diagnostic Read
Eu32000 [X]Mild depressive episode depression diagnostic Read
Eu32100 [X]Moderate depressive episode depression diagnostic Read
Eu32200 [X]Severe depressive episode without psychotic symptoms depression diagnostic Read
Eu32211 [X]Single episode agitated depressn w'out psychotic symptoms depression diagnostic Read
Eu32212 [X]Single episode major depression w'out psychotic symptoms depression diagnostic Read
Eu32213 [X]Single episode vital depression w'out psychotic symptoms depression diagnostic Read
Eu32400 [X]Mild depression depression diagnostic Read
Eu32y00 [X]Other depressive episodes depression diagnostic Read
Eu32y11 [X]Atypical depression depression diagnostic Read
Eu32y12 [X]Single episode of masked depression NOS depression diagnostic Read
Eu32z00 [X]Depressive episode; unspecified depression diagnostic Read
Eu32z11 [X]Depression NOS depression diagnostic Read
Eu32z12 [X]Depressive disorder NOS depression diagnostic Read
Eu32z13 [X]Prolonged single episode of reactive depression depression diagnostic Read
Eu32z14 [X] Reactive depression NOS depression diagnostic Read
Eu33.00 [X]Recurrent depressive disorder depression diagnostic Read
Eu33.11 [X]Recurrent episodes of depressive reaction depression diagnostic Read
Eu33.12 [X]Recurrent episodes of psychogenic depression depression diagnostic Read
Eu33.13 [X]Recurrent episodes of reactive depression depression diagnostic Read
Eu33.14 [X]Seasonal depressive disorder depression diagnostic Read
Eu33.15 [X]SAD - Seasonal affective disorder depression diagnostic Read
Eu33000 [X]Recurrent depressive disorder; current episode mild depression diagnostic Read
Eu33100 [X]Recurrent depressive disorder; current episode moderate depression diagnostic Read
Eu33200 [X]Recurr depress disorder cur epi severe without psyc sympt depression diagnostic Read
Eu33211 [X]Endogenous depression without psychotic symptoms depression diagnostic Read
Eu33212 [X]Major depression; recurrent without psychotic symptoms depression diagnostic Read
Eu33214 [X]Vital depression; recurrent without psychotic symptoms depression diagnostic Read
Eu33400 [X]Recurrent depressive disorder; currently in remission depression diagnostic Read
Eu33y00 [X]Other recurrent depressive disorders depression diagnostic Read
Eu33z00 [X]Recurrent depressive disorder; unspecified depression diagnostic Read
Eu33z11 [X]Monopolar depression NOS depression diagnostic Read
Eu34100 [X]Dysthymia depression diagnostic Read
Eu34111 [X]Depressive neurosis depression diagnostic Read
Eu34113 [X]Neurotic depression depression diagnostic Read
Eu34114 [X]Persistant anxiety depression depression diagnostic Read
Eu3y111 [X]Recurrent brief depressive episodes depression diagnostic Read
Eu41200 [X]Mixed anxiety and depressive disorder depression diagnostic Read
Eu41211 [X]Mild anxiety depression depression diagnostic Read
Eu53011 [X]Postnatal depression NOS depression diagnostic Read
Eu53012 [X]Postpartum depression NOS depression diagnostic Read
Eu92000 [X]Depressive conduct disorder depression diagnostic Read

API

To Export Phenotype Details:

Format API
XML site_root/api/v1/public/phenotypes/PH516/version/1032/detail/?format=xml
JSON site_root/api/v1/public/phenotypes/PH516/version/1032/detail/?format=json
R Package

# Download here

library(ConceptLibraryClient)


# Connect to API

client = connect_to_API(public=TRUE)


# Get details of phenotype

details = get_phenotype_detail_by_version('PH516', '1032', api_client=client)

To Export Phenotype Code List:

Format API
XML site_root/api/v1/public/phenotypes/PH516/version/1032/export/codes/?format=xml
JSON site_root/api/v1/public/phenotypes/PH516/version/1032/export/codes/?format=json
CSV site_root/phenotypes/PH516/version/1032/export/codes/
R Package

# Download here

library(ConceptLibraryClient)


# Connect to API

client = connect_to_API(public=TRUE)


# Get codelists of phenotype

codelists = get_phenotype_code_list('PH516', '1032', api_client=client)

Version History

Version
ID
Name Owner Publish date
1032 Depression ieuan.scanlon 2021-10-06 currently shown

Export - export all codes into a csv file/JSON/XML for the current phenotype version.

Print - Print page.