Table 1

Exposure variables in QCOVID algorithm

VariableDescription/questionValue
Demographic
 ageAge in yearsInteger: 19–100
 sexBiological sex at birthCategorical: female, male
 townTownsend Deprivation ScoreReal number
 ethnicityEthnicityCategorical
white, Indian, Pakistani,
Bangladeshi, other Asian,
Caribbean, black African,
Chinese, other ethnic group
 homecatWhat is your housing category—care home or homeless or neither?Categorical
neither, care home,
homeless
Clinical:
 bmiBody Mass Index (kg/m2)Positive real number
 chemocatHave you had chemotherapy in the last 12 months?Categorical: none, group A, group B, group C
 learncatDo you have a learning disability or Down's syndrome?Categorical: learning disability, Down’s syndrome
 renalcatChronic kidney disease (CKD) stageCategorical:
No serious kidney disease, CKD stage 3,
CKD stage 4,
CKD stage 5 without dialysis or transplant,
CKD stage 5 with dialysis in last 12 months,
CKD stage 5 with transplant
 diabetescatDo you have diabetes?Categorical:
none, type 1, type 2
 b2_82Have you been prescribed immunosuppressants four or more times in the previous 6 months?Categorical: yes, no
 b2_leukolabaHave you been prescribed antileukotriene or long acting beta2-agonists (LABA) four or more times in the previous 6 months?Categorical: yes, no
 b2_prednisoneHave you been prescribed oral predisolone containing preparations prescribed four or more times in the previous 6 months?Categorical: yes, no
 b_AFDo you have atrial fibrillation?Categorical: yes, no
 b_CCFDo you have heart failure?Categorical: yes, no
 b_asthmaDo you have asthma?Categorical: yes, no
 b_bloodcancerHave you a cancer of the blood or bone marrow such as leukaemia, myelodysplastic syndromes, lymphoma or myeloma and are at any stage of treatment?Categorical: yes, no
 b_cerebralpalsayDo you have cerebral palsy?Categorical: yes, no
 b_chdDo you have coronary heart disease?Categorical: yes, no
 b_cirrhosisDo you have cirrhosis of the liver?Categorical: yes, no
 b_congenheartDo you have congenital heart disease or have you had surgery for it in the past?Categorical: yes, no
 b_copdDo you have chronic obstructive pulmonary disease (COPD)?Categorical: yes, no
 b_dementiaDo you have dementia?Categorical: yes, no
 b_epilepsyDo you have epilepsy?Categorical: yes, no
 b_fracture4Have you had a prior fracture of hip, wrist, spine or humerus?Categorical: yes, no
 b_neurorareDo you have motor neuron disease, multiple sclerosis, myasthenia or Huntington's chorea?Categorical: yes, no
 b_parkinsonsDo you have Parkinson’s disease?Categorical: yes, no
 b_pulmhyperDo you have pulmonary hypertension or pulmonary fibrosis?Categorical: yes, no
 b_pulmrareDo you have cystic fibrosis or bronchiectasis or alveolitis?Categorical: yes, no
 b_pvdDo you have peripheral vascular disease?Categorical: yes, no
 b_ra_sleDo you have rheumatoid arthritis or systemic lupus erythematosus?Categorical: yes, no
 b_respcancerDo you have lung or oral cancer?Categorical: yes, no
 b_semiDo you have severe mental illness?Categorical: yes, no
 b_sicklecelldiseaseDo you have sickle cell disease or severe combined immune deficiency syndromes?Categorical: yes, no
 b_strokeHave you had a stroke or transient ischaemic attack?Categorical: yes, no
 b_vteHave you had a thrombosis or pulmonary embolus?Categorical: yes, no
 p_marrow6Have you had a bone marrow or stem cell transplant in the last 6 months?Categorical: yes, no
 p_radio6Have you had radiotherapy in the last 6 months?Categorical: yes, no
 p_solidtransplantHave you had a solid organ transplant (lung, liver, stomach, pancreas, spleen, heart or thymus)?Categorical: yes, no