Journal Logo

Research Paper

Incident and long-term opioid therapy among patients with psychiatric conditions and medications: a national study of commercial health care claims

Quinn, Patrick D.a,b,*; Hur, Kwanb; Chang, Zhengb,c; Krebs, Erin E.d,e; Bair, Matthew J.f,g,h; Scott, Eric L.i; Rickert, Martin E.a; Gibbons, Robert D.b; Kroenke, Kurtf,g,h; D'Onofrio, Brian M.a

Author Information
doi: 10.1097/j.pain.0000000000000730

1. Introduction

Dramatic escalations in opioid analgesic use and associated morbidity and mortality have generated concern regarding the potential adverse effects of prescribed opioids.2,8,9 In order to accurately assess opioid-related risk for these adverse outcomes, it is critical to understand which patients select or are selected for opioid therapy. There is growing evidence that prescribing in the United States follows a pattern termed adverse selection.53 That is, patients who are at the greatest risk of adverse outcomes, including those with preexisting substance use disorders (SUDs)—and opioid use disorders (OUDs) in particular—and other psychiatric conditions, may be more likely to be prescribed opioids for longer durations and in higher risk regimens than patients without these conditions.5,13,30,57,61 This pattern contrasts with the samples enrolled in clinical trials, from which these patient groups are often excluded, as well as with opioid treatment guidelines.30,57

Indeed, analyses of health care records and other studies have linked multiple psychiatric and behavioral conditions (eg, SUDs, cigarette smoking, depression, sleep disorders, personality disorders, posttraumatic stress disorder, and other anxiety disorders) and psychoactive medications (eg, antidepressants, benzodiazepines) to opioid prescribing.6,10,12,14,18,23,27,29,32,33,35,40,43,45,51,52,56,59 As Edlund and colleagues concluded from their analyses of patients with noncancer pain, opioid prescribing “was more common, more prolonged, more potent, and increased more rapidly from 2000 to 2005” (p. 7) among patients with SUDs and other psychiatric problems.13 In turn, patients with psychiatric conditions are more likely to experience overdoses and other adverse outcomes.4,60

This study evaluated the extent to which patients with preexisting psychiatric and behavioral conditions are more likely than patients without those conditions to (a) fill prescriptions for opioids and (b) more important, subsequently transition to long-term opioid therapy, across therapeutic indications. Specifically, we used longitudinal health care claims data from a large national sample to examine questions raised by prior studies. First, we examined how broadly these associations extend across a range of psychiatric conditions and psychoactive medications. Second, prescribed opioids are thought to increase the risk for a number of adverse outcomes. It is possible, however, that some of these same outcomes could also occur prior to opioid therapy onset, making inferences regarding the adverse effects of opioid prescribing difficult. For example, whereas several studies implicate prescribed opioids in risk for motor vehicle crashes,22,24 it is also likely that, because they can be sources of injuries, crashes are associated with an increased likelihood of opioid receipt. We therefore included as predictors several factors identified as potential adverse behavioral outcomes of opioids (ie, SUDs, depressive disorders, suicide attempts or other self-injury, and motor vehicle crashes) to evaluate the extent to which they were associated with subsequent prescription opioid receipt.2,7,17,37,39,47,49 Finally, we examined the robustness of the predictive associations, taking into consideration painful conditions, younger patients,44,46 modeling approaches, and definitions of long-term opioid receipt.

2. Methods

2.1. Data source

We used records from the Truven Health MarketScan Commercial Claims and Encounters (MarketScan) database from 2003 to 2013. The MarketScan database includes de-identified inpatient, outpatient, and filled-prescription claims from commercially insured patients in the United States. MarketScan records are obtained from employers and health plans and include covered employees, COBRA continuees, and early (non-Medicare) retirees, as well as spouses and dependents. About half of the U.S. population is commercially insured, and, from 2003 to 2013, the MarketScan database includes approximately 143 million individual-level enrollee observations nationwide, primarily from large employers.28 In the most recent included data year (2013), the database includes approximately 44 million individuals with enrollment data, 51.3% of whom were females and 78.1% of whom had included prescription drug coverage. Not all enrollees maintained coverage during the included years (ie, enrollment start and end dates varied across enrollees). However, MarketScan data include enrollees' complete claims for their enrolled periods. We included only those enrollment years in which enrollees held prescription drug coverage in the MarketScan database to ensure that patients were eligible to make prescription claims. The University of Chicago Institutional Review Board has determined that this study was exempt because all MarketScan records are de-identified.

2.2. Opioid recipient sample

We created an incident opioid recipient cohort (ie, patients with newly initiated opioid therapy) for our analyses.50 In order to examine prior differences between opioid recipients and nonrecipients, we compared the recipient cohort with matched nonrecipient controls, whereas in order to examine which prior factors predicted subsequent long-term opioid therapy, we followed the cohort of opioid recipients only. We defined opioid recipients as patients with claims for prescriptions of any opioid drugs, using names and national drug codes used in previous opioid research in MarketScan data.42 We excluded claims with missing or invalid fill dates and missing or improbable days supply (ie, more than 180 days), consistent with that prior study.42 We assumed that buprenorphine products were used as treatment for OUD, with the exception of transdermal buprenorphine, which was included as an opioid.38 Methadone treatment for OUD—rather than for pain—is unlikely to be recorded in prescription claims.41 We therefore followed prior research in including methadone as an opioid analgesic, although it was used relatively infrequently (67,210 prescriptions, or 0.2% of all opioids, in follow-up).15,36,54 See Table S1, Supplemental Digital Content, for a list of all included opioids (available online at

We identified 27,949,936 enrollees who first filled opioid prescriptions at age 14 years or later, across any indication. Of the patients with filled opioid claims, 42.2% (n = 11,785,917) met a second inclusion criterion of having at least 12 calendar months of continuous enrollment prior to the month of the first (ie, index) filled opioid prescription, which by definition also excluded all recipients with 2003 index prescriptions. We required patients to be at least 13 years old during this prior enrollment period to prevent the inclusion of records of uncertain validity (eg, SUD diagnoses prior to adolescence). Of continuously enrolled patients, 87.8% (n = 10,345,694) met a third inclusion criterion of having no cancer diagnoses (except nonmelanoma skin cancer) in the year before or 1.5 years after the index date. Finally, we excluded 0.3% of patients (n = 33,733) lacking enrollment coverage on or after their index date, resulting in a final sample of 10,311,961 incident opioid recipients. See Table 1 for demographic information.

Table 1:
Demographics of opioid recipients.

We followed these patients until the end of their continuous enrollment, defined as the end of the final included month with any recorded enrollment days. Some patients dis-enrolled from included MarketScan coverage and then subsequently reenrolled after a period without coverage. We ended follow-up for these patients at their first dis-enrollments. The median follow-up length from index fill date to end of (first) enrollment was 1.55 years (interquartile range: 0.63-3.22). From the index date to the end of follow-up, prescriptions for hydrocodone products were filled by the most opioid recipients (72.5% of included patients), followed by oxycodone (24.2%), codeine (13.8%), tramadol (13.3%), and propoxyphene (10.1%).

2.3. Long-term opioids

Consistent with prior studies, we defined long-term opioid therapy using 2 criteria.4,55 First, we required that patients had filled prescriptions for more than 90 days opioid supply during a 6-month (ie, 183 days) window. We calculated a window's days supply by summing across all filled prescriptions, under the assumption that multiple prescriptions filled on the same date were taken concurrently and, therefore, had redundant days supply. When a given prescription's days supply exceeded the end of a given 6-month window, we counted only the number of days from that prescription that fell within the window for that window's count of days supply. Second, to ensure that opioid therapy was continuous, we required that these 6-month windows had no gaps of more than 32 days between the end of one prescription's supply and the beginning of the next. To maximize the number of identified long-term recipients, we permitted prescription claims from after the end of included follow-up to be included in these windows. That is, prescriptions could be included in windows when patients were without coverage but resumed or continued opioid receipt within 6 months of a prior fill date. We defined the onset of long-term opioid therapy as the fill date of the prescription that initiated the first long-term window. Thus, the long-term onset date could have occurred at any point from the index date until the end of included follow-up, including the index date itself.

2.4. Psychiatric and behavioral predictors

We obtained included diagnoses (recorded with International Classification of Diseases, Ninth Revision, Clinical Modification codes) from inpatient and outpatient claims. We grouped them into 7 categories as follows: OUD, nonopioid SUD, depressive disorder, uncertain or definite suicide attempt or self-injury (combined), anxiety disorder, sleep disorder, and motor vehicle crashes (ie, motor vehicle traffic accident codes). In the preparation of the MarketScan database, diagnosis codes are screened and edited to increase validity. Recorded codes that do not correspond to valid International Classification of Diseases, Ninth Revision, Clinical Modification codes are treated as missing.58

We also included the following 11 psychoactive medication classes from prescription claims: selective serotonin reuptake inhibitors, serotonin–norepinephrine reuptake inhibitors, other antidepressants, mood stabilizers, antipsychotics, benzodiazepines, non-benzodiazepine hypnotics (ie, eszopiclone, zaleplon, zolpidem), and medications used for OUD (ie, buprenorphine, naltrexone), alcohol use disorder (AUD), tobacco cessation, and attention-deficit/hyperactivity disorder. We excluded tricyclic antidepressants and other antidepressants (ie, duloxetine) commonly used in pain management from our antidepressant definitions, and we included only 2 mood stabilizers (lamotrigine and lithium) given that some related medications are also used to manage pain. See Tables S1 and S2, Supplemental Digital Content, for complete lists of generic drug names and diagnosis codes, respectively (available online at

Patients met criteria for having a predictor condition or medication if the first claim with that diagnosis or medication preceded the month of the first opioid prescription fill. We required patients to be at least 13 years old at these predictor claims, with the exception of motor vehicle crashes, for which patients were required to be at least 18 years old and, therefore, eligible to have fully privileged driver's licenses in all states.

2.5. Analytic approach

All analyses were conducted in SAS 9.4 (SAS Institute Inc, Cary, NC). Our first set of analyses examined the extent to which the predictor conditions and medications were associated with filled prescriptions for any opioids. To account for demographics and varying enrollment times, we compared opioid recipient cases with matched controls without opioid prescription fills. We matched cases and controls 1:1 on sex, calendar year and age of first enrollment, and number of months enrolled. Matching on months of enrollment ensured that cases and controls had matching durations of opportunity to claim psychiatric predictors (prior to the index month for cases and overall for controls). For first enrollment and months of enrollment, we again only counted years in which patients were at least 13 years old and held prescription drug coverage. To ensure sufficient matching on exact values, we randomly selected 40% of cases for these comparisons, only 0.02% of whom could not be matched (analytic n = 4,124,038 cases). We compared cases with matched controls using a series of separate conditional logistic regressions, with each matched-pair case and control entered as a stratum (PROC LOGISTIC), and we report estimated odds ratios with confidence intervals (CIs) as effect sizes.

Our second set of analyses examined the extent to which the predictors were associated with transitioning from initial receipt to long-term opioid therapy among the cohort of new opioid recipients. Given differing index dates and enrollment durations, follow-up time varied across included patients and could be ended (ie, right censored) by either dis-enrollment from coverage included in the MarketScan database or the end of the study. We therefore modeled time to onset of long-term opioid therapy among opioid recipients with Kaplan–Meier estimates (PROC LIFETEST) and Cox proportional hazards regression (PROC PHREG) to account for right censoring, with follow-up time starting on the index opioid prescription fill date.1 We estimated hazard ratios (HRs) in separate Cox regressions for each predictor and added covariates for sex, index age group, and calendar year of index prescription.

We also conducted several sensitivity analyses. First, to test and adjust for violations of the proportional hazards assumption, we included an interaction between each predictor and linear follow-up time.21 Because of computing memory constraints, we randomly selected 10% (n = 1,031,196) of the sample for these models. Because this selection retained a reasonably large sample in absolute size, it is unlikely to have introduced substantive bias to the results. Second, to ensure that our results were not explained by comorbidity between psychiatric conditions and chronic pain conditions, we restricted analyses to the 73.8% of the sample that received painful condition diagnoses at age 13 years or later. We included diagnoses (see Table S2, Supplemental Digital Content, available online at drawn from those used in prior opioid research.54 Third, to examine associations in an alternative modeling approach, we ran binary logistic regressions (PROC LOGISTIC) predicting long-term therapy onset within the first 1.5 years among patients with at least 2 years of enrollment. Fourth, to test whether our results generalized to younger patients, we restricted analyses to patients aged 25 years or younger at index. Fifth, to test whether results depended on the definition of long-term use, we tested associations with a stricter long-term definition (ie, at least 183 days supply within 6 months—instead of the more than 90 days criterion in the main analyses—with no gaps greater than 32 days). Finally, although all patients had at least 12 months of continuous enrollment prior to the index month, the exact duration of prior enrollment varied across patients. To test whether results were biased by differences in periods of predictor assessment prior to the index date, we tested associations with only those conditions and medications recorded in the 12 months prior to the index month.

3. Results

3.1. Comparisons of opioid recipients to nonrecipients

Our first objective was to estimate the extent to which prior psychiatric conditions, motor vehicle crashes, and psychoactive medications would predict claims for any prescription opioids. Comparisons of psychiatric diagnoses between patients who filled at least one opioid prescription and matched nonrecipient controls are presented in Table 2. The included conditions ranged in prevalence, with depressive disorders the most common (8.5% of cases) and suicide attempts or other self-injury the least common (0.1%). Across all diagnosis categories, however, prior conditions were more common among cases relative to controls. For example, patients with prior OUD or nonopioid SUD diagnoses had 16% or 11% greater odds, respectively, of receiving opioids than did patients without these conditions. Overall, these differences were modest in size, and the suicide attempts or other self-injury difference did not reach statistical significance.

Table 2:
Prior psychiatric diagnoses among opioid-recipient cases and matched nonrecipient controls.

Table 3 presents case–control results for psychoactive medications dispensed prior to the first opioid fill. The use of psychoactive medications varied as well, with 12.5% of cases filling at least one SSRI prescription but 0.1% of cases filling any prescriptions for medications to treat AUD. Similar to the psychiatric conditions, patients with all prior medications had between 19% (AUD) and 64% (tobacco cessation) greater odds of receiving opioids than did patients without prior medications. Notably, benzodiazepine recipients had 52% greater odds of receiving opioids than did benzodiazepine nonrecipients. These associations were again relatively modest but were consistently positive across all assessed medication classes. In sum, the presence of a range of preexisting psychiatric and behavioral problems and treatments was associated with modest increases in the odds of receiving opioids.

Table 3:
Prior psychoactive medications among opioid-recipient cases and matched nonrecipient controls.

3.2. Long-term opioid receipt

Our second objective was to estimate the extent to which prior psychiatric conditions, motor vehicle crashes, and psychoactive medications would predict receipt of long-term opioids among opioid recipients. Of the 10,311,961 incident opioid recipients, only 1.7% (n = 177,816) received long-term opioids during follow-up, whereas the remainder were censored. According to Kaplan–Meier estimates, the probability of transitioning from first fill to long-term opioids was 1.3% by 1.5 years after the first prescription fill, 2.1% by 3 years, 3.7% by 6 years, and 5.3% by 9 years. Fewer than half of long-term recipients met a stricter long-term definition (at least 183 days supply) during follow-up (n = 86,009). The likelihood of receiving long-term opioids by this stricter definition was 1.0% by 3 years.

As shown in Table 4, all diagnosis categories were positively associated with long-term opioid therapy in adjusted Cox models. That is, patients with prior psychiatric diagnoses, suicide attempts or other self-injury, and motor vehicle crashes were at greater risk of transitioning from an incident opioid prescription fill to receipt of long-term opioids than were patients without prior psychiatric conditions. Whereas for depressive, anxiety, and sleep disorders and motor vehicle crashes, this increase in risk was approximately 2-fold, other conditions were associated with more substantial increases in risk. Patients with prior suicide attempts or other self-injury, compared with those without, were at 2.55 times the risk of long-term opioids. Moreover, patients with prior nonopioid SUDs and OUDs were at 3.15 and 8.70 times the risk of long-term receipt, respectively.

Table 4:
Associations between prior psychiatric diagnoses and long-term opioid receipt.

Similarly, Table 5 shows that prior psychoactive medication recipients were at greater risk of receiving long-term opioids as well. Increases in risk of long-term opioid therapy ranged from 53% for attention-deficit/hyperactivity disorder medication recipients to more than 5-fold for OUD medication recipients. Benzodiazepine treatment was associated with approximately twice the risk of long-term opioid therapy.

Table 5:
Associations between prior psychoactive medications and long-term opioid receipt.

3.3. Sensitivity analyses

The Cox models in the main long-term analyses assumed that the ratio of hazards between patients with and without predictors was proportional over time. To evaluate this assumption, we added an interaction between the predictor and linear time (in years) to each model. Results of these models are presented in Table S3, Supplemental Digital Content (available online at Whereas most predictors demonstrated little violation of the assumption (ie, yearly changes of 0.08 or less in differences in log hazard), interaction terms for OUD diagnosis (b = −0.47, SE = 0.12) and OUD medication receipt (b = −0.34, SE = 0.14) both indicated greater risk earlier in follow-up. That is, for each year of follow-up, the estimated log hazard difference associated with OUD diagnosis decreased by 0.47 and the estimated log hazard difference associated with OUD medication receipt decreased by 0.34. At the start of follow-up, HRs were 14.08 (95% CI, 11.54-17.18) and 6.23 (95% CI, 4.74-8.19) for diagnosis and medication receipt, respectively. To illustrate the change in risk over time, we used the main effect and interaction estimates to compute HRs at year 3. Although both associations remained positive, year-3 HRs for OUD diagnosis (3.39) and medication (2.24) were substantially reduced relative to the start of follow-up. Thus, although risk of long-term opioid receipt was greater among patients with OUD diagnoses and medications than among patients without diagnoses or medications, this increase in risk was more substantial at the start of follow-up.

Additionally, because we required long-term opioid periods to be at least 6 months in duration, patients were at lower risk of initiating a long-term period during the final 6 months of their included follow-up. To test whether this requirement influenced estimates of changes in risk over time, we reset censoring dates to 6 months prior to the end of observed follow-up (thereby also requiring at least 6 months of follow-up). Results were largely similar to those presented above, including greater risk associated with OUD diagnosis and medication earlier in follow-up and smaller changes over time in log hazard differences for other predictors. See Table S3, Supplemental Digital Content (available online at

Further sensitivity analyses, which are presented in Table S4, Supplemental Digital Content, revealed a largely consistent pattern of associations with long-term opioids (available online at Specifically, patients with all conditions and psychoactive medications were at increased risk of long-term opioid therapy when we (1) limited analyses to patients with painful conditions, (2) predicted onset in the first 1.5 years in logistic regression (among only those patients who had at least 2 years of follow-up), (3) limited analyses to adolescent and young adult patients only, (4) predicted a stricter definition of long-term therapy, and (5) only counted those predictor claims that occurred in the year prior to index. We note, however, that the rarity of some predictors (eg, OUD and AUD medications) resulted in less precise estimates in adolescents and young adults. In sum, the associations between psychiatric conditions, suicide attempts or other self-injury, motor vehicle crashes, and psychoactive medications and receipt of long-term opioids persisted in younger patients and those with painful condition diagnoses and appeared robust to changes in modeling strategy and predictor and outcome definitions.

4. Discussion

In a large, national, privately insured sample, we found that preexisting psychiatric and behavioral conditions and psychoactive medications were associated with subsequent claims for prescription opioids. The increased odds of any opioid prescription fills among those with prior psychiatric disorders and psychoactive medications were relatively modest. The risk of long-term opioids, however, was substantially greater. It was also evident among youth and patients with painful conditions, and the risk extended to a subset of long-term recipients with at least enough days supply to fully cover a 6-month window. Some of these associations, including the greater risk for long-term use than for any opioid use among patients with prior psychiatric conditions, extend prior findings in smaller datasets.5,13,27,61

The novelty of our results is that they demonstrate the wide scope of associations between previous psychiatric and behavioral problems and long-term opioid prescription fills. That is, we found support for increased risk of long-term opioid therapy in adulthood and youth related to SUDs, suicide attempts or other self-injury, motor vehicle crashes, and depressive, anxiety, and sleep disorders, as well as a broad array of psychoactive medications—including benzodiazepines.34 Additionally, we found that the strongest risk for receipt of long-term opioids was associated with OUD diagnoses and treatment with buprenorphine or naltrexone. Similarly, in the CONSORT study, incident long-term opioid prescribing was more common among patients with OUDs than those with other SUDs or no SUD diagnoses.61 In our data, these associations were particularly strong in the period immediately after the initiation of opioid therapy: Patients with OUDs and buprenorphine or naltrexone prescription fills were at substantially greater risk of transitioning to long-term opioids earlier in follow-up than were patients without these conditions or medications.

Our results support calls for coordinated or integrated mental health screening and treatment among patients with chronic pain.30 In particular, the finding that patients with preexisting psychiatric conditions were more likely to transition to long-term opioids suggests that thorough assessment of mental health may be valuable in this population. Several of our findings also raise concerns regarding risk of overdose. At least one study has found greater risk of drug overdose among patients with depression and stronger opioid doses.60 Furthermore, benzodiazepines are implicated in some opioid overdose deaths, leading the Centers for Disease Control and Prevention guideline for opioids in chronic pain to recommend against concurrent prescribing.11,31 We found that depressive disorders and benzodiazepine treatment were associated with roughly double the risk of transitioning to long-term opioids. Although long-term opioid receipt may not necessarily increase the risk of overdose, prescription factors (eg, maximum dose) have been linked to opioid overdose deaths, and the present associations highlight subgroups of recipients that may be at higher risk.3 Moreover, given the breadth of psychiatric predictors, including prior suicide attempts or other self-injury, overdose risk may be exacerbated by multiple psychiatric problems and polypharmacy.60 These findings provide further support for prescription monitoring programs and other methods of identifying and alerting clinicians to patients with higher risk opioid prescription quantities and medication combinations, particularly when multiple providers are involved in a patient's care.9

Given this study's scope and level of analysis, it cannot elucidate the processes underlying observed associations between psychiatric conditions and their treatments and long-term opioids. As discussed by Howe and Sullivan,30 this pattern may result from a number of hypothetical possibilities that involve interplay among neurobiological systems, pain and psychiatric symptom comorbidities, and patient–provider interactions. One hypothesis is that patients with psychiatric disorders may be more likely to experience greater distress and demand for pain relief, which may lead providers to treat with opioids (and patients to choose to fill prescriptions for opioids) in the absence of other options perceived as viable.53 Alternatively, given the well-established comorbidity among psychiatric and painful conditions,16 it is likely that patients with psychiatric problems are more likely to experience more severe pain symptoms or greater pain-related functional impairment, perhaps leading providers to prescribe more aggressively to address pain-related concerns. It is also possible that patients with comorbid pain and psychiatric conditions may be more likely to seek care repeatedly or from multiple treatment providers because of their greater symptom severity or perceived need for care, resulting in a higher rate of opioid receipt in aggregate. Future research evaluating clinical interactions in finer detail and examining the etiology of comorbid pain and psychiatric conditions is needed to disentangle these possibilities.

It is also important to stress that we found each of the four behaviors that have been proposed as potential harms of prescribed opioids (SUDs, depressive disorders, suicidal or self-injurious behavior, and motor vehicle crashes) actually predicted which patients would develop long-term use. Of course, some of these associations are unsurprising; motor vehicle crashes can result in injuries and subsequent need for pain management. We highlight, however, that even these expected associations may lead to confounding in observational studies of opioid outcomes if they are not taken into account. There are several alternative hypotheses that could explain why receipt of opioids is associated with adverse behavioral outcomes in such data (beyond true adverse effects). The current results highlight how selection related to sources of prior risk might increase opioid recipients' likelihood of behavioral or psychiatric problems regardless of the effects of opioids themselves. As noted in a recent investigation of prescribed opioid risk for OUD, if unmeasured conditions are associated with the likelihood of opioid receipt and incident behavioral harms, they can lead to overestimation of harms.15 Given the diverse correlates of long-term use found here, we add that it may be valuable to account for a wide range of psychiatric conditions and psychoactive medications in future studies of opioid outcomes. At the same time, however, the current results do not necessarily argue against the hypothesis that opioid prescribing contributes to these adverse outcomes. Indeed, Scherrer et al.48 found evidence of bidirectional associations between changes in opioid dose and changes in the probability of depression. Rather, our results highlight the importance of using research designs that can help rule out confounding by indication and other selection factors.

We see several limitations to the present study. First, we focused on predictors of opioid receipt rather than on specific indications for opioid therapy, and we did not assess pain severity, although the long-term results persisted when we examined only those patients with recorded painful conditions. Second, our sample was restricted to patients with commercial insurance. It thereby excluded individuals aged 65 years or older and those with Medicaid, other sources of health care, or no insurance, and our data cannot speak to patterns of opioid receipt outside the United States.19,20 At the same time, though, the sample was national and large enough that we could use an incident user cohort design and examine rare predictors and long-term opioid receipt without excessive loss of precision.50 Third, we assessed psychiatric conditions via service claims, meaning that only those patients who sought or otherwise received diagnoses or treatments could be identified as having those conditions. As a result, these data probably underestimate the prevalence of SUDs and other psychiatric conditions.25,26 Fourth, our results should be interpreted as relating to prescriptions filled by patients rather than prescriptions written by providers. Patients may also have filled but not taken medications or, conversely, received medications outside of the included prescriptions. For example, the high risk of long-term opioids among patients with OUD diagnoses or medications may indicate that these patients were more likely to seek greater quantities of opioids early in their treatment course. Alternatively, however, their OUD diagnoses or treatments may have reflected an unobserved history, perhaps known to providers but not apparent in these data, of heavy prescription opioid use prior to their first recorded opioid fill. Fifth, given the large number of insurers included in the MarketScan database, it is possible that individuals who left one employer and subsequently joined another MarketScan-covered employer were counted as multiple enrollee observations. Finally, we required a 12-month washout period prior to the incident opioid prescription, which excluded a large proportion of opioid recipients and may have led to an underestimation of the rate of long-term opioid therapy in the entire recipient cohort.

Taken together, our results add to the existing evidence that risk of long-term opioid receipt associated with psychiatric and behavioral conditions is widespread and relates to multiple diagnoses and psychoactive medications. Our findings support the ideas that clinical practice has deviated from the “careful selection” under which most clinical trials are conducted and that thorough mental health assessment and intervention should be considered in conjunction with the use of long-term opioid therapy.30 Although the accumulated findings suggest that preexisting psychiatric conditions must be accounted for in future observational studies of behavioral opioid harms, they also highlight the value of pharmacoepidemiologic research in understanding the impact of opioid prescribing.

Conflict of interest statement

The authors have no conflicts of interest to declare.

This project was supported by National Institute on Drug Abuse grant number K99DA040727 and, in part, by the Indiana Clinical and Translational Sciences Institute, which is funded by National Center for Advancing Translational Sciences grant number TL1TR001107. This material is the result of work supported with resources and the use of Veterans Affairs facilities in Indianapolis and Minneapolis. The contents do not represent the views of the U.S. Department of Veterans Affairs or the U.S. Government. MarketScan is a registered trademark of Truven Health Analytics Inc.

Appendix A Supplemental Digital Content

Supplemental Digital Content associated with this article can be found online at


[1]. Allison PD. Survival analysis using SAS: a practical guide. Cary, NC: SAS Institute Inc, 2010.
[2]. Beauchamp GA, Winstanley EL, Ryan SA, Lyons MS. Moving beyond misuse and diversion: the urgent need to consider the role of iatrogenic addiction in the current opioid epidemic. Am J Public Health 2014;104:2023–29.
[3]. Bohnert ASB, Valenstein M, Bair MJ, Ganoczy D, McCarthy JF, Ilgen MA, Blow FC. Association between opioid prescribing patterns and opioid overdose-related deaths. JAMA 2011;305:1315–21.
[4]. Braden JB, Russo J, Fan MY, Edlund MJ, Martin BC, DeVries A, Sullivan MD. Emergency department visits among recipients of chronic opioid therapy. Arch Intern Med 2010;170:1425–32.
[5]. Braden JB, Sullivan MD, Ray GT, Saunders K, Merrill J, Silverberg MJ, Rutter CM, Weisner C, Banta-Green C, Campbell C, Von Korff M. Trends in long-term opioid therapy for noncancer pain among persons with a history of depression. Gen Hosp Psychiatry 2009;31:564–70.
[6]. Breckenridge J, Clark JD. Patient characteristics associated with opioid versus nonsteroidal anti-inflammatory drug management of chronic low back pain. J Pain 2003;4:344–50.
[7]. Cheatle MD. Depression, chronic pain, and suicide by overdose: on the edge. Pain Med 2011;12:S43–8.
[8]. Chou R, Turner JA, Devine EB, Hansen RN, Sullivan SD, Blazina I, Dana T, Bougatsos C, Deyo RA. The effectiveness and risks of long-term opioid therapy for chronic pain: a systematic review for a National institutes of health pathways to prevention workshop. Ann Intern Med 2015;162:276–86.
[9]. Deyo RA, Von Korff M, Duhrkoop D. Opioids for low back pain. BMJ 2015;350:g6380.
[10]. Dobscha SK, Morasco BJ, Duckart JP, Macey T, Deyo RA. Correlates of prescription opioid initiation and long-term opioid use in veterans with persistent pain. Clin J Pain 2013;29:102–08.
[11]. Dowell D, Haegerich TM, Chou R. CDC guideline for prescribing opioids for chronic pain—United States. MMWR Recomm Rep 2016;2016:1–49.
[12]. Edlund MJ, Austen MA, Sullivan MD, Martin BC, Williams JS, Fortney JC, Hudson TJ. Patterns of opioid use for chronic noncancer pain in the veterans health administration from 2009 to 2011. PAIN 2014;155:2337–43.
[13]. Edlund MJ, Martin BC, Devries A, Fan MY, Brennan Braden J, Sullivan MD. Trends in use of opioids for chronic noncancer pain among individuals with mental health and substance use disorders: the TROUP study. Clin J Pain 2010;26:1–8.
[14]. Edlund MJ, Martin BC, Fan MY, Braden JB, Devries A, Sullivan MD. An analysis of heavy utilizers of opioids for chronic noncancer pain in the TROUP study. J Pain Symptom Manage 2010;40:279–89.
[15]. Edlund MJ, Martin BC, Russo JE, DeVries A, Braden JB, Sullivan MD. The role of opioid prescription in incident opioid abuse and dependence among individuals with chronic noncancer pain: the role of opioid prescription. Clin J Pain 2014;30:557–64.
[16]. Elman I, Zubieta JK, Borsook D. The missing p in psychiatric training: why it is important to teach pain to psychiatrists. Arch Gen Psychiatry 2011;68:12–20.
[17]. Elvik R. Risk of road accident associated with the use of drugs: a systematic review and meta-analysis of evidence from epidemiological studies. Accid Anal Prev 2013;60:254–67.
[18]. Franklin GM, Rahman EA, Turner JA, Daniell WE, Fulton-Kehoe D. Opioid use for chronic low back pain: a prospective, population-based study among injured workers in Washington state, 2002–2005. Clin J Pain 2009;25:743–51.
[19]. Fredheim OMS, Borchgrevink PC, Mahic M, Skurtveit S. A pharmacoepidemiological cohort study of subjects starting strong opioids for nonmalignant pain: a study from the Norwegian prescription database. PAIN 2013;154:2487–93.
[20]. Fredheim OMS, Mahic M, Skurtveit S, Dale O, Romundstad P, Borchgrevink PC. Chronic pain and use of opioids: a population-based pharmacoepidemiological study from the Norwegian prescription database and the Nord-Trøndelag health study. PAIN 2014;155:1213–21.
[21]. Gibbons RD, Amatya A. Statistical methods for drug safety. Boca Raton: Chapman and Hall/CRC, 2016.
[22]. Gibson JE, Hubbard RB, Smith CJP, Tata LJ, Britton JR, Fogarty AW. Use of self-controlled analytical techniques to assess the association between use of prescription medications and the risk of motor vehicle crashes. Am J Epidemiol 2009;169:761–68.
[23]. Goesling J, Henry MJ, Moser SE, Rastogi M, Hassett AL, Clauw DJ, Brummett CM. Symptoms of depression are associated with opioid use regardless of pain severity and physical functioning among treatment-seeking patients with chronic pain. J Pain 2015;16:844–51.
[24]. Gomes T, Redelmeier DA, Juurlink DN, Dhalla IA, Camacho X, Mamdani MM. Opioid dose and risk of road trauma in Canada: a population-based study. JAMA Intern Med 2013;173:196–201.
[25]. Grant BF, Goldstein RB, Saha TD, Chou SP, Jung J, Zhang H, Pickering RP, Ruan WJ, Smith SM, Huang B, Hasin DS. Epidemiology of DSM-5 alcohol use disorder: results from the national epidemiologic survey on alcohol and related conditions III. JAMA Psychiatry 2015;72:757–66.
[26]. Grant BF, Saha TD, Ruan WJ, Goldstein RB, Chou SP, Jung J, Zhang H, Smith SM, Pickering RP, Huang B, Hasin DS. Epidemiology of DSM-5 drug use disorder: results from the national Epidemiologic Survey on alcohol and related conditions–III. JAMA Psychiatry 2016;73:39–47.
[27]. Halbert B, Davis R, Wee CC. Disproportionate longer-term opioid use among US adults with mood disorders. PAIN 2016;157:2452–57.
[28]. Hansen L. The MarketScan® databases for life sciences researchers. Ann Arbor, MI: Truven Health Analytics Inc, 2016.
[29]. Henry SG, Wilsey BL, Melnikow J, Iosif AM. Dose escalation during the first year of long-term opioid therapy for chronic pain. Pain Med 2015;16:733–44.
[30]. Howe CQ, Sullivan MD. The missing “P” in pain management: how the current opioid epidemic highlights the need for psychiatric services in chronic pain care. Gen Hosp Psychiatry 2014;36:99–104.
[31]. Jones CM, Mack KA, Paulozzi LJ. Pharmaceutical overdose deaths, United States, 2010. JAMA 2013;309:657–59.
[32]. Kobus AM, Smith DH, Morasco BJ, Johnson ES, Yang X, Petrik AF, Deyo RA. Correlates of higher-dose opioid medication use for low back pain in primary care. J Pain 2012;13:1131–38.
[33]. Krebs EE, Lurie JD, Fanciullo G, Tosteson TD, Blood EA, Carey TS, Weinstein JN. Predictors of long-term opioid use among patients with painful lumbar spine conditions. J Pain 2010;11:44–52.
[34]. Larochelle MR, Zhang F, Ross-Degnan D, Wharam JF. Trends in opioid prescribing and co-prescribing of sedative hypnotics for acute and chronic musculoskeletal pain: 2001–2010. Pharmacoepidemiol Drug Saf 2015;24:885–92.
[35]. Log T, Hartz I, Handal M, Tverdal A, Furu K, Skurtveit S. The association between smoking and subsequent repeated use of prescribed opioids among adolescents and young adults—a population-based cohort study. Pharmacoepidemiol Drug Saf 2011;20:90–8.
[36]. Logan J, Liu Y, Paulozzi L, Zhang K, Jones C. Opioid prescribing in emergency departments: the prevalence of potentially inappropriate prescribing and misuse. Med Care 2013;51:646–53.
[37]. Madadi P, Persaud N. Suicide by means of opioid overdose in patients with chronic pain. Curr Pain Headache Rep 2014;18:1–4.
[38]. Mark TL, Dilonardo J, Vandivort R, Miller K. Psychiatric and medical comorbidities, associated pain, and health care utilization of patients prescribed buprenorphine. J Subst Abuse Treat 2013;44:481–87.
[39]. McAuliffe WE, Minozzi S, Amato L, Davoli M. A critique of Minozzi etal.'s pain relief and dependence systematic review, and authors' response. Addiction 2013;108:1162–71.
[40]. Morasco BJ, Duckart JP, Carr TP, Deyo RA, Dobscha SK. Clinical characteristics of veterans prescribed high doses of opioid medications for chronic non-cancer pain. PAIN 2010;151:625–32.
[41]. Naeger S, Ali MM, Mutter R, Mark TL, Hughey L. Prescriptions filled following an opioid-related hospitalization. Psychiatr Serv 2016;67:1262–64.
[42]. Paulozzi LJ, Zhang K, Jones CM, Mack KA. Risk of adverse health outcomes with increasing duration and regularity of opioid therapy. J Am Board Fam Med 2014;27:329–38.
[43]. Phifer J, Skelton K, Weiss T, Schwartz AC, Wingo A, Gillespie CF, Sands LA, Sayyar S, Bradley B, Jovanovic T, Ressler KJ. Pain symptomatology and pain medication use in civilian PTSD. PAIN 2011;152:2233–40.
[44]. Richardson LP, Russo JE, Katon W, McCarty CA, DeVries A, Edlund MJ, Martin BC, Sullivan MD. Mental health disorders and long-term opioid use among adolescents and young adults with chronic pain. J Adolesc Health 2012;50:553–58.
[45]. Rogers KD, Kemp A, McLachlan AJ, Blyth F. Adverse selection? A multi-dimensional profile of people dispensed opioid analgesics for persistent non-cancer pain. PLoS One 2013;8:e80095.
[46]. Schechter NL, Walco GA. The potential impact on children of the CDC guideline for prescribing opioids for chronic pain: above all, do no harm. JAMA Pediatr 2016;170:425–26.
[47]. Scherrer JF, Salas J, Copeland LA, Stock EM, Ahmedani BK, Sullivan MD, Burroughs T, Schneider FD, Bucholz KK, Lustman PJ. Prescription opioid duration, dose, and increased risk of depression in 3 large patient populations. Ann Fam Med 2016;14:54–62.
[48]. Scherrer JF, Salas J, Lustman PJ, Burge S, Schneider FD. Change in opioid dose and change in depression in a longitudinal primary care patient cohort. PAIN 2015;156:348–55.
[49]. Scherrer JF, Svrakic DM, Freedland KE, Chrusciel T, Balasubramanian S, Bucholz KK, Lawler EV, Lustman PJ. Prescription opioid analgesicsincrease the risk of depression. J Gen Intern Med 2014;29:491–99.
[50]. Schneeweiss S. A basic study design for expedited safety signal evaluation based on electronic healthcare data. Pharmacoepidemiol Drug Saf 2010;19:858–68.
[51]. Schwartz AC, Bradley R, Penza KM, Sexton M, Jay D, Haggard PJ, Garlow SJ, Ressler KJ. Pain medication use among patients with posttraumatic stress disorder. Psychosomatics 2006;47:136–42.
[52]. Seal KH, Shi Y, Cohen G, Cohen BE, Maguen S, Krebs EE, Neylan TC. Association of mental health disorders with prescription opioids and high-risk opioid use in US veterans of Iraq and Afghanistan. JAMA 2012;307:940–47.
[53]. Sullivan MD. Who gets high-dose opioid therapy for chronic non-cancer pain? PAIN 2010;151:567–68.
[54]. Sullivan MD, Edlund MJ, Fan MY, DeVries A, Braden JB, Martin BC. Trends in use of opioids for non-cancer pain conditions 2000–2005 in commercial and medicaid insurance plans: the TROUP study. PAIN 2008;138:440–49.
[55]. Sullivan MD, Edlund MJ, Fan MY, DeVries A, Brennan Braden J, Martin BC. Risks for possible and probable opioid misuse among recipients of chronic opioid therapy in commercial and medicaid insurance plans: the TROUP Study. PAIN 2010;150:332–39.
[56]. Sullivan MD, Edlund MJ, Zhang L, Unützer J, Wells KB. Association between mental health disorders, problem drug use, and regular prescription opioid use. Arch Intern Med 2006;166:2087–93.
[57]. Sullivan MD, Howe CQ. Opioid therapy for chronic pain in the United States: promises and perils. PAIN 2013;154:S94–S100.
[58]. Truven Health MarketScan Research Databases. Commercial claims and encounters medicare supplemental: data year 2013 edition. Ann Arbor, MI: Truven Health Analytics Inc, 2014.
[59]. Turk DC, Okifuji A. What factors affect physicians' decisions to prescribe opioids for chronic noncancer pain patients? Clin J Pain 1997;13:330–36.
[60]. Turner BJ, Liang Y. Drug overdose in a retrospective cohort with non-cancer pain treated with opioids, antidepressants, and/or sedative-hypnotics: interactions with mental health disorders. J Gen Intern Med 2015;30:1081–96.
[61]. Weisner CM, Campbell CI, Ray GT, Saunders K, Merrill JO, Banta-Green C, Sullivan MD, Silverberg MJ, Mertens JR, Boudreau D, Von Korff M. Trends in prescribed opioid therapy for non-cancer pain for individuals with prior substance use disorders. PAIN 2009;145:287–93.

Adverse selection; Epidemiology; Health insurance claims; Prescription opioid analgesics

Supplemental Digital Content

© 2016 International Association for the Study of Pain