Skip to main content
BMJ Open logoLink to BMJ Open
. 2019 Jul 11;9(7):e030530. doi: 10.1136/bmjopen-2019-030530

Identifying mental health and substance use disorders using emergency department and hospital records: a population-based retrospective cohort study of diagnostic concordance and disease attribution

Linwei Wang 1, Fahmida Homayra 1, Lindsay A Pearce 1, Dimitra Panagiotoglou 1, Rachael McKendry 2, Rolando Barrios 2, Craig Mitton 3,4, Bohdan Nosyk 1,5
PMCID: PMC6629422  PMID: 31300509

Abstract

Objectives

Administrative data are increasingly being used for surveillance and monitoring of mental health and substance use disorders (MHSUD) across Canada. However, the validity of the diagnostic codes specific to MHSUD is unknown in emergency departments (EDs). Our objective was to determine the concordance, and individual-level and hospital-level factors associated with concordance, between diagnosis codes assigned in ED and at discharge from hospital for MHSUD-related conditions.

Design

Population-based retrospective cohort study.

Setting

EDs and hospitals within Vancouver Coastal Health Authority (VCH), British Columbia, Canada.

Participants

16 926 individuals who were admitted into a VCH hospital following an ED visit from 1 April 2009 to 31 March 2017, contributing to 48 116 pairs of ED and hospital discharge diagnoses.

Primary and secondary outcome measures

We examined concordance in identifying MHSUD between the primary discharge diagnosis codes based on the International Statistical Classification of Diseases, 9th and 10th Revisions (Canada) assigned in the ED and those assigned in the hospital among all ED visits resulting in a hospital admission. We calculated the percent overall agreement, positive agreement, negative agreement and Cohen’s kappa coefficient. We performed multiple regression analyses to identify factors independently associated with discordance.

Results

We found a high level of concordance for broad categories of MH conditions (overall agreement=0.89, positive agreement=0.74 and kappa=0.67), and a fair level of concordance for SUDs (overall agreement=0.89, positive agreement=0.31 and kappa=0.27). SUDs were less likely to be indicated as the primary cause in ED as opposed to in hospital (3.8% vs 11.7%). In multiple regression analyses, ED visits occurring during holidays, weekends and overnight (21:00–8:59 hours) were associated with increased odds of discordance in identifying MH conditions (adjusted OR 1.47, 95% CI 1.11 to 1.93; 1.27, 95% CI 1.16 to 1.40; 1.30, 95% CI 1.19 to 1.42, respectively).

Conclusions

ED data could be used to improve surveillance and monitoring of MHSUD. Future efforts are needed to improve screening for individuals with MHSUD and subsequently connect them to treatment and follow-up care.

Keywords: mental health, substance use, surveillance and monitoring, diagnostic codes, validation study, acute health care


Strengths and limitations of this study.

  • Concordance between emergency department (ED) and hospital diagnostic codes was assessed within a population-based cohort identified from the linkage of two comprehensive health administrative datasets of acute care.

  • Among the few studies that examine the validity of diagnostic codes used for mental health and substance use disorders in acute care, informing their use in surveillance and monitoring.

  • Analysis was limited to ED visits admitted to hospital and may not be representative of diagnostic accuracy of ED visits discharged directly from EDs.

  • Data capture was limited to primary diagnostic codes assigned in EDs; thus, improved detection of substance use disorders is possible in settings where more diagnostic codes are available.

Introduction

Mental health conditions and substance use disorders (SUDs) are the leading cause of the global burden of diseases, posing substantial health and economic impacts on individuals and society.1 Individuals with a mental health and/or SUD are at increased risk of emergency department (ED) use and hospitalisation,2 and often access the ED as first contact point for medical care.3 While health administrative data are increasingly being used for surveillance and performance monitoring across Canada,3–6 ED data are often not included in these efforts,4 6 partially due to the lack of consistency in ED data collection and reporting across the country.7

Vancouver Coastal Health (VCH) is one of BC’s five regional health authorities, serving approximately one million residents. This includes the Downtown Eastside (DTES) neighbourhood, one which has historically featured a high prevalence of substance use, mental illness, infectious diseases and homelessness.8 In 2015, prior to the declaration of a public health emergency in opioid overdose, VCH made integrated, comprehensive care delivery among the cornerstones of its DTES Second Generation Strategy (DTES-2GS) to acknowledge the unique needs of this population, which often presents to care with multiple concurrent disorders and social problems.9 Reducing SUD-related acute care visits is a central aim in both the overdose response and the DTES-2GS initiative. Thus, diagnostic information collected in these visits is of central importance to surveillance, monitoring and evaluation.10 11

While diagnostic codes assigned in hospital are subject to nationally coordinated cleaning and validation,12 13 the validity of the diagnostic codes specific to mental health and SUD in the ED are unknown. One systematic review identified 39 studies examining the accuracy of mental health diagnoses in administrative data, yet none of these studies assessed diagnostic accuracy in EDs.14 Our objectives were to determine the concordance, and individual-level and hospital-level factors associated with concordance, between the International Statistical Classification of Diseases and Related Health Problems, 9th and 10th Revisions, Canada (ICD-9-CA and ICD-10-CA) diagnosis codes assigned in the ED and at discharge from hospital for any mental health and substance use-related conditions observed in VCH between 2007 and 2017.

Methods

Study population and data sources

We obtained our data from a cohort of individuals residing in or having a record of receiving community-based services in Vancouver’s DTES neighbourhood between 1 April 2009 and 31 March 2017. The cohort was defined using the health administrative databases held by VCH, including the CommunityMart database (capturing community-based health service referrals), the EDMart database (capturing ED visits) and the Discharge Abstract Database (DAD) (capturing hospitalisations). The DAD contains data on inpatient acute care, day care and rehabilitation care at 11 hospitals under the purview of VCH, and the EDMart contains data on ED visits at 11 hospitals and acute care clinics under the purview of VCH. Available detail on each ED is included in online supplementary appendix 1.

Supplementary data

bmjopen-2019-030530supp001.pdf (585.1KB, pdf)

Data linkage was performed by the VCH data stewards, based on unique personal health numbers recorded in each database. We extracted data on individuals with at least one ED or hospital record during study follow-up to identify any indication of mental health conditions or SUD. All records of ED visits resulting in hospital admission were used to assess concordance in diagnostic codes within the two databases. Linkage of ED visits to the resulting hospital admission was ascertained, based on the following data fields and criteria: (if an ED visit had the same ‘ContinuumID’ as the hospital admission OR if the hospital admission occurred within 1 day of the ED visit) AND (the ED visit had a flag indicating admission to an hospital OR the hospital admission indicated an entry code of ‘E’ (ED)). The ‘ContinuumID’ was a unique ID used within a VCH facility to track patient movement across different health systems at each visit, and therefore might not capture the ED visit that resulted in admission at another hospital. Therefore, we supplemented this by capturing hospital admission within the same day of ED visit. These linkages were further ascertained using available data fields in EDMart (‘AdmittedFlag’) and in DAD (‘Entrycode’) to confirm ED visits, which resulted in hospital admission. While the ED data contain records since April 2007, only those collected after 1 April 2012 were subject to national-level data quality control.15 16 In contrast, hospitalisation data are standardised nationally with VCH DAD data dated back to 1 April 2007, with key fields (including diagnosis codes) subjected to error checks and validation.12

Measures

We considered the primary diagnosis field in ED (coded using ICD-10-CA from 1 April 2012 onward, and a combination of ICD-9-CA and ICD-10-CA prior to this date), and any of the up to 25 primary and secondary diagnosis fields (coded by ICD-10-CA exclusively) in hospital. We defined mental health conditions and SUD using the ICD-9-CA from 290 to 319, or their ICD-10-CA equivalents from F00–F99, consistent with the Canadian surveillance system.4 6 In addition, we considered more specific codes to identify alcohol use disorder (AUD), opioid use disorder (OUD), other SUD, mood disorders, depression, psychoses, neurotic/stress/somatoform disorders, anxiety disorders and personality disorders (specific codes provided in online supplementary appendix 1).

We defined an a priori list of patient-related factors and ED visit-related factors, which might be associated with diagnostic discordance as informed by the literature17 and given data availability. This included gender (male, female), age (<25, 25–34, 35–44, 45–54, 55–64 and ≥65), homelessness status (yes, no), event urgency using the Canadian Triage Acuity Scale,18 length of ED visit (<6 hours, ≥6 hours; defined as the difference between date/time of triage or registration in ED and date/time the patient left the nursing unit), and the time (9:00–20:59 hours and 21:00–8:59 hours) and day (weekday, weekend and holiday) of ED visit. Additionally, we considered the fiscal year of ED visit (2007–2011, 2012–2014 and 2015–2017) and a hospital indicator variable to examine the potential differences in diagnostic discordance over time, and across hospitals, respectively. Finally, we considered whether the patient ever resided in the DTES (yes, no) given the features of high disease prevalence and high vulnerability of the DTES neighbourhood.8

Statistical analysis

We examined the proportion of acute care visits with an indication of mental health conditions or SUD identified by hospital records only, by both ED and hospital records, and by ED records only. Among all ED visits resulting in a hospital admission, we examined the concordance between the primary cause assigned in ED and in hospital. We calculated the per cent overall agreement, positive agreement, negative agreement and the Cohen’s kappa coefficient—a statistic which measures agreement for categorical items, taking into account the possibility of the agreement occurring by chance of ED–hospital discharge diagnosis pairs.19 Landis and Koch’s classifications were used to interpret the kappa statistics produced: 0 as no agreement, 0.01–0.2 as slight, 0.21–0.40 as fair, 0.41–0.60 as moderate, 0.61–0.80 as high and 0.81–1.00 as almost perfect agreement.20 In addition, treating hospital discharge diagnosis as the reference standard, we calculated sensitivity, specificity, positive predictive value and negative predictive value of the primary cause of visit assigned in an ED. We repeated these analyses for each specific type of mental health and substance use disorder (MHSUD). Further, we examined the concordance between the primary cause assigned in ED against any cause assigned in hospital.

Finally, among ED visits transferred to hospital with at least one diagnosis code in either hospital or ED indicating an MHSUD, we performed a multiple regression analysis to identify patient-related factors and ED visit-related factors independently associated with discordance. We used a generalised linear mixed effects model with a logit link and binomial distribution to account for intra-individual correlation between repeated acute care visits.21 We repeated the analysis for any SUDs and any mental health conditions. All analyses were performed using SAS statistical software V.9.4.

Patients and public involvement

Patients and the public were not involved in the design, conduct and reporting of this research.

Results

Among 56 875 DTES cohort participants, 43 017 (75.6%) had at least one ED or hospital record between 1 April 2007 and 31 March 2017, and were included in our analyses. Among them, 16 996 (39.5%) had an indication of a MHSUD (table 1). It is notable that ED data increased the attribution of MHSUDs within the study cohort by 25.5% compared with using hospital records only. The proportions of missed case identification without ED records were comparable for AUD, OUD and other SUDs (21.9%–27.8%), and higher for most mental health conditions (27.9%–65.3%), except for personality disorders (8.8%) (table 1).

Table 1.

Identification of mental health and substance use disorders using hospital (any diagnosis codes) and emergency department (ED) records among DTES cohort participants (n=56 875)*

Health conditions Total Proportion of individuals identified by data source
No. of individuals Prevalence (%) Hospital records only N (%) ED records only
N (%)
Both hospital and ED records N (%)
Mental health and substance use disorders 16 996 29.9 5024 (29.6) 4330 (25.5) 7642 (45.0)
Any selected substance use disorders 12 638 22.2 5252 (41.6) 3238 (25.6) 4148 (32.8)
Alcohol use disorders 6206 10.9 2877 (46.4) 1727 (27.8) 1602 (25.8)
Other substance use disorders† 9865 17.3 4938 (50.1) 2160 (21.9) 2767 (28.0)
Opioid use disorder 5407 9.5 2778 (51.4) 1465 (27.1) 1164 (21.5)
Any selected mental health disorders 9163 16.1 2059 (22.5) 2705 (29.5) 4399 (48.0)
Mood disorders‡ 4286 7.5 1792 (41.8) 1195 (27.9) 1299 (30.3)
Depression 3245 5.7 1231 (37.9) 1226 (37.8) 788 (24.3)
Psychoses 4763 8.4 799 (16.8) 1410 (29.6) 2554 (53.6)
Neurotic/stress/somatoform disorders§ 4189 7.4 1408 (33.6) 2142 (51.1) 639 (15.3)
Anxiety disorders 2515 4.4 681 (27.1) 1642 (65.3) 192 (7.6)
Personality disorders 1860 3.3 1488 (80.0) 164 (8.8) 208 (11.2)

*Cases identified using at least one hospital or ED record of diagnosis code.

†Included opioid use disorder.

‡Included depression.

§Included anxiety disorders.

DTES, Downtown Eastside.

A total of 16 926 individuals were admitted into a VCH hospital following an ED visit, contributing to 48 116 pairs of ED and hospital discharge diagnoses (table 2), and 15.4% of ED visits resulted in hospitalisation during the study period. We found a high level of overall agreement between ED and hospital primary diagnoses in classifying whether a visit was related to a mental health condition or SUD (overall agreement=0.89, positive agreement=0.82 and kappa=0.74). Compared with the primary diagnosis code assigned at hospital discharge, the primary diagnosis code assigned at ED discharge was less likely to classify a visit as SUD-related (11.8% vs 3.8%), resulting in a fair level of agreement between ED and hospital in identifying any SUD-related visits (positive agreement=0.31, kappa=0.27). In contrast, ED and hospital classified a more comparable proportion of visits as mental health-related (21.7% vs 22.0%) with a high level of agreement (overall agreement=0.89, positive agreement=0.74 and kappa=0.67).

Table 2.

Concordance between the primary diagnosis code assigned in the ED and the primary diagnosis code assigned at hospital discharge following an ED visit for any mental health conditions or SUDs (n=16 926, 48 116 pairs)

Health conditions Condition indicated in Concordance statistics Validity statistics
(assume hospital discharge diagnosis as ‘gold standard’)
Any
N (%)
ED only
N (%)
Hospital only
N (%)
ED and hospital
N (%)
Overall agree Positive agree Negative agree Kappa
(95% CI)
Sensitivity
(95% CI)
Specificity
(95% CI)
Positive predictive value (95% CI) Negative predictive value (95% CI)
Mental health and substance use disorders 17 520 (36.4) 1040 (2.2) 4275 (8.9) 12 205 (25.4) 0.89 0.82 0.92 0.74 (0.74 to 0.75) 0.74 (0.73 to 0.75) 0.97 (0.97 to 0.97) 0.92 (0.92 to 0.93) 0.88 (0.87 to 0.88)
Any selected SUDs 6299 (13.1) 639 (1.3) 4492 (9.3) 1168 (2.4) 0.89 0.31 0.94 0.27 (0.26 to 0.28) 0.21 (0.20 to 0.22) 0.99 (0.98 to 0.99) 0.65 (0.62 to 0.67) 0.90 (0.90 to 0.91)
 Alcohol use disorders 604 (1.3) 90 (0.2) 452 (0.9) 62 (0.1) 0.97 0.48 0.98 0.47 (0.44 to 0.49) 0.38 (0.35 to 0.40) 0.99 (0.99 to 0.99) 0.67 (0.64 to 0.70) 0.97 (0.97 to 0.98)
 Other SUDs* 2314 (4.8) 359 (0.7) 1222 (2.5) 733 (1.5) 0.92 0.17 0.96 0.15 (0.14 to 0.17) 0.10 (0.09 to 0.11) 0.99 (0.99 to 0.99) 0.54 (0.50 to 0.58) 0.93 (0.93 to 0.93)
 Opioid use disorder 4035 (8.4) 330 (0.7) 3320 (6.9) 385 (0.8) 0.99 0.19 0.99 0.18 (0.14 to 0.22) 0.12 (0.09 to 0.15) 1.00 (1.00 to 1.00) 0.41 (0.33 to 0.49) 0.99 (0.99 to 0.99)
Any selected mental health disorders 13 226 (27.5) 2644 (5.5) 2761 (5.7) 7821 (16.3) 0.89 0.74 0.93 0.67 (0.66 to 0.68) 0.74 (0.73 to 0.75) 0.93 (0.93 to 0.93) 0.75 (0.74 to 0.76) 0.93 (0.92 to 0.93)
 Mood disorders† 2070 (4.3) 874 (1.8) 775 (1.6) 421 (0.9) 0.95 0.43 0.97 0.40 (0.39 to 0.42) 0.39 (0.37 to 0.41) 0.98 (0.98 to 0.98) 0.48 (0.46 to 0.51) 0.97 (0.97 to 0.97)
 Depression 157 (0.3) 71 (0.1) 73 (0.2) 13 (0.0) 0.97 0.34 0.98 0.32 (0.30 to 0.34) 0.35 (0.32 to 0.38) 0.98 (0.98 to 0.98) 0.33 (0.30 to 0.35) 0.98 (0.98 to 0.98)
 Psychoses 582 (1.2) 104 (0.2) 433 (0.9) 45 (0.1) 0.92 0.72 0.95 0.67 (0.66 to 0.68) 0.78 (0.77 to 0.79) 0.94 (0.94 to 0.94) 0.67 (0.66 to 0.68) 0.96 (0.96 to 0.97)
 Neurotic/stress/somatoform disorders‡ 9323 (19.4) 2592 (5.4) 1459 (3.0) 5272 (11.0) 0.97 0.13 0.99 0.11 (0.09 to 0.14) 0.10 (0.08 to 0.12) 0.99 (0.99 to 0.99) 0.18 (0.15 to 0.22) 0.98 (0.98 to 0.98)
 Anxiety disorders 3468 (7.2) 1015 (2.1) 1500 (3.1) 953 (2.0) 1.00 0.15 1.00 0.15 (0.08 to 0.23) 0.15 (0.08 to 0.24) 1.00 (1.00 to 1.00) 0.16 (0.09 to 0.25) 1.00 (1.00 to 1.00)
 Personality disorders 1316 (2.7) 396 (0.8) 832 (1.7) 88 (0.2) 0.99 0.14 0.99 0.14 (0.10 to 0.18) 0.09 (0.07 to 0.12) 1.00 (1.00 to 1.00) 0.30 (0.23 to 0.38) 0.99 (0.99 to 0.99)

*Included opioid use disorder.

†Included depression.

‡Included anxiety disorders.

ED, emergency department; SUD, substance use disorder.

The primary diagnoses in ED had consistently high specificity (0.93–1.00) in classifying mental health and SUD. However, sensitivity varied widely (0.09–0.78). The positive predictive values ranged from 0.41 to 0.67 for SUD and 0.16 to 0.67 for mental health conditions (table 2). These values increased to 0.80–0.94 and 0.30–0.75, respectively, if any of the up to 25 diagnosis codes in the hospital were considered (see online supplementary appendix 2 for further details).

In a multiple regression analysis, we found younger age and shorter length of ED visit were associated with increased odds of discordance between ED and hospital settings in identifying SUDs (table 3). In contrast, they were associated with decreased odds of discordance in identifying mental health conditions. Otherwise, ED visits occurring during holidays, weekends and overnight (21:00–8:59 hours) were associated with increased odds of discordance in identifying mental health conditions (adjusted OR (aOR) 1.47, 95% CI 1.11 to 1.93; 1.27, 95% CI 1.16 to 1.40 and 1.30, 95% CI 1.19 to 1.42, respectively). However, we did not observe such associations for discordance in identifying SUDs. Lastly, ED visits occurring in more recent years were associated with reduced odds of discordance in identifying SUDs compared with visits prior to 1 April 2012 (aOR, 0.53, 95% CI 0.44 to 0.63; 0.74, 95% CI 0.60 to 0.91; respectively, for fiscal years 2012–2014 and 2015–2017).

Table 3.

Factors associated with discordance between the primary diagnosis code assigned in the emergency department (ED) and the primary diagnosis code assigned at hospital discharge following an ED visit*

Characteristics Outcomes: discordance in identifying
Mental health or
SUD
(n=17 503)
Any SUD
(n=6294)
Any mental health conditions
(n=13 214)
ORs (95% CI)
Male 0.95 (0.87 to 1.04) 0.94 (0.79 to 1.13) 0.96 (0.86 to 1.06)
Age at visit
 ≥65 Reference Reference Reference
 55–64 0.49 (0.42 to 0.58) 1.24 (0.87 to 1.78) 0.63 (0.50 to 0.79)
 45–54 0.39 (0.34 to 0.45) 1.56 (1.11 to 2.18) 0.85 (0.68 to 1.05)
 35–44 0.30 (0.26 to 0.35) 1.83 (1.30 to 2.57) 0.86 (0.70 to 1.06)
 25–34 0.27 (0.23 to 0.32) 2.50 (1.76 to 3.56) 0.85 (0.69 to 1.06)
 <25 0.37 (0.31 to 0.45) 2.44 (1.62 to 3.68) 1.07 (0.84 to 1.36)
 Ever residing in DTES† 1.07 (0.98 to 1.18) 0.98 (0.81 to 1.17) 1.19 (1.08 to 1.33)
 Homeless at time of visit‡ 1.00 (0.91 to 1.11) 0.88 (0.74 to 1.05) 1.26 (1.13 to 1.41)
Year of visit
 2007–2011 Reference Reference Reference
 2012–2014 0.71 (0.65 to 0.78) 0.53 (0.44 to 0.63) 1.04 (0.94 to 1.14)
 2015–2017 0.66 (0.60 to 0.73) 0.74 (0.60 to 0.91) 1.09 (0.98 to 1.21)
Day of visit
 Weekday Reference Reference Reference
 Weekend 1.22 (1.12 to 1.33) 0.90 (0.77 to 1.05) 1.27 (1.16 to 1.40)
 Holiday 1.51 (1.19 to 1.92) 1.25 (0.76 to 2.05) 1.47 (1.11 to 1.93)
Time of visit
 9:00–20.59 hours Reference Reference Reference
 21:00–8.59 hours 1.27 (1.17 to 1.38) 1.06 (0.91 to 1.23) 1.30 (1.19 to 1.42)
Triage acuity at ED
 Semi to not urgent Reference Reference Reference
 Urgent 0.98 (0.86 to 1.11) 0.77 (0.58 to 1.02) 1.19 (1.04 to 1.36)
 Resuscitation emergency 0.98 (0.86 to 1.12) 0.99 (0.74 to 1.33) 1.21 (1.05 to 1.40)
ED hospital
 St. Paul’s Hospital Reference Reference Reference
 Lions Gate Hospital 1.32 (1.05 to 1.66) 0.67 (0.46 to 0.97) 1.41 (1.07 to 1.85)
 Mount Saint Joseph Hospital 1.91 (1.49 to 2.44) 0.29 (0.20 to 0.43) 2.22 (1.44 to 3.41)
 Other 0.67 (0.20 to 2.23) 0.23 (0.03 to 2.21) 1.18 (0.36 to 3.91)
 Richmond Hospital 2.62 (2.21 to 3.11) 0.62 (0.47 to 0.82) 3.45 (2.72 to 4.36)
 Vancouver General Hospital 0.62 (0.57 to 0.68) 0.99 (0.83 to 1.17) 0.83 (0.76 to 0.91)
Length of ED visit
 <6 hours Reference Reference Reference
 ≥6 hours 1.17 (1.05 to 1.30) 0.61 (0.47 to 0.79) 1.37 (1.23 to 1.53)

*Among visits with either hospital or ED record indicating a case.

†Determined by known postal code or homeless user of VCH services or DTES indication in CommunityMart data

‡Determined by presence of postal code V6Y2A1 (used if no fixed address or postal code in Discharge Abstract Database/EDMart data); postal code ‘XX’ (used for transient/homeless populations in Discharge Abstract Database/EDMart); postal code A0A 0A0 (assigned if no postal code for ED visit in EDMart and CommunityMart); indication of homelessness in EDMart/CommunityMart data.

DTES, Downtown Eastside; SUD, substance use disorder; VCH, Vancouver Coastal Health.

Bold indicates statistical significance of P-value<0.05.

Discussion

Using hospital and ED administrative records from VCH, we found a high proportion (39.5%) of individuals with an indication of a mental health or SUD, 25.5% of which would not have been identified without the use of ED data. We found a high level of overall agreement between ED and hospital in classifying whether a visit was related to any MHSUD. The concordance was higher for determining any mental health-related visit as opposed to SUDs. An individuals’ age and several ED visit-specific factors were found to be independently associated with the concordance between ED and hospital, with the direction of associations differing in identifying mental health conditions and SUDs.

It is important to emphasise the fact that 25.5% of individuals with mental health or SUD could not have been identified using only hospital records. The value of these data for disease surveillance and the monitoring and evaluation of changes in policy and practice are clear. However, it is notable that SUD overall, and illicit drug use, in particular, were largely underdetected in EDs as compared with hospitals. While there are many competing priorities in ED settings, improving screening for SUDs can help connect individuals to treatment and follow-up care and reduce the likelihood of subsequent readmission.22

Otherwise, we found a comparable proportion of contacts in EDs and hospitals, which were identified to be mental health-related. This was consistent with a systematic review of mental health diagnoses accuracy in administrative data that showed comparable accuracy for diagnoses made in inpatient settings compared with other settings.14 Moreover, we found a high level of agreement between hospital and ED diagnoses in determining any mental health conditions in general, with a high concordance for psychoses, moderate concordance for mood disorders, but low concordance for anxiety disorders and personality disorders. Our findings were consistent with a systematic review that concluded administrative data were generally predictive of true diagnosis of psychotic categories, but were less satisfactory in identifying anxiety disorders.14

Given the inherent complexity in diagnosing mental health conditions, it is not surprising that there is inadequate reliability in the diagnosis of specific types of mental health conditions. Diagnostic accuracy is further limited in ED given only one primary diagnosis code was available. Notably, we found ED visits occurring during holidays and weekends, as well as those during overnight shifts were associated with higher odds of mental health diagnostic discordance between ED and hospital. Various studies have investigated the ‘weekend effect’ in healthcare, suggesting poorer health outcomes among individuals admitted to hospitals during the weekend as opposed to weekdays. Two Canadian studies of ED admission found weekend admissions were associated with significantly higher in-hospital mortality rates.23 24 To our knowledge, this study is the first to identify an independent association between ED visit timing and mental health diagnosis accuracy. Several factors might explain these associations, including the intensity of care and medical staff, the volume of ED visits at different times of the day and week, as well as potential impairment of physical and cognitive abilities of medical staff due to sleep deprivation especially during overnight shifts.25 26 Some adjustments to staffing models at the ED might be made to improve diagnosis accuracy. Future studies should further investigate whether increased diagnostic discordance associated with visit timing will result in adverse patient outcomes.

Several limitations are worth noting. First, we assessed the validity of the ED diagnostic codes in a limited and selective subset of all ED visits; those subsequently admitted to hospital no doubt had symptoms of higher severity, and such cases may not be representative of diagnostic accuracy of ED visits discharged directly from ED. Further, diagnostic codes assigned in hospital are not an ideal ‘gold standard’ as they have been reported to have a high specificity but moderate sensitivity in identifying mental health conditions and SUD.27 Nonetheless, in the absence of an external ‘gold standard’, an analysis of concordance between ED and hospital diagnosis codes can help illuminate data quality.28 Third, only primary diagnosis codes were available in VCH ED records. In settings where more diagnosis codes are available, there may be improved detection of SUDs. Fourth, we did not consider diagnosis codes related to intentional self-harm, which was a common reason for hospitalisation due to a mental health disorder. However, among the ED visits that resulted in hospitalisation, only 0.24% had a hospital diagnosis code indication of intentional self-harm. Furthermore, our sensitivity analyses which used all (up to 25) diagnoses codes in hospital captured 90% of the self-harm-related hospital admissions as those admissions are likely to have a diagnosis code between 290 and 319 (or F00–F99) in addition to the self-harm diagnoses codes. Finally, caution should be exercised while generalising our findings to other settings, noting that our study population represents a highly socioeconomically disadvantaged patient population with a high prevalence of MHSUD. The study team had limited access to information on the clinical context of EDs, such as the availability of psychiatrists and other specialised services, which may help to explain variation in concordance across settings and may limit generalisability to health administrative data used for these purposes in other jurisdictions.

In conclusion, we found a high level of diagnostic concordance between ED and hospital for broad categories of mental health conditions, and a fair level of concordance for SUD. A large proportion of individuals with an indication of a mental health condition or SUD would be missed without ED records. Future efforts are needed to improve screening for individuals with MHSUDs and connect them to treatment and follow-up care.

Supplementary Material

Reviewer comments
Author's manuscript

Acknowledgments

We thank the Vancouver Coastal Health Authority staff involved in data access and procurement, including: Michael Li, Joleen Wright, Christopher Mah, Janine Johnstone, Susan Sirett and Kacy Fehr.

Footnotes

Contributors: LW, DP and BN designed the study, conceptualised the analysis and wrote the first draft of the manuscript. FH and LW performed data cleaning and conducted the analyses. FH, LAP and DP provided critical input on and revised the manuscript. BN and CM are principal investigators of the parent study. RM and RB provided input on the manuscript on behalf of VCH. All authors read and approved the final manuscript.

Funding: This work was supported by the Vancouver Coastal Health Authority and the Canadian Institutes of Health Research grant number GIR-145128.

Competing interests: None declared.

Ethics approval: Ethical approval was obtained from the Providence Health Care Research Institute (H16-00516) and the Simon Fraser University Office of Research Ethics (2016s0670).

Provenance and peer review: Not commissioned; externally peer reviewed.

Data sharing statement: Data are available on reasonable request.

Patient consent for publication: Not required.

References

  • 1. Whiteford HA, Degenhardt L, Rehm J, et al. . Global burden of disease attributable to mental and substance use disorders: findings from the Global Burden of Disease Study 2010. Lancet 2013;382:1575–86. 10.1016/S0140-6736(13)61611-6 [DOI] [PubMed] [Google Scholar]
  • 2. Graham K, Cheng J, Bernards S, et al. . How much do mental health and substance use/addiction affect use of General Medical Services? Extent of use, reason for use, and associated costs. Can J Psychiatry 2017;62:48–56. 10.1177/0706743716664884 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Butler AAC, Jones W, Kurdyak P, et al. . Towards quality mental health services in Canada: a comparison of performance indicators across 5 provinces. Vancouver BC: Centre for Applied Research in Mental Health & Addiction (CARMHA), 2017. [Google Scholar]
  • 4. Public Health Agency of Canada. Public Health Surveillance. 2018. https://www.canada.ca/en/public-health/services/surveillance.html#a2.
  • 5. Canadian Institute for Health Information. Hospital Mental Health Services for concurrent mental illness and substance use disorders in Canada. 2013.
  • 6. Kisely S, Lin E, Lesage A, et al. . Use of administrative data for the surveillance of mental disorders in 5 provinces. Can J Psychiatry 2009;54:571–5. 10.1177/070674370905400810 [DOI] [PubMed] [Google Scholar]
  • 7. Canadian Institute for Health Information. Data quality documentation, national ambulatory care reporting system —current-year information, 2014–2015. 2017.
  • 8. Linden IA, Mar MY, Werker GR, et al. . Research on a vulnerable neighborhood-the Vancouver downtown eastside from 2001 to 2011. J Urban Health 2013;90:559–73. 10.1007/s11524-012-9771-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Vancouver Coastal Health. Downtown eastside second generation health system strategy: design paper: Vancouver Coastal Health. 2015.
  • 10. Smolina K, Gladstone EJ, Morgan SG. Pharmaceutical opioid monitoring and surveillance in British Columbia: Current state and future directions. 2015.
  • 11. Vancouver Coastal Health. Overdose statistics - April 2018. 2018. http://www.vch.ca/about-us/news/overdose-statistics-april-2018.
  • 12. Canadian Institute for Health Information. Data quality documentation, discharge abstract database—multi-year information. 2012.
  • 13. Canadian institute for Health Information. Data quality documentation, national ambulatory care reporting system—multi-year information. 2012.
  • 14. Davis KA, Sudlow CL, Hotopf M. Can mental health diagnoses in administrative data be used for research? A systematic review of the accuracy of routinely collected diagnoses. BMC Psychiatry 2016;16:263 10.1186/s12888-016-0963-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Canadian Institute for Health Information. Highlights of 2011–2012 emergency department visits and inpatient hospitalizations. 2013.
  • 16. Canadian Institute for Health Information. Trends in acute inpatient hospitalizations and emergency department visits. 2019.
  • 17. Farchi S, Camilloni L, Rossi PG, et al. . Agreement between emergency room and discharge diagnoses in a population of injured inpatients: determinants and mortality. J Trauma 2007;62:1207–14. 10.1097/01.ta.0000221538.00856.b9 [DOI] [PubMed] [Google Scholar]
  • 18. Beveridge R, Ducharme J, Janes L, et al. . Reliability of the Canadian emergency department triage and acuity scale: interrater agreement. Ann Emerg Med 1999;34:155–9. 10.1016/S0196-0644(99)70223-4 [DOI] [PubMed] [Google Scholar]
  • 19. Cicchetti DV, Feinstein AR. High agreement but low kappa: II. Resolving the paradoxes. J Clin Epidemiol 1990;43:551–8. 10.1016/0895-4356(90)90159-M [DOI] [PubMed] [Google Scholar]
  • 20. Landis JR, Koch GG. The measurement of observer agreement for categorical data. Biometrics 1977;33:159–74. 10.2307/2529310 [DOI] [PubMed] [Google Scholar]
  • 21. Raudenbush SW, Bryk AS. Hierarchical linear models: applications and data analysis methods. 2nd edn Thousand Oaks (CA): Sage Publications, 2001. [Google Scholar]
  • 22. Urbanoski K, Cheng J, Rehm J, et al. . Frequent use of emergency departments for mental and substance use disorders. Emerg Med J 2018;35:220–5. 10.1136/emermed-2015-205554 [DOI] [PubMed] [Google Scholar]
  • 23. Bell CM, Redelmeier DA. Mortality among patients admitted to hospitals on weekends as compared with weekdays. N Engl J Med 2001;345:663–8. 10.1056/NEJMsa003376 [DOI] [PubMed] [Google Scholar]
  • 24. Cram P, Hillis SL, Barnett M, et al. . Effects of weekend admission and hospital teaching status on in-hospital mortality. Am J Med 2004;117:151–7. 10.1016/j.amjmed.2004.02.035 [DOI] [PubMed] [Google Scholar]
  • 25. Gaba DM, Howard SK. Patient safety: fatigue among clinicians and the safety of patients. N Engl J Med 2002;347:1249–55. 10.1056/NEJMsa020846 [DOI] [PubMed] [Google Scholar]
  • 26. Canadian Institute for Health Information. Emergency department wait times in Canada continuing to rise. 2018.
  • 27. Quan H, Saunders LD. Assessing validity of ICD-9-CM and ICD-10 administrative data in recording clinical conditions. Health Serv Res 2008;43:1424–41. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Baron JA, Lu-Yao G, Barrett J, et al. . Internal validation of medicare claims data. Epidemiology 1994;5:541–4. [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary data

bmjopen-2019-030530supp001.pdf (585.1KB, pdf)

Reviewer comments
Author's manuscript

Articles from BMJ Open are provided here courtesy of BMJ Publishing Group

RESOURCES