Submitted:
22 March 2024
Posted:
25 March 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Works
2.1. Human-Based Triage
2.2. Telephone or Online Platform-Based Triage
2.3. Machine Learning-Based Triage
3. Computational Framework for Processing and Triaging Using Patient Data
3.1. Medical Dataset
3.2. Variable Selection Using Qualitative Analysis
3.3. Variable Selection Using Quantitative Analysis
3.4. Feature Engineering
3.4.1. Generating Triage Values from Different Categories
3.4.2. Generating Triage Values Using NEWS2 Score
- If the value is 1 in any of the three columns, then that patient will be considered a “high” priority case, and the triage_target value will be 1.
- If the total value of three columns is between 0 and 0.25, the patient will be considered a “low” priority case, and the triage_target will be 0.
- If the estimated value of three columns is between 0.25 and 0.75, the patient will be considered a “moderate” priority case, and the triage_target value will be assigned as 1.
- If the estimated value of three columns is greater than 0.7, the patient will be considered a “high” priority case, and the triage_target value will be 2.
3.4.3. Normalisation
| Variable Name | Description | DataType |
|---|---|---|
| age | Age of the patient (Demographics) | float64 |
| gender | Gender of the patient (Demographics) | int64 |
| acutecvd | Acute Coronary Vascular Diseases (PMH*) | int64 |
| acutemi | Acute Myocardial Infraction (PMH) | int64 |
| coronathero | Coronary Atherosclerosis (PMH) | int64 |
| htn | Hypertension, high blood pressure in patient’s medical history (PMH) | int64 |
| triage_vital_hr | Heart Rate, a vital sign for triaging (Vitals) | int64 |
| triage_vital_sbp | Systolic Blood Pressure (Vitals) | int64 |
| triage_vital_dbp | Diastolic Blood Pressure (Vitals) | float64 |
| triage_vital_rr | Respiratory Rate (Vitals) | int64 |
| triage_vital_o2 | Oxygen levels in Blood (Vitals) | int64 |
| triage_vital_o2_device | Oxygen device needed for patient, Boolean Field (Vitals) | int64 |
| triage_vital_temp | Temperature value of patient (Vitals) | float64 |
| meds_cardiacdrugs | Cardiac drugs used by patients (Medications) | int64 |
| meds_cardiovascular | Cardiovascular drugs used by patients (Medications) | int64 |
| meds_diuretics | Diuretics medicines used by patients (Medications) | int64 |
| cc_chesttightness | Chest Tightness, a symptom of heart failure (Symptoms) | int64 |
| cc_cough | Cough, a symptom of heart failure (Symptoms) | int64 |
| cc_dyspnea | Dyspnea, a sensation of running out of air or shortness of breath (Symptoms) | int64 |
| cc_edema | Edema, swelling caused by fluid inside body tissues (Symptoms) | int64 |
| cc_hypertension | Hypertension, high blood pressure as symptoms (Symptoms) | int64 |
| cc_legswelling | Leg swelling caused by fluid build-up (Symptoms) | int64 |
| cc_palpitations | Heart Palpitations, feelings of having a fast-beating or pounding heart (Symptoms) | int64 |
| cc_tachycardia | Tachycardia, increased heart rate (Symptoms) | int64 |
| cc_wheezing | Wheezing is a sign of a breathing problem (Symptoms) | int64 |
| triage_target | Target columns with triage values derived from the above fields. | int64 |
3.5. Model Selection and Training
4. Results and Analysis
4.1. Analysing Results of XGBoost
4.2. Comparison of XGBoost Results with Other Classification Algorithms
5. Discussion and Conclusion
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Grosios, K.; Gahan, P. B.; Burbidge, J. Overview of Healthcare in the UK. EPMA Journal 2010, 1 (4), 529–534. [CrossRef]
- NHS England. What are community health services. Available online: https://www.england.nhs.uk/community-health-services/what-are-community-health-services/ (accessed on 23 October 2023).
- The Community Network. Aligning primary and community care Bromley Healthcare. Available online: https://www.nhsconfed.org/case-studies/aligning-primary-and-community-care (accessed on 23 October 2023).
- Kay, L.; Lanyon, P. Rheumatology GRIFT Programme National Specialty Report Available online: https://gettingitrightfirsttime.co.uk/medical_specialties/rheumatology/ (accessed on 23 October 2023).
- Wang, B.; Li, W.; Bradlow, A.; Bazuaye, E.; Chan, A. T. Y. Improving Triaging from Primary Care into Secondary Care Using Heterogeneous Data-Driven Hybrid Machine Learning. Decision Support Systems 2022, 113899. [CrossRef]
- Kim, D.; Hayhoe, B.; Aylin, P.; Bottle, A. Health Service Use by Community-Dwelling Patients with Heart Failure in Northwest London, 2015–18: A Retrospective Cohort Analysis. The Lancet 2019, 394, S64. [CrossRef]
- Battineni, G.; Sagaro, G. G.; Chinatalapudi, N.; Amenta, F. Applications of Machine Learning Predictive Models in the Chronic Disease Diagnosis. Journal of Personalized Medicine 2020, 10 (2). [CrossRef]
- Cannon, C. P.; Battler, A.; Brindis, R. G.; Cox, J. L.; Ellis, S. G.; Every, N. R.; Flaherty, J. T.; Harrington, R. A.; Krumholz, H. M.; Simoons, M. L.; et al. American College of Cardiology Key Data Elements and Definitions for Measuring the Clinical Management and Outcomes of Patients with Acute Coronary Syndromes A report of the American College of Cardiology Task Force on Clinical Data Standards (Acute Coronary Syndromes Writing Committee) Endorsed by the American Association of Cardiovascular and Pulmonary Rehabilitation, American College of Emergency Physicians, American Heart Association, Cardiac Society of Australia & New Zealand, National Heart Foundation of Australia, Society for Cardiac Angiography and Interventions, and the Taiwan Society of Cardiology. Journal of the American College of Cardiology 2001, 38 (7), 2114–2130. [CrossRef]
- NHS England. Purpose of the GP Electronic Health Records Available online: https://www.england.nhs.uk/long-read/purpose-of-the-gp-electronic-health-record/ (accessed on 26 October 2023).
- Peta, D.; Day, A.; Lugari, W. S.; Gorman, V.; Ahayalimudin, N.; Pajo, V. M. T. Triage: A Global Perspective. Journal of Emergency Nursing 2023, 49 (6), 814–825. [CrossRef]
- Moxham, L.; McMahon-Parkes, K. An Evaluation of the Impact of Advanced Nurse Practitioner Triage and Clinical Intervention for Medically Expected Patients Referred to an Acute National Health Service Hospital. Journal of Clinical Nursing 2020, 29 (19-20), 679–3686. [CrossRef]
- Jennings, N.; Clifford, S.; Fox, A. R.; O’Connell, J.; Gardner, G. The Impact of Nurse Practitioner Services on Cost, Quality of Care, Satisfaction and Waiting Times in the Emergency Department: A Systematic Review. International Journal of Nursing Studies 2015, 52 (1), 421–435. [CrossRef]
- Woo, B. F. Y.; Lee, J. X. Y.; Tam, W. W. S. The Impact of the Advanced Practice Nursing Role on Quality of Care, Clinical Outcomes, Patient Satisfaction, and Cost in the Emergency and Critical Care Settings: A Systematic Review. Human Resources for Health 2018, 15 (1), 1–22. [CrossRef]
- SQUIRE. Revised Standards for Quality Improvement Reporting Excellence SQUIRE 2.0. Available online: https://www.squire-statement.org/index.cfm?fuseaction=Page.ViewPage&PageID=471 (accessed on 28 October 2023).
- Göransson, M.; Persson, A.-C.; Abelsson, A. Triage in Primary Healthcare. Nordic Journal of Nursing Research 2020, 40 (4), 213–220. [CrossRef]
- Eccles, A.; Hopper, M.; Turk, A.; Atherton, H. Patient Use of an Online Triage Platform: A Mixed-Methods Retrospective Exploration in UK Primary Care. British Journal of General Practice 2019, 69 (682), e336–e344. [CrossRef]
- Raita, Y.; Goto, T.; Faridi, M. K.; Brown, D. F. M.; Camargo, C. A.; Hasegawa, K. Emergency Department Triage Prediction of Clinical Outcomes Using Machine Learning Models. Critical Care 2019, 23 (1). [CrossRef]
- Levin, S.; Toerper, M.; Hamrock, E.; Hinson, J. S.; Barnes, S.; Gardner, H.; Dugas, A.; Linton, B.; Kirsch, T.; Kelen, G. Machine-Learning-Based Electronic Triage More Accurately Differentiates Patients with Respect to Clinical Outcomes Compared with the Emergency Severity Index. Annals of Emergency Medicine 2018, 71 (5), 565-574.e2. [CrossRef]
- Rokach, L. Ensemble-Based Classifiers. Artificial Intelligence Review 2009, 33 (1-2), 1–39. [CrossRef]
- Austin, P. C.; Tu, J. V.; Ho, J. E.; Levy, D.; Lee, D. S. Using Methods from the Data-Mining and Machine-Learning Literature for Disease Classification and Prediction: A Case Study Examining Classification of Heart Failure Subtypes. Journal of Clinical Epidemiology 2013, 66 (4), 398–407. [CrossRef]
- Gelo, O.; Braakmann, D.; Benetka, G. Quantitative and Qualitative Research: Beyond the Debate. Integrative Psychological and Behavioral Science 2008, 42 (3), 266–290. [CrossRef]
- Ahmad, S.; Wasim, S.; Irfan, S.; Gogoi, S.; Srivastava, A.; Farheen, Z. Qualitative V/S. Quantitative Research - a Summarized Review. Journal of Evidence Based Medicine and Healthcare2019, 6 (43), 2828–2832. [CrossRef]
- Hong, W. S.; Haimovich, A. D.; Taylor, R. A. Predicting Hospital Admission at Emergency Department Triage Using Machine Learning. PLOS ONE 2018, 13 (7), e0201016. [CrossRef]
- Edelmann, F. Epidemiology and prognosis of heart failure. Herz 2015, 40 (2), 176–184. [CrossRef]
- Coats, A. J. S. Ageing, Demographics, and Heart Failure. European Heart Journal Supplements 2019, 21 (Supplement_L), L4–L7. [CrossRef]
- Sanchis-Gomar, F.; Perez-Quilis, C.; Leischik, R.; Lucia, A. Epidemiology of Coronary Heart Disease and Acute Coronary Syndrome. Annals of Translational Medicine 2016, 4 (13), 256–256. [CrossRef]
- Boateng, S.; Sanborn, T. Acute Myocardial Infarction. Disease-a-Month 2013, 59 (3), 83–96. [CrossRef]
- Plummer, C.; Driessen, C.; Szabo, Z.; Mateos, M.-V. Management of Cardiovascular Risk in Patients with Multiple Myeloma. 2019, 9 (3). [CrossRef]
- Udovcic, M.; Pena, R. H.; Patham, B.; Tabatabai, L.; Kansara, A. Hypothyroidism and the Heart. Methodist DeBakey Cardiovascular Journal 2017, 13 (2), 55–59. [CrossRef]
- Ahlers, M. J.; Lowery, B. D.; Farber-Eger, E.; Wang, T. J.; Bradham, W.; Ormseth, M. J.; Chung, C. P.; Stein, C. M.; Gupta, D. K. Heart Failure Risk Associated with Rheumatoid Arthritis–Related Chronic Inflammation. Journal of the American Heart Association 2020, 9 (10). [CrossRef]
- Lalande, S.; Johnson, D. B. Diastolic Dysfunction: A Link between Hypertension and Heart Failure. Drugs of Today 2008, 44 (7), 503. [CrossRef]
- Komajda, M. Heart Rate in Chronic Heart Failure: An Overlooked Risk Factor. European Heart Journal 2014, 36 (11), 648–649. [CrossRef]
- Raphael, C. E.; Whinnett, Z. I.; Davies, J. E.; Fontana, M.; Ferenczi, E. A.; Manisty, C. H.; Mayet, J.; Francis, D. P. Quantifying the Paradoxical Effect of Higher Systolic Blood Pressure on Mortality in Chronic Heart Failure. Heart 2009, 95 (1), 56–62. [CrossRef]
- Tsujimoto, T.; Kajio, H. Low Diastolic Blood Pressure and Adverse Outcomes in Heart Failure with Preserved Ejection Fraction. International Journal of Cardiology 2018, 263, 69–74. [CrossRef]
- Forleo, G. B.; Santini, L.; Campoli, M.; Malavasi, M.; Scaccia, A.; Menichelli, M.; Riva, U.; Lamberti, F.; Carreras, G.; Orazi, S.; et al. Long-Term Monitoring of Respiratory Rate in Patients with Heart Failure: The Multiparametric Heart Failure Evaluation in Implantable Cardioverter-Defibrillator Patients (MULTITUDE-HF) Study. Journal of Interventional Cardiac Electrophysiology: An International Journal of Arrhythmias and Pacing 2015, 43 (2), 135–144. [CrossRef]
- Masip, J.; Gayà, M.; Páez, J.; Betbesé, A.; Vecilla, F.; Manresa, R.; Ruíz, P. Pulse Oximetry in the Diagnosis of Acute Heart Failure. Revista Española de Cardiología (English Edition) 2012, 65(10), 879–884. [CrossRef]
- NHS England. Symptoms Heart Failure. Available online: https://www.nhs.uk/conditions/heart-failure/symptoms/ (accessed on 28 October 2023).
- Hauke, J.; Kossowski, T. Comparison of Values of Pearson’s and Spearman’s Correlation Coefficients on the Same Sets of Data. Quaestiones Geographicae 2011, 30 (2), 87–93. [CrossRef]
- Borzecki, A.; Glickman, M.; Kader, B.; Berlowitz, D. The Effect of Age on Hypertension Control and Management. American Journal of Hypertension 2006, 19 (5), 520–527. [CrossRef]
- Nargesian, F.; Samulowitz, H.; Khurana, U.; Khalil, E. B.; Turaga, D. Learning Feature Engineering for Classification. Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence 2017, 17, 2529-2535. [CrossRef]
- Welch, J.; Dean, J.; Hartin, J. Using NEWS2: An Essential Component of Reliable Clinical Assessment. Clinical Medicine 2022, 22 (6), 509–513. [CrossRef]
- Royal College of Physicians. National Early Warning Score (NEWS) 2. Available online: https://www.rcplondon.ac.uk/projects/outputs/national-early-warning-score-news-2 (accessed on 3 November 2023).
- Scikit Learn. Preprocessing Data. Available online: https://scikit-learn.org/0.15/modules/preprocessing.html#normalization (acccessed on 5 November 2023).
- Azmi, S.S.; Baliga, S. An overview of boosting decision tree algorithms utilising AdaBoost and XGBoost boosting strategies, Int. Res. J. Eng. Technol, 2020, 7(5).
- Swaminathan, S.; Qirko, K.; Smith, T.; Corcoran, E.; Wysham, N. G.; Bazaz, G.; Kappel, G.; Gerber, A. N. A Machine Learning Approach to Triaging Patients with Chronic Obstructive Pulmonary Disease. PloS One 2017, 12 (11), e0188532. [CrossRef]
- IBM. What is the k-nearest neighbors (KNN) algorithm? Available online: https://www.ibm.com/topics/knn (accessed on 10 November 2023).




| Measure | Class 0 | Class 1 | Class 2 | Derivations |
|---|---|---|---|---|
| Sensitivity | 1.0000 | 0.9966 | 0.9909 | TPR = TP / (TP + FN) |
| Specificity | 0.9970 | 0.9998 | 1.0000 | SPC = TN / (FP + TN) |
| Precision | 0.9996 | 0.9987 | 0.9977 | PPV = TP / (TP + FP) |
| Negative Predictive Value | 0.9998 | 0.9996 | 0.9998 | NPV = TN / (TN + FN) |
| False Positive Rate | 0.0030 | 0.0002 | 0.0000 | FPR = FP / (FP + TN) |
| False Discovery Rate | 0.0004 | 0.0013 | 0.0023 | FDR = FP / (FP + TP) |
| False Negative Rate | 0.0000 | 0.0034 | 0.0091 | FNR = FN / (FN + TP) |
| Accuracy | 0.9996 | 0.9995 | 0.9998 | ACC = (TP + TN) / (P + N) |
| F1-score | 0.9998 | 0.9976 | 0.9943 | F1 = 2TP / (2TP + FP + FN) |
| Measure | KNN | GNB | DTC | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Class 0 | Class 1 | Class 2 | Class 0 | Class 1 | Class 2 | Class 0 | Class 1 | Class 2 | |
| Sensitivity | 0.9973 | 0.8582 | 0.2699 | 0.9100 | 0.8245 | 0.5683 | 0.9995 | 0.9883 | 0.9237 |
| Specificity | 0.8278 | 0.9907 | 0.9989 | 0.8748 | 0.9388 | 0.9641 | 0.9951 | 0.9984 | 0.9989 |
| Precision | 0.9750 | 0.9197 | 0.8258 | 0.9800 | 0.6260 | 0.2308 | 0.9993 | 0.9870 | 0.9408 |
| Negative Predictive Value | 0.9787 | 0.9825 | 0.9863 | 0.5903 | 0.9773 | 0.9916 | 0.9966 | 0.9985 | 0.9986 |
| False Positive Rate | 0.1722 | 0.0093 | 0.0011 | 0.1252 | 0.0612 | 0.0359 | 0.0049 | 0.0016 | 0.0011 |
| False Discovery Rate | 0.0250 | 0.0803 | 0.1742 | 0.0200 | 0.3740 | 0.7692 | 0.0007 | 0.0130 | 0.0592 |
| False Negative Rate | 0.0027 | 0.1418 | 0.7301 | 0.0900 | 0.1755 | 0.4317 | 0.0005 | 0.0117 | 0.0763 |
| Accuracy | 0.9754 | 0.9760 | 0.9854 | 0.9054 | 0.9261 | 0.9567 | 0.9989 | 0.9973 | 0.9975 |
| F1-score | 0.9860 | 0.8879 | 0.4069 | 0.9437 | 0.7117 | 0.3283 | 0.9994 | 0.9876 | 0.9322 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).