{"id":"W7165650123","doi":"10.33545/26647222.2025.v7.i1b.470","title":"Developing machine learning prescription anomaly detection models for opioid diversion surveillance in Ottawa capital region pharmacy chains","year":2025,"lang":"","type":"article","venue":"International Journal of Pharmacy and Pharmaceutical Science","topic":"Opioid Use Disorder Treatment","field":"Medicine","cited_by":0,"is_retracted":false,"has_abstract":true,"ca_institutions":"","funders":"","keywords":"Pharmacy; Medical prescription; Logistic regression; Pharmacist; Random forest; Opioid overdose; Clinical decision support system; Anomaly (physics); Anomaly detection","routes":{"ca_aff":false,"ca_fund":false,"ca_venue":false,"about_ca":true,"invisible_to_affiliation_only":true},"retraction":null,"screen":null,"direct_labels":[],"prediction":{"model_version":"codex-gemma-dda1882f352a","candidate_categories":["metaepi_narrow"],"consensus_categories":[],"category_scores_codex":[0.00213294,0.00038492,0.0004954998,0.00122915,0.0004402652,0.000238206,0.0006852188,0.00007084561,0.00004868346],"category_scores_gemma":[0.0005275435,0.0003606234,0.0002074403,0.0008717286,0.0004852556,0.0017271,0.0003056093,0.0008922393,0.000002963699],"about_ca_system_candidate":false,"about_ca_system_consensus":false,"about_ca_system_score_codex":0.001437114,"about_ca_system_score_gemma":0.001168422,"about_ca_topic_candidate":false,"about_ca_topic_consensus":false,"about_ca_topic_score_codex":0.000335161,"about_ca_topic_score_gemma":0.00005244209,"domain_scores_codex":[0.9961619,0.0002373,0.001189998,0.0006298756,0.001137902,0.0006430208],"domain_scores_gemma":[0.9971958,0.0003961543,0.0005832465,0.0001095018,0.001334364,0.0003809776],"domain_codex":null,"domain_gemma":null,"domain_candidate":null,"domain_consensus":null,"study_design_codex":"observational","study_design_gemma":"simulation_or_modeling","study_design_scores_codex":[0.01348418,0.001784422,0.4195717,0.0009170063,0.0008108682,0.0004626946,0.005269764,0.00777833,0.1256483,0.005313988,0.00009025179,0.4188685],"study_design_scores_gemma":[0.02240645,0.0003669036,0.02081833,0.001056337,0.0003279843,0.0003393477,0.0005596773,0.8582104,0.07239815,0.001505442,0.02157852,0.0004324288],"study_design_candidate":"simulation_or_modeling","study_design_consensus":null,"genre_codex":"empirical","genre_gemma":"empirical","genre_scores_codex":[0.893496,0.01210296,0.07951053,0.008211956,0.005359993,0.0009580748,0.0000456511,0.00002569317,0.000289082],"genre_scores_gemma":[0.9799625,0.01789004,0.0007290401,0.0007658406,0.0004242805,0.00002134375,0.00001237139,0.00001920589,0.0001753333],"genre_candidate":"empirical","genre_consensus":"empirical","teacher_disagreement_score":0.8504321,"threshold_uncertainty_score":0.9998845,"prediction_status":"machine_predicted_unvalidated"},"machine_scores":{"provisional":true,"baseline":true,"maturity_gate_passed":false,"score_opus":0.05372442880213224,"score_gpt":0.3847539012366554,"score_spread":0.3310294724345231,"validation_status":"score_only:v0-immature-baseline","note":"Baseline scores from an immature model (maturity gate not passed). Scores rank; they never assert a category."}}