FormalPara Key Points

There were significant increasing trends of opioid overdose at the US inpatient care setting from 2009 to 2017, showing an ongoing need for opioid overdose prevention

Different prescription opioids were associated with opioid overdose to different extents, indicating a necessity to differentiate prescription opioids during prescribing

The optimal properties underlying reduced overdose effects mined from the large-scale, real-world electronic health records hold significant potential to guide the development of better opioids with reduced overdose effects

1 Introduction

Over the past two decades, drug overdose has been a leading cause of injury-related deaths in the USA, of which 70% involved illicit or prescription opioids [1]. Prescription opioids are among the most effective drugs to treat pain, which are ligands to the endogenous mu opioid receptor (MOR) and can exert agonistic, partially agonistic, or antagonistic effects [2]. When activated by agonists, MOR can mediate analgesic effects as well as modulate respiratory responses [3]. However, lethal respiratory depression can happen when overdosed [3]. In 2018, opioid overdose was attributed to 47,761 deaths, which imposed an enormous public health burden on the USA [4, 5]. The epidemic of opioid overdose is dynamic and complex [6, 7]. As opined by Jalal et al. [7], the current epidemic can be a recent manifestation of an ongoing longer term process. Close monitoring of the temporal trends of opioid overdose is, therefore, crucial for developing and evaluating relevant policies to prevent and control the epidemic [7,8,9,10,11]. Furthermore, despite the complexity of the opioid overdose epidemic, there exist some patterns between opioid overdose and factors such as patient demographics and opioid prescriptions, which can provide essential knowledge for the planning of effective prevention measures [11,12,13,14].

To combat the opioid overdose epidemic, various guidelines and programs have already been launched, mainly to curb opioid prescribing [15,16,17]. For example, the Centers for Disease Control and Prevention has recommended various dosage thresholds in morphine milligram equivalents to limit opioid use [17]. Notwithstanding these measures, opioid analgesics are still among the most commonly prescribed medications, presumably because pain is one of the most common reasons for patients to visit their doctors [18, 19]. In addition, to control the quantity of opioid use, another major pursuit of the opioid research community has been developing opioid analgesics with reduced overdose effects [20,21,22,23,24,25,26]. More specifically, reduced overdose effects can be potentially addressed from (1) the pharmacokinetic (PK) perspective—what the body does to the drug: decrease the probability of overdose events by avoiding excessive amount of opioids at the action site and (2) the pharmacodynamic (PD) perspective—what the drug does to the body: alleviate the overdose outcome by avoiding unexpected off-target effects. Based on these mechanisms, novel therapeutic agents have been proposed via optimizing certain innate properties of opioid analgesics. For example, one selective MOR agonist was shown to be both effective for analgesia and devoid of respiratory depression [22]. Another MOR agonist was also reported to have low abuse potential because of a reduced rate of entry across the blood–brain barrier (BBB) [27]. Nonetheless, whether these new chemical entities will eventually work in human subjects remains unclear [25]. In fact, new drug development is well known for its low success rate [28]. Given the severity and urgency of the opioid overdose epidemic, early-stage optimization strategies on the lead compounds are crucial for the timely development of better opioids, which involve both PK and PD perspectives [29].

Recently, real-world data, such as electronic health records (EHRs), have received substantial attention for large-scale drug safety studies [30]. Real-world evidence generated from real-world data holds significant potential to guide drug discovery and subsequent drug development [31, 32]. In the case of opioid overdose, the fundamental question would be “What are the optimal properties underlying opioids with reduced overdose effects?” The properties associated with reduced overdose effects in a large-scale human population can be used to generate pertinent hypotheses during early drug discovery as potential optimization strategies [33].

Hence, in this observational study on opioid overdose, we first evaluated the temporal trends of opioid overdose and its risk factors, including patient demographics and prescription opioid exposures based on a real-world EHR database. Second, based on the opioid overdose patterns emerged from the large-scale human population, we examined the opioid analgesic properties underlying lower association strengths in opioid overdose.

2 Methods

2.1 Data and Measurements

This retrospective cross-sectional study was based on Cerner Health Facts®, one of the largest EHR databases in the USA. Health Facts® stores real-world, de-identified, longitudinal patient data from over 600 healthcare facilities. Health Facts® is a relational database with multiple tables on patient demographics, encounters, diagnoses, medications, clinical events, procedures, and laboratory tests, among others. The records in Health Facts® are comprehensive and include over 300 data elements. The care settings in Health Facts® include inpatient, outpatient, and emergency, among others. However, only inpatient data in Health Facts® were evaluated against another well-established inpatient sample, the Healthcare Cost and Utilization Project Nationwide Inpatient Sample, which are shown to have a similar distribution across all data elements in a previous study [34]. As pointed out by the same study [34], many hospitals contributing to the Health Facts® database have both paper-based records and electronic records. As a result, there may be missing information in this EHR database. In this study, we only focused on the validated inpatient data.

For the assembly of our study dataset, we applied the inclusion criteria: patients admitted to the inpatient care setting between 1 January, 2009 and 31 December, 2017. No exclusion criteria were applied. For each patient, we aggregated the diagnoses codes from all inpatient encounters within one calendar year. The International Classification of Diseases (ICD) codes for (1) poisoning and (2) adverse effect by opium, heroin, methadone, and other related narcotics, among others, were then used to identify patients with opioid overdose [35, 36]. All relevant ICD Ninth Revision (ICD-9) and Tenth Revision (ICD-10) codes were summarized in Table S1 of the Electronic Supplementary Material (ESM) [37]. Patients with at least one opioid overdose diagnosis code were added to the opioid overdose cohort in that year. Other independent variables are described as follows.

2.1.1 Patient Demographics

We measured patient demographics, including age group (< 18, 18–30, 31–40, 41–50, 51–64, 65+ years), sex (female, male), race/ethnicity (African American, Asian, Caucasian, Hispanic, Native American, others), marital status (divorced, married, single, widowed, others), census region (Midwest, Northeast, South, West), and urbanicity (rural, urban). For patients with varied demographics within a calendar year, such as migration between rural and urban areas, records from their first encounter were used.

2.1.2 Prescription Opioid Exposures

For each patient, we aggregated the prescribed medications during hospitalization in Health Facts® from all inpatient encounters within one calendar year. A patient was defined as exposed if the aggregated medications containing the active opioid ingredient(s), otherwise as non-exposed. The prescription opioids were further categorized by their action types on MOR [2], namely, (1) opioid agonists: codeine, fentanyl, and morphine, among others, (2) opioid partial agonists: buprenorphine, butorphanol, and nalbuphine, and (3) opioid antagonist: naloxone. For each category, we collected the corresponding US Food and Drug Administration-approved active ingredients from DrugBank 5.1.6, which were then mapped to medications containing them in Health Facts® [38]. Illicit opioids and opioids withdrawn from the market were excluded, such as diamorphine, i.e., heroin and propoxyphene. To ensure sufficient statistical significance, prescription opioids with annual prevalence (per 1000 patients) less than 1‰ were also excluded from analyses, such as dihydrocodeine, naltrexone, and pentazocine.

For the innate properties of prescription opioids, we identified the PK and PD properties reported to be relevant in opioid overdose, including (1) PK properties, interaction with certain efflux transporters and metabolic enzymes: multi-drug resistance protein 1 (MDR1), cytochrome P450 (CYP) 2D6, and CYP3A4 [39,40,41] and (2) PD properties, interaction with certain receptors: delta opioid receptor (DOR), kappa opioid receptor (KOR), and N-methyl-D-aspartate receptor (NMDAR) [22, 42]. In addition to the discrete PK and PD properties, several continuous physicochemical properties underlying BBB permeability were also included: lipophilicity (logP), polar surface area (PSA), and molecular weight (MW), which can affect the opioid exposures inside the brain [43]. All the properties are commonly seen in the optimization strategies during drug discovery and development [44] and their values were also collected from DrugBank 5.1.6 [38].

2.2 Statistical Analyses

Demographic characteristics were determined using descriptive analyses. Proportions of opioid overdose, i.e., opioid overdose prevalence, among all patients and demographic subgroups, were calculated on a yearly basis. Inferential analyses were conducted to examine the temporal trends of opioid overdose and risk factors by calculating the adjusted odds ratios (aORs) and 95% confidence intervals (CIs). First, for temporal trends in all patients, multivariable logistic regression was used with (1) whether a patient was diagnosed as opioid overdose within a year as the dependent variable and (2) year and demographic factors as independent variables. For each patient subgroup stratified by demographics, the same model was applied with an additional interaction item between the year and the demographic factor to examine the temporal trends, further adjusted for all demographics (e.g., age group, sex, race/ethnicity, marital status, census region, and rural/urban area). Second, for risk factors, including demographics and prescription opioid exposures, multivariable logistic regression adjusted for all demographics was also performed based on both data in each year for the yearly aORs and data across all years for the overall aORs. For demographics, age group in 65+ years, sex as female, race/ethnicity as Caucasian, marital status as single, and census region in the South and urban areas were set as the reference. Note that when evaluating prescription opioid exposures as risk factors, the non-exposed patients were set as the reference.

After calculating the aORs of prescription opioid exposures, we conducted a further analysis for our secondary study objective. To examine the relationship between opioid analgesic innate properties and their aORs (i.e., association strengths) in opioid overdose (exposed patients vs non-exposed patients), a power analysis was first conducted to only exploit aORs with statistical power greater than 80% [45, 46]. For continuous physicochemical properties, we discretized them into low or high, with its median value as the cut-off. The opioid analgesics were grouped based on the discrete physicochemical, PK, and PD properties. Then, the Wilcoxon test was used to examine whether aORs in certain property groups were significantly lower, which may correspond to better opioid analgesics with reduced overdose effects.

The dataset was processed in Python 3.7.3. Statistical analyses were conducted in R 3.6.1, packages: “stats” and “epiR”. All data analyses were performed between 1 February, 2020 and 1 September, 2020.

3 Results

3.1 Patient Characteristics

Between 2009 and 2017, a total of 7,339,480 inpatient encounters for 4,720,041 patients (with/without opioid overdose) were retrieved from Health Facts®. Among them, 1,423,744 (30.2%) patients were in the 65+ years age group, 2,689,898 (57.0%) patients were female, 3,310,471 (70.1%) patients were Caucasian, 1,995,380 patients (42.3%) were single, 1,511,746 patients (32.0%) were from the South, and 3,813,817 patients (80.8%) were in an urban area. Encounter counts for patients are summarized in Fig. S1 of the ESM.

3.2 Temporal Trends of Opioid Overdose

Annual opioid overdose prevalence from 2009 to 2017 stratified by demographics is detailed in Table 1. There were significant increasing trends of opioid overdose. From 2009 to 2017, the overall opioid overdose prevalence per 1000 patients increased from 3.7 to 11.9‰ (3.2-fold increase; aOR: 1.16, 95% CI 1.15–1.16; p < 0.0001). The increasing trends in all patient subgroups were also significant. Among them, a patient subgroup from the South had a 6.3-fold increase (from 2.0 to 12.9‰; aOR: 1.22, 95% CI 1.20–1.22; p < 0.0001), followed by Asian patients (5.2-fold increase: from 1.2 to 6.0‰; aOR: 1.20, 95% CI 1.14–1.27; p < 0.0001), African American patients (4.8-fold increase: from 2.2 to 10.8‰; aOR: 1.20, 95% CI 1.19–1.22; p < 0.0001), and patients in a rural area (4.2-fold increase: from 2.1 to 8.8‰; aOR: 1.14, 95% CI 1.13–1.16; p < 0.0001). These prominent trends suggested that prevention and control measures at the US inpatient care setting had been inadequate over the years.

Table 1 Temporal trends of opioid overdose stratified by demographics from 2009 to 2017

3.3 Demographics as Risk Factors for Opioid Overdose

Demographics as risk factors for opioid overdose are summarized in Table 2. Compared to patients aged 65+ years, patients aged 41–50 years (overall aOR: 1.36, 95% CI 1.31–1.40; p < 0.0001) or 51–64 years (overall aOR: 1.35, 95% CI 1.32–1.39; p < 0.0001) had a higher odds of opioid overdose whereas patients aged < 18 years (overall aOR: 0.18, 95% CI 0.17–0.19; p < 0.0001) or 18–30 years (overall aOR: 0.74, 95% CI 0.71–0.76; p < 0.0001) had a much lower odds. When comparing to single patients, patients who were divorced (overall aOR: 1.19, 95% CI 1.15–1.23; p < 0.0001) had a higher odds of opioid overdose whereas the odds were lower for patients who were married (overall aOR: 0.73, 95% CI 0.71–0.75; p < 0.0001) or widowed (overall aOR: 0.89, 95% CI 0.86–0.93; p < 0.0001). For patients in the rural area (overall aOR: 0.84, 95% CI 0.82–0.86; p < 0.0001), their odds of opioid overdose were lower than patients in the urban area. Note that the yearly aORs were also varied. For example, across all years, male patients (overall aOR: 0.98, 95% CI 0.96–1.00; p = 0.05) had comparable odds with female patients. However, male patients were more likely to have opioid overdose in 2009 whereas they became comparably or less likely to have it in subsequent years. Similarly, patients from Midwest, Northeast, or West census regions also exhibited varying aORs of opioid overdose from 2009 to 2017, which partially reflected the changing dynamics of the opioid overdose epidemic [7].

Table 2 Demographics as risk factors for opioid overdose and adjusted odds ratios from 2009 to 2017

3.4 Prescription Opioid Exposures as Risk Factors for Opioid Overdose

Prescription opioids included for evaluation are listed in Table 3, along with their relevant properties and the overall prevalence per 1000 patients between 2009 and 2017. Prescription opioid exposures as risk factors for opioid overdose are detailed in Table 4. Among MOR agonists, morphine (342.1‰) was most frequently prescribed, followed by fentanyl (297.5‰), oxycodone (263.3‰), hydromorphone (242.1‰), and hydrocodone (182.4‰), the high usage rates of which manifested the prescription opioid abuse [47]. The MOR antagonist, naloxone (157.8‰), was also commonly prescribed and compared to the non-exposed patients, patients exposed to naloxone (overall aOR: 3.24, 95% CI 3.18–3.31; p < 0.0001) had a higher odds of opioid overdose, presumably owing to its therapeutic effect to reverse overdose [3].

Table 3 Relevant properties of prescription opioids and the overall opioid use prevalence per 1000 patients (‰) between 2009 and 2017
Table 4 Prescription opioid exposures as risk factors for opioid overdose and adjusted odds ratios (exposed vs non-exposed)

For MOR partial agonists, buprenorphine (3.2‰) was less frequently prescribed than nalbuphine (45.7‰) and butorphanol (29.5‰). In addition, exposures to partial agonists, nalbuphine (overall aOR: 0.565, 95% CI 0.53–0.60; p < 0.0001) and butorphanol (aOR: 0.09, 95% CI 0.07–0.11; p < 0.0001) were associated with a reduced odds of overdose whereas buprenorphine (overall aOR: 2.89, 95% CI 2.63–3.19; p < 0.0001) was positively associated with opioid overdose. This could be explained by the fact that buprenorphine is for medication-assisted treatment, which is closely related to opioid overdose [48]. Exposures to opioid agonists were also positively associated with opioid overdose except for codeine (overall aOR: 0.78, 95% CI 0.74–0.83; p < 0.0001), consistent with a previous finding that codeine had the lowest risk for severe respiratory depression [12]. Moreover, different opioid agonists posed unique aORs, reflecting varied association strengths in opioid overdose.

3.5 Optimal Properties for Better Opioid Agonists

To explore the optimal properties underlying opioid analgesics with reduced overdose effects, we examined the relationships between opioid agonist properties (Table 3) and the yearly aORs of opioid overdose when comparing the exposed patients to the non-exposed patients (Table 4), depicted in Fig. 1. Note that opioid agonists targeting for peripheral MORs, namely loperamide and diphenoxylate, and methadone for medication-assisted treatment purposes, were excluded in this analysis [48, 49]. For the physicochemical properties, lower aORs, i.e., weakened association strengths, were observed for opioid agonists with high MW (median decreased from 1.62 to 1.24; p < 0.001). The interpretation is that when an opioid agonist’s MW is high, its association with opioid overdose would be weakened, possibly owing to reduced BBB permeability [43]. For lipophilicity (median decreased from 1.49 to 1.40; p = 0.2) and polar surface area (median increased from 1.25 to 1.60; p = 0.45), no significant associations were observed.

Fig. 1
figure 1

Relationships between innate properties of opioid agonists and the adjusted odds ratios in opioid overdose. a Wilcoxon test on opioid agonist adjusted odds ratios in opioid overdose and their discretized physicochemical properties: lipophilicity (logP), polar surface area (PSA), and molecular weight (MW). b Wilcoxon test on opioid agonist adjusted odds ratios in opioid overdose and whether they interact with (+ for interacting, − for not interacting) efflux transporter and metabolic enzymes: multi-drug resistance protein 1 (MDR1), cytochrome P450 (CYP) 2D6, and CYP3A4. c Wilcoxon test on opioid agonist adjusted odds ratios in opioid overdose and whether they interact with (+ for interacting, − for not interacting) receptors: delta opioid receptor (DOR), kappa opioid receptor (KOR), and N-methyl-d-aspartate receptor (NMDAR)

From the PK perspective, a non-interaction with MDR1 was associated with lower aORs (median decreased from 1.51 to 1.25; p < 0.05), which indicates that if an opioid agonist does not interact with MDR1, its association strength with opioid overdose would be lowered. This could be because of an interaction between opioids and MDR1 at the BBB that may up-regulate the expression of MDR1, the high expression level of which was reported to be related to opioid tolerance, abuse, dependence, and eventually overdose [50, 51]. For CYP3A4, an interaction was associated with lower aORs (median decreased from 1.79 to 1.32; p < 0.01), which suggests that CYP3A4 metabolism may be a protective factor for opioid agonist overdose as a result of reduced bioavailability during first-pass metabolism [40]. From the PD perspective, lower aORs were observed when opioid agonists do not interact with DOR (median decreased from 1.52 to 1.13; p < 0.01) or KOR (median decreased from 1.53 to 1.23; p = 0.07). The interpretation is that when opioid agonists are selective towards MOR, overdose effects would be reduced. For NMDAR (median increased from 1.36 to 1.69; p = 0.16), no significant difference in aORs was observed.

4 Discussion

4.1 Ongoing Need for Targeted Overdose Prevention

In this study, we found that opioid overdose increased significantly at the US inpatient care setting from 2009 to 2017. As pointed out by Danovitch et al. [52], inpatient opioid overdose is a serious harm, yet preventable, and is likely to be underestimated in much of the current literature. The significant increasing trends observed in Health Facts®, a large-scale EHR database, suggested that prevention and control measures for opioid overdose had been inadequate at the US inpatient setting over these years, especially for patient subgroups with prominent increasing trends, such as patients from the South and patients in a rural area.

We also quantified how patient demographics were associated with inpatient opioid overdose and found that being in certain demographic subgroups increased the odds of opioid overdose. For instance, compared to the major demographic counterpart age 65+ years, patients aged 51–64 and 41–50 years were more likely to have opioid overdose, which was partly consistent with a recent Mortality Disparities in American Communities study, where patients aged 40–59 years were most attributed to opioid overdose deaths from 2008 to 2015 [53]. Patients in the urban area had a higher odds of opioid overdose than those in a rural area, which reflected the urbanicity of the opioid overdose epidemic [53]. These associated risk factors suggest an urgent need for targeted measures in patient subgroups at a higher risk.

4.2 Necessity to Differentiate Prescription Opioids

Prescription opioid exposures were also evaluated as risk factors for opioid overdose. Our study showed that prescription opioids were commonly prescribed. For instance, 342.1 per 1000 patients were prescribed medications containing morphine, the high usage rate of which manifested inappropriate opioid prescribing practice and, eventually, prevalent opioid overdose [54]. Previous studies showed that opioid overdose was associated with opioid prescription patterns, such as dosage and duration [36, 55,56,57]. However, measures to reduce prescription opioid supply alone may not be enough to combat the opioid crisis [58].

In the current literature, prescription opioids were usually aggregated for the morphine milligram equivalent calculation, a widely adopted metric to control the quantity of opioid use [15,16,17]. One potential misconception arising from morphine milligram equivalents is that all opioids are interchangeable, which may falsely justify the transitioning of one opioid to other “equivalent” opioids [59, 60]. A previous study based on a cohort of 307 patients showed that some prescription opioids were associated with a much higher risk for severe respiratory depression than others [12]. For example, fentanyl had a 20-fold higher relative risk compared with codeine, the lowest-risk opioid. In fact, a wide range of differences exist among prescription opioids. For instance, during distribution to the site of action, i.e., MOR in the central nervous system, they exhibit varied BBB permeability [61]. In addition, opioids also have disparate binding profiles to the opioid receptors [62, 63]. Our study revealed varied associations with opioid overdose for different prescription opioids, indicating a necessity to differentiate prescription opioids in opioid prescribing practice [12].

4.3 Real-World Evidence on Optimal Properties for Better Opioids

Given the foreseeable continuing trends of opioid overdose in the USA and the high prevalence of prescription opioids for pain, there is an undisputed need to develop better opioid analgesics with reduced overdose effects. Our study generated real-world evidence on potential optimal properties. For instance, from the physicochemical perspective, opioid agonists with low MW had significantly higher association strengths with opioid overdose, possibly owing to increased BBB permeability. From PK and PD perspectives, when opioid agonists interact with MDR1, DOR, or KOR, the association strengths in opioid overdose were significantly increased. Thus, the interactions with the efflux transporter and other opioid receptors should be taken into consideration during early drug discovery for better opioid agonists. Although some optimal properties have been proposed before, they were mostly based on preclinical studies and there still lacks a clear link to the safety profiles in humans. With the emergence of artificial intelligence in drug discovery, molecular structure design biased towards pre-defined attributes has become a reality [64, 65]. The real-world evidence on the optimal properties from large-scale data may be used to generate pertinent hypotheses for optimization strategies during the development of better opioids [30].

4.4 Limitations

Our study also had some limitations. First, we only used ICD-9/ICD-10 codes to identify patients with opioid overdose, which may not be fully accurate [66, 67]. In addition, there was a transition of ICD-9 codes to ICD-10 codes in 2015, which may lead to discontinuities in the opioid overdose trends [68]. Second, we only focused on patient demographics and prescription opioid exposures as risk factors for opioid overdose. Other potential risk factors such as comorbidities and surgery procedures were not examined [69, 70]. In addition, opioid prescription patterns including dosage and duration also need further assessment. Third, because of the observational study design, where we did not strictly distinguish the temporal order of being prescribed with a medication and getting diagnosed as opioid overdose, the association strengths, thus, may not necessarily represent causality. Last, our study was based on a single database. Exploitation on other real-world data sources would also be needed.

Nevertheless, despite the above limitations, we conducted a comprehensive study on inpatient opioid overdose with the objectives to (1) evaluate its temporal trends and associated risk factors and (2) examine the innate properties of opioid analgesics underlying reduced overdose effects, which provided critical knowledge to address the opioid overdose epidemic.

5 Conclusions

A retrospective observational study was conducted using a large-scale EHR database to evaluate opioid overdose patterns, including temporal trends and associated risk factors. The significant increasing trends of opioid overdose from 2009 to 2017 suggested that prevention and control measures for opioid overdose had been inadequate at the US inpatient care setting. In addition, patient demographics and prescription opioid exposures were associated with a higher odds of opioid overdose, suggesting that targeted prevention and control measures are needed. Furthermore, there are optimal properties underlying opioid analgesics with reduced overdose effects, which hold significant potential as optimization strategies for developing better opioids.