Pharmacy Practice Research Unit and Department of Pharmacy, CHU Sainte-Justine, Montreal, Quebec, Canada.
Department of Computer Science and Software Engineering, Université Laval, Quebec City, Quebec, Canada.
J Am Med Inform Assoc. 2021 Jul 30;28(8):1712-1718. doi: 10.1093/jamia/ocab071.
The study sought to assess the clinical performance of a machine learning model aiming to identify unusual medication orders.
This prospective study was conducted at CHU Sainte-Justine, Canada, from April to August 2020. An unsupervised machine learning model based on GANomaly and 2 baselines were trained to learn medication order patterns from 10 years of data. Clinical pharmacists dichotomously (typical or atypical) labeled orders and pharmacological profiles (patients' medication lists). Confusion matrices, areas under the precision-recall curve (AUPRs), and F1 scores were calculated.
A total of 12 471 medication orders and 1356 profiles were labeled by 25 pharmacists. Medication order predictions showed a precision of 35%, recall (sensitivity) of 26%, and specificity of 97% as compared with pharmacist labels, with an AUPR of 0.25 and an F1 score of 0.30. Profile predictions showed a precision of 49%, recall of 75%, and specificity of 82%, with an AUPR of 0.60, and an F1 score of 0.59. The model performed better than the baselines. According to the pharmacists, the model was a useful screening tool, and 9 of 15 participants preferred predictions by medication, rather than by profile.
Predictions for profiles had higher F1 scores and recall compared with medication order predictions. Although the performance was much better for profile predictions, pharmacists generally preferred medication order predictions.
Based on the AUPR, this model showed better performance for the identification of atypical pharmacological profiles than for medication orders. Pharmacists considered the model a useful screening tool. Improving these predictions should be prioritized in future research to maximize clinical impact.
本研究旨在评估一种旨在识别异常药物医嘱的机器学习模型的临床性能。
本前瞻性研究于 2020 年 4 月至 8 月在加拿大 Sainte-Justine 大学医院进行。一个基于 GANomaly 的无监督机器学习模型和 2 个基线被用来从 10 年的数据中学习药物医嘱模式。临床药师将医嘱(典型或非典型)和药物概况(患者用药清单)进行二分法标记。计算混淆矩阵、精度-召回曲线下面积(AUPR)和 F1 分数。
共有 25 名药师对 12471 条医嘱和 1356 条概况进行了标记。与药师标签相比,药物医嘱预测的精度为 35%,召回率(灵敏度)为 26%,特异性为 97%,AUPR 为 0.25,F1 得分为 0.30。概况预测的精度为 49%,召回率为 75%,特异性为 82%,AUPR 为 0.60,F1 得分为 0.59。该模型的表现优于基线。根据药师的说法,该模型是一种有用的筛选工具,有 9 名参与者更喜欢药物预测,而不是概况预测。
与药物医嘱预测相比,概况预测的 F1 得分和召回率更高。尽管概况预测的性能要好得多,但药师普遍更喜欢药物医嘱预测。
基于 AUPR,该模型在识别非典型药物概况方面的表现优于药物医嘱。药师认为该模型是一种有用的筛选工具。在未来的研究中,应优先提高这些预测的准确性,以最大限度地发挥临床影响。