Introduction

Urinary tract infection (UTI) is the second most common clinical indication for empirical antimicrobial treatment in primary and secondary care, and is the most frequently occurring health care associated infection in the UK National Health System (NHS) [1]. Antimicrobial resistance has been recognised as a concern for the future treatment of infections, leading to repeat prescriptions, continued symptoms, complications, increased use of broad spectrum antimicrobials [2], and mortality.

There is a direct relationship between the levels of antimicrobial prescribed and the level of resistance seen in a range of organisms [3]. However, the relationship between antimicrobial consumption and development of resistance can be complex [4]. At a local level, the correlation between antimicrobial use in the community and resistance is well recognised [5,6,7,8,9], but the correlation between reductions in community prescribing and reductions in resistance are potentially imbalanced. Gram-positive resistance has been reported to decrease in response to primary care stewardship, but the link between reduced antimicrobial use and lower resistance in Gram-negative bacteria is less consistent [10, 11]. Prescribing data for UTIs shows that a large reduction of (20%) antimicrobial use in the community correlated to only a small (1%) decrease in resistance to amoxicillin or amoxicillin/clavulanic acid, with similar sized effects seen for trimethoprim usage and resistance [12,13,14]. These small reductions in resistance, despite large reductions in prescribing, are highly dependent on the genetic profile of the organisms, how the resistance determinants are carried and spread due to co-selection by other drugs and the level of bacterial fitness cost [15]. The stability of mobile genetic elements (plasmids and integrons) carrying resistance genes is a major factor in the population dynamics of the resistant and sensitive bacterial populations. As a result of the above each drug-bug combination will react very differently to changes/restrictions in the drug use [13, 16].

At the patient level, individuals prescribed an antimicrobial for a UTI are prone to develop resistant infections, with resistance persisting for up to 12 months after the cessation of antimicrobial [6, 17, 18]. The time necessary to develop resistance has been shown to be inversely correlated with the amount of antimicrobial given [11]. Likewise, multiple prescriptions and longer durations of treatment showed increased rates of resistance [6]. The correlation between the number of prescriptions and resistance has been quantified in recent work where multiple prescriptions increased the risk of a resistant Escherichia coli (E. coli) by two to three fold compared to a single course of treatment [19]. Recent work examining E. coli urine isolates showed that having a larger number of different antimicrobial prescriptions (more than 4) in the previous six months and also increasing Defined Daily Doses (DDDs) were associated with increased risk of resistance and multiple drug resistance [20].

Community use represents the bulk, approximately 80%, of antimicrobial prescriptions within the UK [7], with up to a third considered to be inappropriate [21], mostly consisting of broad-spectrum antimicrobials [22]. Many of these antimicrobials are prescribed for the treatment of UTIs [23,24,25,26,27,28,29]. Five antimicrobials (amoxicillin, ciprofloxacin, amoxicillin/clavulanic acid, nitrofurantoin and trimethoprim) make up approximately 70-80% of the antimicrobials prescribed for the treatment of UTIs. The majority of cases of antimicrobial therapy for UTI are also initiated empirically before culture results are available [30], as urine cultures are not routinely recommended in certain patient populations (e.g. non-pregnant women) [31]. In some cases over 40% of the bacteria that cause UTIs are resistant to some of the antimicrobials used [29] with this increasing risk for relapse and treatment failure [32, 33]. E. coli is the most common cause of bacteraemia in high-income countries, and the burden of E. coli bacteremia is substantial, especially among the elderly [34]. To enable the implementation of effective mitigation and prevention strategies, we need to understand better the epidemiology and risk factors of invasive E. coli infections. There is growing evidence showing that increases in the rates of E. coli bacteraemia are being driven predominantly by community-onset infections [35], particularly infections of the urinary tract [34], yet we do not know how and which specific factors increase the likelihood for progression to more serious illness requiring hospitalisation, and ultimately death, after treatment for UTI in the community.

This paper describes the epidemiology of the use of trimethoprim, nitrofurantoin, amoxicillin/clavulanic acid, amoxicillin and ciprofloxacin for UTI in the community across Scotland, characterises the population using these antimicrobials and patterns of use, and examines how prior use of antimicrobials is associated with antimicrobial resistance in bloodstream infections and deaths.

Methods

Data linkage

The NHS National Services Scotland (NSS) Prescribing Information System (PIS) [36] holds all community dispensed prescriptions in NHS Scotland at an individual patient level and was examined to identify a cohort of patients who had been dispensed a UTI-related antimicrobial (amoxicillin, ciprofloxacin, amoxicillin/clavulanic acid, nitrofurantoin or trimethoprim) at any point from 1st January 2009 to 31st December 2012. Entry to the cohort was defined as the first prescription in the study period for one of the UTI-related antimicrobials. Gender and age at cohort entry were recorded for all patients. Only adults (age range 16–100 years old) were included in the study. Socio-economic status based on home postcode at entry to the cohort was measured by Scottish Index of Multiple Deprivation quintiles [37]. The Scottish Index of Multiple Deprivation (SIMD) is a relative measure of deprivation used by the Scottish Government to define socioeconomic deprivation across small geographical areas (also known as datazones), based on income, employment, education, health, access to services, crime and housing. Geographical areas are categorised into five quintiles, with quintile 1 being the most deprived, and quintile 5 the most affluent. Prescribing data for all the UTI-related antimicrobial prescriptions dispensed in the study period was linked to reports of all bacteraemia from the Electronic Communication of Surveillance in Scotland (ECOSS) data, and to patient level data on hospital admission from NSS General/Acute Inpatient and Day Case (SMR01) data and deaths from National Registrar Scotland (NRS) data. A universal patient registration system in Scotland uses a unique 10-digit identifier called the community health index number (CHI) which allows data linkage of all NHS encounters. The extraction and linkage were performed by the electronic Data Research and Innovation Service (eDRIS) [38] with all identifiers removed and replaced with a project specific pseudonymous identifier and access to the data provided via a Safe Haven secure analytical platform. No identifiable data was accessed by the research team.

In addition to demographic characteristics, potential risk factors associated with the presence of E. coli bacteraemia and antimicrobial resistance were examined using patterns of antimicrobial prescribing, prior hospitalisations and co-morbidity.

Patient level antimicrobial use data were used to identify how many prescriptions of each agent they received within each year in the study period. We also calculated total DDDs for each antimicrobial, defined as the assumed average maintenance dose per day for an individual drug’s main indication in adults. Patients who had received the same antimicrobial six or more times within any rolling 12-month period were defined as long-term users. Patients who received a different antimicrobial within 60 days were classed as having had a treatment failure as we assumed this was used to treat the same infection.

A Charlson Index of comorbidity [39] was calculated based on diagnostic ICD-10 codes from hospital discharge records. Previous admissions to hospital were also identified from these records including whether a High Dependency Unit (HDU) or Intensive Care Unit (ICU) stay was part of the admission.

Presence of any organism was identified through at least one record of bacteraemia for the patient within the ECOSS dataset. Reporting of urinary isolates for E. coli to ECOSS is not mandatory and so whilst these were initially examined they were not included within any analysis as there was only a sample of records available. E. coli bacteraemia related to blood samples, for which mandatory reporting across Scotland exists, was examined and reports on whether the isolate causing bacteraemia was sensitive or resistant to each of the tested antimicrobials was recorded (using Clinical and Laboratory Standard Institute [CLSI] recommended minimum inhibitory concentrations [40]). Each isolate was tested against several different antimicrobials and susceptibility was reported for any, including trimethoprim and nitrofurantoin, which are used primarily for treatment of urinary tract infection (referred to as UTI-specific antimicrobials).

Statistical analysis

Demographic characteristics, long-term users, treatment failures and number of antimicrobials dispensed were summarised for patients with any prescriptions, in total and by clinically defined group of UTI-related antimicrobials. The proportions of patients with bacteraemia, based on a positive blood culture for E. coli, were summarised across the groups for all of these variables and compared between the groups using chi-squared tests. Similarly, the proportions of patients who died within the study period were summarised and compared across demographic and usage groups using a chi-squared test for differences in proportions. Two-sample t-tests were used for comparison of continuous variables.

The main outcome measures were (a) first occurrence of positive E. coli bacteraemia, and (b) first occurrence of resistance to trimethoprim within the study period. Potential predictors of antimicrobial resistance were based on patterns of antimicrobial prescribing (e.g. long-term use, cumulative dose defined as DDDs, treatment failure). For each patient, these predictor variables are time-varying covariates, i.e. they change throughout the follow-up period. The standard analysis approach for incident events is survival analysis (e.g. Cox regression) potentially with time-varying covariates. However, due to the size of the dataset we used a partial logistic regression for survival analysis method [41]. We divided the follow-up period into fixed distinct time intervals, to allow for a simplified analysis via logistic regression, with the outcome being the first occurrence of an event during the time interval given that subjects were event free at the start of the interval, and predictors being based on each patient’s status at the start of the interval. We divided the study period into six-month intervals and used information from 2010 to 2012 for the modelling. The initial two intervals for 2009 were used to define patients’ status at the beginning of 2010 but no modelling for outcomes was performed over this time period. Hence the modelling was done using six intervals (two intervals per year for three years) with all events each study period modelled as a risk over the next 6-months (180 days).

We developed univariable models associating the two outcomes with each of the predictors and then created a final multivariable model for statistically significant predictors (selected in univariate analysis significant at p < 0.05) using manual stepwise selection. All analyses were carried out using the Statistical software R version 3.4.0 [42].

Results

Demographic characteristics

There were 1,093,227 patients aged 16 to 100 years old identified as receiving at least one prescription for the 5 UTI-related antimicrobials between 1 and 2009 and 31 December 2012 (amoxicillin, ciprofloxacin, amoxicillin/clavulanic acid, nitrofurantoin and trimethoprim - see Table 1). Over two-thirds of the cohort were female, with almost a third of all patients being older than 65 years, and patients tended to be relatively socioeconomically deprived, with almost half of the population (44.2%) belonging to the two most deprived quintiles. Almost half of all patients (44.9%) were prescribed one type of UTI-related antimicrobial during the study period, while just over a third (36.8%) were prescribed two different antimicrobials and 18% had 3 or more different antimicrobials prescribed. When examining the UTI-specific antimicrobials (nitrofurantoin and trimethoprim) only, there was also a higher proportion of women (615,027–81.8%) and patients aged older than 65 years (254,784 − 33.9%) with 14.8% (161,787 patients) receiving both agents within the same year.

Table 1 Characteristics of patients with at least one UTI-related antimicrobial prescribed

Long-term users and treatment failures

Prescribing patterns showed that 85,036 (7.8%) of patients were long-term users of antimicrobials (any antimicrobial); and there were 32,968 long-term users (4.4%) of UTI-specific antimicrobials (defined as patients that had 6 or more prescriptions for the same antimicrobial in any 12-month period).

There were 195,184 (17.9%) patients classed as having a treatment failure (two different antimicrobials prescribed within a 60-day period).

For the UTI-specific antimicrobials, 11.2% of all patients (72,705) prescribed trimethoprim had a treatment failure, while 16.7% (38,625) of those prescribed nitrofurantoin had a treatment failure (Table 1).

E. coli bacteraemia

Of the total sample of 1,093,227 patients, 121,716 (11.1%) patients had a record present in ECOSS and so had an organism isolated, for any infection type. Of these, 36,482 (30.0%) patients had a urinary E. coli isolated, of whom 25,715 (70.5%) had an E. coli with resistance to any of the 5 UTI-related antimicrobials. There were 7,485 (0.7% of the total sample) patients identified as developing a blood borne E. coli bacteraemia following any UTI-related antimicrobial. Patients who were male, older, more deprived, classed as a long-term user or a treatment failure were more likely to have an E. coli bacteraemia reported. A slightly higher proportion of patients prescribed the UTI-specific antimicrobial nitrofurantoin, 2,858 (1.2%), reported a subsequent E. coli bacteraemia (Table 2).

Table 2 Characteristics of UTI-related antimicrobial users who did / did not have an E. coli positive blood culture during study period 2009–2012

Multivariable analysis showed that the stronger predictor for a positive blood culture for E. coli bacteraemia was increasing age, along with male gender (OR 1.26, 95% CI 1.20 to 1.33), greater deprivation, increasing age and co-morbidity, and increasing number of UTI specific (trimethoprim or nitrofurantoin) prescriptions in the previous 6 months. There was a 15% increase in the risk of E. coli bacteraemia for each additional prescription of a UTI specific antimicrobial dispensed over the previous 6-month period. Emergency hospital admission or admission to a high dependency unit in the previous six months was also associated with a greater likelihood of having a E. coli bacteraemia (Table 3).

Table 3 Multivariable logistic model for predictors for testing positive for an E. coli bacteraemia in relation to UTI-specific drug

Antimicrobial resistance

There were 7,485 patients who were recorded as having an E. coli bacteraemia. Characteristics of patients with E. coli bacteraemia are detailed in Supplementary Table 1. Resistance rates were high, with 71.2% patients had an E. coli that was resistant to at least one of the antimicrobials examined. Resistance was greater for amoxicillin (68.2% of those tested), followed by trimethoprim (44.9%), amoxicillin/clavulanic acid (34.8%), ciprofloxacin (21.1%) and nitrofurantoin (9.8%).

Patients in the most deprived quintile, who were long-term users or treatment failures had higher proportions of resistant E. coli bacteraemia. There were 1,313 (80%) long-term users recorded as having a resistant E. coli versus 69% of those who were not long-term users (p < 0.001); while 1,765 (76%) of patients who reported a treatment failure had a resistant E. coli compared to 69% of those with no treatment failures (p < 0.01). (Supplementary Table 1). Resistance rates were similar across age groups, ranging from 66.2 to 71.6% with no significant difference.

A multivariable model for predictors of resistance in E. coli bacteraemia to trimethoprim showed significant predictors were male gender, increasing age, the highest level of deprivation, greater co-morbidity, prior exposure to trimethoprim, a treatment failure with trimethoprim, a sensitive E. coli bacteraemia in previous intervals and emergency admission (Table 4). Increasing age and greater co-morbidity were by far the most significant predictor, with a seven-fold likelihood of having a trimethoprim-resistant E. coli bacteraemia for those aged 65 years old or older (OR 7.18, 95% CI 5.70 to 9.04), and five-fold for those with a Charlson Index of comorbidity score of 3+ (OR 5.42, 95% CI 4.82 to 6.09).

Table 4 Multivariable logistic model for predictors of trimethoprim resistance in E. coli bacteraemia isolates

A similar model for nitrofurantoin showed the number of prescriptions for nitrofurantoin in the previous 6 months (OR = 1.31, 95% CI 1.10–1.56), and emergency admission (OR = 6.09, 95% CI 2.69–13.79) were also associated with significantly increased risk of resistance to nitrofurantoin in E. coli bacteraemia.

Mortality

Amongst the initial population receiving a UTI-related antibiotic male gender, increasing age, higher levels of deprivation, being a long-term user, having a treatment failure and having an E. coli bacteraemia all showed significantly higher proportions of mortality (Table 5).

Table 5 Characteristics of all patients prescribed any UTI-related antimicrobial who did/did not die

In patients who had an E. coli bacteraemia tested against trimethoprim, mortality was higher in those that were female, were long-term users of trimethoprim and who were treatment failures (had a second antibiotic in a 60-day period). Mortality in these patients was increased as age increased and was significantly higher in patients with trimethoprim resistance (39.4% v 31.5%, p < 0.001, see Table 6).

Table 6 Characteristics of patients with E. coli bacteraemia tested for trimethoprim resistance who did/did not die

Discussion

Main findings and comparison with other literature

This is one of the first studies in the UK to use a national linked patient level data set to investigate the population receiving antibiotics for the treatment of UTIs, and has demonstrated an association between primary care prescribing of antimicrobials for UTI and antimicrobial resistance in subsequent E. coli bacteraemia.

There were just over 15,000 E. coli bacteraemias in Scotland (Health Protection Scotland communication) over the period 2009-12 meaning that almost 50% of all cases came from the initial population within this study. This corresponds to the report by Bhattacharya et al. who made similar estimates for the English population [43].

Our study confirms that most treatment for UTI occurs within the elderly female population, a demographic that is set to significantly increase by 2030 with a 50% projected increase in the number of people aged over 75 years [44]. In our study, of the overall population receiving antibiotics almost 10% were on long-term antimicrobials, presumably as prophylaxis. 7,485 (0.7%) patients initiated on a UTI-related antibiotic had a positive blood culture for E. coli, with 71% of this group reported as being resistant to at least one antibiotic. Prior antimicrobial use, along with prior treatment failure, male gender, higher deprivation and multi-morbidity, were associated with a greater likelihood of an E. coli bacteraemia with resistance reported in multivariate logistic regression analysis. Increasing age was associated with both a greater likelihood of being prescribed antibiotics, and higher resistance rates. Prior trimethoprim use within the last 12 months was associated with an increased odds for resistance of 20%, with multiple courses showing increased association, which is in line with previous evidence [6]. One-fifth of patients in this national dataset had treatment failures requiring a second different antibiotic to be prescribed within 60 days, with both of the UTI-specific antimicrobials trimethoprim and nitrofurantoin having significant failure rates, of 10% and 16% respectively. Mortality was significantly greater in those with E. coli bacteraemia (vs. non-bacteraemic [35.3% vs. 6.6%, p < 0. 001), and those with trimethoprim-resistant E. coli. Prior treatment failures were also associated with increased likelihood of mortality, although the relationship was weaker in the case of trimethoprim. Our population with an E. coli bacteraemia had just over 35% all-cause mortality during the three-year follow-up and whilst this cannot be directly compared to the 30-day figure in the Bhattacharya paper it is also high. We were unable to examine attributable mortality to E. coli or to estimate the excess mortality in this patient group, as we looked into all-cause mortality within the study period modelled at risk over the next 6-months, as opposed to 30-day mortality.

Our findings are consistent with those seen elsewhere. Lishman et al. examined the relationship between primary care prescribing for urinary tract infections and resistance in E. coli bacteraemia in adult women in England. Similar to our study, they demonstrated that primary care antibiotic use for UTIs was linked to the development of an UTI-related bacteraemia, with higher rates of resistance associated with prior antimicrobial use [45]. Bou-Anton S et al. examined the incidence, risk factors and antimicrobial susceptibility profile on E. coli bacteraemia in England over a two-year period. Increasing age and female gender were both associated with an increased likelihood of E. coli bacteraemia, with a large proportion of cases (over 40%) found to be originating from urinary tract infections [34], supporting our findings. Results from Costelloe et al. suggest that primary care prescription of antibiotics was associated with trimethoprim resistance up to 12 months after exposure in patients admitted to hospital with urinary tract infections (unadjusted OR 3.58) [18], and another French study also found that resistance to amoxicillin/clavulanic acid was four times higher with exposure to it in the month before, in patients hospitalised with urinary tract infection [46]. However, the majority of these studies are relatively small, and Lishman included only women, through an ecological, population, approach. We included nationwide Scottish data for all adults from 16 years old and both genders, showing that male gender was a significant factor for resistance. Also, the availability of patient-level data makes it possible to draw patient-level conclusions, avoiding ecological bias. O Blandy et al. also demonstrated that presence of antimicrobial resistance, increasing age and comorbidities as main contributing factors for increased mortality [35], similar to our results, with the majority of cases being of community-onset, highlighting the need for improving antimicrobial use and reduce the burden of E. coli infections in the community. Similarly, increasing co-morbidity and an adverse antimicrobial resistance profile have been described as risk factors for poorer outcomes in studies looking more widely at Gram-negative bacteraemias [47].

Implications for policy and practice

There were over 1 million adult patients receiving at least one prescription for the 5 UTI-related antimicrobials within the study period, which means that 24.9% of the Scottish population (based on mid-2011 estimates of numbers aged 16–95+) [48] were exposed to these antimicrobials in this time frame. Primary care antimicrobial exposure was associated with increased occurrence of resistance in E. coli bloodstream infections (particularly for trimethoprim or nitrofurantoin), which in turn was associated with increased mortality. Our findings reinforce national policy efforts trying to reduce total antimicrobial use in the community in Scotland [49], and particularly antibiotic use in urinary tract infections, similar to the English Quality Premium initiative to reduce Gram-negative bloodstream infections [50]. Improving surveillance of resistance has also been described as a key action point for both UK Government [51], and internationally [52]. This study has helped demonstrate the value of enhanced surveillance systems, such as ECOSS, and routine data linkage for monitoring resistance trends nationally, understanding precipitating factors (including primary care antibiotic use), and examining adverse outcomes, such as mortality.

Both UTI-related antimicrobials had significant failure rates. This will have considerable resource and patient outcome implications, including longer hospital stays, increased mortality, and increased cost related to suboptimal antimicrobial use [53,54,55]. Furthermore, this has implications for the recommendations for empiric therapy of UTIs. The majority of prescribing is done without knowledge of the infecting organism or its sensitivities as, although laboratory reporting can influence GPs’ prescribing of antibiotics for UTIs and other infections [56], current guidelines recommend against routine sampling for uncomplicated urinary tract infections in the community [30].

Conclusion

Increasing age, increasing co-morbidity, lower socioeconomic status, and prior community antibiotic exposure were significantly associated with a resistant E. coli bacteraemia, which leads to increased mortality, with older age being the strongest predictor. This highlights the need for prudent primary care antibiotic use, particularly in the frail, multi-morbid population.

Strengths & Limitations

The major strength of this study is that we report data on the burden of antimicrobial resistance in E. coli bacteraemia in Scotland at national level, and the association with prior antimicrobial use for UTI in the community among other factors, and mortality at the patient-level, which is unique. Completeness is a common concern with using routinely collected data. However, the data presented in this study derived from the ECOSS data set, which entails a surveillance and reporting system across Scotland. Reporting of E. coli bacteraemia to ECOSS remains mandatory, so missing data is unlikely.

Patients were identified as having an antimicrobial prescription of any of the five specified antimicrobials at any point during the study period. Patients having other or no antimicrobials but still an E. coli bacteraemia could have been missed. The five antimicrobials examined however represent up to 80% antimicrobial use for UTI in the community, and are all relevant for the treatment of Gram-negative bacteraemia [23]. However, we did not have the indication for the prescription as this is not available within the PIS database, which may introduce selection bias, and so assumed that UTI was the reason for the prescription. This is more valid for trimethoprim and nitrofurantoin but less so for the other antimicrobials especially amoxicillin and so we presented data grouped in different ways.

We defined treatment failure as needing a different, second, antimicrobial within 60 days (which is longer than some other studies [23]), as we assumed this was used to treat the same infection. We acknowledge this is a strong assumption, however we decided to use a 60-day window to identify treatment failure as not all PIS data has the correct dispensed date attached as it may default to the date the pharmacist was paid which is commonly the end of the month. We therefore chose a 60-day window to allow for this limitation with the data. There is also the issue that treatment failure is actually empirical treatment of an existing undiagnosed resistant E. coli which is only detected at a later stage, but we were unable to explore the data to examine this further and it also reflects clinical practice.