Abstract
Background Cardiovascular disease management in primary care in England was disrupted during the COVID-19 pandemic.
Objective To describe the impact of the COVID-19 pandemic on blood pressure screening and hypertension management, based upon a national quality of care scheme (Quality and Outcomes Framework, QOF) across key demographic, regional, and clinical subgroups. To this end, we translated complex clinical quality of care schemes from text descriptions into reusable analytic code.
Methods With the approval of NHS England, a population based cohort study was conducted on 25.2 million patient records in situ using OpenSAFELY-TPP. We included all NHS patients registered at general practices using TPP software between March 2019 and March 2023. Individuals that were eligible for blood pressure screening and with a diagnosis of hypertension were identified according to the QOF 2021/22 business rules. We examined monthly changes in recorded blood pressure screening in the preceding 5 years in patients aged ≥ 45, recorded hypertension prevalence, and the recorded percentage of patients treated to target (i.e., ≤ 140/90 mmHg for patients ≤ 79 years and ≤ 150/90 mmHg for patients ≥ 80 years) in the preceding 12 months, within demographic, regional, and clinical subgroups as well as the variation across practices.
Results The overall percentage of patients aged ≥ 45 who had blood pressure screening recorded in the preceding 5 years decreased from 90% in March 2019 to 85% in March 2023. Recorded hypertension prevalence was relatively stable at 15% throughout the study period. The percentage of patients with a record of hypertension treated to target in the preceding 12 months reduced from a maximum of 71% in March 2020 to a minimum of 47% in February 2021 in patients aged ≤ 79 years, and from 85% in March 2020 to a minimum of 58% in February 2021 in patients aged ≥ 80 years before recovering. Blood pressure screening rates in the preceding 5 years remained stable in older age groups, patients with a record of learning disability, or care home status.
Conclusions There was substantial disruption to hypertension management QOF indicators during the pandemic, which can likely be attributed to a general reduction of blood pressure measurement including screening. OpenSAFELY can be used to continuously monitor monthly changes in national quality of care schemes to identify changes in key clinical subgroups early and support prioritisation of recovery from disrupted care caused by COVID-19.
Introduction
The COVID-19 pandemic disrupted healthcare services globally [1]. Cardiovascular disease (CVD) management in primary care in England was impacted [2–4] with an estimated 2,175 non-COVID excess deaths attributed to hypertensive diseases in between March 2020 and December 2021 [5]. Cardiovascular disease is associated with a higher risk of morbidity and mortality from COVID-19, emphasising the importance of maintaining good routine care [6,7]. High blood pressure is the leading risk factor for cardiovascular disease [8] and one of the top three risk factors for global disease burden [9]. Since 1994 there has been improvement in the management of high blood pressure in England [10] and a reduction of the negative impact of social deprivation on blood pressure management [11]. Delayed management of hypertension is associated with worse clinical outcomes, for example stroke [12]. Recent results from annual national audits of England’s population on cardiovascular disease and NHS Digital have also suggested that blood pressure management was disrupted by the pandemic [13,14].
In 2004 the Quality and Outcomes Framework (QOF) was introduced in England as one of the largest initiatives worldwide to improve the quality of care in general practice. General practitioners (GPs) and their staff are measured on indicators of good clinical care and receive financial incentives based on their achievement of certain thresholds [15,16]. In order to monitor the indicators and thresholds, NHS Digital publishes text descriptions of analytic rules and logic, commonly referred to as ‘business rules’ which are taken by software providers and implemented in GP electronic health records systems [17]. GPs can review their delivery of care against these rules and indicators for their practice throughout the financial year, however, national data for all practices is only available annually. At the end of every NHS financial year on March 31st, NHS Digital calculates each practice’s achievement against set thresholds for individual indicators. Between 1st April 2020 and 31st March 2023, amendments were made to QOF and some preventative indicators were suspended, including hypertension management, to support the COVID-19 response and support roll out of the national COVID-19 vaccination program [18,19].
OpenSAFELY is a secure analytics platform for electronic patient records built by our group on behalf of NHS England to deliver urgent academic [6,20,21] and operational research [2,22,23] during the pandemic. Using OpenSAFELY-TPP, we therefore aimed to describe trends and variation in these indicators before and during the COVID-19 pandemic and assess recovery of the indicators to pre-pandemic levels across key clinical and demographic subgroups.
Methods
Data source
Primary care records managed by the GP software provider TPP were accessed through OpenSAFELY (https://opensafely.org). OpenSAFELY is a secure analytics platform for electronic patient records built by our group with the approval of NHS England to deliver urgent academic [6] and operational NHS service research [22,23] on the direct and indirect impacts of the pandemic.
OpenSAFELY provides a secure software interface allowing the analysis of pseudonymized primary care patient records from England. in near real-time within the EHR vendor’s highly secure data centre, avoiding the need for large volumes of potentially disclosive pseudonymized patient data to be transferred off-site. The dataset analysed within OpenSAFELY is based on 25 million people currently registered with GP surgeries using TPP SystmOne software. It includes pseudonymized data such as coded diagnoses, medications and physiological parameters. No free text data is included. Further details on our information governance and ethics can be found in the Appendix.
Study design and population
We conducted a retrospective cohort study from March 2019 to March 2023 using primary care EHR data from all GP practices in England supplied by the EHR vendor TPP, a cohort that is broadly representative of the population in England [25]. Following the QOF business rules, we included all patients who were alive and registered with an OpenSAFELY-TPP practice for the QOF hypertension prevalence and management indicators (HYP001, HYP003, HYP007). For the QOF blood pressure screening indicator (BP002) we included only those aged ≥ 45.
Implementation of QOF business rules in analytic code
QOF indicators for blood pressure screening in the preceding five years (BP002), hypertension register (HYP001) and hypertension management in the preceding 12 months (HYP003, HYP007) were specified in analytic code replicating the QOF business rules for 2021/22 [Version 46, 17] using the OpenSAFELY framework (Table 1). All QOF indicators are formed by specifying rules and logic which determine aggregate counts of patients. Percentages are then calculated using numerator and denominator pairs. In addition to QOF indicators we also applied the same clinical rules for blood pressure screening (BP002) to all patients with a record of an unresolved hypertension diagnosis using a 12 months lookback period to match the timeframe used in the hypertension management indicators (HYP003 and HYP007).
Higher indicator percentages represent a higher percentage of patients receiving indicated clinical care. Patients can be excluded from the denominator according to QOF rules, such as those who declined treatment (for more details see Appendix A). For the two hypertension control indicators (HYP003 and HYP007), patients with hypertension who did not have their blood pressure recorded in the last year are counted as not being treated to target as per the QOF business rules.
Data were analysed for each month between 1st March 2019 and 31st March 2023 covering five financial years. Each monthly cohort replicated the yearly reporting of each QOF business rules. Thus, the data presented for each March in this study aligns with the reporting period of the corresponding annual QOF reports published by NHS Digital.
Monthly changes in QOF indicators across demographic, regional, and clinical subgroups
Trends and variation in QOF indicators were reported across demographic (10 year age bands, sex, ethnicity in 5 and 16 categories), regional (practice level deciles, Indices of Multiple Deprivation quintiles derived from patient’s postcode at lower super output area, region), and key clinical subgroups (record of learning disability and care home status) highlighted in the NHS long term plan as priority groups [26].
Software and reproducibility
Data management and analyses were performed using the OpenSAFELY software libraries using Python (Version 3.8.10) and R (Version 4.0.2). We used the R packages ggplot2 [27] and gt [28] to visualise data and create tables. Code replicating the QOF business rules are available at https://github.com/opensafely/hypertension-sro and https://github.com/opensafely/blood-pressure-sro alongside all analytic code and codelists. The GitHub repository https://github.com/opensafely/qof-utilities contains reusable code developed for implementing QOF rules in OpenSAFELY.
Patient and public involvement
For transparency purposes we have developed a public website (https://opensafely.org/) which provides a detailed description of the platform in language suitable for a lay audience; we have participated in two citizen juries exploring public trust in OpenSAFELY [29]. To ensure the patient voice is represented, we are working closely with appropriate medical research charities however there was no patient or public involvement in this specific research question.
Results
Calculating monthly trends in QOF indicators
Detailed demographic characteristics of all patients considered for the blood pressure and hypertension indicators during the reporting period of the NHS financial year 21/22 are presented in Table 2.
Changes in blood pressure screening and hypertension management rates in the total population
In the total population, the percentage of patients aged ≥ 45 (BP002) with recorded blood pressure in the preceding 5 years decreased steadily from its maximum of 90.4% in March 2019 to a minimum of 87.2% in March 2023 (Figure 1A).
Monthly trends from March 2019 to March 2023 in (A) the percentage of patients aged ≥ 45 with blood pressure screening in the preceding 5 years (BP002); (B) the hypertension register (HYP001); (C) the percentage of patients diagnosed with hypertension and recorded blood pressure in the preceding 12 months. Demographic, regional, and clinical subgroups for panel C are presented in the Appendix (Figure D1); (D) the percentage of patients diagnosed with hypertension and treated to target (HYP003 and HYP007) in the preceding 12 months. BP = Blood pressure; HYP = Hypertension. The end of the NHS financial years (March) are highlighted with orange dashed vertical lines. Counts of patients in the numerator and denominator pair are presented in the Appendix (Figures C1 and C2).
Recorded hypertension prevalence (HYP001) was relatively stable throughout the entire study period (14.7% in March 2019 to 14.9% in March 2023, Figure 1B). Blood pressure screening in the preceding 12 months in patients identified as having hypertension decreased from its peak of 88% in March 2019 to its lowest value of 68% in April 2021 and subsequently improved steadily to 85% in March 2023.
Of those aged ≤ 79 identified as having hypertension, the percentage of patients with blood pressure treated to target (HYP003) varied from 67.5% in March 2019 to 70.1% in March 2023, with a peak of 70.6% in March 2020 and a lowest value of 47.2% in February 2021 (Figure 1C). Of those aged ≥ 80 years the percentage of patients with blood pressure treated to target (HYP007) reduced from 85.3% in March 2019 (the peak value) to 79.9% in March 2023, with a lowest value of 57.8% in February 2021 (Figure 1D). For both hypertension management indicators (HYP003 and HYP007) as well as blood pressure screening in patients identified as having hypertension, the results indicated a steady improvement between March 2021 to March 2023.
By March 2023, the differences compared to March 2019 were a 3.1% decrease (90.4% to 87.2%) in patients aged ≥ 45 (BP002) with recorded blood pressure in the preceding 5 years, a 0.2% increase (14.7% to 14.9%) in recorded hypertension prevalence (HYP001), a 2.6% increase (67.5% to 70.1%) and a 5.4% decrease (85.3% to 79.9%) in patients identified as having hypertension with blood pressure treated to target aged ≤ 79 and ≥ 80 years respectively (HYP003 and HYP007). Counts of patients in the numerator and denominator are presented in the Appendix (Figure C1).
Changes in blood pressure screening and hypertension management rates in demographic, regional, and clinical subgroups
Subgroups for blood pressure screening in the preceding 5 years in patients aged ≥ 45 (BP002)
Preexisting differences in blood pressure screening rates between younger and older age groups increased over the study period, with a reduction in screening observed in younger adults (e.g., for age category 45 to 49: 81.9% in March 2019 to 74.9% in March 2023) but not older adults (blood pressure screening was preserved at around 97% in adults aged 80+, Figure 2C). Blood pressure screening was also maintained in those with a record of care home status (99.2% in March 2019 to 98.7% in March 2023) or learning disability (98.0% in March 2019 to 98.3% in March 2023, Figures 2G and 2H). From December 2022 to March 2023 results indicate an improvement in recorded blood pressure screening across all demographic and clinical subgroups.
Monthly, unstandardised trends from March 2019 to March 2023 in the percentage of patients aged ≥ 45 with recorded blood pressure in the preceding 5 years in (BP002) broken down by (A) practice level deciles, (B) sex, (C) age band, (D) region, (E) ethnicity, (F) IMD = Indices of Multiple Deprivation, (G) learning disability, and (H) care home status for hypertension. The end of the NHS financial years (March) are highlighted with orange dashed vertical lines..
Subgroups for hypertension prevalence (HYP001)
Grouping by demographic subgroups revealed pre-pandemic differences in hypertension recording. In March 2019, the national median by practice was 15.0%, however this was considerably lower in London (10.4%) and in those with an ethnicity record of ‘Mixed’ (6.1%) or ‘Chinese or Other Ethnic Groups’ (6.9%). Hypertension was also less frequently recorded in those living in the most deprived areas (12.8%) compared to those living in the least deprived areas (15.6%). Hypertension was more often recorded in those living in care homes (48.8%) and less frequently in those with learning difficulties (9.6%). The differences observed at pre-pandemic remained similar throughout the study period across most subgroups (Figure 3).
Monthly, unstandardised trends from March 2019 to March 2023 in hypertension prevalence (HYP001) broken down by (A) practice level deciles, (B) sex, (C) age band, (D) region, (E) ethnicity, (F) IMD = Indices of Multiple Deprivation, (G) learning disability, and (H) care home status for hypertension. The end of the NHS financial years (March) are highlighted with orange dashed vertical lines. Note that the range of the y-axis varies by breakdown category to highlight differences between groups.
Subgroups for hypertension management in the preceding 12 months in patients aged ≤ 79 (HYP003) and ≥ 80 (HYP007)
Preexisting regional differences between subgroups in blood pressure management in patients diagnosed with hypertension aged ≤ 79 (HYP003) increased during the study period (Figure 4A). In March 2021 the regions South-East and West Midlands had the lowest proportion of patients treated to target, with 39.4% and 41.8% respectively (Figure 5A), compared with the national median by practice of 49.4% and other regions. A similar trend was observed for patients aged ≥ 80 (HYP007, Figures 4B and 5B).
Monthly, unstandardised trends from March 2019 to March 2023 in the percentage of patients diagnosed with hypertension treated to target in the preceding 12 months aged ≤ 79 (HYP003) and ≥ 80 (HYP007) broken down by (A, B) practice level deciles, (C, D) sex, (E, F) age band, (G, H) ethnicity. The end of the NHS financial years (March) are highlighted with orange dashed vertical lines..
Monthly, unstandardised trends from March 2019 to March 2023 in the percentage of patients diagnosed with hypertension treated to target in the preceding 12 months aged ≤ 79 (HYP003) and ≥ 80 (HYP007) broken down by (A, B) region, (C, D) IMD = Indices of Multiple Deprivation, (E, F) record of learning disability, and (G, H) care home status. The end of the NHS financial years (March) are highlighted with orange dashed vertical lines.
Later in the analysis period, between March 2021 and March 2023, a higher proportion of patients in older age groups (60-69 and 70-79) were reported as having their hypertension treated to target than younger age groups.
Between March 2020 and March 2021 the proportion of patients in care homes with hypertension treated to target reduced by 17.4% in those aged ≤ 79 (HYP003) and by 18.6% in those aged ≥ 80 (HYP007). In March 2023, the proportion of patients with hypertension treated to target had nearly returned to pre-pandemic levels.
Discussion
Summary
These results suggested that the pandemic had a substantial impact on the percentage of patients in whom hypertension was classified as not treated to target within the preceding 12 months. Our analyses suggest that this may be attributed to a reduction in blood pressure measurement in the preceding 12 months. We did not observe a substantial impact of the pandemic on the public health QOF standard for blood pressure screening, which is assessed within the preceding 5 years, or on the register for hypertension prevalence.
Strengths and limitations
This study has a range of strengths. The OpenSAFELY-TPP platform runs analyses across the full raw, pseudonymised, dataset for 25.2 million patients at 2540 practices in England using TPP software. This includes data on codes relevant to the QOF business rules in OpenSAFELY and enables us to report QOF indicators broken down by detailed demographic characteristics and key clinical subgroups. In this study we have reported monthly QOF measures in near real-time.
We acknowledge several limitations in our analyses. Whilst we have included some pre-pandemic data in our analysis, this was limited and therefore we urge caution in interpreting changes in QOF indicators as being caused by the pandemic [30]. Other factors not included in this study may explain some of the changes we observed during our study period. Furthermore, results within regional and demographic subgroups need to be interpreted carefully because we report unstandardised results and did not account for sociodemographic factors (e.g., age differences between subgroups). A recent study found that OpenSAFELY-TPP was largely representative of the general population of England in terms of IMD, age, sex, ethnicity, and causes of death, albeit with relative underrepresentation of practices in London [17].
We have implemented QOF business rules as described in the text description published by NHS Digital, however we would expect our ascertainment of specific patients to deviate from other sources of QOF data for two reasons: (1) as described above OpenSAFELY-TPP has access to the full raw GP record which many not be the case for all other sources of QOF data; and (2) when translating information from the QOF business rules we had to make pragmatic decisions to resolve some ambiguity. For example, all SNOMED-CT codes that could possibly represent a blood pressure recording are provided together by NHS Digital, which required us to manually classify each code as systolic or diastolic to fulfil later QOF business rules and logic (see findings in context and Appendix - Table B1).
Finally, we also note that our data will only include clinical codes for blood pressure recording that were carried out in primary care, by a patient at home and correctly captured in a GP system, or in secondary care and returned to GPs as structured data; this may therefore not include results communicated by letter or phone (such as tests requested while a person is in hospital) or indeed blood pressures recorded by patients using home monitoring machines that aren’t forwarded to the GP. However this is a limitation of all EHR analytic work and in line with the methodology already used in the national QOF programme.
Findings in context
Blood pressure screening and hypertension management are national priorities [31,32] as a modifiable strong risk factor for CVD globally [33]. Hypertension management has been incentivised by QOF for primary care since 2005, and advances in the detection and management of patients with hypertension have been gradually observed [10]. This progression was disrupted by the COVID-19 pandemic. In response to the unparalleled pressure on the health service in the pandemic, some QOF indicators were suspended, including hypertension management in order to support prioritisation of clinical workload [34]. Practices may have rightly deprioritised some care described here to focus on more urgent care needs during the COVID-19 pandemic.
We have reported a prevalence of hypertension that is consistent with the latest available official annual report by NHS Digital covering NHS financial year 2021/22 (see Table E1 in the Appendix) and with the second annual audit from the CVDPREVENT initiative (covering data up to March 2021) in England [13]. Furthermore, our results are consistent with the most recent quarterly data published by CVDPREVENT including data up to June 2022 [35]. A consistent finding across our work, CVDPREVENT, and official QOF publications was the reduction in the proportion of patients with hypertension treated to target in March 2020 and March 2021, however our study reveals continued recovery of care beyond this period, particularly during the first months of 2023. CVDPREVENT also reported a reduction of 21.4% in the proportion of patients recorded as having their blood pressure treated and meeting the NICE guideline target between March 2020 - March 2021 [13]. There are a number of plausible explanations for this observation. The first explanation is a true and concerning increase in the proportion of patients with suboptimal blood pressure control. The second is that those without a blood pressure recording were reported as not having their hypertension treated to target (see Appendix, Figure C2). This finding is likely due to a 42% reduction of recorded blood pressure measurement activity between April 2019 - April 2021 [3]. The third is the apparent prioritisation of blood pressure measurement in those with poorly controlled blood pressure; or fourth that blood pressure measurement was mainly undertaken in those attending GP practices because they were unwell and required an in-person review. Therefore, with services re-prioritised during the pandemic, it is likely that the combination of the second, third and fourth explanation contributed to this observation.
Interestingly, there is a sex and age dependent difference in the proportion of patients with hypertension treated to target. The proportion of female patients with hypertension treated to target was consistently greater than male patients aged ≤ 79 years (Figure 4C). However, in patients ≥ 80 years this is reversed, with a greater proportion of male patients having their hypertension treated to target (Figure 4D). The cause of this trend is beyond the scope of this study but similar patterns have been observed elsewhere [36]. Similarly, the unstandardised results suggest that there is a trend towards a lower proportion of black ethnic patients with hypertension treated to target (Figures 4G and 4H), however this is likely influenced by age differences between ethnicity groups. Variation in hypertension control according to ethnicity has been described widely elsewhere and the cause of which is likely to be multi-faceted [37].
Implications for policy and future research
The findings of this study suggest that the percentage of patients with hypertension and blood pressure treated to target (HYP003 and HYP007) fell substantially from March 2020 and only partially recovered between February 2021 and March 2022. It is possible that the observed results represent prioritisation of other clinical areas, and the results of this study should not be interpreted as criticism of GPs. The issue has already been recognised and new NHS services were rapidly established in response (e.g. NHS Community Pharmacy Blood Pressure Check Service and BP@home Service) [31,32,38].
In this study, we observed that patients from the most deprived areas had the lowest proportion of patients on the hypertension register (HYP001) and this decreased further during the pandemic (Figure 3F). There was also a trend towards a lower proportion of black ethnic patients with hypertension treated to target, which has also been observed prior to the pandemic in other elements of CVD care [39]. Future research is needed to help understand the reasons for the observed reductions in hypertension management and to further understand the health inequalities to find effective solutions to best address them. The Core20PLUS5, a national NHS England approach to support the reduction of health inequalities at both national and system level, is a new well placed initiative designed to tackle the management of high blood pressure in these important patient groups. We have rapidly developed re-usable analytic code and implementation guidance to support the Core20PLUS5 initiative in OpenSAFELY and beyond [40].
The OpenSAFELY platform could be used for analyses for NHS England, National Institute of Clinical Excellence, and Care Quality Commission on current indicators of clinical care and has the technical ability to prototype new ones. We developed reusable and modifiable analytic code that replicates complex QOF business rules for blood pressure screening, hypertension prevalence, and hypertension management in OpenSAFELY. The additional demographic and clinical data securely accessible through the OpenSAFELY tools also has a number of advantages to current published reports of QOF. It can be used to identify health inequalities amongst regional, demographic or clinical sub-populations (e.g., ethnicity or record of learning disability) in near real-time for new policies and clinical recommendations. Further, all code used in OpenSAFELY is reusable and modifiable and is available under open source licences, an approach recently endorsed in the Data Saves Lives policy paper by the UK [41]. This provides opportunities for the development of code and a more transparent future for operational analysis in the NHS and research using EHR data.
Conclusion
Although hypertension management indicators were disrupted substantially during the pandemic, this can likely be attributed to a general reduction of blood pressure measurement. Reassuringly, hypertension management indicators have been improving steadily since March 2021 and are now approaching those seen pre-pandemic. Whilst resources were stretched during the pandemic, blood pressure screening was prioritised by general practitioners in older age groups and patients with a record of learning disability or care home status. OpenSAFELY can be used to continuously monitor monthly changes in quality of care indicators to identify significant changes in key clinical subgroups early.
Administrative
Data Availability
All data were linked, stored and analysed securely within the OpenSAFELY platform (https://opensafely.org/). Data include pseudonymised data such as coded diagnoses, drugs, and physiological parameters. No free text data were included. All code is shared openly for review and reuse under MIT open license (https://github.com/opensafely/blood-pressure-sro and https://github.com/opensafely/hypertension-sro). Detailed pseudonymised patient data are potentially reidentifiable and therefore not shared.
Conflicts of Interest
All authors have completed the ICMJE uniform disclosure form at www.icmje.org/coi_disclosure.pdf and declare the following: B.G. has received research funding from the Laura and John Arnold Foundation, the NHS National Institute for Health Research (NIHR), the NIHR School of Primary Care Research, the NIHR Oxford Biomedical Research Centre, the Mohn-Westlake Foundation, NIHR Applied Research Collaboration Oxford and Thames Valley, the Wellcome Trust, the Good Thinking Foundation, Health Data Research UK, the Health Foundation, the World Health Organisation, UKRI, Asthma UK, the British Lung Foundation, and the Longitudinal Health and Wellbeing strand of the National Core Studies programme; he also receives personal income from speaking and writing for lay audiences on the misuse of science.
Funding
This work was jointly funded by UKRI, NIHR and Asthma UK-BLF [COV0076; MR/V015737/] and the Longitudinal Health and Wellbeing strand of the National Core Studies programme. The OpenSAFELY data science platform is funded by the Wellcome Trust.
B.G.’s work on better use of data in healthcare more broadly is currently funded in part by: the Wellcome Trust, NIHR Oxford Biomedical Research Centre, NIHR Applied Research Collaboration Oxford and Thames Valley, the Mohn-Westlake Foundation; all DataLab staff are supported by B.G.’s grants on this work. B.M.K. is also employed by NHS England working on medicines policy and clinical lead for primary care medicines data. R.J.M is supported by NIHR Oxford and Thames Valley Applied Research Consortium and is an NIHR Senior Investigator. The views expressed are those of the authors and not necessarily those of the NIHR, NHS England, Public Health England or the Department of Health and Social Care.
The views expressed are those of the authors and not necessarily those of the NIHR, NHS England, Public Health England or the Department of Health and Social Care.
Funders had no role in the study design, collection, analysis, and interpretation of data; in the writing of the report; and in the decision to submit the article for publication.
Information governance
NHS England is the data controller for OpenSAFELY-TPP; [TPP is the data processor]; all study authors using OpenSAFELY have the approval of NHS England. This implementation of OpenSAFELY is hosted within the [TPP environment which is] accredited to the ISO 27001 information security standard and is NHS IG Toolkit compliant [42];
Patient data has been pseudonymised for analysis and linkage using industry standard cryptographic hashing techniques; all pseudonymised datasets transmitted for linkage onto OpenSAFELY are encrypted; access to the platform is via a virtual private network (VPN) connection, restricted to a small group of researchers; the researchers hold contracts with
NHS England and only access the platform to initiate database queries and statistical models; all database activity is logged; only aggregate statistical outputs leave the platform environment following best practice for anonymisation of results such as statistical disclosure control for low cell counts [43].
The OpenSAFELY research platform adheres to the obligations of the UK General Data Protection Regulation (GDPR) and the Data Protection Act 2018. In March 2020, the Secretary of State for Health and Social Care used powers under the UK Health Service (Control of Patient Information) Regulations 2002 (COPI) to require organisations to process confidential patient information for the purposes of protecting public health, providing healthcare services to the public and monitoring and managing the COVID-19 outbreak and incidents of exposure; this sets aside the requirement for patient consent [44]. This was extended in November 2022 for the NHS England OpenSAFELY COVID-19 research platform [45]. In some cases of data sharing, the common law duty of confidence is met using, for example, patient consent or support from the Health Research Authority Confidentiality Advisory Group [46].
Taken together, these provide the legal bases to link patient datasets on the OpenSAFELY platform. GP practices, from which the primary care data are obtained, are required to share relevant health information to support the public health response to the pandemic, and have been informed of the OpenSAFELY analytics platform.
Ethical Approval
This study was approved by the Health Research Authority (REC reference 20/LO/0651) and by the LSHTM Ethics Board (reference 21863).
Data sharing
All data were linked, stored and analysed securely within the OpenSAFELY platform (https://opensafely.org/). Data include pseudonymised data such as coded diagnoses, drugs, and physiological parameters. No free text data were included. All code is shared openly for review and reuse under MIT open license (https://github.com/opensafely/blood-pressure-sro and https://github.com/opensafely/hypertension-sro). Detailed pseudonymised patient data are potentially reidentifiable and therefore not shared.
Dissemination to participants and related patient and public communities
We will share information and interpretation of our findings through press releases, social media channels, and plain language summary.
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.
Appendix
A1. Denominator and numerator rules
Descriptions of denominator and numerator rules for QOF indicator BP002 (Version 46). Note that the denominator rule 2 and numerator rule 1 select conditions are identical, but describe different actions for cases that do not meet the conditions (next rule vs reject).
Descriptions of denominator and numerator rules for QOF indicator HYP003 (Version 46). Note that the denominator rule 2 and numerator rule 1 select conditions are identical, but describe different actions for cases that do not meet the conditions (next rule vs reject).
Descriptions of denominator and numerator rules for QOF indicator HYP007 (Version 46). Note that the denominator rule number 2 and numerator rule number 1 select conditions are identical, but describe different actions for cases that do not meet the conditions (next rule vs reject).
B1. Codelists
Names and descriptions of clinical code clusters from the NHS Primary Care Domain Reference Portal used to implement the QOF business rules and further codelists.
C. Counts of patients in the numerators and denominators of QOF indicators over time
Counts of patients in the numerator and denominator pair for blood pressure and hypertension QOF indicators. The squares indicate the numerator and the circles above represent the denominator. The colour scale indicates the percentage of patients receiving indicated care. The end of the NHS financial years (March) are highlighted with orange dashed vertical lines. Note that the range of the y-axis varies by indicator.
Monthly, unstandardised trends from March 2019 to March 2023 in the percentage of patients with hypertension with recorded blood pressure in the preceding 12 months broken down by (A) practice level deciles, (B) sex, (C) age band, (D) region, (E) ethnicity, (F) IMD = Indices of Multiple Deprivation, (G) learning disability, and (H) care home status for hypertension. The end of the NHS financial years (March) are highlighted with orange dashed vertical lines.
E. Comparison of QOF results in this study with published results by NHS Digital
Footnotes
Improved clarity throughout manuscript.