$(document).ready(function(){
var is_mobile = false;
if($('#mobile').css('display')=='none'){
is_mobile = true;
//mobile only stuff!
} else {
//non mobile stuff!
}
$('#logo').click(function(){
window.location.href = "https://odprn.ca";
});
//grab the title attr from each link and add it as a class to the parent list item
$('nav#primary li').each(function(){
var theclass = $(this).find('a').attr('title');
$(this).addClass(theclass);
});
//$('#searchForm').hide();
/*
$('#searchLink').click(function(){
$(this).hide();
$('#searchForm').show();
});
*/
//Let's populate the correct subnav into the subHeader
//let's grab the right page
var whichMenu = 'home';
//grab the content
var menuContent = $('nav#primary .'+whichMenu+' ul').html();
//alert(menuContent);
//put it into the subHeader
$('#subHeader ul').html(menuContent);
var theURL = '';
$('.confirm').click(function(){
theURL = $(this).attr('href');
$('#overlay').show();
return false;
});
$('#overlayClose').click(function(){
$('#overlay').hide();
window.location.href = theURL;
});
$('.clickForMore').click(function() {
//for some reason toggle is giving me issues, so lets do this old school
if($(this).parent().next('.hiddenText').is(':visible')){
$(this).removeClass('show');
$(this).parent().next('.hiddenText').slideUp();
} else {
$(this).addClass('show');
$(this).parent().next('.hiddenText').slideDown();
}
});
//redo the PDF tables to embed the pdf on click
$('.reportList a[href$=".pdf"]').each(function(){
var pdfLink = $(this).attr('href');
var pdfTitle = $(this).html();
var shortCode = '';
var newContent = '<span class="pdfClick">' + pdfTitle + '</span><div class="hidden"><a class="media" href="' + pdfLink + '">' + pdfTitle + '</a> </div>';
$(this).parent().html(newContent);
});
$('a.media').media({width:600, height:400});
//add the click to show the hidden pdf
$('.reportList .pdfClick').click(function(){
$(this).next('.hidden').toggle('slow');
$(this).toggleClass('active')
});
//make the faqlist work
$('.faqList li:has(ul)').click(function(){
$(this).find('ul').slideToggle('slow');
$(this).toggleClass('active');
});
});
var em_version = '8.2.4';
var em_track_user = true;
var em_no_track_reason = '';
var ExactMetricsDefaultLocations = {"page_location":"https:\/\/odprn.ca\/ontario-opioid-drug-observatory\/","page_referrer":"https:\/\/odprn.ca\/"};
if ( typeof ExactMetricsPrivacyGuardFilter === 'function' ) {
var ExactMetricsLocations = (typeof ExactMetricsExcludeQuery === 'object') ? ExactMetricsPrivacyGuardFilter( ExactMetricsExcludeQuery ) : ExactMetricsPrivacyGuardFilter( ExactMetricsDefaultLocations );
} else {
var ExactMetricsLocations = (typeof ExactMetricsExcludeQuery === 'object') ? ExactMetricsExcludeQuery : ExactMetricsDefaultLocations;
}
var disableStrs = [
'ga-disable-G-ZQ9FC7Y2WK',
];
/* Function to detect opted out users */
function __gtagTrackerIsOptedOut() {
for (var index = 0; index < disableStrs.length; index++) {
if (document.cookie.indexOf(disableStrs[index] + '=true') > -1) {
return true;
}
}
return false;
}
/* Disable tracking if the opt-out cookie exists. */
if (__gtagTrackerIsOptedOut()) {
for (var index = 0; index < disableStrs.length; index++) {
window[disableStrs[index]] = true;
}
}
/* Opt-out function */
function __gtagTrackerOptout() {
for (var index = 0; index < disableStrs.length; index++) {
document.cookie = disableStrs[index] + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStrs[index]] = true;
}
}
if ('undefined' === typeof gaOptout) {
function gaOptout() {
__gtagTrackerOptout();
}
}
window.dataLayer = window.dataLayer || [];
window.ExactMetricsDualTracker = {
helpers: {},
trackers: {},
};
if (em_track_user) {
function __gtagDataLayer() {
dataLayer.push(arguments);
}
function __gtagTracker(type, name, parameters) {
if (!parameters) {
parameters = {};
}
if (parameters.send_to) {
__gtagDataLayer.apply(null, arguments);
return;
}
if (type === 'event') {
parameters.send_to = exactmetrics_frontend.v4_id;
var hookName = name;
if (typeof parameters['event_category'] !== 'undefined') {
hookName = parameters['event_category'] + ':' + name;
}
if (typeof ExactMetricsDualTracker.trackers[hookName] !== 'undefined') {
ExactMetricsDualTracker.trackers[hookName](parameters);
} else {
__gtagDataLayer('event', name, parameters);
}
} else {
__gtagDataLayer.apply(null, arguments);
}
}
__gtagTracker('js', new Date());
__gtagTracker('set', {
'developer_id.dNDMyYj': true,
});
if ( ExactMetricsLocations.page_location ) {
__gtagTracker('set', ExactMetricsLocations);
}
__gtagTracker('config', 'G-ZQ9FC7Y2WK', {"forceSSL":"true"} );
window.gtag = __gtagTracker; (function () {
/* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */
/* ga and __gaTracker compatibility shim. */
var noopfn = function () {
return null;
};
var newtracker = function () {
return new Tracker();
};
var Tracker = function () {
return null;
};
var p = Tracker.prototype;
p.get = noopfn;
p.set = noopfn;
p.send = function () {
var args = Array.prototype.slice.call(arguments);
args.unshift('send');
__gaTracker.apply(null, args);
};
var __gaTracker = function () {
var len = arguments.length;
if (len === 0) {
return;
}
var f = arguments[len - 1];
if (typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function') {
if ('send' === arguments[0]) {
var hitConverted, hitObject = false, action;
if ('event' === arguments[1]) {
if ('undefined' !== typeof arguments[3]) {
hitObject = {
'eventAction': arguments[3],
'eventCategory': arguments[2],
'eventLabel': arguments[4],
'value': arguments[5] ? arguments[5] : 1,
}
}
}
if ('pageview' === arguments[1]) {
if ('undefined' !== typeof arguments[2]) {
hitObject = {
'eventAction': 'page_view',
'page_path': arguments[2],
}
}
}
if (typeof arguments[2] === 'object') {
hitObject = arguments[2];
}
if (typeof arguments[5] === 'object') {
Object.assign(hitObject, arguments[5]);
}
if ('undefined' !== typeof arguments[1].hitType) {
hitObject = arguments[1];
if ('pageview' === hitObject.hitType) {
hitObject.eventAction = 'page_view';
}
}
if (hitObject) {
action = 'timing' === arguments[1].hitType ? 'timing_complete' : hitObject.eventAction;
hitConverted = mapArgs(hitObject);
__gtagTracker('event', action, hitConverted);
}
}
return;
}
function mapArgs(args) {
var arg, hit = {};
var gaMap = {
'eventCategory': 'event_category',
'eventAction': 'event_action',
'eventLabel': 'event_label',
'eventValue': 'event_value',
'nonInteraction': 'non_interaction',
'timingCategory': 'event_category',
'timingVar': 'name',
'timingValue': 'value',
'timingLabel': 'event_label',
'page': 'page_path',
'location': 'page_location',
'title': 'page_title',
'referrer' : 'page_referrer',
};
for (arg in args) {
if (!(!args.hasOwnProperty(arg) || !gaMap.hasOwnProperty(arg))) {
hit[gaMap[arg]] = args[arg];
} else {
hit[arg] = args[arg];
}
}
return hit;
}
try {
f.hitCallback();
} catch (ex) {
}
};
__gaTracker.create = newtracker;
__gaTracker.getByName = newtracker;
__gaTracker.getAll = function () {
return [];
};
__gaTracker.remove = noopfn;
__gaTracker.loaded = true;
window['__gaTracker'] = __gaTracker;
})();
} else {
console.log("");
(function () {
function __gtagTracker() {
return null;
}
window['__gtagTracker'] = __gtagTracker;
window['gtag'] = __gtagTracker;
})();
}
var mi_version = '9.2.4';
var mi_track_user = true;
var mi_no_track_reason = '';
var MonsterInsightsDefaultLocations = {"page_location":"https:\/\/odprn.ca\/ontario-opioid-drug-observatory\/","page_referrer":"https:\/\/odprn.ca\/"};
if ( typeof MonsterInsightsPrivacyGuardFilter === 'function' ) {
var MonsterInsightsLocations = (typeof MonsterInsightsExcludeQuery === 'object') ? MonsterInsightsPrivacyGuardFilter( MonsterInsightsExcludeQuery ) : MonsterInsightsPrivacyGuardFilter( MonsterInsightsDefaultLocations );
} else {
var MonsterInsightsLocations = (typeof MonsterInsightsExcludeQuery === 'object') ? MonsterInsightsExcludeQuery : MonsterInsightsDefaultLocations;
}
var disableStrs = [
'ga-disable-G-MC1P8JGVP4',
];
/* Function to detect opted out users */
function __gtagTrackerIsOptedOut() {
for (var index = 0; index < disableStrs.length; index++) {
if (document.cookie.indexOf(disableStrs[index] + '=true') > -1) {
return true;
}
}
return false;
}
/* Disable tracking if the opt-out cookie exists. */
if (__gtagTrackerIsOptedOut()) {
for (var index = 0; index < disableStrs.length; index++) {
window[disableStrs[index]] = true;
}
}
/* Opt-out function */
function __gtagTrackerOptout() {
for (var index = 0; index < disableStrs.length; index++) {
document.cookie = disableStrs[index] + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStrs[index]] = true;
}
}
if ('undefined' === typeof gaOptout) {
function gaOptout() {
__gtagTrackerOptout();
}
}
window.dataLayer = window.dataLayer || [];
window.MonsterInsightsDualTracker = {
helpers: {},
trackers: {},
};
if (mi_track_user) {
function __gtagDataLayer() {
dataLayer.push(arguments);
}
function __gtagTracker(type, name, parameters) {
if (!parameters) {
parameters = {};
}
if (parameters.send_to) {
__gtagDataLayer.apply(null, arguments);
return;
}
if (type === 'event') {
parameters.send_to = monsterinsights_frontend.v4_id;
var hookName = name;
if (typeof parameters['event_category'] !== 'undefined') {
hookName = parameters['event_category'] + ':' + name;
}
if (typeof MonsterInsightsDualTracker.trackers[hookName] !== 'undefined') {
MonsterInsightsDualTracker.trackers[hookName](parameters);
} else {
__gtagDataLayer('event', name, parameters);
}
} else {
__gtagDataLayer.apply(null, arguments);
}
}
__gtagTracker('js', new Date());
__gtagTracker('set', {
'developer_id.dZGIzZG': true,
});
if ( MonsterInsightsLocations.page_location ) {
__gtagTracker('set', MonsterInsightsLocations);
}
__gtagTracker('config', 'G-MC1P8JGVP4', {"forceSSL":"true"} );
window.gtag = __gtagTracker; (function () {
/* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */
/* ga and __gaTracker compatibility shim. */
var noopfn = function () {
return null;
};
var newtracker = function () {
return new Tracker();
};
var Tracker = function () {
return null;
};
var p = Tracker.prototype;
p.get = noopfn;
p.set = noopfn;
p.send = function () {
var args = Array.prototype.slice.call(arguments);
args.unshift('send');
__gaTracker.apply(null, args);
};
var __gaTracker = function () {
var len = arguments.length;
if (len === 0) {
return;
}
var f = arguments[len - 1];
if (typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function') {
if ('send' === arguments[0]) {
var hitConverted, hitObject = false, action;
if ('event' === arguments[1]) {
if ('undefined' !== typeof arguments[3]) {
hitObject = {
'eventAction': arguments[3],
'eventCategory': arguments[2],
'eventLabel': arguments[4],
'value': arguments[5] ? arguments[5] : 1,
}
}
}
if ('pageview' === arguments[1]) {
if ('undefined' !== typeof arguments[2]) {
hitObject = {
'eventAction': 'page_view',
'page_path': arguments[2],
}
}
}
if (typeof arguments[2] === 'object') {
hitObject = arguments[2];
}
if (typeof arguments[5] === 'object') {
Object.assign(hitObject, arguments[5]);
}
if ('undefined' !== typeof arguments[1].hitType) {
hitObject = arguments[1];
if ('pageview' === hitObject.hitType) {
hitObject.eventAction = 'page_view';
}
}
if (hitObject) {
action = 'timing' === arguments[1].hitType ? 'timing_complete' : hitObject.eventAction;
hitConverted = mapArgs(hitObject);
__gtagTracker('event', action, hitConverted);
}
}
return;
}
function mapArgs(args) {
var arg, hit = {};
var gaMap = {
'eventCategory': 'event_category',
'eventAction': 'event_action',
'eventLabel': 'event_label',
'eventValue': 'event_value',
'nonInteraction': 'non_interaction',
'timingCategory': 'event_category',
'timingVar': 'name',
'timingValue': 'value',
'timingLabel': 'event_label',
'page': 'page_path',
'location': 'page_location',
'title': 'page_title',
'referrer' : 'page_referrer',
};
for (arg in args) {
if (!(!args.hasOwnProperty(arg) || !gaMap.hasOwnProperty(arg))) {
hit[gaMap[arg]] = args[arg];
} else {
hit[arg] = args[arg];
}
}
return hit;
}
try {
f.hitCallback();
} catch (ex) {
}
};
__gaTracker.create = newtracker;
__gaTracker.getByName = newtracker;
__gaTracker.getAll = function () {
return [];
};
__gaTracker.remove = noopfn;
__gaTracker.loaded = true;
window['__gaTracker'] = __gaTracker;
})();
} else {
console.log("");
(function () {
function __gtagTracker() {
return null;
}
window['__gtagTracker'] = __gtagTracker;
window['gtag'] = __gtagTracker;
})();
}
var exactmetrics_frontend = {"js_events_tracking":"true","download_extensions":"zip,mp3,mpeg,pdf,docx,pptx,xlsx,rar","inbound_paths":"[{\"path\":\"\\\/go\\\/\",\"label\":\"affiliate\"},{\"path\":\"\\\/recommend\\\/\",\"label\":\"affiliate\"}]","home_url":"https:\/\/odprn.ca","hash_tracking":"false","v4_id":"G-ZQ9FC7Y2WK"};
var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[]","home_url":"https:\/\/odprn.ca","hash_tracking":"false","v4_id":"G-MC1P8JGVP4"};
var breeze_prefetch = {"local_url":"https:\/\/odprn.ca","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
In 2017, the ODPRN was funded by the Canadian Institutes for Health Research (CIHR) to establish an Ontario Opioid Drug Observatory with the goal of bringing together knowledge users, researchers and data to inform and evaluate opioid policy across Ontario. As the opioid crisis has worsened, this need for evidence has grown and evolved. Through the innovative work of the OODO, we have supported the linkage of all opioid prescriptions, opioid-related deaths, and pharmacy-dispensed naloxone to other health administrative databases across the province; the largest, most complete linked repository of data related to opioid use and related harms in Canada. More recently we have also supported the linkage of other substance toxicity deaths (stimulants, benzodiazepines and alcohol) to Ontario’s health administrative databases, opening the door to expanded research covering topics related to substance use and related harms more generally.
Through linkage of a broad repository of health care data, the work of the OODO has three broad objectives:
Patterns of Use and Harm: To conduct ongoing analysis of trends in prescription opioid use and opioid-related harm (overdoses, infections, brain injuries) in Ontario and evaluate the impact of new drug policies and the COVID-19 pandemic on these measures.
Access to Treatment and Harm Reduction Strategies: To evaluate the safety, effectiveness, and barriers to accessing different forms of treatment for opioid use disorder (OUD) and harm reduction strategies (naloxone, safer opioid supply) across the province.
Pathways through Care: To assess how rapid access to treatment and primary care impact future patterns of healthcare use and patient outcomes among people hospitalized for serious opioid-related outcomes.
Ontario Opioid Indicator Tool
The Ontario Opioid Indicator Tool was developed by the OODO to provide public access to indicators of opioid use, opioid-related harms, and access to treatment and harm reduction in the province from 2012 onwards using data housed at ICES. It uses data from a variety of sources including the Narcotics Monitoring System (NMS), which captures all opioid prescriptions dispensed in retail pharmacies across Ontario, the Canadian Institute for Health Information National Ambulatory Care Reporting System and Discharge Abstract Database, and public health data.
var jetpackSwiperLibraryPath = {"url":"https:\/\/odprn.ca\/wp-content\/plugins\/jetpack\/_inc\/build\/carousel\/swiper-bundle.min.js"};
var jetpackCarouselStrings = {"widths":[370,700,1000,1200,1400,2000],"is_logged_in":"","lang":"en","ajaxurl":"https:\/\/odprn.ca\/wp-admin\/admin-ajax.php","nonce":"dd9680f722","display_exif":"1","display_comments":"1","single_image_gallery":"1","single_image_gallery_media_file":"","background_color":"black","comment":"Comment","post_comment":"Post Comment","write_comment":"Write a Comment...","loading_comments":"Loading Comments...","image_label":"Open image in full-screen.","download_original":"View full size <span class=\"photo-size\">{0}<span class=\"photo-size-times\">\u00d7<\/span>{1}<\/span>","no_comment_text":"Please be sure to submit some text with your comment.","no_comment_email":"Please provide an email address to comment.","no_comment_author":"Please provide your name to comment.","comment_post_error":"Sorry, but there was an error posting your comment. Please try again later.","comment_approved":"Your comment was approved.","comment_unapproved":"Your comment is in moderation.","camera":"Camera","aperture":"Aperture","shutter_speed":"Shutter Speed","focal_length":"Focal Length","copyright":"Copyright","comment_registration":"0","require_name_email":"1","login_url":"https:\/\/odprn.ca\/wp-login.php?redirect_to=https%3A%2F%2Fodprn.ca%2Fontario-opioid-drug-observatory%2F","blog_id":"1","meta_data":["camera","aperture","shutter_speed","focal_length","copyright"]};