Machine-readable version of electronic health record phenotypes for Kuan V. and Denaxas S. et al.
MIT
A chronological map of 308 physical and mental health conditions from 4 million patients
Machine-readable versions (CSV files) of electronic health record phenotyping algorithms for Kuan V., Denaxas S., Gonzalez-Izquierdo A. et al. A chronological map of 308 physical and mental health conditions from 4 million individuals in the National Health Service published in the Lancet Digital Health - DOI 10.1016/S2589-7500(19)30012-3
Note: GitHub has a hardcoded file limit when rendering markdown files; as a result, this file is truncated when viewed on github.com (download it localy to render the entire contents properly).
Abdominal Hernia
Implementation
At the specified date, a patient is defined as having had 'Abdominal Hernia' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Abdominal Hernia' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Abdominal Hernia' or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Abdominal Hernia' during a hospitalization
Other specified simple excision of inguinal hernial sac
T19.9
Unspecified simple excision of inguinal hernial sac
T20
Primary repair of inguinal hernia
T20.1
Primary repair of inguinal hernia using insert of natural material
T20.2
Primary repair of inguinal hernia using insert of prosthetic material
T20.3
Primary repair of inguinal hernia using sutures
T20.4
Primary repair of inguinal hernia and reduction of sliding hernia
T20.8
Other specified primary repair of inguinal hernia
T20.9
Unspecified primary repair of inguinal hernia
T21
Repair of recurrent inguinal hernia
T21.1
Repair of recurrent inguinal hernia using insert of natural material
T21.2
Repair of recurrent inguinal hernia using insert of prosthetic material
T21.3
Repair of recurrent inguinal hernia using sutures
T21.4
Removal of prosthetic material from previous repair of inguinal hernia
T21.8
Other specified repair of recurrent inguinal hernia
T21.9
Unspecified repair of recurrent inguinal hernia
T22
Primary repair of femoral hernia
T22.1
Primary repair of femoral hernia using insert of natural material
T22.2
Primary repair of femoral hernia using insert of prosthetic material
T22.3
Primary repair of femoral hernia using sutures
T22.8
Other specified primary repair of femoral hernia
T22.9
Unspecified primary repair of femoral hernia
T23
Repair of recurrent femoral hernia
T23.1
Repair of recurrent femoral hernia using insert of natural material
T23.2
Repair of recurrent femoral hernia using insert of prosthetic material
T23.3
Repair of recurrent femoral hernia using sutures
T23.4
Removal of prosthetic material from previous repair of femoral hernia
T23.8
Other specified repair of recurrent femoral hernia
T23.9
Unspecified repair of recurrent femoral hernia
T24
Primary repair of umbilical hernia
T24.1
Repair of umbilical hernia using insert of natural material
T24.2
Repair of umbilical hernia using insert of prosthetic material
T24.3
Repair of umbilical hernia using sutures
T24.4
Removal of prosthetic material from previous repair of umbilical hernia
T24.8
Other specified primary repair of umbilical hernia
T24.9
Unspecified primary repair of umbilical hernia
T25
Primary repair of incisional hernia
T25.1
Primary repair of incisional hernia using insert of natural material
T25.2
Primary repair of incisional hernia using insert of prosthetic material
T25.3
Primary repair of incisional hernia using sutures
T25.8
Other specified primary repair of incisional hernia
T25.9
Unspecified primary repair of incisional hernia
T26
Repair of recurrent incisional hernia
T26.1
Repair of recurrent incisional hernia using insert of natural material
T26.2
Repair of recurrent incisional hernia using insert of prosthetic material
T26.3
Repair of recurrent incisional hernia using sutures
T26.4
Removal of prosthetic material from previous repair of incisional hernia
T26.8
Other specified repair of recurrent incisional hernia
T26.9
Unspecified repair of recurrent incisional hernia
T27
Repair of other hernia of abdominal wall
T27.1
Repair of ventral hernia using insert of natural material
T27.2
Repair of ventral hernia using insert of prosthetic material
T27.3
Repair of ventral hernia using sutures
T27.4
Removal of prosthetic material from previous repair of ventral hernia
T27.8
Other specified repair of other hernia of abdominal wall
T27.9
Unspecified repair of other hernia of abdominal wall
T97
Repair of recurrent umbilical hernia
T97.1
Repair of recurrent umbilical hernia using insert of natural material
T97.2
Repair of recurrent umbilical hernia using insert of prosthetic material
T97.3
Repair of recurrent umbilical hernia using sutures
T97.8
Other specified repair of recurrent umbilical hernia
T97.9
Unspecified repair of recurrent umbilical hernia
T98
Repair of recurrent other hernia of abdominal wall
T98.1
Repair of recurrent ventral hernia using insert of natural material
T98.2
Repair of recurrent ventral hernia using insert of prosthetic material
T98.3
Repair of recurrent ventral hernia using sutures
T98.8
Other specified repair of recurrent other hernia of abdominal wall
T98.9
Unspecified repair of recurrent other hernia of abdominal wall
Abdominal aortic aneurysm
Implementation
Use MODIFIED CALIBER 'Abdominal aortic aneurysm' phenotyping algorithm:
At the specified date, a patient is considered to have an 'Abdominal aortic aneurysm' IF they meet any of the criteria below on or before the specified date.
The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
1. Primary care
1. Diagnosis of AAA during a consultation: arterial_gprd: category 4
2. Performance of emergency AAA repair procedure recording during a consultation: aaa_ops_gprd: category 3
3. History of AAA during a consultation. The following Read code from CPRD:
1. Read:14AE.00 Medcode:16993 Descr:H/O: aortic aneurysm
2. Secondary care
1. Diagnosis of AAA as the primary or secondary diagnosis of any hospitalization: arterial_hes: category 4
2. Performance of emergency AAA repair procedure recorded: aaa_ops_opcs: category 3
Abdominal aortic aneurysm, without mention of rupture
I716
Thoracoabdominal aortic aneurysm, without mention of rupture
I719
Aortic aneurysm of unspecified site, without mention of rupture
Acne
Implementation
At the specified date, a patient is defined as having had 'Acne' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Acne' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Acne' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Actinic keratosis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Actinic keratosis' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Actinic keratosis' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Acute Kidney Injury' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Secondary care
1. ALL diagnoses of 'Acute Kidney Injury' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Agranulocytosis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Agranulocytosis' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Agranulocytosis' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had Alcohol Problems IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Alcohol Problems diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Alcohol Problems or history of diagnosis during a hospitalization
Mental and behavioural disorders due to use of alcohol - Harmful use
F10.2
Mental and behavioural disorders due to use of alcohol - Dependence syndrome
F10.3
Mental and behavioural disorders due to use of alcohol - Withdrawal state
F10.4
Mental and behavioural disorders due to use of alcohol - Withdrawal state with delirium
F10.5
Mental and behavioural disorders due to use of alcohol - Psychotic disorder
F10.6
Mental and behavioural disorders due to use of alcohol - Amnesic syndrome
F10.7
Mental and behavioural disorders due to use of alcohol - Residual and late-onset psychotic disorder
F10.8
Mental and behavioural disorders due to use of alcohol - Other mental and behavioural disorders
F10.9
Mental and behavioural disorders due to use of alcohol - Unspecified mental and behavioural disorder
E24.4
Alcohol-induced pseudo-Cushing's syndrome
G31.2
Degeneration of nervous system due to alcohol
G62.1
Alcoholic polyneuropathy
G72.1
Alcoholic myopathy
I42.6
Alcoholic cardiomyopathy
K29.2
Alcoholic gastritis
K70
Alcoholic liver disease
K85.2
Alcohol-induced acute pancreatitis
K86.0
Alcohol-induced chronic pancreatitis
Z50.2
Alcohol rehabilitation
Z71.4
Alcohol abuse counselling and surveillance
Alcoholic liver disease
Implementation
At the specified date, a patient is defined as having had 'Alcoholic liver disease' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Alcoholic liver disease' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Alcoholic liver disease' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had Allergic and chronic rhinitis IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Allergic and chronic rhinitis diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of Allergic and chronic rhinitis or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Alopecia areata' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Alopecia areata' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Alopecia areata' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Anal fissure' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Anal fissure' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Anal fissure' or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Anal fissure' during a hospitalization
At the specified date, a patient is defined as having had 'Angiodysplasia of colon' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Angiodysplasia of colon' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Angiodysplasia of colon' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Ankylosing spondylitis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Ankylosing spondylitis' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Ankylosing spondylitis' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Anorectal fistula' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Anorectal fistula' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Anorectal fistula' or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Anorectal fistula' during a hospitalization
Insertion of seton into high anal fistula and partial laying open of track HFQ
H55.5
Fistulography of anal fistula
H55.6
Probing of perineal fistula
H55.7
Repair of anal fistula using plug
Anorectal prolapse
Implementation
At the specified date, a patient is defined as having had 'Anorectal prolapse' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Anorectal prolapse' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Anorectal prolapse' or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Anorectal prolapse' during a hospitalization
Other specified other abdominal operations for prolapse of rectum
H36.9
Unspecified other abdominal operations for prolapse of rectum
H42
Perineal operations for prolapse of rectum
H42.1
Insertion of encircling suture around perianal sphincter
H42.2
Perineal plication of levator ani muscles and anal sphincters
H42.3
Insertion of supralevator sling
H42.4
Removal of encircling suture from around perianal sphincter
H42.5
Excision of mucosal prolapse of rectum NEC
H42.6
Perineal repair of prolapse of rectum NEC
H42.8
Other specified perineal operations for prolapse of rectum
H42.9
Unspecified perineal operations for prolapse of rectum
H44.2
Manual reduction of prolapse of rectum
Anorexia and bulimia nervosa
Implementation
At the specified date, a patient is defined as having had Anorexia and bulimia nervosa IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Anorexia and bulimia nervosa diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Anorexia and bulimia nervosa or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had Anterior and Intermediate Uveitis IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Anterior and Intermediate Uveitis diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Anterior and Intermediate Uveitis or history of diagnosis during a hospitalization
Iridocyclitis in infectious and parasitic diseases classified elsewhere
H22.1
Iridocyclitis in other diseases classified elsewhere
H30.2
Posterior cyclitis
Anxiety disorders
Implementation
At the specified date, a patient is defined as having had 'Anxiety disorders' disorders IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Anxiety disorders' disorders diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Anxiety disorders' disorders or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Aplastic anaemias' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Aplastic anaemias' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Aplastic anaemias' or history of diagnosis during a hospitalization
Acquired pure red cell aplasia [erythroblastopenia]
D61
Other aplastic anaemias
Appendicitis
Implementation
At the specified date, a patient is defined as having had 'Appendicitis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Appendicitis' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Appendicitis' or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Appendicitis' during a hospitalization
Emergency excision of abnormal appendix and drainage HFQ
H01.2
Emergency excision of abnormal appendix NEC
H01.8
Other specified emergency excision of appendix
H01.9
Unspecified emergency excision of appendix
H02
Other excision of appendix
H02.1
Interval appendicectomy
H02.2
Planned delayed appendicectomy NEC
H02.3
Prophylactic appendicectomy NEC
H02.8
Other specified other excision of appendix
H02.9
Unspecified other excision of appendix
H03
Other operations on appendix
H03.1
Drainage of abscess of appendix
H03.2
Drainage of appendix NEC
Asbestosis
Implementation
At the specified date, a patient is defined as having had 'Asbestosis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Asbestosis' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Asbestosis' or history of diagnosis during a hospitalization
Pneumoconiosis due to asbestos and other mineral fibres
Aspiration pneumonitis
Implementation
At the specified date, a patient is defined as having had 'Aspiration pneumonitis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Aspiration pneumonitis' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Aspiration pneumonitis' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Asthma' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Asthma' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Asthma' or history of diagnosis during a hospitalization
Use MODIFIED CALIBER 'Atrial fibrillation' phenotyping algorithm:
At the specified date, a patient is considered to have had 'Atrial fibrillation' or flutter IF they meet any of the criteria below on or before the specified date.
The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
1. 1. Historical & Diagnosed: first recorded AF code indicates monitoring of an existing condition, or reference to a previous AF diagnosis, or a diagnosis code for AF; preference given to the earliest dated record rather than diagnosis source (i.e. no preference for primary versus secondary care).
1. af_gprd: category 1, 2, 3, 4, 5, 6, 7
2. af_hes: category 6
At the specified date, a patient is defined as having had Atrioventricular third degree, complete IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Atrioventricular block, complete diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of Atrioventricular block, complete or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Atrioventricular block, first degree' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Atrioventricular block, first degree' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Atrioventricular block, first degree' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Atrioventricular block, second degree' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Atrioventricular block, second degree' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Atrioventricular block, second degree' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Autism and Asperger's syndrome' and Asperger's syndrome IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Autism and Asperger's syndrome' and Asperger's syndrome diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Autism and Asperger's syndrome' and Asperger's syndrome or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Autoimmune liver disease' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Autoimmune liver disease' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Autoimmune liver disease' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Bacterial Diseases (excl TB)' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Secondary care
1. ALL diagnoses of Bacterial Diseases (excl TB) or history of diagnosis during a hospitalization
Other bacterial foodborne intoxications, not elsewhere classified
A20
Plague
A21
Tularaemia
A22
Anthrax
A23
Brucellosis
A24
Glanders and melioidosis
A25
Rat-bite fevers
A26
Erysipeloid
A27
Leptospirosis
A28
Other zoonotic bacterial diseases, not elsewhere classified
A30
Leprosy [Hansen's disease]
A31
Infection due to other mycobacteria
A32
Listeriosis
A35
Other tetanus
A36
Diphtheria
A37
Whooping cough
A38
Scarlet fever
A39
Meningococcal infection
A40
Streptococcal sepsis
A41.0
Sepsis due to Staphylococcus aureus
A41.1
Sepsis due to other specified staphylococcus
A41.2
Sepsis due to unspecified staphylococcus
A41.3
Sepsis due to Haemophilus influenzae
A41.4
Sepsis due to anaerobes
A41.5
Sepsis due to other Gram-negative organisms
A42
Actinomycosis
A43
Nocardiosis
A44
Bartonellosis
A46
Erysipelas
A48
Other bacterial diseases, not elsewhere classified
A49
Bacterial infection of unspecified site
A50
Congenital syphilis
A51
Early syphilis
A52
Late syphilis
A53
Other and unspecified syphilis
A54
Gonococcal infection
A55
Chlamydial lymphogranuloma (venereum)
A56
Other sexually transmitted chlamydial diseases
A57
Chancroid
A58
Granuloma inguinale
A65
Nonvenereal syphilis
A66
Yaws
A67
Pinta [carate]
A68
Relapsing fevers
A69
Other spirochaetal infections
A70
Chlamydia psittaci infection
A71
Trachoma
A74
Other diseases caused by chlamydiae
A75
Typhus fever
A77
Spotted fever [tick-borne rickettsioses]
A78
Q fever
A79
Other rickettsioses
B20.1
HIV disease resulting in other bacterial infections
B92
Sequelae of leprosy
B94.0
Sequelae of trachoma
B95
Streptococcus and staphylococcus as the cause of diseases classified to other chapters
B96
Other specified bacterial agents as the cause of diseases classified to other chapters
B98.0
Helicobacter pylori [H.pylori] as the cause of diseases classified to other chapters
B98.1
Vibrio vulnificus as the cause of diseases classified to other chapters
G00
Bacterial meningitis, not elsewhere classified
G01
Meningitis in bacterial diseases classified elsewhere
G04.2
Bacterial meningoencephalitis and meningomyelitis, not elsewhere classified
G05.0
Encephalitis, myelitis and encephalomyelitis in bacterial diseases classified elsewhere
H62.0
Otitis externa in bacterial diseases classified elsewhere
H67.0
Otitis media in bacterial diseases classified elsewhere
I00
Rheumatic fever without mention of heart involvement
I01
Rheumatic fever with heart involvement
I02
Rheumatic chorea
I05
Rheumatic mitral valve diseases
I06
Rheumatic aortic valve diseases
I07
Rheumatic tricuspid valve diseases
I09
Other rheumatic heart diseases
I32.0
Pericarditis in bacterial diseases classified elsewhere
I41.0
Myocarditis in bacterial diseases classified elsewhere
I98.0
Cardiovascular syphilis
J02.0
Streptococcal pharyngitis
J03.0
Streptococcal tonsillitis
J13
Pneumonia due to Streptococcus pneumoniae
J14
Pneumonia due to Haemophilus influenzae
J15
Bacterial pneumonia, not elsewhere classified
J16.0
Chlamydial pneumonia
J17.0
Pneumonia in bacterial diseases classified elsewhere
J20.0
Acute bronchitis due to Mycoplasma pneumoniae
J20.1
Acute bronchitis due to Haemophilus influenzae
J20.2
Acute bronchitis due to streptococcus
J34.0
Abscess, furuncle and carbuncle of nose
J36
Peritonsillar abscess
J39.0
Retropharyngeal and parapharyngeal abscess
J39.1
Other abscess of pharynx
J86
Pyothorax
K61
Abscess of anal and rectal regions
K63.0
Abscess of intestine
K67.0
Chlamydial peritonitis
K67.1
Gonococcal peritonitis
L00
Staphylococcal scalded skin syndrome
L01
Impetigo
L02
Cutaneous abscess, furuncle and carbuncle
L03
Cellulitis
L05.0
Pilonidal cyst with abscess
L08.1
Erythrasma
M00.0
Staphylococcal arthritis and polyarthritis
M00.1
Pneumococcal arthritis and polyarthritis
M00.2
Other streptococcal arthritis and polyarthritis
M00.8
Arthritis and polyarthritis due to other specified bacterial agents
M00.9
Pyogenic arthritis, unspecified
M01.0
Meningococcal arthritis
M01.2
Arthritis in Lyme disease
M01.3
Arthritis in other bacterial diseases classified elsewhere
M03.0
Postmeningococcal arthritis
M03.1
Postinfective arthropathy in syphilis
M49.1
Brucella spondylitis
M49.2
Enterobacterial spondylitis
M63.0
Myositis in bacterial diseases classified elsewhere
M65.0
Abscess of tendon sheath
M65.1
Other infective (teno)synovitis
M68.0
Synovitis and tenosynovitis in bacterial diseases classified elsewhere
M71.0
Abscess of bursa
M71.1
Other infective bursitis
M72.6
Necrotizing fasciitis
M73.1
Syphilitic bursitis
M86
Osteomyelitis
M90.1
Periostitis in other infectious diseases classified elsewhere
M90.2
Osteopathy in other infectious diseases classified elsewhere
N13.6
Pyonephrosis
N15.1
Renal and perinephric abscess
N29.0
Late syphilis of kidney
N39.0
Urinary tract infection, site not specified
N41.0
Acute prostatitis
N41.2
Abscess of prostate
N41.3
Prostatocystitis
N43.1
Infected hydrocele
N45
Orchitis and epididymitis
N70
Salpingitis and oophoritis
N71
Inflammatory disease of uterus, except cervix
N72
Inflammatory disease of cervix uteri
N73
Other female pelvic inflammatory diseases
N74.3
Female gonococcal pelvic inflammatory disease
N74.4
Female chlamydial pelvic inflammatory disease
N74.8
Female pelvic inflammatory disorders in other diseases classified elsewhere
N75.1
Abscess of Bartholin's gland
P23.1
Congenital pneumonia due to Chlamydia
P23.2
Congenital pneumonia due to staphylococcus
P23.3
Congenital pneumonia due to streptococcus, group B
P23.4
Congenital pneumonia due to Escherichia coli
P23.5
Congenital pneumonia due to Pseudomonas
P23.6
Congenital pneumonia due to other bacterial agents
P36
Bacterial sepsis of newborn
P37.2
Neonatal (disseminated) listeriosis
Bacterial sepsis of newborn
Implementation
At the specified date, a patient is defined as having had Bacterial sepsis of newborn IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Bacterial sepsis of newborn diagnosis or history of diagnosis during a consultation AND IF the patient is aged < 1y at the first event date
OR
Secondary care
1. ALL diagnoses of Bacterial sepsis of newborn or history of diagnosis during a hospitalization AND IF the patient is aged < 1y at the first event date
At the specified date, a patient is defined as having had 'Barrett's oesophagus' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Barrett's oesophagus' diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Barrett's oesophagus' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Bell's palsy' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Bell's palsy' diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Bell's palsy' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had Benign neoplasm and polyp of uterus IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Benign neoplasm and polyp of uterus diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Benign neoplasm and polyp of uterus or history of diagnosis during a hospitalization
Benign neoplasm of brain and other parts of central nervous system
Implementation
At the specified date, a patient is defined as having had Benign neoplasm of brain and other parts of central nervous system IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Benign neoplasm of brain and other parts of central nervous system diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Benign neoplasm of brain and other parts of central nervous system or history of diagnosis during a hospitalization
Benign neoplasm of brain and other parts of central nervous system
D35.2
Benign neoplasm: Pituitary gland
D35.3
Benign neoplasm: Craniopharyngeal duct
D35.4
Benign neoplasm: Pineal gland
D35.5
Benign neoplasm: Carotid body
D35.6
Benign neoplasm: Aortic body and other paraganglia
Benign neoplasm of colon, rectum, anus and anal canal
Implementation
At the specified date, a patient is defined as having had Benign neoplasm of colon, rectum, anus and anal canal IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Benign neoplasm of colon, rectum, anus and anal canal diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Benign neoplasm of colon, rectum, anus and anal canal or history of diagnosis during a hospitalization
Benign neoplasm of colon, rectum, anus and anal canal
K62.0
Anal polyp
K62.1
Rectal polyp
K63.5
Polyp of colon
Benign neoplasm of ovary
Implementation
At the specified date, a patient is defined as having had Benign neoplasm of ovary IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Benign neoplasm of ovary diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Benign neoplasm of ovary or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had Benign neoplasm of stomach and duodenum IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Benign neoplasm of stomach and duodenum diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Benign neoplasm of stomach and duodenum or history of diagnosis during a hospitalization
Benign neoplasm: Other and unspecified parts of small intestine
Bifascicular block
Implementation
At the specified date, a patient is defined as having had 'Bifascicular block' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Bifascicular block' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Bifascicular block' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Bipolar affective disorder and mania' and mania IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Bipolar affective disorder and mania' and mania diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Bipolar affective disorder and mania' and mania or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Bronchiectasis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Bronchiectasis' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Bronchiectasis' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had COPD IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. COPD diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of COPD or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had Carcinoma in situ_cervical IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Carcinoma in situ_cervical diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Carcinoma in situ_cervical or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Carpal tunnel syndrome' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Carpal tunnel syndrome' diagnosis, history of diagnosis or procedure during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Carpal tunnel syndrome' or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Carpal tunnel syndrome' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Cataract' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Cataract' diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Cataract' or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Cataract' during a hospitalization
Insertion of prosthetic replacement for lens using suture fixation
C75.8
Other specified prosthesis of lens
C75.9
Unspecified prosthesis of lens
C77.1
Capsulectomy
C77.2
Couching of lens
C77.6
Insertion of capsule tension ring
C77.8
Other specified other operations on lens
C77.9
Unspecified other operations on lens
Cerebral Palsy
Implementation
At the specified date, a patient is defined as having had 'Cerebral Palsy' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Cerebral Palsy' diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Cerebral Palsy' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Cholangitis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Cholangitis' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Cholangitis' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Cholecystitis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Cholecystitis' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Cholecystitis' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Cholelithiasis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Cholelithiasis' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Cholelithiasis' or history of diagnosis during a hospitalization
Apply modified CALIBER 'Chronic Kidney Disease' algorithm in CPRD primary care data as follows:
A patient is defined as having had CKD stage 3 or above at a specified date:
IF egfr_ckdepi recorded on or before specified date, THEN
IF egfr_ckdepi <60 ml/min on the most recent date (index date) before the specified date
AND
IF egfr_ckdepi <60 ml/min on any date greater than 90 days BEFORE the index date above
THEN classify as having CKD3 or above
ELSE the patient is not defined as having CKD stage 3 or above.
Where egfr_ckdepi up to and including 31 Dec 2013 is defined as:
egfr_ckdepi = 141 * min(crea_gprd * 0.010746 / K, 1)^alpha
* max(crea_gprd * 0.010746 / K, 1)^-1.209
* 0.993^age * 1.018 [if female] * 1.159 [if black]
where:
alpha = -0.329 for females, -0.411 for males
K = 0.7 for females, 0.9 for males
Where egfr_ckdepi from and including 1 Jan 2014 is defined as:
egfr_ckdepi = 141 * min(crea_gprd * 0.010746 / K, 1)^alpha
* max(crea_gprd * 0.0.011312/ K, 1)^-1.209
* 0.993^age * 1.018 [if female] * 1.159 [if black]
where:
alpha = -0.329 for females, -0.411 for males
K = 0.7 for females, 0.9 for males
Where crea_gprd is defined as:
IF enttype = 165 [Serum creatinine]
AND data1 [Operator] = 3 ["="] AND data2 [Value] > 0
THEN crea_gprd = data2
Chronic sinusitis
Implementation
At the specified date, a patient is defined as having had 'Chronic sinusitis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Chronic sinusitis' diagnosis or history of diagnosis during a consultation
OR
2. There are at least 2 records satisfying the criteria for Possible diagnosis of 'Chronic sinusitis' during a consultation more than 84 days apart.
Secondary care (ICD10)
1. ALL diagnoses of 'Chronic sinusitis' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Chronic viral hepatitis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Chronic viral hepatitis' diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Chronic viral hepatitis' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Coeliac disease' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Coeliac disease' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Coeliac disease' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Collapsed vertebra' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Collapsed vertebra' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Collapsed vertebra' or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Collapsed vertebra' during a hospitalization
Other specified decompression of fracture of spine
V44.9
Unspecified decompression of fracture of spine
Congenital malformations of cardiac septa
Implementation
At the specified date, a patient is defined as having had Congenital malformations of cardiac septa IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Congenital malformations of cardiac septa diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of Congenital malformations of cardiac septa or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for Congenital malformations of cardiac septa during a hospitalization
Percutaneous transluminal closure of patent oval foramen with prosthesis
K16.6
Percutaneous transluminal chemical mediated septal ablation
K16.8
Other specified other therapeutic transluminal operations on septum of heart
K16.9
Unspecified other therapeutic transluminal operations on septum of heart
Coronary heart disease not otherwise specified
Implementation
Use MODIFIED CALIBER 'Coronary heart disease not otherwise specified' phenotyping algorithm
At the specified date, a patient is considered to have had 'Coronary heart disease not otherwise specified' IF they meet any of the criteria below on or before the specified date.
The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date.
1. No previous records meeting the criteria for stable angina OR unstable angina OR myocardial infarction
AND {
2. Primary care: chd_nos_gprd: category 1, 3
a) IF Read code in chd_nos_gprd list, THEN chd_nos_gprd= appropriate category
b) OR IF enttype = 16, chd_nos_gprd = 1
OR
3. Secondary care: chd_nos_hes: category 3 }
Atherosclerotic cardiovascular disease, so described
I251
Atherosclerotic heart disease
I253
Aneurysm of heart
I254
Coronary artery aneurysm
I255
Ischaemic cardiomyopathy
I256
Silent myocardial ischaemia
I258
Other forms of chronic ischaemic heart disease
I259
Chronic ischaemic heart disease, unspecified
Crohn's disease
Implementation
At the specified date, a patient is defined as having had 'Crohn's disease' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Crohn's disease' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Crohn's disease' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Cystic Fibrosis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Cystic Fibrosis' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Cystic Fibrosis' or history of diagnosis during a hospitalization
Delirium, not induced by alcohol and other psychoactive substances
Implementation
At the specified date, a patient is defined as having had 'Delirium, not induced by alcohol and other psychoactive substances', not induced by alcohol and other psychoactive substances IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Delirium, not induced by alcohol and other psychoactive substances', not induced by alcohol and other psychoactive substances diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Delirium, not induced by alcohol and other psychoactive substances', not induced by alcohol and other psychoactive substances or history of diagnosis during a hospitalization
Delirium, not induced by alcohol and other psychoactive substances
Dementia
Implementation
At the specified date, a patient is defined as having had 'Dementia' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Dementia' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Dementia' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Depression' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Depression' diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of 'Depression' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had 'Dermatitis (atopc/contact/other/unspecified)' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Dermatitis (atopc/contact/other/unspecified)' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Dermatitis (atopc/contact/other/unspecified)' or history of diagnosis during a hospitalization
Use MODIFIED CALIBER 'Diabetes' phenotyping algorithm for
1. T1DM,
2. T2DM,
3. 'Diabetes' other or uncertain type:
IF there is at least one record for code for type 2 'Diabetes' (diabdiag_gprd = 4)
and no record for type 1 'Diabetes' (no record with diabdiag_gprd = 3)
then classify the patient as type 2 'Diabetes'
ELSE if there is at least one record for code for type I 'Diabetes' (diabdiag_gprd = 3)
and no record for type 2 'Diabetes' (no record with diabdiag_gprd = 4)
then classify the patient as type 1 'Diabetes'
ELSE if there is at least one record of type 1 'Diabetes' (diabdiag_gprd = 3)
and type 2 'Diabetes' (diabdiag_gprd = 4)
then classify as 'Diabetes' other or uncertain type
ELSE if there are no diabdiag_gprd records for this patient:
If there is at least one record for Non-insulin-dependent 'Diabetes' mellitus (NIDDM) (dm_gprd = 4 or dm_hes = 4)
and no record for IDDM (no record with dm_gprd = 3 or dm_hes = 3)
then classify the patient as type 2 'Diabetes'
ELSE if there is at least one record for Insulin-dependent 'Diabetes' mellitus (IDDM) (dm_gprd = 3 or dm_hes = 3)
and no record for NIDDM (no record with dm_gprd = 4 or dm_hes = 4)
then classify the patient as type 1 'Diabetes'
ELSE if there is at least one record of 'Diabetes' (dm_gprd or dm_hes category 3, 4, 5 or 6)
then classify as 'Diabetes' other or uncertain type
ELSE classify as no 'Diabetes'
Diabetes mellitus in pregnancy: Pre-existing malnutrition-related diabetes mellitus
E13
Other specified diabetes mellitus
E14
Unspecified diabetes mellitus
G590
Diabetic mononeuropathy
G632
Diabetic polyneuropathy
H280
Diabetic cataract
H360
Diabetic retinopathy
M142
Diabetic arthropathy
N083
Glomerular disorders in diabetes mellitus
O240
Diabetes mellitus in pregnancy: Pre-existing diabetes mellitus, insulin-dependent
O241
Diabetes mellitus in pregnancy: Pre-existing diabetes mellitus, non-insulin-dependent
O243
Diabetes mellitus in pregnancy: Pre-existing diabetes mellitus, unspecified
Diabetic neurological complications
Implementation
At the specified date, a patient is defined as having had Diabetic neurological complications IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Diabetic neurological complications diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Diabetic neurological complications or history of diagnosis during a hospitalization
Insulin-dependent diabetes mellitus - With neurological complications
E11.4
Non-insulin-dependent diabetes mellitus - With neurological complications
E12.4
Malnutrition-related diabetes mellitus - With neurological complications
E13.4
Other specified diabetes mellitus - With neurological complications
E14.4
Unspecified diabetes mellitus - With neurological complications
G59.0
Diabetic mononeuropathy
G63.2
Diabetic polyneuropathy
Diabetic ophthalmic complications
Implementation
At the specified date, a patient is defined as having had Diabetic ophthalmic complications IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Diabetic ophthalmic complications diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Diabetic ophthalmic complications or history of diagnosis during a hospitalization
Background retinopathy and retinal vascular changes
H35.2
Other proliferative retinopathy
E10.3
Insulin-dependent diabetes mellitus - With ophthalmic complications
E11.3
Non-insulin-dependent diabetes mellitus - With ophthalmic complications
E12.3
Malnutrition-related diabetes mellitus - With ophthalmic complications
E13.3
Other specified diabetes mellitus - With ophthalmic complications
E14.3
Unspecified diabetes mellitus - With ophthalmic complications
H28.0
Diabetic cataract
H36.0
Diabetic retinopathy
Diaphragmatic hernia
Implementation
At the specified date, a patient is defined as having had 'Diaphragmatic hernia' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Diaphragmatic hernia' diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Diaphragmatic hernia' or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Diaphragmatic hernia' during a hospitalization
Repair of oesophageal hiatus using thoracic approach
G23.2
Repair of diaphragmatic hernia using thoracic approach NEC
G23.3
Repair of oesophageal hiatus using abdominal approach
G23.4
Repair of diaphragmatic hernia using abdominal approach NEC
G23.8
Other specified repair of diaphragmatic hernia
G23.9
Unspecified repair of diaphragmatic hernia
Dilated cardiomyopathy
Implementation
At the specified date, a patient is defined as having had 'Dilated cardiomyopathy' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Dilated cardiomyopathy' diagnosis or history of diagnosis during a consultation
OR
Secondary care (ICD10)
1. ALL diagnoses of 'Dilated cardiomyopathy' or history of diagnosis during a hospitalization
At the specified date, a patient is defined as having had a Disorder of the autonomic nervous system IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. Disorder of the autonomic nervous system diagnosis or history of diagnosis during a consultation
OR
Secondary care
1. ALL diagnoses of Disorder of the autonomic nervous system or history of diagnosis during a hospitalization
Autonomic neuropathy in endocrine and metabolic diseases
G99.1
Other disorders of autonomic nervous system in other diseases classified elsewhere
M89.0
Algoneurodystrophy
Diverticular disease of intestine (acute and chronic)
Implementation
At the specified date, a patient is defined as having had 'Diverticular disease of intestine (acute and chronic)' of intestine (acute and chronic) IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
1. 'Diverticular disease of intestine (acute and chronic)' of intestine (acute and chronic) diagnosis or history of diagnosis or procedure during a consultation
OR
Secondary care
1. ALL diagnoses of 'Diverticular disease of intestine (acute and chronic)' of intestine (acute and chronic) or history of diagnosis during a hospitalization
OR
Secondary care (OPCS4)
1. ALL procedures for 'Diverticular disease of intestine (acute and chronic)' of intestine (acute and chronic) during a hospitalization