| Literature DB >> 34617009 |
Martina Balestra1, Ji Chen2, Eduardo Iturrate3, Yindalon Aphinyanaphongs2,4, Oded Nov1,5.
Abstract
OBJECTIVE: The widespread deployment of electronic health records (EHRs) has introduced new sources of error and inefficiencies to the process of ordering medications in the hospital setting. Existing work identifies orders that require pharmacy intervention by comparing them to a patient's medical records. In this work, we develop a machine learning model for identifying medication orders requiring intervention using only provider behavior and other contextual features that may reflect these new sources of inefficiencies.Entities:
Keywords: electronic health records; machine learning; medical order entry systems; prescribing errors
Year: 2021 PMID: 34617009 PMCID: PMC8490931 DOI: 10.1093/jamiaopen/ooab083
Source DB: PubMed Journal: JAMIA Open ISSN: 2574-2531
Description of sample used
| Type | Inpatient |
|---|---|
| Dates | July 10–24, 2017 |
| No. of orders | 181 407 |
| No. of order batches | 38 966 |
| No. of order batches requiring intervention | 2054 (5.61%) |
| No. of providers | 2708 |
| No. of departments | 183 |
| No. of therapeutic classes | 45 |
| No. of patients | 16 714 |
Descriptive statistics of continuous features included in the model
| Feature | Mean | Median | Std. Dev. | |
|---|---|---|---|---|
| No. of administrative actions in hour preceding order | 15.42 | 2 | 29.62 | |
| No. of administrative actions in patient files in hour preceding order | 30.26 | 7 | 46.30 | |
| No. of orders in batch | 3.09 | 2 | 3.22 | |
| No. of ordersets in batch | 0.05 | 0 | 0.44 | |
| No. of actions related to patient encounters in hour preceding order | 49.65 | 8 | 79.81 | |
| No. of patients in batch | 1.07 | 1 | 0.31 | |
| No. of reconciliations in batch | 1.23 | 0 | 3.96 | |
| No. of STAT orders in batch | 0.68 | 0 | 1.80 | |
| No. of unique patient encounters in hour preceding order | 3.63 | 1 | 5.70 | |
| No. of unique workstations | 1.62 | 1 | 1.06 | |
Model performance metrics for baseline (Lasso, Ridge, and Random Forest regression) and focal models (XGBoost)
| Model | AUROC | AUPR |
|---|---|---|
| Logistic regression with L1 (Lasso) regularization | 0.528 | 0.276 |
| Logistic regression with L2 (Ridge) regularization | 0.530 | 0.278 |
| Random forest with pruning | 0.579 | 0.180 |
| Extreme gradient-boosted trees (XGBoost) | 0.908 | 0.439 |
AUPR: area under the precision-recall; AUROC: area under the receiver-operator.
Figure 1.Average receiver-operator characteristic (ROC) curve. AUROC is 0.908. AUROC: area under the receiver-operator curve.
Figure 2.Precision-recall curve. AUPR is 0.439. AUPR: area under the precision-recall.
Figure 3.Lift curve.
Confusion matrix associated with decision boundaries displayed on the left side of the double lines in the table, and the corresponding model performance metrics are displayed on the right
|
|
|
| |||||
|
| |||||||
|
| Intervention | No intervention | Accuracy | Recall | Specificity | Precision | |
| Prediction | Intervention | 312 | 3241 | 0.41 | 0.99 | 0.37 | 0.09 |
| No intervention | 2 | 1933 | |||||
|
| |||||||
|
|
|
| |||||
|
| |||||||
|
| Intervention | No intervention | Accuracy | Recall | Specificity | Precision | |
| Prediction | Intervention | 242 | 606 | 0.88 | 0.77 | 0.88 | 0.29 |
| No intervention | 72 | 4568 | |||||
|
| |||||||
|
|
|
| |||||
|
| |||||||
|
| Intervention | No intervention | Accuracy | Recall | Specificity | Precision | |
| Prediction | Intervention | 130 | 120 | 0.94 | 0.41 | 0.98 | 0.52 |
| No intervention | 184 | 5054 | |||||
Displays model performance associated with the selected decision boundary (0.076);
Displays the model performance with a decision boundary of 0.5; and
Displays the model performance with a decision boundary of 0.83.
Figure 4.Top 20 features with the highest global importance. Gain represents the improvement in accuracy brought by a feature to the branches it is on.
Figure 5.The y-axis represents the change in the probability of the order requiring intervention. Red bars represent a decrease in the log-odds, whereas blue bars represent an increase. (A) Contribution of features to the log-odds of a true positive order. The estimated probability of this order requiring intervention is 0.39, well above the 0.076 decision boundary and consistent with the observed outcome. (B) Contribution of features to the log-odds of a true negative order. The estimated probability of this order requiring intervention is 0.004, below the 0.076 decision boundary.
Figure 6.The y-axis represents the change in the probability of the order requiring intervention. Red bars represent a decrease in the log-odds, whereas blue bars represent an increase. (A) Contribution made by individual features to the log-odds of a false-positive order. The estimated probability of this order requiring intervention is 0.10, which is above the 0.076 decision boundary, though this particular order was not observed to require intervention. (B) Contribution made by individual features to the log-odds of a false-negative order. The estimated probability of this order requiring intervention is 0.003. Despite being well below the 0.076 decision boundary, this particular order did require intervention.