IntroductionLike its counterpart to the south, Canada ranks among the top five countries with the highest rates of opioid prescriptions. With many suffering from opioid use disorder first having encountered opioidsviaprescription routes, practitioners and health systems have an enduring need to identify and effectively respond to the problematic use of opioid prescription. There are strong challenges to successfully addressing this need: importantly, the patterns of prescription fulfillment that signal opioid abuse can be subtle and difficult to recognize, and overzealous enforcement can deprive those with legitimate pain management needs the appropriate care. Moreover, injudicious responses risk shifting those suffering from early-stage abuse of prescribed opioids to illicitly sourced street alternatives, whose varying dosage, availability, and the risk of adulteration can pose grave health risks.MethodsThis study employs a dynamic modeling and simulation to evaluate the effectiveness of prescription regimes employing machine learning monitoring programs to identify the patients who are at risk of opioid abuse while being treated with prescribed opioids. To this end, an agent-based model was developed and implemented to examine the effect of reduced prescribing and prescription drug monitoring programs on overdose and escalation to street opioids among patients, and on the legitimacy of fulfillments of opioid prescriptions over a 5-year time horizon. A study released by the Canadian Institute for Health Information was used to estimate the parameter values and assist in the validation of the existing agent-based model.Results and discussionThe model estimates that lowering the prescription doses exerted the most favorable impact on the outcomes of interest over 5 years with a minimum burden on patients with a legitimate need for pharmaceutical opioids. The accurate conclusion about the impact of public health interventions requires a comprehensive set of outcomes to test their multi-dimensional effects, as utilized in this research. Finally, combining machine learning and agent-based modeling can provide significant advantages, particularly when using the latter to gain insights into the long-term effects and dynamic circumstances of the former.