Introduction

Chronic kidney disease (CKD), characterized by chronic kidney damage resulting in reduced blood filtration, is a relatively frequent pathology growing worldwide due to increased life expectancy and the increase in risk factors associated with CKD, such as hypertension (HT) and type 2 diabetes mellitus (DM) [1].

The prevalence of CKD in Spain, defined by a reduced eGFR < 60 ml/min/1.73 m2 or an increased and persistent albumin/creatinine ratio ≥ 30 mg/g), is 15.1% higher in men than in women (23.1% vs. 7.3%), and increases with age to 37.3% in subjects ≥ 65 years [2]. Approximately 6.8% of the population has an eGFR of less than 45 ml/min, and 0.3% of the population has an eGFR of less than 30 ml/min.30 ml/min [3].

In Catalonia, in the period from 2012 to 2018, there has been an increase in both the prevalence and incidence of kidney replacement therapies, the number of transplants performed, and mortality associated with end-stage kidney disease [4].

The relationship between analgesic consumption and the appearance of CKD—known as analgesic nephropathy—is well established, although there is discordant data regarding the effect and magnitude of the different analgesics studied [5,6,7,8,9,10,11,12,13,14].

The possible effect of non-steroidal anti-inflammatory drugs (NSAIDs) on initial development or progression of CKD has been less studied. In this regard, a meta-analysis published in 2013 showed no relationship between the use of NSAIDs and CKD, except in the case of taking high doses of NSAIDs that decline in renal function [15]. For selective cyclooxygenase-2 inhibitors (Coxibs) there is still less information from medium and long-term studies on their possible nephrotoxicity. An association has been identified between both nonselective NSAIDs and Coxibs use and an increase in blood pressure, especially in patients with a history of HT. This effect could be a contributing factor in the long-term development of CKD [16,17,18,19].

There are no data for other analgesics such as metamizole or Symptomatic Slow Action Drugs for Osteoarthritis (SYSADOA) and development of CKD; however, due to the mechanism of action, SYSADOA could not have renal effect. Similarly, there is very limited data for opioids. In relation to antiaggregants the data are limited [20,21,22,23,24,25,26], a clinical trial with acetyl salicylic acid (ASA) in patients with chronic kidney disease and DM [23] did not show any effect on the decline in renal function, but a meta-analysis pointed to a possible protective effect [22].

Several factors hinder understanding of analgesic or NSAID nephropathy. Most studies based CKD status on serum creatinine, not eGFR, and they are primarily focused on advanced CKD or on renal substitute treatment, excluding the frequent mild- moderate phases usually attended in primary care. In these early stages, restrictions on the prescription of NSAIDs and analgesics are less frequent.

Given this lack of knowledge, the objective of this study is to explore the associations between decline in renal function and the use of NSAIDs (non-selective or Coxibs), SYSADOA, analgesics (acetaminophen, metamizole and opioids), and/or antiplatelet drugs. It also aims to establish whether there is a dose-effect relationship in terms of cumulative dose or time of use.

Materials and methods

We performed a case-control study using the Information System for the Development of Research in Primary Care (SIDIAP), which incorporates the electronic health records from primary care (ECAP) at the “Institut Català de la Salut” (ICS), the main health provider in Catalonia and other data sources such as billing in the pharmacy offices of the Catalan Health Service (CATSALUT) [27, 28]. The ICS database contains longitudinal information from 2006 onwards from the ECAP clinical station of 274 primary care teams in Catalonia, with an assigned population of 5,835,000 patients (80% of the Catalan population). Information comprises patients’ demographic data (sex, age), health problems coded according to the “International Statistical Classification of Diseases and Related Health Problems, 10th Revision (ICD-10) [29], clinical visits to primary care centers, results of analytical and other complementary tests, and records of all medication prescribed and dispensed by the Catalan national health system.

Participants

The target population consisted of individuals aged over 17 who were registered in SIDIAP, had attended a public primary care center, and who had a CKD-EPI or creatinine registry during the period from 2010 to 2015. Attendance was defined as a minimum of 2 visits to a primary care center (to be seen by a family physician and/or a nurse) in the 3 years prior to the index date selection of both cases and controls.

Patients with fewer than two visits in the last three years before the index data during the study period were excluded, in addition to those with previous primary renal diseases or other diseases which high risk of CKD, such as renal conditions, rheumatological diseases, oncological pathology (both due to the possible risk of the oncological process and the possibility of having received treatment with nephrotoxic drugs) and patients with organ transplants (Supplementary Table 1).

Case/control definition

A patient was considered a case, if he or she had an eGFR value (estimated by the CKD-EPI formula) ≤ 45 ml/min/1.73 m2 [30] (index date) in the period between 2010 and 2015 (with this value date considered as the Index Date) with a previous eGFR value ≥ 60, and no eGFR ≥ 60 afterwards.

A patient was considered a control if he or she had an eGFR ≥ 60 (index date) in the period between 2010 and 2015 with no previous eGFR < 60. Moreover, no variation in eGFR values > 20% between 2005 and 2010 was required.

Five controls were randomly selected for each case through a density-based sampling method matched by sex, age (± 2 years), Index Date (± 1 year), diagnosis of DM and HT in the study period, and time of two laboratory tests (0–1 year, 1–2 years, or 2 or more years).

Variables

We collected data on age, sex, smoking status (nonsmoker, former smoker, and current smoker), Charlson comorbidity index, HT, DM, heart failure, arteriosclerotic disease, atrial fibrillation, hypercholesterolemia, anemia, hyperuricemia (Supplementary Table 1) and concomitant drug use related to renal involvement (Supplementary Table 2).

We considered the use and pattern of use of the study drugs: NSAIDs, SYSADOA, analgesics (acetaminophen, metamizole and opioids), and/or antiplatelet drugs. We defined daily doses (DDDs) [31] billed until the index date per patient for each study group and drug, according to the codes of the “Anatomical Therapeutic Chemical Classification System” (Supplementary Table 2).

Three exposure variables were generated for drug use. Firstly, patients were classified as drug users if there was a minimum withdrawal of three packages of the same active substance from the pharmacy in the period studied. We selected 3 or more prescriptions withdrawn from pharmacies to ensure adherence to treatment by using dispensing data and not having actual consumption data. Secondly, cumulative DDD was calculated for each patient, classifying patients into “No use” or, according to tertiles of cumulative DDD, “Low Use”, “Medium use” or “High use” into a dosage variable. Lastly, the pattern of use was defined as “No use”, “Current or recent use” (having received at least one prescription in the 12 months prior to the index date) or “Remote use” (drug received earlier than 12 months before the index date).

Statistical methods

Baseline characteristics between cases and controls were compared. Quantitative variables were described using mean and standard deviation, and median and interquartile range. Qualitative variables were described using absolute and relative frequencies.

Chi-square tests were used to compare qualitative variables between cases and controls, while Mann-Whitney U tests were used for quantitative variables. Odds Ratios (ORs), with 95% Confidence Intervals (CIs) for decline in renal function (indicating the case group) were estimated by adjusting logistic regression models.

ORs were estimated both unadjusted (from a logistic regression model using the drug) and adjusted from a multivariate logistic regression model (adjusting for the index data year, comorbidities [Supplementary Table 1] and concomitant drugs [Table 1]).

Table 1 Baseline characteristics of the case-control population

The statistical analysis was performed with the R statistical package (https://cran.r-project.org/).

Ethical issues

All procedures were in accordance with applicable regulation on clinical research and data protection, and with ethical standards of the 1964 Helsinki Declaration and its later amendments, or comparable ethical standards. The study protocol was approved by the Ethics Committee for Clinical Research of IDIAP Jordi Gol (reference no. P14/072). Exemption of informed consent was considered from the participating individuals and the study was based on pseudonymized data according on data protection law.

Results

Within the study cohort, 18,905 cases were identified and matched with 94,456 controls (see flow-chart in Fig. 1).

Fig. 1
figure 1

Study flow-chart

The mean age of the sample was approximately 77 years, 60% were women, 79% had HT, and 37% had DM. The characteristics of the sample for cases and controls are described in Table 1.

We observed that the prevalence of other cardiovascular risk factors is higher in cases than in controls, except for hypercholesterolemia. Moreover, the use of concomitant medications is also higher in cases than in controls, except for calcium supplements and bisphosphonates, which are lower, and for diuretics, which do not indicate differences in levels.

The use of the different groups of study drugs and OR (crude and adjusted risks of decline in renal function) is shown in Table 2. The higAngiotensin-convertinghest use in both cases and controls can be seen for acetaminophen, followed by NSAIDs and opioids.

Table 2 Use to the different study groups of drugs by decline in renal function, and association of drug use and renal function impairment (results from unadjusted and adjusted logistic regression models)

Risk of decline in renal function depending on the analgesic family drug

When applying the multivariate adjusted model (Table 2), a low risk is described for NSAIDs (OR 0.92; 95%CI, 0.88–0.97), SYSADOA (OR 0.87; 95%CI,0.82–0.91) and acetaminophen (OR 0.84; 95%CI, 0.79–0.89), a high risk for metamizole (OR 1.07; 95%CI, 1.03–1.12) and antiplatelet drugs (OR 1.07; 95%CI, 1.03–1.11) and no effect for opioids (OR 0.98; 95%CI, 0.95–1.03).

When analyzing the subgroups, (Table 3 and Supplementary Fig. 1), within the NSAIDs the low risk was limited to propionic acid-derivatives (PAD) (OR 0.92; 95%CI, 0.88–0.96). For the opioids, a high risk of decline in renal function appears to be associated only with major opioids (OR 1.15; 95%CI, 1.08–1.23).

Table 3 Use to the different study sub groups of drugs by decline in renal function, and association of drug use and renal function impairment (results from adjusted logistic regression models)

In relation to antiplatelet agents, all the subgroups present a high risk of decline in renal function: ASA alone (OR 1.05; CI95%, 1.01–1.09), ASA associations (OR 1.44; CI95%, 1.00- 2.04), and triflusal (OR 1.29; CI95%, 1.16–1.44).

Risk of decline in renal function depending on previous consumption (DDD)

Data are also analyzed according to the degree of use by DDD tertiles (Table 4). The low risk of NSAIDs is limited to low (OR 0.92; 95%CI, 0.87–0.98) or medium use (OR 0.91; 95%CI, 0.85–0.96). Within the NSAID subgroup (Supplementary Table 3) the low risk is observed at any dose use of propionic acid derivatives, while an high risk is detected for high doses both in acetic acid derivatives (AAD) (OR 1.09; 95%CI, 1.03–1.15) and Coxibs (OR 1.19; 95%CI, 1.08–1.30).

Table 4 Multivariate regression model on adjusted decline in renal function by cumulative doses of drugs (categorized in DDD tertiles)

Within SYSADOA and acetaminophen, the low risk effect is maintained for all degrees of DDD use (Table 4, Supplementary Fig. 2).

For the opioids group, a high risk appears with high use (OR 1.06; 95%CI, 1.01–1.13) in the case of major opioids (Supplementary Table 3).

In addition, medium and high use of metamizole is associated with a high risk (OR 1.07; 95% CI 1.01–1.13; and OR 1.14; 95%CI 1.08–1.21, respectively) (Table 4).

For the antiplatelet drugs, high risk occurs at low (OR 1.17; 95%CI, 1.11–1.23) and medium use (OR 1.09; 95%CI, 1.03 − 1.15), with low risk at high use (OR 0.94; 95%CI 0.89–1.00). The same pattern was maintained for ASA alone (Supplementary Table 3). In contrast, triflusal shows a high risk at medium (OR 1.23; 95%CI, 1.02–1.48) and high use (OR 1.68 95%CI, 1.40–2.01).

Risk of decline in renal function depending on the time of consumption

Supplementary Tables 4 and 5 show the analysis according to recent or remote use. In the NSAIDs group, acetic acid (OR 1.17; 95%CI, 1.11–1.30) and Coxibs (OR 1.14; 95%CI, 1.03–1.27) shows a high risk within recent use. This is also the case for metamizole (OR 1.22; 95%CI, 1.15–1.29). For the opioids group, the high risk occurs only for major opioids in both recent and remote use (OR 1.16; 95% CI, 1.06–1.27, and OR 1.11; 95%CI, 1.01–1.22 respectively).

For antiplatelet agents an increased risk is observed for both recent and remote use (OR 1.08; 95%CI, 1.03–1.13 and OR 1.06; 95%CI, 1.00- 1.13 respectively). AAS alone shows a high risk for both categories (OR 1.06; 95%CI, 1.012–1.11 and OR 1.06; 95%CI, 1.00- 1.13 respectively), while for associated AAS and triflusal the high risk is limited to recent use (OR 1.64; 95%CI, 1.07–2.50, and OR 1.89; 95%CI, 1.58–2.25 respectively).

Discussion

In our study there was no decline in renal function related to NSAIDs, but it appeared in highest cumulative doses (DDD) of acetic acid derivatives NSAIDs and Coxibs. A high risk of decline in renal function was identified for metamizole, antiplatelet agents and high dose of major opioids.

Although our study does not show a high risk of decline in renal function with overall NSAID use, results that would be consistent with other studies that have not associated these drugs with the development of chronic kidney disease [13,14,15], there are more studies that show an unfavorable effect of NSAIDs on renal function [5, 6, 9,10,11,12]. Thus, NSAIDs have been associated with renal failure [6, 9, 11, 12], chronic kidney disease [5] or end-stage renal disease [10]. It should be noted that our study does show a risk of decline in renal function with high NSAID use, a result that would be consistent with the data from the meta-analysis by Nderitu et al. [15] which also found no overall relationship between NSAID use and chronic kidney disease, except in the case of high exposure to NSAIDs, where it would be associated with decline in renal function [15].

Our results would therefore support current recommendations to avoid these drugs in patients with chronic kidney disease. However, this “no risk” is limited to propionic acid-derivatives for all the different analyses, such as dose exposure or pattern of use, which is consistent with a better safety profile (digestive and cardiovascular security) [32,33,34,35] of this subgroup of NSAIDs.

Moreover, a high risk is observed for high exposure in both acetic acid derivatives and Coxibs. This aligns with studies that describe kidney damage [13, 15]. For the Coxibs, this could be slightly higher, perhaps due to the effect of increased blood pressure described principally for this group [19], and especially in response to etoricoxib [18].

In our study, acetaminophen has a low risk of decline in renal function. These results align with other studies in which there was no associated risk of renal impairment [6, 9, 10, 14]; however, they also diverge from other studies [5, 7, 8, 12].

In the present analysis, metamizole shows a consistent high risk of decline in renal function (globally, for medium and high doses and recent exposition). Currently this drug tends to be used as an alternative to NSAIDs in patients with chronic kidney disease or hypertension.

There is limited information about a possible risk of metamizole, as it is only used in a few countries. Metamizole pharmacological effects seem to be partly mediated by interference with prostaglandin synthesis via inhibition of cyclooxygenases, [3637], and use of high doses of this drug may prolong vasopressor therapy and could be an independent risk factor for acute kidney failure in intensive care units [38].

Previous studies on the safety of SYSADOA have not shown cardiovascular or gastrointestinal adverse effects of NSAIDs. According to our results, there are no adverse renal effects with chronic use [39].

For the opioids group, we observed a high risk only for major opioids, which seems to be associated with high use, both recent and remote use. Although it has been widely described that opioids need to be readjusted if renal function is severely impaired, we have not found information about decline in renal function due to these drugs.

Although the drug itself could explain this, it could also be a consequence of a possible bias in case population, as major opioids can be used as an alternative to NSAIDs in patients with higher and more severe comorbidity, which is also associated with chronic kidney disease.

Regarding antiplatelet drugs, the results show a high risk of decreasing eGFR observed for all antiplatelet agents, both for recent and remote use.

Interestingly, there is no risk in the consumption of high cumulative doses of ASA, a treatment that tends to be higher in CKD patients, which may indicate that it is not the drug itself posing the risk, but rather a possible confounding factor. We are especially concerned about triflusal data, a drug with a high level of use in our country.

In contrast in a Cochrane systematic review [40], the user of antiplateled drugs did not shows a high risk of decline in renal function. More recently, a systematic review showed that the use of antiplatelet therapy in CKD patients did not slow the rate of eGFR decline (MD, 0.15 mL/1.73 m2/year; 95% CI, −0.89 to 1.20; I2 = 40.8%), and had no effect on kidney failure events (OR, 0.87; 95% CI, 0.32–1.55) [41]. There were no data comparing different antiplatelet agents. The results were similar in the clinical randomized controlled trial conducted by Sandory to evaluate low-dose aspirin (81 mg or 100 mg daily) or aspirin-free group, as primary treatment prevention of CVD in patients with type 2 diabetes. They found that long-term low-dose aspirin does not affect eGFR or positive urine dipstick albumin in patients with type 2 diabetes [23].

In Fored’s retrospective case-control study of the relationship between analgesic use and kidney function, there was a high risk related to AAS at analgesic doses (OR 2.5) but not at antiplatelet doses [8].

On the other hand, the progressive aging of the population in recent decades has been associated with an increase in osteoarticular pathologies, frequently accompanied by chronic consumption of anti-inflammatory drugs and analgesics [42]. This may have contributed to the high prevalence of CKD in older people. Although in Spain [43, 44] and Catalonia the consumption of NSAIDs has decreased in recent years, local data show a 45% increase in metamizole use from 2014 to 2020 (2.0 DHD and 2.9 DHD, respectively).

Considering the arguments provided above, we consider that further studies would be necessary to confirm this decline in renal function, especially in relation to metamizole, major opioids and triflusal. Although the risk described in our study related to metamizole could be marginal, as it is one of the drugs frequently used as an alternative to NSAIDs in our country, this risk could be affecting many patients. With regard to triflusal, we believe that aspirin should be promoted instead of triflusal because of better evidence in the indications they share. Metamizole and triflusal are frequently used drugs in our country with limited long-term safety data and we believe that their use should be redirected to safer alternatives.

Our study excludes an overall risk of kidney function decline of NSAIDs in our population, possibly biased by caution in their prescription in this population. However, a possible detrimental effect of NSAIDs is not ruled out, in this sense, our results show a high risk with the high use of NSAIDs. It should also be noted that the use of paracetamol does not present a kidney function decline and therefore could be a safe drug in population with kidney function decline.

Study limitations

One of the limitations of this study is that the data on drugs were obtained from billed prescriptions within the National Health Service, so adherence cannot be assured. Moreover, data on self-medication or drug prescription by private care providers are not available.

We cannot rule out a possible bias in population selection because case populations have a higher prevalence of cardiovascular pathology and could have a lower probability of receiving NSAIDs and in patients with initial reductions in eGFR, especially considering that decline in renal function is a continuous value (not a presence or absence value).

We have only considered eGFR to define decline in renal function, due to the absence of albuminuria data in nearly half of the patients. In addition, the date of analysis did not always coincide with the creatinine determination. We obtained and adjusted information for the main risk factors, except for proteinuria, as the value was not available in most patients. There may also be other confounding factors to consider.

The variable used (decline in renal function) from analytical tests available in the database could be less accurate in setting the index day compared with studies conducted directly on patients and there may be losses of information due to lack of recording of analytical results in setting the index day. There may also be a possible bias in the classification of both case and control due to the lack of available analytical values in the database. Another limitation of database studies could be the absence of register of non-pharmacological exposures that affect renal function.

Conclusion

In our study, we observed a high risk of decline in renal function associated with metamizole and antiplatelet agents, especially triflusal and with high use of acetic acid derivatives NSAIDs, Coxibs, and major opioids. There was a low risk for acetaminophen and SYSADOA.

This high risk linked to metamizole is of particular concern, given its frequent use in our country as an alternative to NSAIDs. There is also concern about the high risk described by triflusal, as this drug is used for prevention or cardiovascular events. Further studies are necessary to confirm these results.