Introduction

The prevalence of HIV among people who inject drugs (PWID) is estimated to be 15.2%, with transmission primarily occurring through the sharing of injecting equipment [1]. The effective prevention of HIV among PWID requires high coverage of HIV prevention services—opioid agonist therapy (OAT), needle and syringe programmes (NSP), and HIV testing followed by access to anti-retroviral therapies (ART). Globally, the coverage of these services for PWID is sub-optimal [2]. In the UK, a lower prevalence of HIV infection (< 2%) has been attributed to the higher coverage of HIV prevention services than reported in other settings internationally [2,3,4]. Major strides have been made in the prevention and control of HIV both in the UK and globally, resulting in the World Health Organization (WHO) setting targets of eliminating HIV transmission and ending AIDS by 2030 [5, 6]. However, continued transmission among PWID is a barrier to achieving these targets [1]. Effective HIV testing strategies, to reduce undiagnosed infection, are critical to HIV goals [7], but the recent COVID-19 pandemic has presented significant challenges [8, 9].

The emergence of an HIV outbreak since 2015 in Glasgow, Scotland, which had experienced a low prevalence of HIV among PWID since the 1980’s, underlines the importance of regular surveillance to rapidly identify clusters of undiagnosed infection [10, 11]. HIV outbreaks among PWID have emerged in other settings internationally [12], and limited availability of HIV prevention services (including HIV testing) have been cited as a contributing factor [12,13,14]. In Glasgow, low HIV testing rates among PWID were regarded as a key factor in the delayed detection and persistence of the outbreak [15]. Glasgow’s public health response—involving the introduction of opt-out blood-borne virus (BBV) testing in prisons and HIV testing on dried blood spot samples from drug services—yielded a doubling in testing coverage among PWID in Glasgow city centre, the epicentre of the outbreak [15]. The emergence of the COVID-19 pandemic has however severely impacted the delivery of HIV testing in Glasgow, and other settings that have experienced HIV outbreaks [16, 17]. There is evidence that the overall number of HIV tests have recovered somewhat, but that gains made pre-pandemic have been eroded [16]. Survey data from elsewhere in the UK also showed decreased HIV testing since the emergence of COVID-19 [18, 19]. Thus, reduced overall testing numbers have resulted in the lower than expected HIV diagnoses in many regions, including Glasgow Scotland [20,21,22,23] (Fig. 1).

Fig. 1
figure 1

HIV diagnoses in Glasgow, 2010–2021. 2021 data has been removed for deductive disclosure, numbers of cases < 5

Reduced contact with PWID has presented not only barriers for delivering HIV testing, but also for surveillance. HIV test uptake (i.e. the proportion of the population who have received a test) among PWID is typically measured using bio-behavioural surveys [24,25,26,27]. COVID-19, and related changes in service delivery, have made these traditional methods of data collection more challenging. In Scotland, during the pandemic, all face-to-face data collection was suspended, including the national bio-behavioural survey of PWID known as the Needle Exchange Surveillance Initiative (NESI). Therefore, it was important to consider alternative approaches to measure HIV test uptake. The aim of this study was to explore methods of estimating HIV test uptake among PWID utilising data linkage of routine administrative data. Specific objectives were to: (1) assess the impact of the COVID-19 pandemic on HIV test uptake; and (2) quantify and compare different methods of measuring HIV test uptake among PWID in Glasgow.

Methods

Study Design and Data Sources

We assessed HIV test uptake for individuals captured within the following three national datasets held at Public Health Scotland (PHS), which formed our injecting-related cohorts: (1) NESI; (2) OAT prescriptions and (3) injecting-related hospital admissions (IRHA) (summarised in Table 1). We considered data for NHS Greater Glasgow and Clyde (NHS GGC), which represents the largest administrative health area in Scotland and the location of the HIV outbreak.

Table 1 Summary of each injecting-related cohort, and outcomes/exposures used to assess HIV test uptake in Glasgow

The NESI cohort included PWID recruited as part of a repeated cross-sectional bio-behavioural survey conducted biennially in Scotland, involving six sweeps during 2010–2019; data relating to the COVID-19 period were not available. Participants who had ever injected were recruited from services providing injecting equipment and other harm reduction services across Scotland (thus 70–80% of participants had injected in the last 6 months). Full NESI methods are described elsewhere [15, 25].

The OAT and IRHA cohorts were constructed using a retrospective cohort study design and data linkage. The Prescribing Information System (PIS) dataset was used to form the OAT cohort, which contains a record of all drugs which are paid for, prescribed and dispensed in the community in Scotland [28]. Data were extracted relating to the prescription of OAT for opioid dependence (i.e. methadone, buprenorphine and buprenorphine/naloxone) [29]. The Scottish Mortality Record 01 (SMR01) formed the IRHA cohort. SMR01 is a national database of all individuals who have been admitted to hospital and received secondary care in Scotland. Individuals who had been hospitalised for an IRHA from 2010 to June 2021 were identified using International Classification of Disease codes, relating to drugs known to be injected in Scotland and injecting-related infections most described in the literature [30, 31] (Appendix, Table 4).

All individuals in Scotland who have accessed healthcare are allocated a unique identifier, a Community Health Index (CHI) number [32]. Both the PIS and SMR01 data were linked to the outcome dataset, which was all laboratory HIV tests conducted in NHS GGC during the study period using CHI. HIV test data was obtained from the NHS West of Scotland Specialist Virology Centre who provide specialist HIV testing in NHS GGC. This included information on all HIV antigen/antibody initial screens for new diagnoses, confirmation testing (HIV-1/HIV-2 antibody assays, HIV avidity testing) and PCR tests to monitor individuals receiving ART. Only tests which related to screens for new diagnoses were retained (i.e. confirmation and treatment monitoring tests were removed). We received Caldicott Guardian approval from NHS GGC to transfer the laboratory HIV test data to PHS, and the linkage and analysis of data held at PHS received approval from the NHS Scotland Public Benefit and Privacy Panel for Health and Social Care (PBPP 2021-0203).

Outcomes and Exposures

The primary outcome measure was uptake of an HIV test in the last year. Within the NESI cohort, this was based on self-report of an HIV test, and individuals who self-reported HIV infection but did not self-report an HIV test in the last year (i.e. ineligible for repeat testing) were removed. Within the OAT and IRHA cohorts, being tested for HIV in the last year was calculated relative to their last OAT prescription date or last IRHA date for each respective time period. Relating to the OAT cohort, for those who had an OAT prescription after their date of death (OAT prescriptions often cover 14–28 days), their most recent prescription date prior to their date of death was selected. People who had been diagnosed with HIV more than a year prior to their last OAT prescription date or last IRHA date for each time period (i.e. ineligible for repeat testing) were removed from each OAT/IRHA cohort (Table 1).

The primary exposure was time period; testing was assessed across four periods: pre-outbreak (2010–2014); early outbreak (2015–2016), ongoing outbreak (2017–2019); COVID-19 (2020–June2021). Key secondary exposures included local authority region within NHS GGC (Glasgow city/rest of Glasgow), age (< 35/35–45/46 +), IRHA in the last 2 years (yes/no), and OAT/methadone prescribing (not prescribed/prescribed in the last 6 months/prescribed but not in the last 6 months). For the OAT and IRHA cohorts, their first recorded local authority record was selected. Relating to NESI, local authority was based on region of recruitment. Secondary exposures varied for each cohort, depending on data availability (Table 1).

Statistical Analysis

For each cohort, HIV test uptake in the last year was first quantified by time period and local authority. Multi-variate logistic regression was used to assess changes in HIV testing across time periods in each injecting-related cohort and local authority region. Previous research has shown the public health response to the outbreak increased HIV testing in Glasgow [15], therefore the ongoing outbreak period (2017–2019) was used as the reference category to capture the impact of the pandemic on testing. Time period was a time varying co-variate (i.e. individuals included in each cohort could be included in multiple time periods). To account for the presence of individuals across multiple time periods for each cohort, a multi-level framework was applied to logistic regression models [15, 33, 34]. Analysis was undertaken using Stata 13.

Post-hoc Analysis

We conducted a post-hoc analysis to investigate why test uptake increased in the IRHA cohort, but decreased in the OAT cohort, in the COVID-19 period (2020–June2021) relative to the ongoing outbreak period (2017–2019). Within the OAT cohort, we included an interaction between time period and being hospitalised for an IRHA in the last 2 years.

Results

Cohort Characteristics

A total of 6100 participants were included in the NESI cohort, 14,527 and 12,621 people were included in the OAT and IRHA cohort, respectively. The majority of the NESI and OAT cohort were included pre-outbreak (2010–2014) (NESI cohort: 54%, n = 3302; OAT cohort: 84%, n = 11,908), whereas the majority of the IRHA cohort were included in the ongoing outbreak period (2017–2019) (42%, n = 5297). Furthermore, the majority were also included in the Glasgow city local authority region (NESI cohort: 75%, n = 4586; OAT cohort: 73%, n = 10,466; IRHA cohort: 65%, n = 8178) and male (NESI cohort: 73%, n = 4465; OAT cohort: 69%, n = 9826; IRHA cohort: 71%, n = 8942). In relation to age, most NESI participants were aged 35–45 in each time period. An increasing age for each time period was observed among those included in the OAT and IRHA cohort. Among the OAT cohort, 22% (n = 3187) had an IRHA in the last 2 years and 40% (n = 5064) of the IRHA had received OAT in the last 6 months (relative to their last prescription or admission date for the whole study period, respectively) (Table 2).

Table 2 Participants characteristics in each injecting-related cohort, 2010–June 2021

HIV Test Uptake by Time Period and Local Authority Region

From the pre-outbreak period (2010–2014) to the ongoing outbreak period (2017–2019), the trend in the uptake of HIV testing consistently increased in each injecting-related cohort. However, there were differences in uptake, with the highest proportions observed in the NESI cohort (28% in pre-outbreak period to 56% in the ongoing outbreak period) and the lowest among the IRHA cohort (15% to 42%, respectively) (Fig. 2a).

Fig. 2
figure 2

HIV test uptake in the last year in each injecting-related cohort, 2010-June 2021. a All of Glasgow, b Glasgow city, c Rest of Glasgow

Within the OAT cohort, test uptake decreased to 37% during the COVID-19 period (2020–June 2021). Conversely, test uptake increased in the COVID-19 (2020–June 2021) period in the IRHA cohort to 47% (Fig. 2a). Similar trends for each cohort were observed among those recruited in Glasgow city and rest of Glasgow, however, the proportion tested in each period was highest in Glasgow city and lowest in the rest of Glasgow (Fig. 2b, c).

HIV Test Uptake by Time Period: Multi-variate Analysis

Among those included in the NESI cohort, when compared to the reference category of the ongoing outbreak period (2017–2019), there were reduced odds of being tested in the early outbreak period (2015–2016) (aOR 0.47, 95% CI 0.40–0.55, p < 0.001) and the pre-outbreak period (2010–14) (aOR 0.28, 95% CI 0.25–0.32, p < 0.001) (Table 3). Similar findings were observed among those recruited in Glasgow city (Appendix, Table 6); however, a significant difference was not observed in the early outbreak period (2015–2018) among those recruited in the rest of Glasgow (Appendix, Table 7).

Table 3 Univariate and multi-variate models assessing uptake of an HIV test in each injecting-related cohort in all of Glasgow, 2010–June 2021

Among those included in the OAT and IRHA cohort, we also observed a reduced odds of being tested pre-outbreak (2010–2014) (OAT cohort: aOR 0.16, 95% CI 0.15–0.17, p < 0.001; IRHA cohort: aOR 0.19; 95% CI 0.17–0.21;p < 0.001) and early outbreak (2015–2016) (OAT cohort: aOR 0.47, 95% CI 0.44–0.49, p < 0.001; IRHA cohort: aOR 0.54, 95% CI 0.49–0.60, p < 0.001), relative to ongoing outbreak period (2017–2019). Reduced odds of being tested was observed in the COVID-19 period (2020–June 2021) for those in the OAT cohort (aOR 0.50, 95% CI 0.48–0.53, p < 0.001) and increased odds of being tested were observed in the IRHA cohort (aOR 1.19, 95% CI 1.08–1.31, p < 0.001), relative to the ongoing outbreak period (2017–2019) (Table 3, Fig. 3). Similar findings were observed among both the OAT cohort and IRHA cohort in the rest of Glasgow (Fig. 3, Appendix, Tables 10, 13). However, we did not observe a significant difference in test uptake in the IRHA cohort in the COVID-19 period (2020-June 2021) in Glasgow city (aOR 1.11, 95% CI 0.98–1.24, p = 0.080) (Fig. 3, Appendix, Table 12). Full models for each injecting-related cohort, stratified by local authority region, can be found in Appendix, Tables 5, 6, 7, 8, 9, 10, 11, 12, 13.

Post-hoc Analyses

To explore further the different trends in HIV test uptake in the COVID-19 period between OAT and IRHA cohorts, we considered an interaction between time period and being hospitalised for an IRHA in the last 2 years within the OAT cohort. We found an increased odds of being tested in the COVID-19 period (2020-June 2021) for those who had been hospitalised with a recent IRHA (aOR 3.15, 95% CI 2.81 to 3.51, < 0.001) and a reduced odds for those who had not been hospitalised for a recent IRHA (aOR 0.47, 95% CI 0.44 to 0.51, < 0.001), relative to those without a recent admission in the ongoing outbreak period (2017–2019) (Appendix, Table 14).

Discussion

In the context of an HIV outbreak among PWID, our aim was to explore methods of estimating HIV test coverage, and assess the impact of the COVID-19 pandemic on HIV testing among PWID in Glasgow. Utilising linkage of routine administrative and bio-behavioural survey data, we found that pre-pandemic, HIV test uptake was increasing across all cohorts due to the focus on testing as part of the outbreak response. However, findings from the linked administrative analysis also suggest that the considerable progress in increasing HIV test uptake has been impacted by the pandemic, which could have implications for national policy goals to eliminate HIV transmission and end AIDS by 2030.

Fig. 3
figure 3

Impact of the COVID-19 pandemic* on HIV test uptake among people prescribed OAT and people hospitalised for an injecting-related hospital admission (IRHA) in all of Glasgow, and stratified by Glasgow city and rest of Glasgow. *Relative to HIV test uptake in the ongoing outbreak period (2017–2019). OAT opioid agonist therapy, IRHA injecting-related hospital admission

We found that COVID-19 negatively impacted HIV test uptake among people prescribed OAT in Glasgow, suggesting that the substantial progress observed pre-pandemic in response to the outbreak has been eroded [15]. The decrease in test uptake among people prescribed OAT is not unexpected due to changes in the delivery of drug treatment, including take-home OAT doses and long acting injectable OAT, which have reduced contact with people who use drugs and therefore opportunities to deliver testing [16]. The introduction of take-home OAT and long acting injectable OAT have also been reported in other regions globally [35], with studies from settings including Spain, Australia and USA reporting no unintended consequences on drug-related outcomes such as mortality [36,37,38,39]. However, the resulting reduced contact between PWID and service providers has unintended consequences for the delivery of HIV prevention services. Reduced testing and treatment coverage during the pandemic have not only been reported among PWID, but other populations at risk of HIV, such as men who have sex with men [20, 21, 40,41,42,43].

Reduced testing may have resulted in lower than expected HIV diagnoses in many regions [20,21,22,23]. Relating to diagnoses associated with HIV outbreak, over 20 HIV cases were diagnosed in Glasgow in 2020, mainly pre-lockdown (March 2020), but that number has significantly reduced in 2021 to 22 diagnoses (to below five at the time of writing) (Fig. 1), which could be related to reduced testing levels. Lower than expected HIV diagnoses, combined with reduced routine HIV testing among people prescribed OAT could suggest clusters of undiagnosed infection. The impact of COVID-19 on transmission related to the HIV outbreak in Glasgow and other settings remains unknown [17]. A study from British Columbia, Canada found increased HIV transmission clusters associated with reduced access to health services, particularly among PWID, where clusters showed rapid growth and compared to other at risk groups [42]. The latest data on the epidemiology of the HIV outbreak relates to 2019 (the last NESI sweep), which suggested that HIV transmission had been contained in Glasgow city centre, but was increasing in areas surrounding Glasgow. The lower test uptake in the rest of Glasgow (35%), relative to Glasgow city (37%), is concerning in this context and suggests that previous trends—i.e. a higher uptake in the city centre in contrast to the rest of Glasgow—are continuing [15]. Further research is required to assess whether differences in the coverage of services, including testing, has contributed to the spread of HIV outside of Glasgow city. Whilst linked data can provide intelligence on the impact of COVID-19 on testing coverage, enhanced surveillance through NESI is required to provide crucial epidemiological information on the impact of the pandemic on HIV transmission in Scotland.

The increase in HIV testing among people hospitalised for an IRHA highlights a successful COVID-19 mitigation strategy, where people with a history of drug use continued to be tested if admitted to hospital [16]. Hospitals have been a key test setting over the course of the outbreak, and the majority of PWID diagnosed as part of the outbreak were diagnosed in secondary care, and over 70% of diagnosed HIV outbreak cases between 2015 and 2019 had an acute presentation in a hospital setting prior to diagnosis [44]. Although secondary care is an important setting, community-based BBV testing alongside other harm reduction services should ideally pick up the vast majority of cases, with a minority being diagnosed in settings such as secondary care. Community-based testing strategies have been key to improving test uptake in other settings that have experienced HIV outbreaks [12], and thus further intervention is required to improve community test coverage in Glasgow, and across Scotland. Contingency management (i.e. the provision of financial incentives), has shown promise in engaging PWID in HIV prevention and care [45], and has recently been introduced in Glasgow to target testing among high risk PWID. Opt-out testing policies in settings attended by PWID have also been shown to be effective in increasing testing coverage, particularly drug, prison, harm reduction and social services [4, 15, 46, 47]. In Scotland, opt-out testing in drug services by the end of 2024 is a key recommendation that is part of the new medication assisted treatment standards [48]. Other settings have been considered for opt out testing, including GPs and emergency departments, which are important for not only the diagnosis of PWID, but other at risk groups, and have shown promising findings in England [49]. Further research is required to better identify factors associated with undiagnosed HIV infection and late diagnosis of HIV, to inform efficient testing strategies.

Effective HIV testing strategies, including increased avidity testing to track how quickly infections are being diagnosed, are not only instrumental for the control of the HIV outbreak, but for national and international policy objectives to eliminate HIV transmission and end AIDS by 2030 [50]. In addition to impacting HIV testing rates, the pandemic has also affected traditional methods to measure HIV test uptake, including the delivery of bio-behavioural surveys [24,25,26,27]. We have shown that data linkage of routine administrative data sources is broadly consistent to bio-behavioural surveys in relation to trends, but differences are observed in relation to uptake. This highlights how different groups of PWID are more or less likely to be tested, and thus a range of testing and surveillance approaches are required. We have explored other methods of measuring test uptake using data linkage, that could also be applied to other populations groups, and infections, such as HCV. Furthermore, these methods could be particularly insightful in settings without bio-behavioural surveillance to monitor progress and identify gaps in testing uptake as we move towards both HCV and HIV transmission elimination.

Strengths and Limitations

Response bias is a limitation of self-reported survey data. However, we quantified HIV test uptake using different methods and data sources, and observed broadly similar findings between self-reported NESI data and linked administrative data pre-pandemic, reflecting the focussed efforts to scale up testing in drug services as part of the outbreak response. Another limitation of our work is that we could not assess HIV test uptake nationally, where it would have been beneficial to compare testing in Glasgow to other regions in Scotland that have not experienced an outbreak. Individuals who live in Glasgow may also have been tested outside of Glasgow. The data linkage relied on the availability of CHI on administrative data to link records. Records with a CHI number in the hospital admissions data are high (over 95%). However, among those prescribed OAT, approximately 75–80% of methadone and buprenorphine prescriptions included a CHI number from 2015 to 2020. While this includes most people prescribed OAT, it will not cover the entirety of people receiving OAT, including those who have received OAT in non-community settings such as prisons. Similarly, HIV test records missing CHI numbers or identifiable information may also not captured. This includes testing in sexual health services in Scotland which is anonymised, and testing conducted by third sector partners who do not routinely record CHI numbers so test uptake may be slightly underestimated.

Conclusion

Our findings highlight how progress in increasing testing coverage among PWID in response to the HIV outbreak has been eroded as a result of the pandemic, particularly among people prescribed OAT. The linkage of administrative data on people in contact with drug services provided key intelligence, complimenting data generated from self-reported survey data, to monitor test uptake among PWID. In the context that most countries lack national bio-behavioural surveys of PWID, the adoption of a similar linkage approach is warranted in other international settings to monitor and inform testing efforts to support ambitions to eliminate HIV transmission and end AIDS in this population.