Background

Cannabis is the most widely used psychoactive substance after alcohol and tobacco, with approximately 3.8% of the world’s adult population having used the drug in the past year [1]. The perceived harms associated with cannabis are decreasing [2, 3] while belief in its potential health benefits is increasing [3,4,5] and countries across the world are beginning to legalize cannabis for medical and/or non-medical use [6]. These trends make it likely that cannabis use will become increasingly common in the future [2, 7, 8]. Cannabis can have serious impacts on health [9,10,11,12,13,14], and patients often use the drug instead of other prescription medications to manage their health [13]. The purpose of this paper is to better understand the relationship between cannabis use, as documented in electronic health records (EHR), and other health diagnoses among primary care patients in a time when state law allowed for medical cannabis use, but not non-medical cannabis use.

Understanding the associations between cannabis use, medical conditions, and behavioral health can equip practitioners to more effectively identify patients who use cannabis and address the possible impacts the drug may have on their health. Currently, little is known about how often cannabis use is identified among primary care patients in health systems, or the degree to which it is associated with medical and psychiatric diagnoses among primary care populations. EHR data can be used to address these questions. For example, Campbell and colleagues [15] analyzed EHR data from community clinics in Oregon, California, and Washington State between 2012 and 2016, and found that primary care patients were more likely to have a cannabis use disorder (CUD), but not cannabis use without a disorder (CU), documented in EHRs if they had psychiatric diagnoses. Lapham and colleagues [16] analyzed data from a large integrated healthcare system in Washington State from 2015 to 2016, and found that mental health disorders, depression symptoms, tobacco use, unhealthy alcohol use, illicit drug use, and substance use disorders were associated with increased cannabis use. Matson and colleagues [17] recently analyzed EHR data from a large integrated healthcare system in Washington State from 2017 to 2018 to measure the prevalence of documented medical cannabis use and its association with health conditions for which cannabis use could be potentially beneficial or harmful. They found that patients who had documented medical use of cannabis had higher prevalence of diagnoses for both conditions that could be adversely impacted or helped by cannabis use when compared to non-medical users and non-users [17].

Campbell and colleagues’ data was collected from a mix of states that allowed for both medical (California at the time of data collection) and non-medical cannabis use (Oregon, Washington), while Matson and colleagues’ data was collected only from Washington. To our knowledge, no published research has used EHR data to examine the prevalence of cannabis use or the association of cannabis with health diagnoses in places where cannabis is only legal for medical use. It is important to analyze data from samples in locations that have different cannabis policies because cannabis’ legal status can influence who decides to use the drug, how frequently they use it, and the potency of the cannabis they consume [18,19,20,21,22]. Policy contexts also affect cannabis pricing, access, marketing, and social acceptability [23], which in turn can lead to differences in cannabis use and its consequences. The legal status of cannabis may influence patients’ willingness to disclose their use to their physician when they seek treatment for a health problem leading to differences in how frequently it is documented in EHRs, and it can also impact the degree to which cannabis use may have negative social or legal consequences [5].

The goal of this paper is to complement the work of Campbell et al. [15] and Matson et al. [17] by analyzing EHR data from California between 2013 and 2017, when cannabis was only legal for medical use. As of May 2021, 18 states in the United States (U.S.) [24] and countries across the world—including the United Kingdom [25], Australia [26], and many nations in continental Europe [27] and South America [28] — allowed for medical cannabis use, but not adult (non-medical) cannabis use. Findings from this study can be used to inform clinical practice in these places, and other jurisdictions that may allow medical cannabis use—but not non-medical cannabis use—in the future.

The paper has two aims: (1) to measure the prevalence of documented cannabis use disorder (CUD) and cannabis use (CU) in a large health system’s EHR; and (2) to determine the odds that patients with documented CUD and CU had general co-occurring medical conditions and conditions known to be associated with cannabis use.

Methods

Study design

The study utilized EHR data from the Internal Medicine and Family Medicine departments of the University of California, Los Angeles Health System utilizing Epic/Clarity software. To determine the odds that individuals with CUD/CU documentation had specific health conditions, the study utilized a case–control design, comparing diagnoses among individuals with CUD/CU documentation to those of matched controls, and those of individuals with CUD diagnoses to those of individuals with documented CU.

Study sample

The study sample was drawn from 1,047,463 unique primary care patients aged 18 or older who had ambulatory care encounters documented in the health system EHR between January 1, 2013 and September 1, 2017. Sample patients had relatively high socio-economic status, as the median household income of health system patients’ neighborhoods was over $84,000, and over 64% of the patients had private insurance. Patients with CUD were identified with International Classification of Diseases, Tenth Revision (ICD-10) code F12 (cannabis-related disorders). Patients in the CU documentation group were identified by text searches of EHR social history notes, as has been done in other studies [15, 29]. Patients were considered part of the CU group if there was mention of “cannabis,” misspelled variations of cannabis (“cannibis,” “canbis”, “canibis”) or common colloquial equivalents (“marijuana”, “pot”, “weed”, “grass”) in EHR notes but there was no CUD diagnosis. In the event patients met both CUD and CU criteria, they were considered CUD patients. No exclusion criteria were used in the selection of case patients. Patient controls were identified and matched to the case patients by sex (male/female), race/ethnicity (White, Black, Hispanic, Asian/Pacific Islander, Other/Unknown), age (18–29, 30–39, 40–49, 50–59, 60–69, 70 +), and first encounter year within the EHR system.

Measures

Diagnoses were identified by their International Classification of Diseases, Tenth Revision (ICD-10) codes in EHRs (see Appendix for the ICD-10 codes utilized). General co-occurring medical conditions examined included cancer, nervous system disease, circulatory system disease, respiratory disease, digestive system diseases, liver disease, diseases of the musculoskeletal system, HIV/AIDS, sexually transmitted diseases other than HIV/AIDS, mental health disorders, alcohol use disorders, tobacco use disorders, and substance use disorders other than those related to alcohol, cannabis, and tobacco.

Conditions known to be associated with cannabis were based on the National Academies of Sciences, Engineering and Medicine review of the health effects of cannabis and cannabinoids [13]. These conditions included cancer, respiratory disease, chronic obstructive pulmonary disease (COPD), ischemic heart disease (an indicator for myocardial infarction and ischemic stroke), obstructive sleep apnea, multiple sclerosis, Tourette Syndrome, testicular cancer, chronic pain, fibromyalgia, HIV/AIDS, schizophrenia/psychotic disorders, depression, anxiety, bipolar disorder, social anxiety disorder, post-traumatic stress disorder (PTSD), alcohol use disorders, and other substance use disorders. See the Appendix for the ICD-10 codes used to identify these conditions.

Analyses

The odds that patients with CU or CUD documentation had had various physical, mental health, and substance use disorder diagnoses were calculated using conditional logistic regression models that utilized pairs (each with one case and one control) as strata. First, a simple conditional logistic regression model was applied to each health condition, in which the presence of each diagnosis was included as the dependent outcome variable and the three groups (CU documentation, CUD documentation, controls) were included as the independent covariates. Using the control group as the reference group, the odds ratios (ORs) of the CU-documented and CUD-documented groups were estimated and statistically tested. A post-hoc analysis was also conducted to estimate and test the OR of CUD documentation compared to CU documentation for each condition controlling for alcohol and tobacco use disorders. ORs were then estimated and tested. A sequentially rejective test procedure [30] was then applied to control for type-one error for multiple comparisons that could emerge due to the large number of tests conducted, and alpha levels were adjusted accordingly at the p = 0.001 level. All analyses were conducted using SAS 9.4 analytic software. All study procedures and analyses were approved by the University of California, Los Angeles Institutional Review Board.

Results

Sample characteristics

Table 1 provides an overview of sample characteristics. Overall, the sample was majority male, White, and aged 18–39.

Table 1 Sample characteristics

CU and CUD documentation

Of 1,047,463 patients, 4,470 had CUD diagnoses and/or a mention of cannabis in their social history notes; 729 (0.06%) had CUD diagnoses, and 3,741 (0.36%) were in the CU-documented group.

Unadjusted odds of diagnoses

Table 2 includes the unadjusted prevalence of medical diagnoses among patients in the CUD-documented, CU-documented, and matched control groups.

Table 2 Unadjusted prevalence of diagnoses

The CUD-documented group had higher unadjusted prevalence of most general medical conditions than the CU-documented and matched controls groups, and CU-documented patients had higher unadjusted prevalence of most conditions when compared to matched controls. The most pronounced differences in unadjusted prevalence were for any mental health disorders (71.1% of the CUD-documented group, 44.4% of the CU-documented group, 21.9% of matched controls), other substance use disorders (44.7% CUD-documented, 13.8% CU-documented, 4.5% matched controls), tobacco use disorder (36.6% CUD-documented, 14.5% CU-documented, 4.9% matched controls), and alcohol use disorder (26.2% CUD, 6.5% CU, 2.6% matched controls). Among diagnoses for conditions known to be associated with cannabis, there was a similar trend, with prevalence being highest among the CUD-documented group, followed by the CU-documented group and matched controls. The largest differences between the groups were in the prevalence of anxiety (60.1% CUD-documented, 36.3% CU-documented, 16.8% matched controls), depression (50.3% CUD-documented, 26.3% CU-documented, 12.4% matched controls) and other substance use disorders.

Adjusted odds of diagnoses

Table 3 shows the adjusted odds that patients with CUD documentation and CU documentation would have diagnoses compared with matched controls and with each other (CUD-documented vs. CU-documented), controlling for alcohol and tobacco diagnoses. For general medical conditions, patients in the CUD-documented group had significantly higher odds of 12 of 13 diagnoses examined when compared to matched controls, with the highest ORs for other substance use disorders (OR = 21.44; 95% CI 9.43–48.73), HIV/AIDS (OR = 7.88; 95% CI 2.58–24.08), and any mental health disorder (OR = 6.99; 95% CI 5.03–9.70). CU-documented patients had higher odds than matched controls of diagnoses for 11 out of 13 diagnoses examined, with the highest odds for other substance use disorders (OR = 3.64; 95% CI 2.53–5.25). Compared to CU-documented patients, CUD-documented patients had significantly higher odds of HIV/AIDS (OR = 6.70; 95% CI 2.10–21.39), other substance use disorders (OR = 5.88; 95% CI 2.43–14.22), and any mental health disorder (OR = 2.48; 95% CI 1.76–3.51).

Table 3 Multivariate conditional logistic models on prevalence of health conditions (controlling for alcohol use disorders and tobacco use) odds ratios (95% confidence interval)

Among conditions known to be associated with cannabis, CUD-documented patients had higher odds than matched controls for 14 out of 18 conditions, with the highest ORs for other substance use disorders (OR = 21.44; 95% CI 9.43–48.73), social anxiety disorder (OR = 13.03; 95% CI 2.18–77.94), HIV/AIDS (OR = 7.88; 95% CI 2.58–24.08), post-traumatic stress disorder (OR = 7.44; 95% CI 2.66–22.51), depression (OR = 7.01: 95% CI 4,79–10.27), any mental health disorder (OR = 6.99; 95% CI 5.03–9.70), and bipolar disorder (OR = 6.49: 95% CI 2.90–14.52). CU-documented patients had higher odds of 13 out of 18 conditions compared to matched controls, with the highest ORs for other substance use disorders (OR = 3.64; 95% CI 2.53–5.25) and post-traumatic stress disorder (OR = 3.41; 95% CI 2.53–5.25). CUD-documented patients were significantly more likely than CU-documented patients to have HIV/AIDS (OR = 6.70; 95% CI 2.10–21.39), other substance use disorder (OR = 5.88; 95% CI 2.42–14.22), depression (OR = 2.85; 95% CI 1.90–4.26), and anxiety (OR = 2.19: 95% CI 1.57–3.05).

Discussion

Key results

Under one percent of the sample in this study had documentation of CU or CUD in their EHR, compared to studies of EHR data from Washington State, which found EHR-documented cannabis use rates between 15 and 22% [16, 17]. Some of this difference may be due to higher levels of adult CU, frequent cannabis use, and CUD in states like Washington that allow non-medical marijuana use [23]. Also, the sample in this study was mostly commercially insured and of relatively high income, so these factors may account for the differences from the Washington State samples. However, the rate of CU and CUD documentation in EHRs in this study was still surprisingly low. According to the U.S. National Survey on Drug Use and Health, 16.4% of Californians over age 12 reported past-year CU between 2014 and 2017, and 2.0% of this population had a CUD [31]. Part of the reason for these discrepancies could be in the methods used to identify CU and CUD among the patient populations. In the Washington State studies, all patients completed a cannabis screening at a primary care visit, whereas in this study, patients were not routinely screened. The large gap between rates of CU and CUD in California population surveys and the frequency of CU and CUD documentation in EHRs in this study could be indicators of how cannabis use can go undetected during primary care visits in the absence of systematic screening [32]. California healthcare providers may now begin screening for CU and CUD more since the U.S. Preventive Services Task Force has recommended drug use screening for adults in primary care [33], and this may lead to better identification of cannabis use in medical settings. This finding also underscores the importance of having healthcare providers in other states and countries—both those with and without legalized marijuana—systematically screen patients for CUD and cannabis use.

Study findings also shed light on the association between CUD documentation, CU documentation, and health among primary care patients in medical marijuana jurisdictions, showing that cannabis use is associated with many physical health conditions. CUD-documented patients in this study were over seven times as likely as matched controls to have HIV/AIDS diagnoses, three times as likely to have sleep disorder diagnoses, and twice as likely to have nervous system disease, digestive system disease, circulatory system disease, ischemic heart disease, fibromyalgia, and sleep apnea diagnoses. CU-documented patients also had increased odds for most of these conditions, though not as much as CUD-documented patients. Elevated rates of medical problems could result from direct physical effects of regular cannabis use and associated behaviors, and the fact that individuals with substance use disorders (including cannabis use disorder) are less likely than others to access and receive quality health care [10, 34,35,36]. Conversely, it is possible that some of this association is due to people with medical conditions using cannabis to manage or alleviate their symptoms [13, 37,38,39]. These findings indicate a stronger association between cannabis use and medical diagnoses than that found by Matson et al. [17] in their study of EHR data from Washington State. These differences may be attributable to the fact that unlike Washington State, California was a medical marijuana state at the time of this study, but had not yet legalized cannabis use generally. California patients may have been less likely to report their cannabis use due to fear of legal or social consequences for disclosing their substance use, leading providers to only identify CU or CUD in cases where it was discernible from patient presentation. Furthermore, unlike in the Matson et al. study, patients in this sample were not identified by universal screening. Consequently, it is possible that patients in this sample only had their cannabis use noted in their EHR if it emerged as a topic in the course of their primary care encounter, meaning that their cannabis use and its consequences may have been particularly severe or salient. By having respectful, nonjudgmental, and balanced discussions about the pros and cons of cannabis use with patients, medical providers may be able to decrease patient reluctance to disclose and discuss their cannabis use [5, 40]. Further research can help determine the degree to which the policy context and/or different methods for identifying patients who used cannabis may have accounted for the different findings reported here and those reported in other EHR studies.

When compared to physical health diagnoses, the odds of CU-documented and CUD-documented patients having behavioral health diagnoses relative to matched controls were particularly high. CUD-documented patients were nearly six times as likely as matched controls to have diagnoses of schizophrenia/psychotic disorders, over seven times as likely to have a depression diagnoses, over six times has likely to have a bipolar disorder diagnosis, and six times as likely to have anxiety diagnoses. For CU-documented patients, odds of these conditions were also elevated, but not nearly as much as for CUD-documented patients. Moreover, CUD-documented patients were over three times as likely as CU patients to have schizophrenia/psychotic disorders, and over twice as likely to have depression or anxiety diagnoses. These findings support the extensive body of research demonstrating a correlation between cannabis use and mental health problems [8, 11, 16, 41,42,43,44] and the association between cannabis use documentation and the presence of psychiatric diagnoses in EHRs [15, 17]. They also underscore the importance of screening and assessment for co-occurring mental health disorders among people who use cannabis or have cannabis use disorders, and ensuring that they receive evidence-based psychosocial and pharmacological interventions as needed [45,46,47,48]. Many of the behavioral interventions that have shown efficacy in addressing problematic cannabis use—such as motivational enhancement therapy, cognitive behavioral therapy, and contingency management—are also effective for treating other behavioral disorders, and could help improve the overall behavioral health of primary care patients with CUD [46, 47, 49].

Odds of other substance use disorders were also higher among the CUD-documented group when compared to matched controls, as they had over 21 times the risk of having other substance use disorder diagnoses. As with mental health diagnoses, the CU-documented group was also at elevated risk for substance use disorder diagnoses, but not nearly as much as the CUD-documented group. Compared to CU-documented patients, CUD-documented patients were over five times as likely to have another substance use disorder diagnosis. These findings align with other research demonstrating associations between cannabis use, increased use of other substances, and increased risk for other substance use disorders [8, 16, 17, 38, 50, 51].

The significantly increased odds of HIV/AIDS diagnoses among CUD-documented patients—but not among CU-documented patients—is also notable. There is limited evidence showing cannabis can be effective for increasing appetite and decreasing weight loss associated with HIV/AIDS [13], though evidence on its long-term safety and impact on long-term AIDS-related morbidity and mortality is limited [52]. However, some research has found cannabis dependence is associated with lower adherence to antiretroviral therapy and increased HIV symptoms and medication side effects [53], so the high prevalence of HIV/AIDS among the CUD-documented group in this study is concerning. This finding aligns with previous research showing relatively high levels of frequent cannabis use among people living with HIV [54], and highlights the need to detect CUD among this population and provide them with effective counseling and support to help them manage their cannabis use [55].

Limitations

Several key limitations should be noted. First, the study drew data from one university health system, and may not be generalizable to other primary care populations in other regions or countries. Second, measures of CUD and CU documentation were extracted from EHRs that did not have specific questions prompting provider to elicit data concerning cannabis use. This could account for the low rates of CUD and CU documentation in the sample, and it is possible that CUD and CU were only noted either when patients mentioned cannabis, or when providers detected issues that prompted them to ask about substance use. Consequently, there is a good possibility that only patients with outward signs of cannabis use or who self-disclosed cannabis use were detected, and these patients may use cannabis more frequently or heavily than most patients who use the drug. Other studies have documented under-diagnosis of CUD in medical records in the absence of routine screening and assessments [32]. Study findings can be interpreted as supporting the associations between CUD and CU at a threshold level that merits documentation in medical records, and should be interpreted within this context.

Third, since the dataset only allowed for identification of CUD and CU documentation, the study does not include information concerning frequency of use, duration of use, quantities used, types of products used, or potencies of cannabis products consumed. This information would be needed in order to come to more precise conclusions concerning the relationship between cannabis and medical conditions. Despite these limitations, the medical records data used have several advantages, including the large and diverse population, standardized medical codes and detailed case notes, and accumulation of relevant diagnostic data over multiple visits.

Conclusions

This study highlights the relationship between cannabis use and cannabis use disorder documentation with other medical, mental health, and other substance use disorders in states where medical marijuana is legal. Given the strong associations of cannabis use and cannabis use disorder documentation with health problems—particularly those related to mental health, substance use, and HIV—it is important for healthcare providers in such jurisdictions to be prepared to identify cannabis use and cannabis use disorders, and address these comorbidities among these patients. Study findings also suggest the need for future research on optimal strategies for initiating discussion of cannabis use and its potential benefits and adverse effects with primary care patients, particularly those already known to have medical and behavioral health conditions.