ABSTRACT
Background COVID-19 is associated with subsequent mental illness in both hospital- and population-based studies. Evidence regarding effects of COVID-19 vaccination on mental health consequences of COVID-19 is limited.
Methods With the approval of NHS England, we used linked electronic health records (OpenSAFELY-TPP) to conduct analyses in a ‘pre-vaccination’ cohort (17,619,987 people) followed during the wild-type/Alpha variant eras (January 2020-June 2021), and ‘vaccinated’ and ‘unvaccinated’ cohorts (13,716,225 and 3,130,581 people respectively) during the Delta variant era (June-December 2021). We estimated adjusted hazard ratios (aHRs) comparing the incidence of mental illness after diagnosis of COVID-19 with the incidence before or without COVID-19.
Outcomes We considered eight outcomes: depression, serious mental illness, general anxiety, post-traumatic stress disorder, eating disorders, addiction, self-harm, and suicide. Incidence of most outcomes was elevated during weeks 1-4 after COVID-19 diagnosis, compared with before or without COVID-19, in each cohort. Vaccination mitigated the adverse effects of COVID-19 on mental health: aHRs (95% CIs) for depression and for serious mental illness during weeks 1-4 after COVID-19 were 1.93 (1.88-1.98) and 1.42 (1.24-1.61) respectively in the pre-vaccination cohort and 1.79 (1.68-1.91) and 2.21 (1.99-2.45) respectively in the unvaccinated cohort, compared with 1.16 (1.12-1.20) and 0.91 (0.84-0.98) respectively in the vaccinated cohort. Elevation in incidence was higher, and persisted for longer, after hospitalised than non-hospitalised COVID-19.
Interpretation Incidence of mental illness is elevated for up to a year following severe COVID-19 in unvaccinated people. Vaccination mitigates the adverse effect of COVID-19 on mental health.
Funding Medical Research Council (MC_PC_20059) and NIHR (COV-LT-0009).
INTRODUCTION
SARS-CoV-2 infection, and consequent COVID-19, are associated with subsequent mental illness in both hospital and population-based studies1,2; for both common mental health difficulties, such as anxiety and depressive symptoms3, and serious mental illness, including psychotic disorders4. Potential mechanisms for these adverse effects of COVID-19 include physiological pathways, such as inflammation and microvascular changes, and psychosocial effects, such as anxiety about the consequences of COVID-19 including long COVID. Previous studies identified associations of COVID-19 with mental illness in both hospitalised patients5,6 and the general population1,7,8. Differentiating between hospitalised and non-hospitalised groups can provide insights into the role of COVID-19 severity.9
Rapid rollout of COVID-19 vaccination within a year of the start of the pandemic was a crucial component of the public health response. Although the impacts of vaccination in preventing and reducing the severity of COVID-19 are well-established10,11, there is limited evidence regarding the implications of vaccination for other adverse health consequences of COVID-19, including mental illness. Several studies reported short-term improvements in population mental health following vaccination rollout.12,13 However, we did not identify any studies investigating differences in mental illness outcomes following COVID-19 by vaccination status.
Rates of SARS-CoV-2 infection, vaccination, and disease severity were patterned by socio-demographic and health factors including age, sex, ethnicity, income and prior mental illness.14–18 Mental health consequences of COVID-19 may also vary between subgroups. For example, older people are at higher risk of more severe COVID-19, and hence may have experienced higher levels of psychological distress.
Using linked primary and secondary care data from over 17 million people, we examined associations of COVID-19 with subsequent mental illness in the pre-vaccination period of the pandemic and for unvaccinated and vaccinated people after vaccination became available. We compared rates of common and severe mental illness after a diagnosis of COVID-19 with rates before or without COVID-19. We also investigated variation in these associations between subgroups defined by COVID-19 severity, age, sex, ethnicity, prior mental illness, and prior SARS-COV-2 infection. Follow-up of those diagnosed with COVID-19 during the first year of the pandemic was for up to two years post-diagnosis.
METHODS
Study design and data sources
Our study used OpenSAFELY-TPP, which provides secure, privacy-protecting access to linked data from 24 million people registered with English general practices (GPs) using TPP SystmOne software. These data include primary care data linked via pseudonymised NHS number to Secondary Uses Service (SUS) secondary care data, Office of National Statistics (ONS) Death Registry, Second Generation Surveillance System (SGSS) COVID-19 testing data and the Index of Multiple Deprivation (IMD). COVID-19 vaccination records (National Immunisation Management System) are available within TPP primary care data.
Outcomes were defined using the earliest of: a relevant SNOMED CT code indicating a diagnosis in primary care; start of a secondary care episode with an ICD-10 code indicating a confirmed diagnosis in any position; or death with an ICD-10 code indicating the diagnosis as either a primary or underlying cause. From the range of mental illnesses examined, we present main findings for depression and serious mental illness (composite of schizophrenia, schizo-affective disorder, bipolar disorder, and psychotic depression). We also examined general anxiety disorders, post-traumatic stress disorder (PTSD), eating disorders, addiction, self-harm and suicide, which are presented in supplementary material. Code lists are available online: https://github.com/opensafely/post-covid-mentalhealth/tree/main/codelists.
The date of COVID-19 was defined as the first of: confirmed COVID-19 diagnosis recorded in primary care; positive SARS-COV-2 PCR or antigen test recorded in SGSS; start of an episode with a confirmed diagnosis in any position in SUS; or death with SARS-COV-2 infection listed in any position on the ONS death registry.
People with a hospital admission record in SUS that included a confirmed diagnosis in the primary position within 28 days of first COVID-19 were defined as having had ‘hospitalised COVID-19’. All other COVID-19 diagnoses were defined as ‘non-hospitalised’. Covariates identified as potential confounders included age, sex, ethnicity, area socioeconomic deprivation, smoking status, care home residence, health care work, number of GP-patient interactions in 2019, and binary indicators for history of comorbidities (Supplementary Table 1).
Study population
Three cohorts were defined (Supplementary Table 2; Supplementary Figure 1). The ‘pre-vaccination’ cohort was followed from January 1st 2020 (baseline) until the earliest of December 14th 202119, outcome event date and date of death. Exposure was defined as recorded COVID-19 between baseline and the earliest date of eligibility for COVID-19 vaccination, date of first vaccination and June 18th 2021 (when all adults became eligible for vaccination). Follow-up in the ‘vaccinated’ cohort started at the later of baseline and two weeks after a second COVID-19 vaccination and ended at the earliest of December 14th 2021, outcome event date and date of death. The ‘unvaccinated’ cohort had not received a COVID-19 vaccine by 12 weeks after they became eligible for vaccination. Follow-up started at the later of baseline and 12 weeks after vaccination eligibility and ended at the earliest of December 14th 2021, outcome event date, date of death and date of first vaccination.
People eligible for each cohort were registered with an English GP for at least six months before baseline and were alive with a known age between 18 and 110 years, sex, deprivation, and region at baseline. People were excluded from each cohort if they had any record of SARS-CoV-2 infection before baseline. In the vaccinated cohort, people were excluded if they received a vaccination before the start of the vaccine rollout on December 8th 2020 (indicating an error or participation in a randomized trial); their second dose was dated before their first dose vaccination (contradictory vaccine record); their second dose was less than three weeks after their first dose; or they received mixed vaccine brands before this was permitted on May 7th 2021. In the unvaccinated cohort, people were excluded if they had any record of a COVID-19 vaccination before June 1st 2021. Vaccine eligibility was defined using the Joint Committee on Vaccination and Immunisation (JCVI) groupings. People who could not be assigned to a JCVI group were excluded.
Statistical analyses
For each cohort, baseline characteristics were described, and numbers of outcome events, person-years of follow-up and incidence rates (per 100,000 person-years) before and after all, hospitalised and non-hospitalised COVID-19 were tabulated. Time to first event was analysed for each outcome. Cox models were fitted with calendar time scale using the cohort-specific baseline as the origin. Hazard ratios (HRs) for follow-up after, versus before or without COVID-19, were estimated, splitting follow-up into the day of COVID-19 diagnosis (‘day 0’), the remainder of 1-4 weeks, and 5-28 weeks after COVID-19 for all cohorts and additionally 29-52 and 53-102 weeks after COVID-19 for the pre-vaccination cohort. For computational efficiency, we used sampling for analyses containing >4,000,000 people: we included all people with the outcome event, all people with the exposure, and a 10% (for general anxiety, depression, serious mental illness) or 20% (for all other outcomes) random sample of non-case-non-exposed people. We used inverse probability weights to adjust for the sampling and derived confidence intervals using robust standard errors when sampling had occurred. For each outcome and cohort, we estimated: (i) age and sex adjusted; and (ii) maximally adjusted HRs including all covariates listed above. Restricted cubic splines were used to account for age unless otherwise specified. All models were stratified by region so that risk sets were constructed within region, hence accounting for between-region variation in the baseline hazard.
Subgroup analyses according to prior history of the outcome event, age group, sex, ethnicity, and COVID-19 history were conducted for depression and serious mental illness. We calculated absolute excess risk 28 weeks after COVID-19, including outcome events recorded on the day of COVID-19 diagnosis (‘day 0’) and weighted by the proportion of people in age and sex strata in the pre-vaccination cohort. Further details of the statistical methods are in the supplement.
Data management and analyses were conducted in Python version 3.8.10, R version 4.0.2 and Stata/MP version 16.1 according to a pre-specified protocol. The protocol, analysis code and code lists are available online: https://github.com/opensafely/post-covid-mentalhealth.
RESULTS
The pre-vaccination cohort included 17,619,987 people of whom 975,429 received a COVID-19 diagnosis (Table 1, Supplementary Figure 2). The median (interquartile range (IQR)) age was 49 (34-64) years. The cohort was 50.2% female and 79.3%, 6.3%, and 2.1% were recorded as of White, South Asian, and Black ethnicities respectively. The vaccinated and unvaccinated cohorts included 13,716,225 and 3,130,581 people respectively, of whom 850,023 and 147,315 received a COVID-19 diagnosis. Differences in demographic characteristics between the vaccinated and unvaccinated cohorts reflect predictors of COVID-19 vaccine uptake.20 Supplementary Table 3 summarises participants’ medical history by cohort.
In each cohort, the incidence of mental illness was higher after diagnosis of COVID-19 than before or without COVID-19 (Table 2). The highest incidence rates were after hospitalised COVID-19. Depression was the most common outcome with a total of 1,278,363, 343,371, and 56,403 diagnoses in the pre-vaccination, vaccinated and unvaccinated cohorts respectively. There were 379,275, 84,981, and 18,039 diagnoses of serious mental illness in the pre-vaccination, vaccinated and unvaccinated cohorts respectively.
Comparisons of event rates after diagnosis of COVID-19 versus before or without COVID-19
Maximally adjusted HRs (aHRs) comparing the incidence of each outcome after diagnosis of COVID-19 with the incidence before or without COVID-19 did not differ substantially from the age- and sex-adjusted HRs in all cohorts (Supplementary Figure 3). The incidence of all outcomes was extremely high on day zero (Table 3). The incidence of most outcomes was elevated during the remainder of 1-4 weeks after COVID-19, compared with before or without COVID-19, in each cohort.
Depression
The incidence of depression was elevated during weeks 1-4 after COVID-19, compared with before or without COVID-19, in the pre-vaccination and unvaccinated cohorts (1.93 (95% CI 1.88-1.98) and 1.79 (1.68-1.91) respectively) and, to a lesser extent, in the vaccinated cohort (1.16 (1.12-1.20)) (Figure 1, Table 3). The incidence of depression remained elevated during weeks 5-28 in the vaccinated and unvaccinated cohorts (aHRs 1.11 (1.08-1.14) and 1.28 (1.22-1.36) respectively) and up to weeks 53-102 in the pre-vaccination cohort (aHR 1.17 (1.13-1.20)). aHRs during weeks 1-4 were considerably higher after hospitalised COVID-19 (pre-vaccination: 16.5 (15.8-17.3); vaccinated: 13.0 (12.0-14.0); unvaccinated: 15.6 (14.1-17.2)) than after non-hospitalised COVID-19 (pre-vaccination: 1.22 (1.17-1.26); vaccinated: 0.92 (0.88-0.95); unvaccinated: 1.11 (1.02-1.20)) (Figure 1, Supplementary Tables 4-5). In the pre-vaccination cohort, aHRs remained higher after hospitalised than non-hospitalised COVID-19 throughout follow-up.
Maximally adjusted hazard ratios and 95% CIs for depression and serious mental illness following diagnosis of COVID-19 in the pre-vaccination, vaccinated and unvaccinated cohorts, overall and by COVID-19 severity. Events on the day of COVID-19 diagnosis (day 0) were excluded.
Serious mental illness
The incidence of serious mental illness was elevated during weeks 1-4 after COVID-19, compared with before or without COVID-19, in the pre-vaccinated and unvaccinated cohorts (1.48 (95% CI 1.40-1.56) and 1.42 (1.24-1.61) respectively) (Figure 1, Table 3). However, the incidence of serious mental illness was lower during weeks 1-4 in the vaccinated cohort (0.91 (0.84-0.98)). Incidence remained slightly elevated during weeks 5-28 in the vaccinated and unvaccinated cohorts (1.07 (1.01-1.1) and 1.14 (1.02-1.27)) and up to weeks 53-102 in the pre-vaccination cohort (1.13 (1.06-1.19)). The incidence of serious mental illness during weeks 1-4 was considerably higher after hospitalised COVID-19 (pre-vaccination: 9.65 (8.71-10.7); vaccinated: 6.38 (5.21-7.80); unvaccinated: 8.76 (7.02-10.9)) than after non-hospitalised COVID-19: (pre-vaccination: 1.04 (0.97-1.11); vaccinated: 0.79 (0.73-0.86); unvaccinated: 0.98 (0.83-1.15)) (Figure 1, Supplementary Tables 4-5).
Subgroup analyses
aHRs for depression were highest during weeks 1-4 after COVID-19, versus before or without COVID-19, for people with prior history of the condition that was recorded more than six months ago (Figure 2, Supplementary Tables 6-8). For example, in the pre-vaccination cohort, aHRs were 2.16 (2.08-2.23) for prior history more than six months ago, 1.66 (1.52-1.80) for prior history within six months, and 1.58 (1.50-1.67) for no prior history. aHRs for serious mental illness were also highest during weeks 1-4 after COVID-19 for people with prior history of the condition that was recorded more than six months ago in the unvaccinated cohort (1.56 (1.30-1.88)). However, aHRs for serious mental illness were highest during weeks 1-4 after COVID-19 for people with prior history within six months for the pre-vaccination (1.88 (1.57-2.26)) and vaccinated cohorts (1.07 (0.87-1.33)). Beyond 5 weeks, incidence attenuated for those with prior history both within six months and more than six months ago. For the vaccinated cohort, incidence of serious mental illness during weeks 5-28 after COVID-19 was consistent with before or without COVID-19 (prior history more than six months ago: 1.00 (0.93-1.08); prior history within six months: 1.07 (0.87-1.33)).
Maximally adjusted hazard ratios and 95% CIs for depression and serious mental illness following diagnosis of COVID-19 in the pre-vaccination, vaccinated and unvaccinated cohorts, by prior history of the outcome. Events on the day of COVID-19 diagnosis (day 0) were excluded.
In the vaccinated cohort, aHRs for depression and serious mental illness after COVID-19, versus before or without COVID-19 were similar in people with and without a with prior history of COVID-19 (Supplementary Figure 4, Supplementary Table 9). aHRs for depression during weeks 1-4 and 5-12 were greater in the 60-79 and 80-110 age groups than the 18-39 and 40-59 age groups: those serious mental illness were greater in the 60-79 and 80-110 age groups than the 18-39 and 40-59 age groups across all time periods (Supplementary Figure 5, Supplementary Tables 10-13). aHRs for depression and serious mental illness were marginally higher for men than women during weeks 1-4 after COVID-19 (Supplementary Figure 6, Supplementary Tables 14-15). aHRs for depression after COVID-19, versus before or without COVID-19, were generally comparable between ethnic groups (Supplementary Figure 7, Supplementary Tables 16-20), except that in the vaccinated cohort aHRs for depression were higher for the Black ethnic group than other ethnic groups. aHRs for serious mental illness after COVID-19 were broadly comparable by ethnic group for the pre-vaccination cohort. aHRs for serious mental illness could only be estimated for the White and South Asian ethnic groups in the vaccinated cohort, and for the White ethnic group in the unvaccinated cohort, due to low event counts.
Other mental illnesses
aHRs for other mental illnesses were broadly similar to those for depression and serious mental illness, both overall (Figure 3, Table 3) and for hospitalised and non-hospitalised COVID-19 (Supplementary Tables 4-5). An exception was that aHRs for post-traumatic stress disorder after hospitalised COVID-19, versus before or without COVID-19, were higher during weeks 1-4 in the vaccinated cohort than the other two cohorts (pre-vaccination: 19.9 (15.6-25.5); vaccinated: 26.3 (19.3-35.8); unvaccinated: 14.0 (8.40-23.4)). This pattern was not present for non-hospitalised COVID-19 or overall.
Maximally adjusted hazard ratios and 95% confidence intervals for other mental illness events following diagnosis of COVID-19 in the pre-vaccination, vaccinated and unvaccinated cohorts. Events on the day of COVID-19 diagnosis (day 0) were excluded.
Absolute excess risk
Estimated excess risks of depression 28 weeks after COVID-19, standardised to the age and sex distribution of the pre-vaccination cohort, were 1020, 449, and 1009 per 100,000 people in the pre-vaccination, vaccinated and unvaccinated cohorts respectively (Figure 4, Supplementary Table 21). Up to 32% of the estimated excess events occurred on the day of COVID-19 diagnosis (‘day 0’). Estimated excess risks of serious mental illness 28 weeks post-COVID-19, standardised to the age and sex distribution of the pre-vaccination cohort, were 227, 60, and 199 per 100,000 people in the pre-vaccination, vaccinated and unvaccinated cohorts respectively. Up to 43% of the estimated excess events occured on the day of COVID-19 diagnosis (‘day 0’).
Absolute excess risk up to 28 weeks for depression and serious mental illness following diagnosis of COVID-19 in the pre-vaccination, vaccinated and unvaccinated cohorts.
DISCUSSION
In a study of more than 17 million people followed for up to two years of the pandemic, rates of most mental illnesses were markedly elevated during the first four weeks after diagnosis of COVID-19. This elevation was less marked in people who were vaccinated before diagnosis of COVID-19. In people diagnosed with COVID-19 before vaccination was available, incidence of mental illness remained elevated more than four weeks after diagnosis, particularly in people who were hospitalised with COVID-19. In subgroup analyses according to prior history of depression and serious mental illness, associations 1-4 weeks after COVID-19 were greater in those with than without prior history of each outcome, but more than 4 weeks after COVID-19 associations were greater in people with no prior history of the outcome. Subgroup analyses also suggested stronger associations in older age groups and in men. The effect of COVID-19 on mental illness did not differ markedly between ethnic groups.
The attenuation of adverse effects of COVID-19 on mental illness in those who were vaccinated, compared to those unvaccinated, may be explained by reduced disease severity due to vaccination.21 This might be due to lower levels of systemic inflammation, as well as psychological benefits of vaccination such as reduced worry about the consequences of COVID-19, increased social engagement, and resuming previous activities.22 A previous cross-cohort study found that associations varied by COVID-19 severity, with poorer mental illness outcomes only found among those who were bedridden with COVID-19, as a marker of more severe illness.3 Those hospitalised due to COVID-19, especially people in intensive care and requiring ventilator support, may have been at greater risk of developing post-traumatic stress disorder23; though this could not be examined in the present study.
Elevation in rates of mental illness outcomes declined with increasing time since diagnosis of COVID-19, although for those diagnosed in in the pre-vaccination era incidence remained elevated up to a year after hospitalised COVID-19. Previous findings regarding long-term effects have been mixed, with a review reporting no clear long-term associations between COVID-19 and mental illness24, whereas a recent multi-cohort study found an association between COVID-19 and mental illness with little evidence of attenuation over time1. Persisting effects of COVID-19 on mental illness could partly reflect ongoing impacts of long COVID25,26.
In line with previous research1, we found stronger associations between COVID-19 and mental illness among older age groups. This is likely to reflect the increased risk of severe COVID-19 among older people and resulting increased anxiety about the consequences of infection. The association between COVID-19 and mental illness was slightly stronger among men, who have been found to be at greater risk of severe mental illness outcomes than women27. These patterns contrast with the wider impacts of the pandemic on mental health. For instance, overall mental health impacts of the pandemic were found to be greatest in adults aged 25-44 years, women, and those with higher degrees28; indicating that the mechanisms linking COVID-19 disease and mental health may differ from those underpinning wider effects of the pandemic.
Our findings highlight the wider public health benefits of the vaccination programme. Prior mental illness may influence vaccine uptake, which highlights the importance of actively encouraging vaccine uptake in people with mental health difficulties.20,29,30 Our analyses suggested that the adverse effects of COVID-19 on mental illness were greater during the first year of the pandemic, prior to the availability of vaccination. This may reflect greater uncertainty and public concern around consequences of COVID-19 and treatment effectiveness at the beginning of the pandemic.
Strengths of this study include the very large sample size, availability of detailed linked electronic health record data, relatively long duration of follow-up, and the opportunity to examine the role of vaccination in the relationship between COVID-19 and mental illness. We also note several limitations. First, those who were unvaccinated may have been less likely to contact health services and to test for SARS-CoV-2, which might have led to underestimated effects in unvaccinated people not hospitalised with COVID-19. Those with recorded COVID-19, particularly those who were hospitalised, may have been more likely to have their mental illness recorded due to greater contact with health services. This may have underpinned the particularly high HRs observed initially following diagnosis, especially in those hospitalised, and the rapid fall thereafter as service contact is likely to be highest in the early post-diagnosis period. However, this is unlikely to fully explain the adverse effect of COVID-19 on mental illness, given the persistent elevation of incidence of mental illness following hospitalised COVID-19 and the variation in associations with different mental illnesses. Also, those with prior recorded mental health diagnoses may not have had additional diagnostic codes added to their record at every visit, even if their mental health had deteriorated due to COVID-19. Additionally, data on mental health in primary and secondary care is generally incomplete, as it does not include access to mental health services data or NHS Talking Therapies (formerly ‘Improving Access to Psychological Therapies (IAPT)’), which patients can self-refer to. A further limitation is that we could only assess COVID-19 severity according to whether patients were hospitalised and did not consider the potential role of repeated infections. We cannot exclude the possibility of unmeasured confounding, although we controlled for a wide range of demographic characteristics and prior morbidities. A previous study found that the mental health impacts of COVID-19 were less apparent when using a negative control group, suggesting that observed associations may have been, at least in part, due to residual confounding2. Finally, other viruses may have consequences for mental illness. Our findings may therefore reflect a phenomenon that occurs after many viruses rather than being specific to SARS-CoV-2.
Our findings add to a growing body of evidence highlighting the increased risk of mental illness following COVID-19 diagnosis, with stronger associations found in relation to non-vaccination and more severe COVID-19 disease, and longer-term associations relating mainly to new-onset mental illness. This has important implications for public health and mental health service provision, as serious mental illnesses in particular are associated with more intensive healthcare needs and longer-term health and other adverse effects. Our results highlight the importance of accessing vaccination among those with mental illness, who may be at higher risk of both SARS-CoV-2 infection and adverse health outcomes following COVID-19. They also emphasise the widespread public health benefits of COVID-19 vaccination in the general population.
CONFLICTS OF INTEREST
NC is remunerated for participation in Data Safety and Monitoring Boards for AstraZeneca. AM was paid for three days of consultancy for https://inductionhealthcare.com/ in Feburary 2022. No other conflicts of interest to be disclosed.
FUNDING
This work was supported by the COVID-19 Longitudinal Health and Wellbeing National Core Study, which is funded by the Medical Research Council (MC_PC_20059) and NIHR (COV-LT-0009). VW is also supported by the Medical Research Council Integrative Epidemiology Unit at the University of Bristol [MC_UU_00032/03]. YW was supported by an UKRI MRC Fellowship awarded to YW (MC/W021358/1) and received funding from UKRI EPSRC Impact Acceleration Account (EP/X525789/1). AM received funding from the Bennett Foundation, Wellcome Trust, NIHR Oxford Biomedical Research Centre, NIHR Applied Research Collaboration Oxford and Thames Valley, Mohn-Westlake Foundation. The OpenSAFELY Platform is supported by grants from the Wellcome Trust (222097/Z/20/Z) and MRC (MR/V015737/1, MC_PC_20059, MR/W016729/1). In addition, development of OpenSAFELY has been funded by the Longitudinal Health and Wellbeing strand of the National Core Studies programme (MC_PC_20030: MC_PC_20059), the NIHR funded CONVALESCENCE programme (COV-LT-0009), NIHR (NIHR135559, COV-LT2-0073), and the Data and Connectivity National Core Study funded by UK Research and Innovation (MC_PC_20058) and Health Data Research UK (HDRUK2021.000).
DATA AVAILABILITY STATEMENT
All data were linked, stored and analysed securely within the OpenSAFELY platform: https://www.opensafely.org/. Data include pseudonymised data such as coded diagnoses, medications and physiological parameters. No free text data are included. All code and code lists are shared openly for review and re-use under an MIT open license (https://github.com/opensafely/post-covid-mentalhealth). Detailed pseudonymised patient data is potentially re-identifiable and therefore not shared.
ETHICAL APPROVAL AND INFORMATION GOVERNANCE
This study was approved by the Health Research Authority [REC reference 22/PR/0095] and by the University of Bristol’s Faculty of Health Sciences Ethics Committee [reference 117269]. Authors involved in data management/analysis successfully passed information governance training and obtained ONS safe researcher accreditation. NHS England is the data controller of OpenSAFELY-TPP. All outputs underwent disclosure checks and were approved by NHS England. Further details of OpenSAFELY information governance are provided in supplemental methods.
AUTHOR CONTRIBUTIONS
VW, PP, RD, AWo, NC, JMac, AJ, JACS contributed to Conceptualization. VW, RD, JACS contributed to Methodology. VW, JICC, TP, AWa, LF, JMas, SD, AM, SB, BG contributed to Software. VW, JICC, RD, HF, JS, BM, ET, KT, GC, EH, YW, MAA, RK, JMac, AJ contributed to Validation. VW, JICC contributed to Formal analysis. VW, JICC contributed to Investigation. TP, AWa, LF, JMas, SD, AM, SB, BG contributed to Resources. VW, JICC, HF contributed to Data Curation. VW, PP, JACS contributed to Writing - Original Draft. All authors contributed to Writing - Review & Editing. VW, JICC contributed to Visualization. VW, RD, BG, AWo, NC, JMac, AJ, JACS contributed to Supervision. VW, PP, RD, BG, AWo, NC, JMac, AJ, JACS contributed to Project administration. NC, JACS contributed to Funding acquisition.
ACKNOWLEDGEMENTS
We are very grateful for all the support received from the TPP Technical Operations team throughout this work, and for generous assistance from the information governance and database teams at NHS England and the NHS England Transformation Directorate. We thank the CONVALESCENCE Study Long COVID PPIE group for their input and for sharing their experiences and expertise throughout the duration of the project.