Skip to content
EvidenceHelixEvidenceLib · Scientific Encyclopedia
⌘ K

Scientific library

EvidenceLib encyclopediaAll articles A–Z2,835Open textbooks209Open-access articles1,406Cancer study catalog458How it is made

My workspace this browser

Saved pages0Notes & annotations0

Recently viewed

Explore by field

Cancer and Oncology182Genetics and Genomics170Neuroscience185Cardiovascular Medicine180Immunology142Pharmacology173Molecular Biology161Infectious Diseases150Rare and Inherited Diseases181Clinical Research173Anatomy and Physiology613Drugs and Chemicals621Psychiatry and Psychology185Public Health and Nutrition178Diagnostics and Medical Technology125Respiratory Medicine113Digestive System and Liver91Metabolism and Endocrine Disease177Bones, Joints, Muscles and Skin213Kidney, Urology and Women's Health173Eye, Ear, Nose and Throat55
Plans & pricingCompare EvidenceHelix workspace plans
Library›Open textbooks›Take-home naloxone in multicentre emergency settings: the TIME feasibility cluster RCT›Epidemiology and discriminant function results

Continue where you left off ()

Explore more with EvidenceHelix Workspace

Compare studies, analyze evidence and create research reports with premium tools.

Explore Researcher plans

Take-home naloxone in multicentre emergency settings: the TIME feasibility cluster RCT · Epidemiology and discriminant function results

Epidemiology and discriminant function results

CC BY 4.0 · National Institute for Health and Care Research · approximately 17 min read

Given difficulties in using conventional methods to follow-up recipients of THN kits and peers who may experience an opioid overdose, we used routine data to test the feasibility of identifying a high-risk cohort, postulating that outcomes associated with the intervention would be most visible within this cohort. This chapter summarises this feasibility work, which was based on routine data for the population of Wales for the period from January 2015 to November 2021. Summaries of analyses, undertaken within the SAIL Databank, are subject to the SAIL Databank’s dissemination policies.

Routine data

The combined WDSD files comprise information on n = 5,640,113 individuals. No ALF_PE (unique patient identifier in SAIL) was recorded for n = 504 cases; a further n = 1,740,317 individuals had no recorded residency in Wales during the study window; and a further n = 151 individuals had a recorded date of death indicating death before the study window – although date of death is recorded in ADDE, only ADDE data on or after the beginning of the study window were available, and so could not determine whether people were alive or not at this timepoint. Excluding these individuals leaves for further consideration n = 3,899,140 individuals deemed to be alive and resident in Wales at the start of the study window.

Of these, we then excluded another n = 664,050 individuals with week of birth recorded as on or after 1 December 2003; these individuals would be < 18 years old at the end of the study window. A further n = 7694 individuals were aged 17 or under at their final date of residency in Wales, or at their date of death. Excluding these individuals leaves n = 3,227,396 individuals in our study population.

For our derived cohort of n = 3,227,396 individuals, we extracted basic demographic data and then assessed mortality and healthcare resource utilisation, as recorded in the available routine data sources. We start with mortality, which defines both our primary outcome (death from opioid overdose) and study end dates.

Baseline characteristics

Mortality and date of death

Deaths within the study window are recorded in both WDSD and ADDE (see Table 2); we note that WDSD records only the date of death, while ADDE also records cause of death. We regard ADDE data as primary, noting generally good agreement between these datasets.

Combination A: there are n = 233,495 cases where both WDSD and ADDE record death on or before 30 November 2021, with good agreement on the date of death – exact agreement in over 99% of cases. Where there are discrepancies, we take the ADDE date as primary unless that date of death is contradicted by records of subsequent health events, defined as a recorded health event extending beyond the day after the ADDE date of death.

Combination B: there are n = 101 cases where ADDE records a date of death, but WDSD does not. We consider three possible scenarios.

  • B1: ADDE date of death is 14 days or more after the last recorded date of residency in Wales.
  • B2: ADDE date of death is within 14 days of the last recorded date of residency in Wales.
  • B3: ADDE date of death is more than 14 days before the last recorded date of residency in Wales.

For cases in B1, we censor at the last recorded date of residency in Wales; no further data processing is necessary. For cases in B2 and B3, we use the ADDE date of death to define the final date in the study for these individuals, except where that date is contradicted by records of subsequent health events.

Combination C: there are n = 9997 cases where WDSD records a date of death but ADDE does not. We consider two possible scenarios.

  • C1: WDSD date of death is 14 days or more after the last recorded date of residency in Wales.
  • C2: WDSD date of death is within 14 days of the last recorded date of residency in Wales.

For cases in C1, we censor at the last recorded date of residency in Wales; no further date processing is required. For cases in C2, we use the WDSD date of death to define the final date in the study for these individuals, except where that date is contradicted by records of subsequent health events. Cases in C2 are deaths still to be confirmed within ADDE, and we have no further information available on the cause of death – specifically, we are unable to classify death as opioid-related or otherwise. We note that including these as non-opioid deaths will dilute further the relatively small number of deaths ascribed to opioid overdose. Further dilution will occur on categorising as opioid-related any health events associated with these cases.

Combination D: there is no date of death recorded for n = 2,983,803 cases. For these individuals, we define the study end to be the earlier of the end of the study window or their final recorded date of residency in Wales.

Mortality due to opioid overdose Coding of ADDE mortality data followed the methods outlined in Fuller et al.,55 based on the ICD-10 classification system. Specifically, we classified deaths as opioid overdose-related where codes for primary and/or secondary underlying causes of death included (see Table 3):

TABLE 3 International Classification of Diseases-10 codes used in ADDE dataset for mortality due to opioid overdose
CodeCause of death description
F11–F19Mental and behavioural disorders due to psychoactive substance use
X40-X44Unintentional poisoning by and exposure to narcotics and psychodysleptics
X60-X69Intentional self-poisoning by and exposure to narcotics and psychodysleptics
X85Assault (homicide) by drugs, medicaments and biological substances
Y10-Y19Poisoning by and exposure to narcotics and psychodysleptics (undetermined intent)
T40Opium
T40.1Heroin
T40.2Other opioids (morphine, oxycodone, hydrocodone)
T40.3Methadone
T40.4Synthetic opioids excluding methadone (fentanyl, propoxyphene, meperidine)

After linkage with the WDSD cohort, we identified three subcohorts: these comprise n = 1105 cases with deaths related to opioid overdose; a further n = 237,212 cases with deaths from all other causes; and remaining n = 2,989,079 individuals, still alive at their study end date.

Tables 4–6 summarise demographic data for these three study subcohorts.

TABLE 4 Gender of study subcohort
GenderStudy subcohort
Alive at study end date (n = 2,989,079)Death: all other causes (n = 237,212)Death: opioid overdose-related (n = 1105)
Male1,486,84649.7%118,12549.8%78571.0%
Female1,502,21150.3%119,08750.2%32029.0%
Missing22< 0.1%00
TABLE 5 Age (years) at study end date
Age band (years)Study subcohort
Alive at study end date (n = 2,989,079)Death: all other causes (n = 237,212)Death: opioid overdose related (n = 1105)
18–25445,02914.9%8680.4%494.4%
26–30260,6848.7%7660.3%938.4%
31–35251,3018.4%10460.4%15213.8%
36–40231,8217.8%14900.6%19817.9%
41–45209,0457.0%22571.0%14212.9%
46–55459,26215.4%99144.2%27925.2%
56–65459,65615.4%21,1538.9%11410.3%
66–75374,61212.5%45,55119.2%444.0%
76 +297,66910.0%154,16765.0%343.1%
TABLE 6 Welsh Index of Multiple Deprivation quintiles, based on LSOA 2011 census category of most recent residence
WIMD quintileStudy subcohort
Alive at study end date (n = 2,989,079)Death: all other causes (n = 237,212)Death: opioid overdose-related (n = 1105)
WIMD available2,863,661231,7941083
1 (most deprived)549,49219.2%47,23120.4%42539.2%
2563,07119.7%48,66621.0%29727.4%
3580,84420.3%49,13121.2%17716.3%
4581,98820.3%45,99919.8%1069.8%
5 (least deprived)588,26620.5%40,76717.6%787.2%

We next categorised records in EDDS, PEDW, CCD and SMDS for the 36 months up to immediately prior to and including an individual’s study end date, censoring at the start of the study window where necessary. For each attendance, admission or presentation, we used further routine data and appropriate coding framework (ICD-10: as per Table 2; codes 10B, 10C, 10D, 10Z and 31B in the NHS Wales Data Dictionary) to determine whether that event was related to opioid overdose, and further recording whether or not the event occurred within 1 month or within 12 months of an individual’s study end date.

Emergency department attendances

After linkage with the WDSD cohort, we identified EDDS records in n = 1,187,033 cases, with breakdown of the number of attendances by subcohort and period summarised in Table 7.

TABLE 7 Emergency medicine attendances in periods before individual study end dates
Time period and attendance categoryNumber of attendancesStudy subcohort
Alive at study end date (n = 2,989,079)Death: all other causes (n = 237,212)Death: opioid overdose-related (n = 1105)
Within 36 months
All attendances01,985,46266.4%54,63323.0%26824.3%
1–3876,09129.3%128,36554.1%46241.8%
4–12121,9554.1%51,32221.6%30627.7%
13 +55710.2%28921.2%696.2%
Opioid overdose-related attendances02,975,60499.5%235,31699.2%88780.3%
1–313,0540.4%18360.8%20618.6%
4 +421< 0.1%60< 0.1%121.1%
Within 12 months
All attendances02,520,67484.3%76,00032.0%42338.3%
1–3443,89814.9%137,26157.9%50245.4%
4–1223,7720.8%23,5419.9%16514.9%
13 +735< 0.1%4100.2%151.4%
Opioid overdose-related attendances02,984,54399.8%236,19199.6%96187.0%
1+45360.1%10210.4%14413.0%
Within 1 month
All attendances02,926,59197.9%14,562261.4%81573.8%
1–361,6092.1%91,25938.5%27925.2%
4 +879< 0.1%331< 0.1%111.0%
Opioid overdose-related attendances02,988,521~100.0%236,97499.9%106496.3%
1 +558< 0.1%2380.1%413.7%

Hospital admissions

After linkage with the WDSD cohort, we identified PEDW records in n = 998,563 cases, with breakdown of the number of attendances by subcohort and period summarised in Table 8.

TABLE 8 Hospital admissions in periods before individual study end dates
Time period and admission categoryNumber of attendancesStudy subcohort
Alive at study end date (n = 2,989,079)Death: all other causes (n = 237,212)Death: opioid overdose-related (n = 1105)
Within 36 months
All admissions02,192,07673.3%36,30915.3%44840.5%
1–3668,45622.4%119,39950.3%47643.1%
4–12110,2843.7%64,79527.3%15814.3%
13 +18,2630.6%16,7097.0%232.1%
Opioid overdose-related admissions02,987,39399.9%236,84299.8%101992.2%
1–4 +16860.1%3700.2%867.7%
Within 12 months
All admissions02,616,00287.5%52,33222.1%62256.3%
1–3336,77311.3%137,90658.1%41837.8%
4 +36,3041.2%46,97419.8%655.9%
Opioid overdose-related admissions02,988,572~100.0%236,99299.9%104994.9%
1 +507< 0.1%220<0.1%565.1%
Within 1 month
All admissions02,904,06697.2%94,04439.6%91082.4%
1+85,0132.8%143,16860.4%19517.6%
Opioid overdose-related admissions02,989,013~100.0%237,146~100.0%108197.8%
1 +66< 0.1%66< 0.1%242.2%

Critical care admissions

After linkage with the WDSD cohort, we identified CCDS records in n = 35,489 cases, with relatively few cases with multiple admissions within this number; approximately 90% had a single admission over 36 months, and only 2% had more than two such admissions in this period. The breakdown of the number of attendances by subcohort and period summarised in Table 9; no coding was available to categorise admissions as opioid overdose-related or otherwise.

TABLE 9 Critical care admissions in periods before individual study end dates
Time periodNumber of attendancesStudy subcohort
Alive at study end date (n = 2,989,079)Death: all other causes (n = 237,212)Death: opioid overdose-related (n = 1105)
Within 36 months
All admissions02,974,72899.5%216,22091.2%95986.8%
1 +14,3510.5%20,9928.8%14613.2%
Within 12 months
All admissions02,984,21699.8%219,82592.7%98789.3%
1 +48630.2%17,3877.3%11810.7%
Within 1 month
All attendances02,988,554~100.0%224,07394.5%102592.8%
1 +525< 0.1%13,1395.5%807.2%

Substance misuse treatment presentations

After linkage with the WDSD cohort, we identified SMDS records in n = 32,774 cases, with relatively few cases with multiple presentations within this number; under 10% had more than three such presentations in this period. The breakdown of the number of attendances by sub-cohort and period summarised in Table 10.

TABLE 10 Substance misuse treatment presentations in periods before individual study end dates
Time period and presentation categoryNumber of attendancesStudy subcohort
Alive at study end date (n = 2,989,079)Death: all other causes (n = 237,212)Death: opioid overdose-related (n = 1105)
Within 36 months
All presentations02,959,59599.0%234,28398.8%74467.3%
1 +29,4841.0%29291.2%36132.7%
Opioid overdose-related presentations02,974,82599.5%236,57699.7%85177.0%
1 +14,2540.5%6360.3%25423.0%
Within 12 months
All presentations02,976,86499.6%235,55999.3%86278.0%
1 +12,2150.4%16530.7%24322.0%
Opioid overdose-related presentations02,983,44699.8%236,86799.9%94085.1%
1 +56330.2%3450.1%16514.9%
Within 1 month
All presentations02,987,754~100.0%236,97999.9%107697.4%
1 +1325< 0.1%2330.1%292.6%
Opioid overdose-related admissions02,988,468~100.0%237,173~100.0%108398.0%
1 +611< 0.1%39< 0.1%222.0%

Proportions of individuals with no records in routine data in the 12 months prior to study end date

Based on linkages between the WDSD cohort and EDDS, PEDW, CCDS and SMDS records, we assessed the numbers of individuals within cohorts with no records in the 12 months prior to study end date; the breakdown of numbers and proportions by subcohort and period is summarised in Table 11.

TABLE 11 Numbers and proportion in cohorts with no records in routine data in the 12 months prior to study end date
Time period (months prior to study end date)Study subcohort
Alive at study end date (n = 2,989,079)Death: all other causes (n = 237,212)Death: opioid overdose-related (n = 1105)
12 months2,316,45177.5%39,23616.5%30727.8%
1 month2,857,95895.6%81,88234.3%75568.3%

Discriminant function data analysis

For analysis, we combined the group of those alive at their study end date with the group of deaths from all other causes and contrasted this combined group with the (much) smaller group of decedents from opioid overdose. We examined the extent to which factors and covariates (recorded in routine data) (1) are associated with death from opioid overdose; and (2) enable us to identify these decedents, or a relatively small subset of an overall population that contains most or all of them.

Prediction via logistic regression

We fitted alternative versions of the logistic regression model, using (1) raw rather than banded counts of EDDS attendances and PEDW admissions, (2) all admissions and attendances rather than just those coded as opioid-related and (3) omitting WIMD quintile as a factor, thereby including data on all but 22 individuals in fitting the model.

Sensitivity and specificity

We obtain predicted probabilities by a logistic transformation of the linear predictor, including the constant term.

Logistic regression analysis

The appropriate methodology here is logistic regression; we illustrate its potential effectiveness using age and gender. Table 4 above shows that the decedents from opioid overdose are disproportionately male – 785 males and 320 females; compared with a near-equal split in both other groups in Table 4, and hence in the combined group. This observed difference in proportions is highly statistically significant.

Table 5 shows differences in the age profiles across the three original groups; for the combined group, as described above, the mean (standard deviation) age (in years) is 50.7 (20.6), while the corresponding value for the 1105 deaths from opioid overdose is 44.3 (13.3). Again, this observed difference is highly statistically significant.

For (1), therefore, the raw data indicate that both variables – separately and jointly – appear as statistically significant explanatory variables in logistic regression models for the binary outcome of death from opioid overdose (or not). Table 12 gives details on the fitted model, including age, gender, WIMD quintile; and the number of EDDS, PEDW, CCDS and SMDS attendances within 12 months of study end date.

TABLE 12 Fitted logistic regression model for death from opioid overdose
VariableCoefficienta,bOR95% CIp- value
Constant–8.145
Femalec–0.7740.461(0.403 to 0.527)< 0.001
Age (years)–0.0130.987(0.984 to 0.990)< 0.001
WIMD d
Quintile 11.4394.218(3.302 to 5.388)< 0.001
Quintile 21.1883.280(2.551 to 4.217)< 0.001
Quintile 30.6962.006(1.533 to 2.623)< 0.001
Quintile 40.2441.276(0.951 to 1.712)0.104
EDDSe (opioid-related attendances)2.72615.273(12.024 to 19.401)< 0.001
PEDWc (opioid-related admissions)2.30910.064(6.793 to 14.908)< 0.001
CCDSe (all admissions)2.2359.343(7.429 to 11.751)< 0.001
SMDSe (drug-related attendances)3.09422.071(17.872 to 27.256)< 0.001

We fitted alternative versions of this model, using (1) raw rather than banded counts of EDDS attendances and PEDW admissions, (2) all admissions and attendances rather than just those coded as opioid-related, and (3) omitting WIMD quintile as a factor, thereby including data on all but 22 individuals in fitting the model.

All fitted models had broadly similar characteristics to those summarised in Table 12; factors and covariates were (generally) highly statistically significant, and the predicted probabilities of death from opioid overdose are lower for females, reduce with age, and increase with WIMD quintile, and opioid-related attendances and admissions in EDDS, PEDW, CCDS and SMDS.

For (2), we consider the predictive ability of fitted logistic regression models: we obtain predicted probabilities by a logistic transformation of the linear predictor, including the constant term. For illustration, based on the fitted model above, a female aged 23, living within a LSOA categorised as the most deprived (WIMD Quintile 1), and with an opioid-related attendance at a substance misuse centre but no opioid-related ED attendances or hospital or critical care admissions, would have a predicted probability of 0.00916 of death from opioid overdose.

For the current routine data cohort, these predicted probabilities (of death from opioid overdose) range from –0.00003 to –0.96150, distributed with considerable skewness – 99% of individuals have a predicted probability < 0.001; 99.5% of individuals have a predicted probability < 0.0035.

We can now, in any cohort with the requisite individual-level data, take the high-risk population to include the set of individuals each with a predicted probability greater than some (arbitrary) threshold value. For instance, with a threshold value of 0.0004, applying this model across the entire cohort identifies 708 of the 1083 decedents – a true positive rate (sensitivity) of 65.4%; however, it also identifies 646,750 individuals with no death from an opioid overdose. This gives a total of 647,458 individuals to include in the high-risk population. Table 13 gives the full 2 × 2 classification for this threshold value and shows a true negative rate (specificity) of 2448685/3226269 or 79.1%.

TABLE 13 Classification based on predictive and actual outcomes, using a threshold of 0.0004
Predicted status
Opioid overdose deathAlive or non-opioid death
Recorded statusOpioid overdose death708375
Alive or non-opioid death646,7502,448,685

The sensitivity, specificity and potential contributions to the high-risk population for a range of threshold values are shown in Table 14, along with a summary of known outcomes.

TABLE 14 Sensitivity, specificity, potential members of high-risk population
Threshold valueOpioid overdose decedents identified (sensitivity, %)Identified for high-risk populationTotal deaths in high-risk populationExcluded from high-risk population and without opioid overdose-related mortality (specificity, %)
0.0002933 (86.1)1,597,34287,7971,499,026 (48.4)
0.0003809 (74.7)989,15160,9802,107,093 (68.1)
0.0004708 (65.4)647,45840,7512,448,685 (79.1)
0.0005662 (61.1)432,96225,9432,663,135 (86.0)
0.0006566 (52.3)312,13120,0062,783,870 (89.9)
0.0007473 (43.7)193,75117,5972,902,157 (93.8)
0.0008381 (35.2)108,48716,6772,987,329 (96.5)
0.0009350 (32.3)57,02215,8393,038,763 (98.2)
0.0010346 (31.9)28,34514,8273,067,436 (99.1)

Table 14, in conjunction with Tables 7 – 13, illustrates the extent of the ability of predictive methods using this set of routine outcomes; the majority of decedents from opioid overdose are essentially indistinguishable both from other decedents and those still alive at their study end date. As the latter two groups are considerably more numerous than the cohort of decedents from opioid overdose, it follows that one must either include in the high-risk population a substantial minority (or even a majority) of the overall population, or restrict the high-risk population to a relatively small proportion of the overall population, with a lower proportion of decedents from opioid overdose.

Accuracy of discriminant function

From the data we had available, we were not able to distinguish between decedents from opioid overdose and other decedents and those still alive using the discriminant function, partly due to the number of decedents from opioid overdose cohort being considerably smaller.

Based on logistic regression models we would need to monitor approximately one-third of the population to capture 75% of the decedents from opioid overdose in 1-year follow-up. Furthermore, as mortality in the 1-year period is estimated to be 6% of the third of the population, it is estimated that only 1–2% of these deaths would be categorised as a result of opioid overdose. As a high proportion of this population have no records of a healthcare event in the 12 months prior to death, it is generally the case that usage by decedents is matched or surpassed by individuals in other cohorts, therefore making the predictive link between death and healthcare events associated with opioid overdose weak.

Summary

We have provided details on healthcare utilisation and proportion of decedents from opioid overdose with no such records up to 12 months prior to death. We found a small number of decedents, which is a limiting factor in the development and accuracy of the discriminant function. Predictive variables produced in this study have shown that there are statistically significant differences in the factors and covariates in opioid overdose decedents and other cohorts, however, at an individual level and not sufficiently different from members of the other cohorts.

In order to identify and include 75% of the high-risk population for 1-year follow-up, we would need to monitor approximately one-third of the population. As only 1–2% of the deaths within the follow-up period would be the result of opioid overdose, it follows that reducing substantially or even eliminating entirely such deaths would have little overall effect on mortality rates in the high-risk population. Given the weak predictive link between deaths from and healthcare events related to opioid overdose, using routine data to identify with sufficient precision those at high risk of death from opioid overdose currently seems infeasible.

← MethodsRandomised controlled trial results →

Attribution. Helen Snooks; Jonathan Benger; Fiona Bell; Sarah Black; Simon Dixon; Helena Emery et al. (2024). Take-home naloxone in multicentre emergency settings: the TIME feasibility cluster RCT. National Institute for Health and Care Research. Copyright © 2024 Snooks et al. Licensed under CC BY 4.0. NCBI Bookshelf NBK608691. CC BY 4.0. Original source ↗. Text reproduced from the Bookshelf XML without changing wording; figures, images and supplements are not reproduced.

In this chapter Contents

  • Epidemiology and discriminant function results

Source

OpenStax source file ↗

Source record ↗

EvidenceLib is a research-education resource, not medical advice. It does not diagnose, prescribe or recommend starting, stopping or changing any treatment. Talk to a qualified clinician about your own situation. Methods, sources and licences · Rights and removal requests · Legal · Support