Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Development of a neural network model to predict the presence of fentanyl in community drug samples

  • Lianping Ti ,

    Contributed equally to this work with: Lianping Ti, Cameron J. Grant, Samuel Tobias, Dennis K. Hore, Richard Laing, Brandon D. L. Marshall

    Roles Conceptualization, Formal analysis, Funding acquisition, Project administration, Supervision, Writing – original draft, Writing – review & editing

    bccsu-lt@bccsu.ubc.ca

    Affiliations British Columbia Centre on Substance Use, Vancouver, British Columbia, Canada, Department of Medicine, University of British Columbia, Vancouver, British Columbia, Canada

  • Cameron J. Grant ,

    Contributed equally to this work with: Lianping Ti, Cameron J. Grant, Samuel Tobias, Dennis K. Hore, Richard Laing, Brandon D. L. Marshall

    Roles Data curation, Formal analysis, Writing – review & editing

    Affiliation British Columbia Centre on Substance Use, Vancouver, British Columbia, Canada

  • Samuel Tobias ,

    Contributed equally to this work with: Lianping Ti, Cameron J. Grant, Samuel Tobias, Dennis K. Hore, Richard Laing, Brandon D. L. Marshall

    Roles Data curation, Project administration, Writing – review & editing

    Affiliations British Columbia Centre on Substance Use, Vancouver, British Columbia, Canada, School of Population and Public Health, University of British Columbia, Vancouver, British Columbia, Canada

  • Dennis K. Hore ,

    Contributed equally to this work with: Lianping Ti, Cameron J. Grant, Samuel Tobias, Dennis K. Hore, Richard Laing, Brandon D. L. Marshall

    Roles Writing – review & editing

    Affiliations Department of Chemistry, University of Victoria, Victoria, British Columbia, Canada, Department of Computer Science, University of Victoria, Victoria, British Columbia, Canada

  • Richard Laing ,

    Contributed equally to this work with: Lianping Ti, Cameron J. Grant, Samuel Tobias, Dennis K. Hore, Richard Laing, Brandon D. L. Marshall

    Roles Resources, Writing – review & editing

    Affiliation Strategic Research and Science Development, Health Canada Drug Analysis Service, Burnaby, British Columbia, Canada

  • Brandon D. L. Marshall

    Contributed equally to this work with: Lianping Ti, Cameron J. Grant, Samuel Tobias, Dennis K. Hore, Richard Laing, Brandon D. L. Marshall

    Roles Conceptualization, Writing – original draft

    Affiliation Department of Epidemiology, Brown University School of Public Health, Providence, Rhode Island, United States of America

Abstract

Introduction

Increasingly, Fourier-transform infrared (FTIR) spectroscopy is being used as a harm reduction tool to provide people who use drugs real-time information about the contents of their substances. However, FTIR spectroscopy has been shown to have a high detection limit for fentanyl and interpretation of results by a technician can be subjective. This poses concern, given that some synthetic opioids can produce serious toxicity at sub-detectable levels. The objective of this study was to develop a neural network model to identify fentanyl and related analogues more accurately in drug samples compared to traditional analysis by technicians.

Methods

Data were drawn from samples analyzed point-of-care using combination FTIR spectroscopy and fentanyl immunoassay strips in British Columbia between August 2018 and January 2021. We developed neural network models to predict the presence of fentanyl based on FTIR data. The final model was validated against the results from immunoassay strips. Prediction performance was assessed using F1 score, accuracy, and area under the receiver-operating characteristic curve (AUROC), and was compared to results obtained from analysis by technicians.

Results

A total of 12,684 samples were included. The neural network model outperformed results from those analyzed by technicians, with an F1 score of 96.4% and an accuracy of 96.4%, compared to 78.4% and 82.4% with a technician, respectively. The AUROC of the model was 99.0%. Fentanyl positive samples correctly detected by the model but not by the technician were typically those with low fentanyl concentrations (median: 2.3% quantity by weight; quartile 1–3: 0.0%-4.6%).

Discussion

Neural network models can accurately predict the presence of fentanyl and related analogues using FTIR data, including samples with low fentanyl concentrations. Integrating this tool within drug checking services utilizing FTIR spectroscopy has the potential to improve decision making to reduce the risk of overdose and other negative health outcomes.

Introduction

Recent decades have seen a rapid shift in the unregulated drug market, with the emergence of novel synthetic opioids (e.g., fentanyl, carfentanil) and their associated harms (e.g., overdose, mortality) [13]. In response, drug checking services have been implemented as an important harm reduction intervention for people who use drugs to chemically analyze their substances and receive fact-based information and consultation regarding the compounds detected in their sample [46]. Not a new concept, the vast majority of drug checking services have previously focused on drugs used in party and festival settings (e.g., psychedelics, stimulants) [7, 8], so less is known about drug checking in the context of the synthetic opioid-driven overdose epidemic. While limited, recent studies have started to show a positive impact of drug checking, including increased engagement in overdose risk reduction practices following the use of the service in some communities [5, 911].

Drug checking can be conducted using a range of technologies, offering both benefits and challenges in terms of accuracy, timing, cost, portability, ability to detect a range of compounds, preparation, and required human resources [4, 6, 12, 13]. For example, gas chromatography/mass spectrometry (GC-MS) is highly sensitive, but is expensive, time-consuming, and requires a trained laboratory technician to operate the machine [6, 14]. In contrast, immunoassay strips are inexpensive, easy to use, portable, and can provide results in less than five minutes, but they are unable to detect a range of compounds and can only produce qualitative results (i.e., presence, absence) [15, 16]. Fourier-transform infrared (FTIR) spectroscopy is being implemented across North America for drug checking given the ease and speed of sample preparation and analysis, portability, and ability to detect a range of compounds [15, 16]. However, recent validation studies have indicated that FTIR spectroscopy can only detect compounds above a certain limit; for fentanyl and some fentanyl analogues, that limit is 3–10% quantity by weight, depending on the setting and the presence of specific cuts and buffs [16, 17]. Given that some analogues (e.g., carfentanil) can cause toxicity at very low concentrations [18, 19], failing to detect these compounds when present is a substantial concern when using FTIR spectroscopy on its own. Additionally, there is some subjectivity in interpreting FTIR spectra by drug checking technicians that could result in differing outcomes. Previous studies have shown that when compared to laboratory reference standards, analysis using FTIR spectroscopy can have false negative rates as high as 27.9% [15]. As a result of this limitation, many settings have adopted an approach that utilizes a combination of both FTIR spectroscopy and immunoassay strips (which have a lower detection limit) in tandem to offset the limitations of each technology when used alone [2022]. However, this can come with its own set of logistical challenges, including additional costs, sample preparation, and timing.

Machine learning applications in the field of health research have been steadily growing due to advancements in processing power and data sharing [2325]. In recent years, deep learning methods have gained popularity in predictive modelling for substance use research [26]. For example, recurrent neural networks utilizing electronic health records have been applied to classify people who use opioids as long-term patients, short-term patients, and opioid-dependent patients [27]. Other studies have demonstrated the ability of long short-term memory models, an application of deep learning, to accurately predict new onset and prevalence of opioid use disorder using electronic health records [28].

Despite this promising line of inquiry, little is known about whether there is utility in applying deep learning methods to improve the accuracy of FTIR spectroscopy in detecting fentanyl and its analogues, especially when fentanyl is present at low concentrations. The present study aimed to develop a machine learning model that could predict the presence of fentanyl and related analogues with greater accuracy compared to analysis of spectra by a drug checking technician, with a second aim of the model being able to detect fentanyl at low concentrations. Building tools that can be used to accurately detect fentanyl and its analogues is key to ensuring that point-of-care drug checking technologies are providing people who use drugs with the most accurate information to make decisions about their use.

Methods

Study setting

British Columbia (BC), the westernmost province of Canada, has been disproportionately affected by the opioid-driven overdose epidemic [3]. By the time a public health emergency was declared in 2016, a significant number of lives had already been lost to illicit drug toxicity, largely due to the widespread presence of fentanyl and other novel synthetic opioids in the unregulated drug supply [29]. In response, a diverse range of harm reduction interventions, including supervised consumption sites, take-home naloxone programs, and drug treatment have been scaled-up [3032]. As a result, illicit drug toxicity death rates were decreasing between 2018 and 2019 from 31.2 per 100,000 to 19.4 per 100,000, respectively; however, the emergence of the COVID-19 pandemic and corresponding social distancing and self-isolation measures resulted in a significant rise in death rates from 34.4 per 100,000 in 2020 to 44.1 per 100,000 in 2021 [3, 33].

Data sources

The Drug Checking BC Database includes de-identified, point-of-care drug checking data collected utilizing Bruker (Billerica, Massachusetts, United States of America) ALPHA FTIR spectrometers and BTNX (Markham, Ontario, Canada) immunoassay strips from over a dozen participating community harm reduction sites in BC. Further details about the drug checking service and the use of these technologies, which have been operating since October 2017, have been described elsewhere in detail [15, 20]. Briefly, individuals in harm reduction sites anonymously provided an approximately 5 mg drug sample to a trained drug checking technician and information about what they believed the sample to contain [34]. The drug sample was then analyzed with FTIR and immunoassay strips, with results being immediately available to the person who provided the sample. Results from FTIR analysis include compounds detected in abundant amounts (typically those 5% by weight and above), including both active ingredients (e.g., fentanyl, heroin, methamphetamine) and inert cutting agents (e.g., mannitol, inositol, lactose) [6, 17, 20]. An illustrative example of what a drug checking technician analyzes (and attempts to determine if fentanyl is present) is displayed in Fig 1.

thumbnail
Fig 1. Sample drug checking Fourier-transform infrared spectra.

Drug checking samples (blue) are overlaid with the fentanyl hydrochloride spectrum (black). The drug sample in A is an illicit opioid mixture containing fentanyl, caffeine, and mannitol. The drug sample in B is methamphetamine with no fentanyl present. The red arrows indicate characteristic peaks of fentanyl hydrochloride that are recognizable when present in drug mixtures.

https://doi.org/10.1371/journal.pone.0288656.g001

In addition to the results obtained from the point-of-care technologies, the database also includes self-reported information about drug expectation and appearance (i.e., color, texture) [35]. Additionally, a separate and validated quantitative model using Bruker Quantitative Analysis 2 (QUANT 2) software was applied retrospectively to fentanyl-positive samples (identified via immunoassay strips) to generate approximate fentanyl concentrations for each sample [34]. The present study was restricted to samples obtained between August 2018 and January 2021, as linked data were available during this time period.

Participants provided verbal consent by agreeing to have their drugs checked and no personal identifying information was ever collected. This study was conducted as part of a larger drug checking evaluation project and was approved by the University of British Columbia/Providence Health Care Research Ethics Board.

Data preparation

In terms of input data, Joint Committee on Atomic and Molecular Physical Data exchange (jcamp-dx) encoded FTIR data files were converted to data tables containing wavenumbers and the corresponding absorbance for each spectrum (i.e., drug sample). Sample data tables meeting the following conditions were kept for analysis: first, the data table had at least 1,626 sampling points and second, the range of wavenumbers covered the range 600–3,800 cm-1 including endpoints. A cubic spline was fitted to the samples by treating the absorbance as a function of the wavenumbers, which were then sampled from the cubic spline interpolated function at every second integer value of wavenumber starting from 600 to 3,798 cm-1 which resulted in 1,600 features. Each sample was then standardized by subtracting the mean and dividing by the standard deviation of the discrete function.

Output data (i.e., reference standard) were recorded as the binary encoded results of the fentanyl immunoassay strips, which can consistently detect fentanyl and a range of analogues [16, 17], including carfentanil, acetyl fentanyl, para-fluorofentanyl, and furanyl fentanyl [36]. We chose fentanyl test strips as the output data given the high accuracy for detecting fentanyl reported in previous validation studies and the lack of confirmatory analysis for a large proportion of the samples [15, 16]. Indeed, past research has shown that immunoassay strips can detect fentanyl with a sensitivity and specificity as high as 100% and 98%, respectively [16].

Feature selection

Absorbance data were used as the sole feature for predicting the presence of fentanyl in samples. As part of the drug checking service, only minimal information is collected on drug samples to ensure that the service was low-barrier and wide-reaching. While additional sample-level data exist for the included samples, we chose to not include features such as colors and textures given that these are based on subjective human observable features and previous studies have shown that visual appearance of drug samples is not accurate in detecting the presence of fentanyl [37].

Prediction methods and model selection

The goal of the study was to use anonymous, point-of-care drug checking data obtained from FTIR spectra to predict the presence of fentanyl and related analogues in drug samples. We implemented an artificial neural network-based model, which was composed of six layers in the following order (Fig 2):

  1. an input layer
  2. a one-dimensional convolution layer with eight filters, a kernel size of 12, and a rectified linear unit (ReLU) activation function
  3. a dropout layer with a 50% dropout rate
  4. a one-dimensional max pooling layer with a pool size of two
  5. a dense layer with output dimension 32 and a ReLU activation function
  6. a dense output layer with output dimension one and a sigmoid activation function.
thumbnail
Fig 2. A structural illustration of the final neural network model.

The network’s input is 1600-dimensional and the remaining layers are 1589, 794, 32-dimensional with a 1-dimensional output.

https://doi.org/10.1371/journal.pone.0288656.g002

The model was trained on 80% of the data and 20% of the data was reserved for testing the model’s accuracy. At each epoch, the accuracy (i.e., number of correct predictions among total number of predictions) was measured on the test set and the model with the highest accuracy in the test set was kept.

We implemented the models and performed the study using the Python (version 3.9.6) programming language and the TensorFlow package (version 2.6.0).

Statistical analyses

In assessing our model’s performance, we used the prediction value which is a continuous variable ranging from 0 to 1. We applied a rounding procedure to transform this continuous output into a binary classification to align with our label values (i.e., the results from the corresponding fentanyl test strip for that sample). Specifically, prediction values greater than or equal to 0.5 were rounded up to 1, indicating a positive fentanyl result, while values less than 0.5 were rounded down to 0, indicating a negative result. These rounded prediction values were then compared against our label values, which represent the binary outcomes of the fentanyl test strip. Using these results, we calculated several diagnostic metrics, including F1 score, accuracy, precision, recall, and area under the receiver-operating characteristic curve (AUROC). An F1 score describes a model’s accuracy, taking the precision (correctly identified positives among test positives) and recall (correctly identified positives among true positives) into account. Given the imbalance in the dataset, calculating accuracy alone could be misleading; thus, the F1 score assessing the overall prediction performance using both precision and recall may be more appropriate. Bootstrapping methods based on 10,000 bootstrapped runs were used to create confidence intervals (CI) for the estimates. This methodology was chosen because of its ability to make strong inferences from the dataset, especially when the underlying distribution is unknown or not normal. As a secondary analysis, using the fentanyl concentration data available, we examined the descriptive statistics for fentanyl concentration among fentanyl positive samples that were identified by the neural network model but missed by the drug checking technician.

Results

In total, 12,684 samples were included in our study: 6,099 (48.1%) were identified as fentanyl positive by immunoassay strips. Shown in Table 1, the large majority of samples were checked in the Vancouver Coastal Health Authority region (11,092; 87.4%). Among fentanyl immunoassay strip positive samples, the most common color and texture were purple (1,300; 23.0%) and pebbles (3,010; 40.4%), respectively, whereas for fentanyl immunoassay strip negative samples the most common color and texture were white (3,552; 53.9%) and powder (2,483; 37.7%), respectively.

thumbnail
Table 1. Characteristics of the study sample, stratified by fentanyl immunoassay strip results (n = 12,684).

https://doi.org/10.1371/journal.pone.0288656.t001

Using common diagnostic statistics to comprehensively evaluate the model’s performance, we found that the neural network model outperformed results from those analyzed by a drug checking technician in metrics overall. Shown in Table 2, the neural network model achieved an F1 score of 96.4% (95% CI: 95.6–97.1) compared to 78.4% (95% CI: 76.4–80.3) by a technician. Regarding accuracy, the model achieved a score of 96.4% (95% CI: 95.6–97.1) compared to 82.4% (95% CI: 80.9–83.9) by a technician. For precision, the model achieved a score of 95.7% (95% CI: 94.5–96.7) compared to 99.4% (95% CI: 98. 8–99.9) by a technician. For recall, the model achieved a score of 97.1% (95% CI: 96.1–98.0) compared to 64.7% (95% CI: 62.1–67.3) by a technician. Lastly, as shown in Fig 3, the AUROC for the model was 99.0% (95% CI: 98.7–99.4).

thumbnail
Fig 3. Receiver-operating characteristic curve for the final neural network model for detecting fentanyl.

https://doi.org/10.1371/journal.pone.0288656.g003

thumbnail
Table 2. Comparing the performance of different methods for detecting fentanyl.

https://doi.org/10.1371/journal.pone.0288656.t002

In secondary analysis, there were a total of 2,117 samples that were correctly identified as fentanyl positive by the neural network model but were incorrectly labelled as fentanyl negative by the drug checking technician. Among those, the median fentanyl concentration was 2.3% (quartile 1–3: 0–4.6%).

Discussion

In summary, our findings demonstrate that a neural network model was able to achieve highly promising and accurate results in predicting the presence of fentanyl in drug samples analyzed using FTIR data files, with an F1 score of 96.4%. Interestingly, the model was typically able to detect very low concentrations of fentanyl and analogues, with the majority of samples falling below the detection limit of FTIR spectroscopy [16, 17]. Previous data in this setting have indicated the emergence of highly potent fentanyl analogues (e.g., carfentanil) [3, 38, 39], which may be present in drug samples at very low concentrations which are not captured by trained technicians using FTIR. However, fentanyl immunoassay strips, with their high sensitivity and specificity to potent fentanyl analogues, account for this limitation of FTIR, hence the widespread use of these technologies in tandem [15, 16]. Thus, this study sheds light on the utility of a deep learning model to augment existing point-of-care drug checking technologies.

As indicated previously, many settings have adopted the use of combination FTIR spectroscopy and immunoassay strips as a drug checking intervention. Our findings show that given the high predictive performance of a neural network model for detecting fentanyl at low concentrations, it may be possible to replace fentanyl immunoassay strips with an automated model that can be used in conjunction with FTIR spectroscopy for services that already operate a spectrometer. Nevertheless, given that we only applied one feature (i.e., FTIR absorbance data) to the model to avoid subjective noise, future research should seek to explore additional characteristics of drug checking samples (e.g., appearance) that can be used to optimize the model’s prediction performance. It may also be worthwhile to retrain the model on an ongoing basis as novel psychoactive substances, including novel synthetic opioids, are identified in the highly dynamic, unregulated drug supply. Future research should also seek to examine whether a machine learning model can accurately quantify fentanyl concentration in samples, as this information may be more valuable in a fentanyl-saturated unregulated drug market.

There are some limitations to consider. The neural network model was applied to drug samples checked in BC; as such, the model may not be generalizable to other settings where the unregulated drug supply may be vastly different. For example, in settings where different cutting agents are used, equivalent amounts of fentanyl appear different with FTIR analysis. Future research with additional sources of data, such as those from outside of BC, will determine if or how our results may differ from the unregulated drug supply internationally. Given that the point-of-care technologies were limited in their ability to differentiate between fentanyl and its analogues at low concentrations, we were unable to confirm whether the model captured fentanyl analogues or if the model only captured fentanyl. Lastly, recent studies have suggested that depending on the composition and concentration of drug samples, line faintness on immunoassay strips (which were used as the reference standard for our model) may lead to subjectivity in determining the presence of fentanyl [40, 41]. Nevertheless, our study employed trained drug checking technicians to interpret the immunoassay strips and other studies have shown the immunoassay strips can perform with high sensitivity and specificity [15, 16].

Conclusion

In sum, we developed a neural network model that can accurately predict the presence of fentanyl using absorbance spectrum data files obtained from FTIR spectroscopy. The model was able to correctly detect fentanyl-positive samples below the limit of detection of the FTIR spectrometer. Our findings point to the potential of integrating this tool within drug checking services utilizing FTIR spectroscopy to improve decision making and reduce harms associated with overdose and other negative health outcomes.

Acknowledgments

We offer thanks to those individuals who participated directly in the study by having their drugs analyzed, with the hopes that this involvement will contribute to utilizable public health information, improved harm reduction care, and potentially, decreased loss of life. We would also like to thank researchers and staff at various community organizations, health authorities, and laboratory services across the province for their work in this area. Health Canada Drug Analysis Service provided confirmatory testing services; however, the findings reported here should in no way be taken as an endorsement of the specific point-of-care technologies that were used for this study.

References

  1. 1. Rubin R. Illicit fentanyl driving opioid overdose deaths. JAMA. 2017;318(22): 2174. pmid:29234815
  2. 2. Somerville N O’Donnell J, Gladden R, Zibbell J, Green T, Younkin M, et al. Characteristics of fentanyl overdose—Massachusetts, 2014–2016. MMWR Morb Mortal Wkly Rep. 2017;66: 382–386. pmid:28406883
  3. 3. BC Coroners Service. Illicit Drug Toxicity Deaths in BC: January 1, 2011—October 31, 2021. Vancouver, BC: BC Coroners Service; 2021. Available from: https://www2.gov.bc.ca/assets/gov/birth-adoption-death-marriage-and-divorce/deaths/coroners-service/statistical/illicit-drug.pdf
  4. 4. Barratt MJ, Kowalski M, Maier LJ, Ritter A. Global review of drug checking services operating in 2017. Sydney, Australia: National Drug and Alcohol Research Centre, UNSW Sydney; 2018. Available from: https://ndarc.med.unsw.edu.au/resource/bulletin-no-24-global-review-drug-checking-services-operating-2017
  5. 5. Karamouzian M, Dohoo C, Forsting S, McNeil R, Kerr T, Lysyshyn M. Evaluation of a fentanyl drug checking service for clients of a supervised injection facility, Vancouver, Canada. Harm Reduct J. 2018;15: 46. pmid:30200991
  6. 6. Kerr T, Tupper K. Drug Checking as a Harm Reduction Intervention. Vancouver, Canada: BC Centre on Substance Use; 2017. Available from: http://www.bccsu.ca/wp-content/uploads/2017/12/Drug-Checking-Evidence-Review-Report.pdf
  7. 7. Brunt TM, Nagy C, Bucheli A, Martins D, Ugarte M, Beduwe C, et al. Drug testing in Europe: monitoring results of the Trans European Drug Information (TEDI) project. Drug Test Anal. 2017;9: 188–198. pmid:26888408
  8. 8. Ventura M, Noijen J, Bucheli A, Isvy A, van Huyck C, Martins D, et al. Drug Checking Service: Good Practice Standards. Nightlife Empowerment & Well-Being Implementation Project; 2012. Available from: https://www.drugsandalcohol.ie/28907/1/NEWIP_Drug%20checking_standards.pdf
  9. 9. Krieger MS, Goedel WC, Buxton JA, Lysyshyn M, Bernstein E, Sherman SG, et al. Use of rapid fentanyl test strips among young adults who use drugs. Int J Drug Policy. 2018;61: 52–58. pmid:30344005
  10. 10. Sherman SG, Park J, Glick J, McKenzie M, Morales K, Christensen T, et al. FORECAST Study Summary Report. Baltimore, Maryland: Johns Hopkins Bloomberg School of Public Health; 2018. Available from: https://americanhealth.jhu.edu/sites/default/files/inline-files/Fentanyl_Executive_Summary_032018.pdf
  11. 11. Maghsoudi N, Tanguay J, Scarfone K, Rammohan I, Ziegler C, Werb D, et al. Drug checking services for people who use drugs: A systematic review. Addiction. 2021;117(3):532–544. pmid:34729849
  12. 12. Harper L, Powell J, Pijl EM. An overview of forensic drug testing methods and their suitability for harm reduction point-of-care services. Harm Reduct J. 2017;14: 52. pmid:28760153
  13. 13. Palamar JJ, Salomone A, Barratt MJ. Drug checking to detect fentanyl and new psychoactive substances. Curr Opin Psychiatry. 2020;33: 301–305. pmid:32187173
  14. 14. Gozdzialski L, Aasen J, Larnder A, Ramsay M, Borden SA, Saatchi A, et al. Portable gas chromatography–mass spectrometry in drug checking: Detection of carfentanil and etizolam in expected opioid samples. Int J Drug Policy. 2021;97: 103409. pmid:34392112
  15. 15. Ti L, Lysyshyn M, Laing R, Nosova E, Choi J, Arredondo J, et al. Detecting fentanyl using point-of-care drug checking technologies: A validation study. Drug Alcohol Depend. 2020;212: 108006. pmid:32438280
  16. 16. Green TC, Park JN, Gilbert M, McKenzie M, Struth E, Lucas R, et al. An assessment of the limits of detection, sensitivity and specificity of three devices for public health-based drug checking of fentanyl in street-acquired samples. Int J Drug Policy. 2020;77: 102661. pmid:31951925
  17. 17. McCrae K, Tobias S, Grant C, Lysyshyn M, Laing R, Wood E, et al. Assessing the limit of detection of Fourier-transform infrared spectroscopy and immunoassay strips for fentanyl in a real-world setting. Drug Alcohol Rev. 2019;39(1): 98–102. pmid:31746056
  18. 18. United Nations Office on Drugs and Crime. United States: Rising Number of Deaths Involving Fentanyl and Fentanyl Analogues, Including Carfentanil. United Nations Office on Drugs and Crime; 2018. Available from: https://www.unodc.org/LSS/Announcement/Details/b9ed5cee-8ab2-4c4c-a1d1-b34069eddfe3
  19. 19. Misailidi N, Papoutsis I, Nikolaou P, Dona A, Spiliopoulou C, Athanaselis S. Fentanyls continue to replace heroin in the drug arena: the cases of ocfentanil and carfentanil. Forensic Toxicol. 2018;36: 12–32. pmid:29367860
  20. 20. Tupper K, McCrae K, Garber I, Lysyshyn M, Wood. Initial Results of a Drug Checking Pilot Program to Detect Fentanyl Adulteration in a Canadian Setting. Drug Alcohol Depend. 2018;190: 242–245. pmid:30064061
  21. 21. ANKORS. Drug Checking; 2021. Available from: https://ankors.bc.ca/drugchecking/
  22. 22. The Chicago Recovery Alliance. Chicago Recovery Alliance Services; 2021. Available from: https://anypositivechange.org/cra-services/
  23. 23. Doupe P, Faghmous J, Basu S. Machine learning for health services researchers. Value Health. 2019;22: 808–815. pmid:31277828
  24. 24. Bohr A, Memarzadeh K. The rise of artificial intelligence in healthcare applications. Artif Intell Healthc. 2020; 25–60.
  25. 25. Davenport T, Kalakota R. The potential for artificial intelligence in healthcare. Future Healthc J. 2019;6: 94–98. pmid:31363513
  26. 26. Beaulieu T, Knight R, Nolan S, Quick O, Ti L. Artificial intelligence interventions focused on opioid use disorders: A review of the gray literature. Am J Drug Alcohol Abuse. 2020;0: 1–17. pmid:33006905
  27. 27. Che Z, St . Sauver J, Liu H, Liu Y. Deep learning solutions for classifying patients on opioid use. AMIA Annu Symp Proc. 2018;2017: 525–534.
  28. 28. Dong X, Deng J, Rashidian S, Abell-Hart K, Hou W, Rosenthal RN, et al. Identifying risk of opioid use disorder for patients taking opioid medications with deep learning. J Am Med Inform Assoc JAMIA. 2021;28: 1683–1693. pmid:33930132
  29. 29. BC Coroners Service. Fentanyl-Detected Illicit Drug Toxicity Deaths January 1, 2012 to November 30, 2020. Vancouver, Canada: BC Coroners Service; 2021. Available from: https://www2.gov.bc.ca/assets/gov/birth-adoption-death-marriage-and-divorce/deaths/coroners-service/statistical/fentanyl-detected-overdose.pdf
  30. 30. Moustaqim-Barrette A, Papamihali K, Mamdani Z, Williams S, Buxton JA. Accessing take-home naloxone in British Columbia and the role of community pharmacies: Results from the analysis of administrative data. PLOS ONE. 2020;15: e0238618. pmid:32915834
  31. 31. BC Centre on Substance Use. A Guideline for the Clinical Management of Opioid Use Disorder. Vancouver, Canada: BC Centre on Substance Use; 2017. Available from: http://www.bccsu.ca/care-guidance-publications http://www.bccsu.ca/care-guidance-publications/
  32. 32. Collins AB, Boyd J, Hayashi K, Cooper HLF, Goldenberg S, McNeil R. Women’s utilization of housing-based overdose prevention sites in Vancouver, Canada: An ethnographic study. Int J Drug Policy. 2020;76: 102641. pmid:31887644
  33. 33. Bola R, Oviedo-Joekes E. At a crossroads: The intersecting public health emergencies of COVID-19 and the overdose crisis in BC. British Columbia Medical Journal; 12 Apr 2021. Available from: https://bcmj.org/blog/crossroads-intersecting-public-health-emergencies-covid-19-and-overdose-crisis-bc.
  34. 34. Tobias S, Grant CJ, Laing R, Arredondo J, Lysyshyn M, Buxton J, et al. Time-series analysis of fentanyl concentration in the unregulated opioid drug supply in a Canadian setting. Am J Epidemiol. 2021;191(2): 241–247. pmid:33977304
  35. 35. BC Centre on Substance Use. Drug Checking Results. 2021. Available from: https://drugcheckingbc.ca/about-this-data/
  36. 36. BTNX Inc. Harm Reduction. 17 Jun 2022. Available from: https://www.btnx.com/HarmReduction
  37. 37. McCrae K, Wood E, Lysyshyn M, Tobias S, Wilson D, Arredondo J, et al. The utility of visual appearance in predicting the composition of street opioids. Subst Abuse. 2021;42(4): 775–779. pmid:33617730
  38. 38. Toronto Public Health. Carfentanil Circulating in Toronto. 2021. Available from: https://www.toronto.ca/wp-content/uploads/2021/08/9572-Drug-Alert-August-18final.pdf
  39. 39. CBC News. More than 1,500 people have now died in 2021 due to B.C.’s illicit drug supply: coroner. 9 Nov 2021. Available from: https://www.cbc.ca/news/canada/british-columbia/bc-overdose-deaths-august-september-2021-1.6242448
  40. 40. Bergh MS-S, Øiestad ÅML, Baumann MH, Bogen IL. Selectivity and sensitivity of urine fentanyl test strips to detect fentanyl analogues in illicit drugs. Int J Drug Policy. 2021;90: 103065. pmid:33333419
  41. 41. Lockwood T-LE, Vervoordt A, Lieberman M. High concentrations of illicit stimulants and cutting agents cause false positives on fentanyl test strips. Harm Reduct J. 2021;18(30). pmid:33750405