The growing need for accessible and efficient healthcare services has driven the creation of intelligent systems that can predict diseases in their early stages. This paper introduces an AI-enhanced smart healthcare system designed to predict multiple diseases based on symptoms reported by users. The system is built using React.js and JavaScript, and it relies on a structured JSON dataset that includes disease names, symptoms, causes, medicines, and risk levels. It matches user-provided symptoms with existing disease records, computes symptom similarity scores, and shows the most likely disease along with related health details. The system also includes user authentication and a record of previous predictions to ensure ease of access and better data management. The evaluation dashboard indicates that the system achieved a validation accuracy of 96.82%, macro-precision of 96.48%, macro-recall of 95.69%, and a macro F1-score of 95.54% over 12,060 test cases. This represents a significant improvement from the previous project\'s validation accuracy of 80.26%, showing an increase of 16.56 percentage points. The study also outlines the potential of 5G communication for enhancing connected healthcare services and Grover’s quantum search algorithm for future optimization in search processes. However, these technologies are currently conceptual and the system still relies on conventional JavaScript-based symptom matching. The objective of the system is to provide users with a user-friendly interface for accessing initial health information. However, it is explicitly stated that its predictions should not be used as a substitute for professional medical diagnosis or treatment.
Introduction
This paper presents an AI-Assisted Smart Healthcare System for Multi-Symptom Disease Prediction designed to help users obtain preliminary health information by identifying possible diseases based on multiple symptoms. The system addresses the difficulty of recognizing health conditions that share similar symptoms by comparing user-entered symptoms with a structured disease dataset.
The application is developed using React.js, JavaScript, CSS, and a JSON dataset containing disease names, symptoms, possible causes, medication information, and risk levels. It identifies the closest matching disease and displays a symptom-match score along with relevant medical information. The system also includes user registration, login, a patient dashboard, and prediction history using browser Local Storage.
The proposed system consists of five main modules:
User Authentication: Allows users to register, log in, and access the healthcare dashboard.
Symptom Input: Collects and processes multiple symptoms entered by users.
Disease Prediction: Compares entered symptoms with stored disease records and identifies the closest match.
Results and History: Displays predicted diseases, possible causes, medication details, risk levels, and previous predictions.
Performance Evaluation: Assesses system performance using accuracy, precision, recall, and F1-score.
The evaluation dashboard reports 96.82% validation accuracy, 96.48% macro-precision, 95.69% macro-recall, and 95.54% macro F1-score across 12,060 test cases. These results indicate promising performance on the evaluated dataset, although independent clinical validation is required before establishing medical reliability.
The project also explores future enhancements, including 5G communication for improved healthcare connectivity, machine-learning-based disease prediction, and Grover's quantum search algorithm for advanced search applications. These technologies are conceptual extensions and are not implemented in the current prototype.
Conclusion
This paper presents an AI-assisted smart healthcare system for multi-symptom disease prediction using React.js, JavaScript, and a structured JSON dataset. The application compares user-entered symptoms with stored disease records and displays the closest matching disease, associated information, risk level, and match score. The evaluation dashboard reports 96.82% validation accuracy, 96.48% macro-precision, 95.69% macro-recall, and a 95.54% macro F1-score across 12,060 test cases. These results indicate promising performance under the reported evaluation conditions. The system also provides user authentication and prediction history for convenient access. Although 5G communication and Grover’s quantum search algorithm are considered potential future enhancements, they are not implemented in the current prototype. Further work will focus on independent validation, improved prediction methods, and stronger data privacy. The system is intended to support preliminary health awareness and does not replace professional medical diagnosis or treatment.
References
[1] J. McCarthy, “What is artificial intelligence?” Stanford University, 2007.
[2] L. K. Grover, “A fast quantum mechanical algorithm for database search,” in Proceedings of the 28th Annual ACM Symposium on Theory of Computing, 1996, pp. 212–219.
[3] “An AI-assisted smart healthcare system using 5G communication,” IEEE Access, vol. 11, 2023.
[4] A. Moglia, K. Georgiou, B. Marinov, E. Georgiou, R. N. Berchiolli, R. M. Satava, and A. Cuschieri, “5G in healthcare: From COVID-19 to future challenges,” IEEE Journal of Biomedical and Health Informatics, vol. 26, no. 8, pp. 4187–4196, 2022.
[5] N. Taimoor and S. Rehman, “Reliable and resilient AI and IoT-based personalised healthcare services: A survey,” IEEE Access, vol. 10, 2022.
[6] World Health Organization, Ethics and Governance of Artificial Intelligence for Health: WHO Guidance. Geneva, Switzerland: WHO, 2021.
[7] World Health Organization, Regulatory Considerations on Artificial Intelligence for Health. Geneva, Switzerland: WHO, 2023.
[8] S. Gilbert et al., “How accurate are digital symptom assessment apps for suggesting conditions and urgency advice? A clinical vignettes comparison to GPs,” BMJ Open, vol. 10, no. 12, Art. no. e040269, 2020.
[9] M. A. Gianfrancesco et al., “Potential biases in machine learning algorithms using electronic health record data,” JAMA Internal Medicine, vol. 178, no. 11, pp. 1544–1547, 2018.
[10] B. A. Goldstein et al., “Opportunities and challenges in developing risk prediction models with electronic health records data: A systematic review,” Journal of the American Medical Informatics Association, vol. 24, no. 1, pp. 198–208, 2017.
[11] I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. Cambridge, MA, USA: MIT Press, 2016.
[12] C. M. Bishop, Pattern Recognition and Machine Learning. New York, NY, USA: Springer, 2006.
[13] T. Hastie, R. Tibshirani, and J. Friedman, The Elements of Statistical Learning: Data Mining, Inference, and Prediction, 2nd ed. New York, NY, USA: Springer, 2009.
[14] S. Raschka, Y. Liu, and V. Mirjalili, Machine Learning with PyTorch and Scikit-Learn. Birmingham, U.K.: Packt Publishing, 2022.
[15] R. S. Sutton and A. G. Barto, Reinforcement Learning: An Introduction, 2nd ed. Cambridge, MA, USA: MIT Press, 2018.
[16] M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed. Cambridge, U.K.: Cambridge University Press, 2010.
[17] A. Montanaro, “Quantum algorithms: An overview,” npj Quantum Information, vol. 2, Art. no. 15023, 2016.
[18] 3GPP, NR; Overall Description; Stage-2, Technical Specification 38.300, 3rd Generation Partnership Project.