| Literature DB >> 34635694 |
Pakpoom Wongyikul1, Nuttamon Thongyot1, Pannika Tantrakoolcharoen1, Pusit Seephueng1, Piyapong Khumrin2.
Abstract
Prescription errors in high alert drugs (HAD), a group of drugs that have a high risk of complications and potential negative consequences, are a major and serious problem in medicine. Standardized hospital interventions, protocols, or guidelines were implemented to reduce the errors but were not found to be highly effective. Machine learning driven clinical decision support systems (CDSS) show a potential solution to address this problem. We developed a HAD screening protocol with a machine learning model using Gradient Boosting Classifier and screening parameters to identify the events of HAD prescription errors from the drug prescriptions of out and inpatients at Maharaj Nakhon Chiang Mai hospital in 2018. The machine learning algorithm was able to screen drug prescription events with a risk of HAD inappropriate use and identify over 98% of actual HAD mismatches in the test set and 99% in the evaluation set. This study demonstrates that machine learning plays an important role and has potential benefit to screen and reduce errors in HAD prescriptions.Entities:
Mesh:
Substances:
Year: 2021 PMID: 34635694 PMCID: PMC8505501 DOI: 10.1038/s41598-021-99505-4
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
High alert drug (HAD) groups.
| HAD groups | Drug names |
|---|---|
| General HADs | Norepinephrine, Dopamine, Dobutamine, Calcium gluconate, Digoxin, Isoproterenol, Warfarin, Magnesium sulfate, Heparin, Potassium chloride, Regular insulin, Adrenaline |
| Narcotics and psychotropic drugs | Ketamine, Midazolam, Pethidine, Alprazolam, Phentermine, Oxycodone, Ephedrine, Nitrazepam, Fentanyl, Methylphenidate HCL, Methadone, Pseudoephedrine, Zolpidem, Morphine |
| Intravenous cytotoxic chemotherapy drugs | 5-Fluorouracil, Arsenic trioxide, Azacitidine, Bendamustine, Bleomycin, Busulfan, Cabazitaxe, Carboplatin, Carmustine, Cisplatin, Clofarabine, Cyclophosphamide, Cytarabine, Dacarbazine, Dactinomycin, Decitabine, Docetaxel, Doxorubicin, Epirubicin, Eribulin mesylate, Etoposide, Fludarabine, Gemcitabine, Idarubicin, Ifosfamide, Irinotecan, Ixabepilone, L-Asparaginase, Liposomal-doxorubicin, Melphalan, Methotrexate, Mitomycin C, Mitoxantrone, Oxaliplatin, Paclitaxel, Paclitaxel (polymeric micelle), Pemetrexed, Topotecan, Vinblastine, Vincristine sulfate, Vinorelbine |
| Oral cytotoxic chemotherapy drugs | Temozolomide, Methotrexate, Melphalan, Tegafur-Uracil, Tegafur-Gimeracil-Oteracil, Cyclophosphamide, Capecitabine, Hydroxyurea, Fludarabine phosphate, Etoposide, Topotecan, Mercaptopurine, Vinorelbine, Thioquanine, Chlorambucil |
HAD types.
| HAD types | Drug groups | Drug names |
|---|---|---|
| ANS | Adrenergic agonist, Decongestant, Sympathomimetic drugs | Dobutamine, Dopamine, Isoprenaline, Isuprel, Pseudoephedrine, Ephedrine, Levophel, Methylphenidate, Norepinephrine, Adrenaline |
| BIG | Anticoagulant | Befarin, Heparin, Moforan, Orfarin |
| CVS | Antiarrhythmic drugs, Cardiac glycosides | Magnesium Sulfate, Magfifty, Potassium Choride, Digoxin |
| CNS | Anesthetic drugs, Opioid, Sedative drugs, Hypnotic drugs | Ketamine, Fentanyl, Methadone, Morphine, Oxycodone, Pethidine, Alprazolam, Midazolam, Xanax, Zolpidem |
| END | Antidiabetic drugs, Bone hemostasis | Actrapid, Humulin, Insugen, Calcium Gluconate |
| Tumor | Antibiotics, Alkylating agents, Anti-Inflammatory drugs, Anti-metabolites, Microtubule inhibitor, other | Pharmorubicin, Lipo-Dox, Adriblastina, Adrim, Mitomycin, Mitoxantrone, Vasimycin, Zavedos, Bleocin, Alkyloxan, Alkeran, Bicnu, Busulfex, Cycloxan, Dacarbazine, Eloxatin, Endoxan, Holoxan, Kemocarb, Cisplatin, Leukeran, Oxalip, Oxitan, Paraplatin, Ribomustin, Temodal, Methotrexate, Alimta, Dacogen, Effcil, Emthexate, Evoltra, Gemzar, Gemita, Hydrea, Intacape, Puri-Nethol, Purinetone, Thioguanine, Ts-One, Ufur, Vidaza, Xeloda, Alimta, Cytosar, Cytarine, Dactinomycin, Lanvis, Fludara, Daxoel, Docetaxel, Anzatax, Halaven, Intaxel, Ixempra, Jevtana, Navelbine, Paxus Pm, Taxotere, Vinblastin, Vincristine, Vinelbine, Asadin, Campto, Cisplatin, Fytosid, Hycamtin, Irinotel, Lastet, Leunase |
Input features and labels of data sets.
| Cycle 1 | |
|---|---|
| Input features | Labels |
| Male gender (binary: yes or no) | Non-HAD |
| Age (integer: year) | HAD |
| ICD10 (binary: prescribed and not prescribed) | |
| Total drugs (integer) | |
| Cycle 2 | |
| Input features | Labels |
| Male gender (binary: yes or no) | Non-HAD |
| Age (integer: year) | ANS |
| ICD10 (binary: prescribed or not prescribed)) | BIG |
| Total drugs (integer) | CVS |
| Probability of HAD binary classification (float) | CNS |
| END | |
| Tumor | |
Model prediction of HAD types.
| ICD10s | Drugs | ANS | BIG | CNS | CVS | END | Tumor | non HAD |
|---|---|---|---|---|---|---|---|---|
| Acute nasopharyngitis | Beramol, Fenafex, Tussis, Pseudoephedrine* | 0.28* | 0.02 | 0.01 | 0.00 | 0.00 | 0.01 | 0.68 |
| Paroxysmal atrial fibrillation | Maforan* | 0.04 | 0.17* | 0.01 | 0.01 | 0.00 | 0.02 | 0.75 |
| Bladder cancer | Morphine*, Kapanol, Gabapentin | 0.01 | 0.01 | 0.35* | 0.00 | 0.00 | 0.01 | 0.62 |
| Atrial septal defect | Sildenafil, Digoxin*, Spironolactone | 0.02 | 0.02 | 0.03 | 0.46* | 0.00 | 0.01 | 0.46 |
| Rheumatoid arthritis | *(d) Emthexate*, Folivit, Caltab | 0.02 | 0.03 | 0.01 | 0.01 | 0.00 | 0.38* | 0.55 |
Figure 1Model evaluation on HAD type prediction.
HAD type distribution in OPD data set.
| HAD types | Age | Gender | |||
|---|---|---|---|---|---|
| Cycle 1 | Count | Mean | Std | Male | Female |
| ANS | 1700 | 39.82 | 12.46 | 602 | 1,098 |
| BIG | 2538 | 55.67 | 10.34 | 1227 | 1311 |
| CVS | 371 | 51.52 | 13.40 | 145 | 226 |
| CNS | 734 | 44.01 | 17.75 | 398 | 336 |
| END | 45 | 53.93 | 15.61 | 34 | 11 |
| Tumor | 1023 | 47.43 | 13.19 | 256 | 767 |
| Non-HAD | 193,589 | 47.82 | 14.70 | 77,906 | 115,683 |
| Total | 200,000 | – | – | 80,568 | 119,432 |
| Cycle 2 | Count | Mean | Std | Male | Female |
| ANS | 4011 | 39.88 | 13.34 | 1390 | 2621 |
| BIG | 10,628 | 57.56 | 11.91 | 4933 | 5695 |
| CVS | 1473 | 54.05 | 12.62 | 636 | 837 |
| CNS | 2717 | 45.82 | 20.86 | 1456 | 1261 |
| END | 160 | 55.73 | 11.77 | 100 | 60 |
| Tumor | 5177 | 49.13 | 11.77 | 1421 | 3756 |
| Non-HAD | 767,104 | 49.05 | 15.84 | 307,749 | 459,355 |
| Total | 791,270 | – | – | 317,685 | 473,585 |
| Grand total | 991,270 | – | – | 398,253 | 593,017 |
HAD type distribution in IPD data set.
| HAD types | Age | Gender | |||
|---|---|---|---|---|---|
| Cycle 1 | Count | Mean | Std | Male | Female |
| ANS | 3673 | 54.63 | 26.47 | 2435 | 1238 |
| BIG | 3170 | 60.15 | 19.73 | 1525 | 1645 |
| CVS | 7339 | 52.63 | 24.00 | 3964 | 3375 |
| CNS | 9602 | 50.00 | 25.22 | 5147 | 4455 |
| END | 2066 | 50.90 | 24.82 | 1146 | 920 |
| Tumor | 5321 | 47.53 | 20.00 | 2638 | 2683 |
| Non-HAD | 368,829 | 55.50 | 23.07 | 194,439 | 174,390 |
| Total | 400,000 | – | – | 211,294 | 188,706 |
| Cycle 2 | Count | Mean | Std | Male | Female |
| ANS | 7016 | 53.50 | 27.13 | 3668 | 3348 |
| BIG | 6335 | 58.72 | 20.67 | 2900 | 3435 |
| CVS | 12,942 | 51.92 | 25.26 | 6625 | 6317 |
| CNS | 20,032 | 47.96 | 26.10 | 10,204 | 9828 |
| END | 3875 | 47.05 | 27.04 | 2104 | 1771 |
| Tumor | 10,200 | 46.55 | 21.25 | 5464 | 4736 |
| Non-HAD | 739,600 | 53.56 | 53.56 | 377,839 | 361,761 |
| Total | 800,000 | – | – | 408,804 | 391,196 |
| Grand total | 1,200,000 | – | – | 620,098 | 579,902 |
Distribution HAD visits in OPD data set.
| Cycle 1 | N (HAD%) | Cycle 2 | N (HAD%) |
|---|---|---|---|
| Training set | 26,451 (8%) | Training set | 27,977 (16%) |
| Test set | 8817 (9%) | Test set | 11,185 (18%) |
| Total | 35,268 (8%) | Total | 39,162 (16%) |
Distribution HAD visits in IPD data set.
| Cycle 1 | N (HAD%) | Cycle 2 | N (HAD%) |
|---|---|---|---|
| Training set | 2710 (61%) | Training set | 4900 (63%) |
| Test set | 903 (62%) | Test set | 3162 (57%) |
| Total | 3613 (61%) | Total | 8062 (61%) |
Figure 2HAD binary classification: Feature importance in OPD and IPD data sets.
Figure 3HAD type classification: Feature importance in OPD data set.
Figure 4HAD type classification: Feature importance in IPD data set.
Figure 5HAD cut point selection in OPD data set.
Figure 6HAD cut point selection in IPD data set.
Prediction performance of HAD binary classification in OPD data set.
| HAD type | Accuracy | Precision | Recall | F1-score | N |
|---|---|---|---|---|---|
| Non-HAD | 0.75 | 0.98 | 0.74 | 0.84 | 8,063 |
| HAD | 0.75 | 0.23 | 0.83 | 0.36 | 754 |
Prediction performance of HAD binary classification in IPD data set.
| HAD type | Accuracy | Precision | Recall | F1-score | N |
|---|---|---|---|---|---|
| Non-HAD | 0.69 | 0.98 | 0.18 | 0.30 | 341 |
| HAD | 0.69 | 0.67 | 1.00 | 0.80 | 562 |
Top 5 the highest HAD percent with specific false negative ratio (sFNR).
| ICD10 | HAD % | sFNR |
|---|---|---|
| Z921 History of long term use of anticoagulants | 96.03 | 0.00 |
| I050 Mitral stenosis | 92.92 | 0.00 |
| Z952 Presence of prosthetic heart valve | 92.02 | 0.16 |
| I071 Tricuspid insufficiency | 84.09 | 0.05 |
| I489 Atrial fibrillation, unspecified | 79.03 | 0.06 |
| Z511 Chemotherapy session for neoplasm | 98.42 | 0.00 |
| J960 Acute respiratory failure | 97.29 | 0.00 |
| E834 Disorders of magnesium metabolism | 96.96 | 0.00 |
| I48 Atrial fibrillation | 94.17 | 0.00 |
| C910 Acute lymphoblastic leukaemia | 92.30 | 0.00 |
Figure 7HAD classification result in Cycle 1.
HAD–ICD10 mismatch.
| OPD | IPD | Proportion (%) | |
|---|---|---|---|
| Pseudoephedrine F/C tab 60 mg | 20 | 1 | 63.6 |
| Alprazolam tab 0.25 mg | 7 | 0 | 21.2 |
| Maforan tab 1,2,3,5 mg | 2 | 0 | 6.1 |
| Heparin inj 5000 u/ml 5 ml | 1 | 0 | 3.0 |
| Emthexate tab 2.5 mg | 1 | 0 | 3.0 |
| Methadone sol (1 mg/ml) 10 ml | 1 | 0 | 3.0 |
| Total | 32 | 1 | 100.0 |
| Maforan tab 1,2,3,5 mg | 32 | 2 | 29.1 |
| Alprazolam tab 0.25 mg | 18 | 1 | 16.2 |
| Emthexate tab 2.5 mg | 18 | 1 | 16.2 |
| Pseudoephedrine F/C tab 60 mg (ANS) | 17 | 3 | 17.1 |
| Cycloxan tab 5 mg | 6 | 0 | 5.1 |
| Hydrea cap 500 mg | 5 | 0 | 4.3 |
| Endoxan inj 1,200 mg | 2 | 0 | 1.7 |
| Kemocarb inj | 2 | 0 | 1.7 |
| Intaxel inj 300 mg/50ml | 1 | 0 | 0.9 |
| Fentanyl 50 mcg/hr | 1 | 0 | 0.9 |
| Midazolam inj 5 mg/ml | 1 | 0 | 0.9 |
| Morphine tab 10 mg | 1 | 0 | 0.9 |
| Vincristine inj 1mg/ml | 1 | 0 | 0.9 |
| Heparin inj 5000 u/ml 5 ml | 0 | 1 | 0.9 |
| Zolpidem tab 10 mg | 0 | 1 | 0.9 |
| Magnesium sulfate (CVS) | 0 | 3 | 2.6 |
| Total | 105 | 12 | 100.0 |
| Pseudoephedrine F/C tab 60 mg (ANS) | 17 | 0 | 58.6 |
| Alprazolam tab 0.25 mg (CNS) | 2 | 0 | 6.9 |
| Maforan tab 2,3,5 mg (BIG) | 4 | 0 | 13.7 |
| Methrotexate (tumor) | 5 | 0 | 17.2 |
| Magnesium sulfate (CVS) | 1 | 0 | 3.45 |
| Total | 29 | 0 | 100.0 |
Number of excluded and excluded HAD prescriptions in OPD and IPD data sets.
| HAD types | OPD HADs (142,137) | IPD HADs (14,812) | ||
|---|---|---|---|---|
| Excluded | Included | Excluded | Included | |
| ANS | 633 | 2583 | 5 | 589 |
| BIG | 381 | 2294 | 3 | 673 |
| CVS | 20 | 620 | 1 | 1677 |
| CNS | 572 | 763 | 3 | 2577 |
| END | 29 | 27 | 0 | 496 |
| Tumor | 327 | 1744 | 1 | 1249 |
| Non-HAD | 93,646 | 38,498 | 584 | 6954 |
| Total | 95,608 | 46,529 | 597 | 14,215 |
| Total visits | 94,006 | 39,162 | 584 | 8062 |
Figure 8HAD binary classification result in OPD data set.
Figure 9HAD binary classification result in IPD data set.
Prediction performance on each HAD type in OPD data set.
| HAD type | Accuracy | Precision | Recall | F1-score | N |
|---|---|---|---|---|---|
| ANS | 0.61 | 0.20 | 0.96 | 0.33 | 649 |
| BIG | 0.68 | 0.18 | 0.94 | 0.30 | 590 |
| CVS | 0.63 | 0.04 | 0.94 | 0.08 | 147 |
| CNS | 0.60 | 0.04 | 0.95 | 0.07 | 199 |
| END | 0.63 | 0.00 | 0.43 | 0.00 | 8 |
| Tumor | 0.65 | 0.12 | 0.88 | 0.21 | 441 |
| Avg | 0.64 | 0.12 | 0.93 | 0.20 | 405 |
Prediction performance on each HAD type in IPD data set.
| HAD type | Accuracy | Precision | Recall | F1-score | N |
|---|---|---|---|---|---|
| ANS | 0.55 | 0.11 | 0.95 | 0.20 | 142 |
| BIG | 0.57 | 0.14 | 0.96 | 0.25 | 166 |
| CVS | 0.60 | 0.21 | 0.90 | 0.34 | 417 |
| CNS | 0.61 | 0.28 | 0.80 | 0.42 | 641 |
| END | 0.56 | 0.12 | 1.00 | 0.21 | 134 |
| Tumor | 0.66 | 0.33 | 0.98 | 0.50 | 308 |
| Avg | 0.59 | 0.20 | 0.93 | 0.32 | 301 |
Figure 10HAD type classification in OPD data set.
Figure 11HAD type classification in IPD data set.
The three highest numbers of ICD10 percent for each HAD type in OPD data set.
| Type | ICD10 | ICD10 % |
|---|---|---|
| ANS | J019 Acute sinusitis | 62.29 |
| J00 Acute nasopharyngitis | 52.43 | |
| J069 Acute upper respiratory infection | 40.81 | |
| CNS | S430 Dislocation of shoulder joint | 58.20 |
| C795 Secondary malignant neoplasm of bone | 34.28 | |
| C679 Malignant neoplasm of bladder | 23.52 | |
| BIG | Z921 History of long term use of anticoagulants | 94.11 |
| I050 Mitral stenosis | 93.68 | |
| Z952 Presence of prosthetic heart valve | 93.08 | |
| Tumor | C833 Diffuse large B-cell lymphoma | 100.00 |
| C50.9 Malignant neoplasm of breast | 92.50 | |
| Z511 Chemotherapy session for neoplasm | 89.67 | |
| CVS | C539 Malignant neoplasm of cervix uteri | 29.60 |
| I420 Dilated cardiomyopathy | 21.97 | |
| Z511 Chemotherapy session for neoplasm | 19.57 |
The three highest numbers of ICD10 percent for each HAD type in IPD data set.
| Type | ICD10 | ICD10 % |
|---|---|---|
| ANS | R572 Septic shock | 94.36 |
| J960 Acute respiratory failure | 65.85 | |
| N179 Acute renal failure | 56.00 | |
| CNS | D62 Acute posthaemorrhagic anemia | 82.38 |
| J960 Acute respiratory failure | 77.00 | |
| E871 Hyposmolality and hyponatraemia | 59.10 | |
| BIG | I215 Atherosclerotic heart disease | 67.64 |
| I48 Atrial fibrillation | 65.82 | |
| I489 Atrial fibrillation, unspecified | 69.56 | |
| Tumor | Z511 Chemotherapy session for neoplasm | 97.31 |
| C910 Acute lymphoblastic leukaemia | 90.90 | |
| D70 Agranulocytosis | 66.66 | |
| END | E119 Type 2 diabetes | 30.00 |
| D62 Acute posthaemorrhagic anemia | 27.67 | |
| I215 Atherosclerotic heart disease | 25.73 | |
| CVS | E834 Disorders of magnesium metabolism | 92.00 |
| E876 Hypokalaemia | 72.55 | |
| E871 Hyposmolality and hyponatremia | 66.00 |
Figure 12HAD classification result in Cycle 2.
Figure 14HAD–ICD10 mismatch in IPD data set in Cycle 2.
Figure 13HAD–ICD10 mismatch in outpatient data set in Cycle 1.
Figure 15HAD prediction mind map.