Abstract
Background: Adequate pain management is challenging in patients with substance use disorders, particularly those from racial/ethnic minority groups who face intersecting biases. Objective: To investigate inequities in pain management for racial/ethnic minority groups with and without concurrent substance use disorders. Design: Retrospective cohort study from 2021 to 2022 on an acute care general medicine service at UCSF Medical Center. Participants: All adults ≥ 18 years old. Exposures: Primary exposure was the patient’s self-identified race/ethnicity (Asian, Black or African American, Latino, Multi-Race/Ethnicity, Native American or Alaska Native, Native Hawaiian or Pacific Islander, Southwest Asian or North African, White, Other, and Unknown/Declined). Main Outcome and Measures: The primary outcome was average daily inpatient opioids received (morphine milligram equivalents, MME). Multivariable negative binomial regression assessed the relationship between self-reported race/ethnicity and opioid administration, adjusting for demographics, clinical factors, substance use disorders, and pain characteristics. The subgroup analyses focused on patients with substance use disorders and on patients without any buprenorphine or methadone prescriptions. Key Results: In the overall cohort of 13,058 hospitalizations (mean age 62.7 years, 51.2% male, 31.3% with substance use disorder), patients from racial/ethnic minority groups received significantly fewer opioids than White patients in adjusted analyses: Asian (− 61.3 MME/day), Black (− 44.9 MME/day), Latino (− 48.8 MME/day), Native American/Alaska Native (− 80.4 MME/day), and Native Hawaiian/Pacific Islander (− 72.9 MME/day). Similar, significant disparities were present in both subgroups. Notably, in the substance use disorder-only subgroup (n = 4446), larger disparities persisted for Asian (− 124.4 MME/day), Black (− 68.7 MME/day), and Latino (− 110.8 MME/day) patients compared to White patients. Conclusions: Substantial racial/ethnic inequities in inpatient opioid prescribing for pain control were observed, particularly among patients with concurrent substance use disorders. These findings highlight the need for interventions promoting equitable, culturally competent pain management for marginalized populations facing intersecting biases and stigma.
INTRODUCTION
Effective and equitable pain management for patients with substance use disorders from minoritized groups presents unique challenges. Patients with substance use disorders, particularly opioid use disorder, often have higher opioid tolerance and hyperalgesia and may concurrently be withdrawing during hospitalization. Rates of certain substance use disorders for minoritized patients vary, and there is demonstrated literature showing inequities in pain management for patients from minoritized groups. Prior research has demonstrated that there is mutual distrust between physicians and patients from both of these groups, including a belief that clinicians do not take the pain reported by a patient seriously. Clinicians may hesitate to prescribe necessary doses of opioids to treat pain in these patient groups because of concerns about drug-seeking behavior, diversion, elopement risk, and respiratory depression. There is a major gap in understanding whether and to what extent inequities in pain management exist for inpatients with substance use disorders who identify as a racial or ethnic minority. We hypothesize that patients from minoritized racial/ethnic groups experience disparate pain management during hospitalization, after accounting for the presence of a substance use disorder. To test this hypothesis, we studied the association between racial/ethnic category and inpatient opioids received, after controlling for demographic and clinical factors, the presence of a substance use disorder, and pain characteristics. This study helps to characterize opioid prescribing for a challenging clinical population where equitable care is an increasing focus.
METHODS
Study Population
This retrospective cohort study included adult hospitalizations (≥ 18 years old) from January 1, 2021, to December 31, 2022, discharged from the general medicine service at the University of California, San Francisco Medical Center at Parnassus Heights, a 785-bed academic medical center that serves a diverse patient population. All data was collected from Epic, our medical system’s electronic health record (EHR), and Clarity, the relational database that extracts and stores inpatient Epic data. We only included patient hospitalizations with complete pain assessment data using self-reported pain assessments. Patient hospitalizations were additionally excluded if the patient spent time in the intensive care unit or if they received inpatient intensive comfort-focused or hospice care because these patients have different pain requirements and have their care often managed by specialists. The UCSF Institutional Review Board for Human Subjects Research approved this study with a waiver of informed consent.
Predictor/Exposure
The primary predictor was the patient’s self-reported race/ethnicity. Consistent with updated US Census, NIH reporting, and institutional standards, we included the following minority race/ethnicity categories: Asian, Black or African American, Latino, Multi-Race/Ethnicity, Native American or Alaska Native, Native Hawaiian or Pacific Islander, Southwest Asian or North African, Other, and Unknown/Declined, with White as a comparison group. These racial/ethnic group identities are socially, not genetically defined. These categorizations are used as a proxy for how race and ethnicity intersect with equity in healthcare and may help guide future research on mechanisms that create inequity, including racism.
Outcome
The primary outcome was the average daily inpatient opioids received during the patient’s hospitalization, measured by morphine milligram equivalents (MMEs). This is calculated by our Division’s Data Core using standardized conversions of opioid medications from the EHR.
Covariates
All analyses were adjusted with demographic, clinical, substance-use, and pain-related variables. Demographic variables included patient age, self-reported sex (male, female, or non-binary/other), limited English proficiency status (defined as having a preferred language for healthcare other than English and requiring a medical interpreter), and insurance status (Medicare, Medi-cal, or Private/Other). Clinical variables included the Elixhauser comorbidity index as a marker of clinical complexity and length of stay. Substance-use-related variables included having a billing diagnosis of any substance-use disorder using International Classification of Diseases (ICD)− 10 codes. These ICD- 10 codes were manually selected by the authors to reflect whether a patient had a billing diagnosis that would best reflect a clinical diagnosis of a substance use disorder (Supplemental Table 2). We also included whether a patient had an existing prescription for Medication for Opioid Use Disorder (MOUD) on admission (methadone or buprenorphine), based on admission medication reconciliation, which includes confirmation with methadone clinic. Pain-related variables included the patient’s average self-reported pain score during their entire hospitalization, whether the patient was admitted with moderate/severe pain (defined as their first pain assessment being ≥ 6 on a 0–10 self-reported pain scale), whether a consult was placed for the pain or palliative medicine service, prior to admission opioid prescription (i.e. oxycodone, morphine, etc.), and the average daily milligrams of acetaminophen and ibuprofen administered to the patient. At our institution, the pain service is staffed by anesthesia, the palliative medicine is staffed by palliative medicine physicians, and either service may be consulted for pain-related issues. The average self-reported pain score was calculated as the mean of all Numeric Rating Scale, Verbal Descriptor Scale, and FACES Pain Scale-Revised Scores standardized to a 0–10 scale, with higher numbers reflective of worse pain. Nursing pain assessments are performed throughout a patient’s hospitalization: on admission, on unit transfers, before, during, and after procedures or analgesic administration, and with routine vital sign checks. These data are inputted by nurses into EHR flowsheets.
Statistical Analysis
All analyses were done using Stata software v.18. To assess for differences in inpatient pain management, we first calculated the unadjusted daily MMEs across race/ethnicity and all the other covariates. For the adjusted analysis, we used multivariable negative binomial regression to account for the heavily dispersed distribution of daily MMEs. The models were adjusted for all demographic, clinical, substance use, and pain-related variables, with clustering by patient medical record number to account for multiple hospitalizations for a given patient during the study period. All hypothesis tests were evaluated at α = 0.05. We prespecified the interaction between race/ethnicity and substance use disorder and utilized omnibus testing. If the interaction was not significant, we refit the model with main effects only. White race was used as the reference category. Results from the negative binomial regression were reported using average marginal effects (AMEs), which describes the average difference in average daily inpatient MMEs between the comparison and reference race/ethnicity categories.
Subgroup Analyses
We performed two subgroup analyses. First, we repeated the above analysis on only patients with an ICD- 10-defined substance use disorder. In this subgroup, we reported the frequency of each specific substance use disorder and performed an adjusted analysis using negative binomial regression. The purpose of this subgroup analysis was to further isolate the effect of race/ethnicity on inpatient opioid administration by minimizing confounding and focusing only on those with a defined substance use disorder. Second, we performed the above analysis excluding all patients who were on either methadone or buprenorphine prior to admission and all the patients who received methadone or buprenorphine during admission. The purpose of this subgroup was to minimize confounding by medications that can be used to treat either OUD or pain and potential variation in MOUD prescribing rates among different racial/ethnic groups. This subgroup did not include any methadone or buprenorphine calculated in the outcome variable of MMEs.
Results
The study included 9102 patients across 13,058 unique hospitalizations from January 1, 2021, to December 31, 2022, discharged from the general medicine service. The cohort had a mean age of 62.7 years (standard deviation (SD) 19.0) and was 51.2% male. The racial/ethnic distribution of the overall cohort was 43.3% White, 23.2% Asian, 13.0% Latino, 12.3% Black or African American, and the remaining groups made up 8.4% (Fig. 1). At the individual patient level, 31.3% of patients had a substance use disorder diagnosis, 4.2% were prescribed MOUD prior to admission, 26.3% were prescribed opioids prior to admission, and 31.8% were admitted with moderate or severe pain. Rates of MOUD prior to admission varied across racial and ethnic groups (White, 5.6%; Black, 6.5%; Asian, 1.4%; and Latino, 2.6%). The mean hospital length of stay was 6.8 days (SD 13.7) (Table 1, see Supplemental Table 1 for data across all race/ethnicity categories).

Primary Analysis
Unadjusted and adjusted analyses examining the relationship between race/ethnicity and average daily inpatient opioid administration in morphine milligram equivalents (MME) are presented in Table 2. In the unadjusted analysis, significant differences were found across racial/ethnic groups (p < 0.001), with Black or African American patients receiving the highest mean MME/day of 81.3 (SD 192.7) and Asian patients the lowest at 12.9/day (SD 65.3) (Table 2).
For the adjusted analysis, after considering demographic factors, clinical variables, substance use, pain characteristics, and accounting for clustering of hospitalizations by patient, significant differences in opioid administration were found across racial/ethnic groups. Every defined racial/ethnic minority group, except for “Other” and “Unknown/Declined” received significantly fewer opioids compared to White patients. The largest racial/ethnic minority groups all received fewer adjusted opioids, including Asian patients (− 61.3 MME/day, 95% confidence interval (CI) − 79.4 to − 43.2, p < 0.001), Black patients (− 44.9 MME/day, 95% CI − 68.9 to − 21.0, p < 0.001), and Latino patients (− 48.8 MME/day, 95% CI − 68.6 to − 29.0, p < 0.001). The largest effect sizes were found for Native American/Alaska Native patients (− 80.4 MME/day, 95% CI − 121.6 to − 39.2, p < 0.001) and Native Hawaiian/Pacific Islander patients (− 72.9 MME/day, 95% CI − 99.5 to − 26.3, p < 0.001). Several other factors were associated with higher opioid administration, including the presence of a substance use disorder diagnosis, being prescribed MOUD or opioids prior to administration, and receiving an inpatient pain or palliative medicine consultation. Patients with higher levels of pain on admission did not receive higher levels of opioids compared to those without higher levels of pain (Table 2).
Subgroup Analysis 1: Patients with SUD
Compared to the overall cohort, this specific subgroup of patients with SUD (n = 2846 patients across 4446 hospitalizations) had a higher proportion of Black or African-American and male patients and fewer Asian patients (Table 3). The most common substance-related disorders were nicotine/tobacco, alcohol, and opioids. For the adjusted analysis of the subgroup, the overall findings were similar, with most racial/ethnic minority groups receiving fewer adjusted opioids compared to White patients. For the largest racial/ethnic minority groups, Asian (− 124.4 MME/day, 95% CI − 168.3 to − 80.6, p < 0.001), Black (− 68.7 MME/day, 95% CI − 120.9 to − 16.6, p < 0.001), and Latino patients (− 110.8 MME/day, 95% CI − 155.8 to − 65.9, p < 0.001) all received fewer opioids than White patients. These effect sizes were all larger than in the overall analysis (Table 4).
Subgroup Analysis 2: Excluding All Patients on Methadone and/or Buprenorphine
This subgroup included a total of 8612 patients across 12,153 hospitalizations. The cohort was very similar in composition to the overall cohort. For the adjusted analysis of this subgroup, our findings were similar to the overall analysis, where most racial/ethnic minority groups received fewer adjusted opioids compared to White patients. For the largest racial/ethnic minority groups, Asian (− 19.9 MME/day, 95% CI − 27.8 to − 11.9, p < 0.001), Black (− 19.3 MME/day, 95% CI − 27.9 to − 10.8, p < 0.001), and Latino (− 13.4 MME/day, 95% CI − 22.3 to − 4.62, p = 0.003) patients all received fewer opioids than White patients (Supplemental Table 3). Notably, average MMEs were lower in this subgroup compared to the overall cohort.
Discussion
In this retrospective study of over 13,000 hospitalizations at an academic medical center, we found clinically meaningful racial/ethnic inequities in inpatient opioid administration for pain management after adjusting for substance use disorders, demographic factors, clinical variables, and pain characteristics. We found compounded inequity for patients with multiple marginalized identities (i.e., race/ethnicity minority, substance use disorder).
Consistent with our initial hypothesis, in our overall cohort, racial/ethnic minority groups received significantly fewer opioids compared to White patients. Large disparities were observed for Asian, Black, Latino, Native American/Alaska Native, Native Hawaiian/Pacific Islander, Southwest Asian/North African, and Multiracial patients. These findings persisted and were even more pronounced in the subgroup analysis restricted to patients with a substance use disorder diagnosis. We again found similar and substantial decreases in opioids received in the subgroup analysis that excluded all patients who received methadone or buprenorphine prior to or during admission. These are major findings to emphasize—even after controlling for key variables, including the presence of a substance use disorder, prior opioid and MOUD prescriptions, the average self-reported pain score, the presence of significant pain on admission, demographic and clinical characteristics, minoritized patients received significantly fewer opioids while admitted.
The effect sizes were not just statistically significant, but also clinically substantial. For context, a standard opioid dose prescribed by a physician is a 5 mg tablet of oxycodone, which is equivalent to 7.5 MMEs. In the subgroup, Asian patients received 124 fewer average daily MMEs than White patients, equivalent to 16 fewer tablets of oxycodone per day.
Our results are consistent with prior research demonstrating inequities for vulnerable groups in pain management across various healthcare settings, including those from racial/ethnic minority groups and those with a substance use disorder. However, this study extends those findings to the unique inpatient population of patients from racial/ethnic minority groups with a concurrent substance use disorder, a challenging clinical scenario where appropriate pain management is particularly complex. This study is also novel in that we studied and found inequities for often underreported racial/ethnic minority groups, including patients who identify as Native American/Alaska Native, Native Hawaiian/Pacific Islander, Southwest Asian/North African, and Multiracial.
There are several potential reasons for our findings, best understood by examination at the clinician, patient, and larger structural levels. At the clinician level, there is likely to be bias in providing care for patients with substance use disorders and those from minority racial/ethnic groups. These biases have been previously identified in the literature for both populations, and this patient population faces intersecting biases and stigma due to race/ethnicity and substance use. Clinicians may be particularly hesitant to prescribe opioids due to concerns about misuse, diversion, or exacerbating substance use disorders, despite evidence that undertreated pain can worsen outcomes.
At the patient level, it is notable that Asian patients received the fewest opioids in both the overall and subgroup analyses. It is possible that there is variation across racial/ethnic groups in (1) the experience and expression of pain, (2) the ability or willingness to communicate a given pain level to a provider, and (3) the willingness to accept an opioid in general, or a higher dose of opioid pain medication for a given pain level. Despite these potential reasons, research in this area has still found that patient-related attitudinal concerns about opioids are more likely to be shaped by undertreatment, not as a cause of it.
Between clinicians and patients, the role of communication is essential. Patients from minoritized racial groups are more likely to have limited English proficiency. While we did not find language status to be a significant predictor of opioid administration, there may still be cultural factors in terms of clinician-patient communication that impact overall pain assessment and management. At the systems level, there has been an increased national focus on opioid deprescribing. The study site was in San Francisco, a city particularly hit hard by the opioid epidemic with record overdose levels during the study period. This background is a likely factor in physician decisions on how aggressively to treat pain with opioids but does not fully explain the racial/ethnic variations in pain management.
There were several additional notable findings. In our models, the most significant predictors of receiving higher inpatient opioid doses, unsurprisingly, were having a prescription for MOUD and/or opioids prior to admission. These patients likely had higher opioid tolerance and the potential for hyperalgesia and concurrent withdrawal. Our subgroup analysis, which removed these patients, demonstrated lower doses of inpatient opioids but persistent racial/ethnic disparities. In the overall model, the average pain score was not associated with opioid administration, but this had a positive association in the subgroup models. As supported by the literature, reported pain is just one of many factors that influence the decision to prescribe opioids, particularly in those with concurrent substance use disorders.
There are limitations to consider. First, this was a single-center study where physicians at the study site likely systematically practice in different ways than other places, which limits our generalizability. Second, we used administrative billing codes to identify patients with substance use disorders, which could either underestimate or overestimate the true clinical prevalence, depending on the circumstance. Third, our capture of inpatient MMEs included methadone and buprenorphine for the overall model, which can be used for both pain control and for treatment for opioid use disorder. We are unable to parse out the indication for these medications in this dataset (for pain vs for OUD). Therefore, the second subgroup model, which eliminated all patients who received these medications prior to and during admission, was performed to minimize confounding from methadone and buprenorphine prescriptions.
Nonetheless, our findings are novel for the fields of general medicine, health equity, and substance use. Patients from minoritized groups who also have a substance use disorder are uniquely vulnerable to inequitable inpatient pain management. Future prospective studies including the specific indication for each opioid medication and clinician-based diagnoses of substance use disorders, and more granular analyses comparing different SUDs are needed to fully elucidate the mechanisms underlying these disparities. We also plan to examine the granular relationship between individual pain assessments and subsequent medication administration in various clinical scenarios across different patient cohorts, which would require multilevel time-series analysis to account for multiple prescribers, varying medication durations, and temporal relationships between pain scores and prescribing decisions. The consistency of all our findings across the overall cohort, the SUD subgroup, and the subgroup without buprenorphine/methadone highlights the importance of developing in-hospital interventions to promote equitable, culturally competent pain care for marginalized populations. Potential strategies include provider education on biases, enhanced patient-provider communication tools, standardized pain assessment and management protocols, and institutional policies that track and promote equitable pain management practices. Ultimately, addressing these disparities is crucial to improving care quality and outcomes for all patients, regardless of their race, ethnicity, or substance use history.