key: cord-0799315-4dqj2dbh authors: Bilandi, Naveen; Verma, Harsh K.; Dhir, Renu title: An Intelligent and Energy-Efficient Wireless Body Area Network to Control Coronavirus Outbreak date: 2021-02-26 journal: Arab J Sci Eng DOI: 10.1007/s13369-021-05411-2 sha: e1276ab5567e81e730d053e21e9f5b16559f0185 doc_id: 799315 cord_uid: 4dqj2dbh The coronaviruses are a deadly family of epidemic viruses that can spread from one individual to another very quickly, infecting masses. The literature on epidemics indicates that the early diagnosis of a coronavirus infection can lead to a reduction in mortality rates. To prevent coronavirus disease 2019 (COVID-19) from spreading, the regular identification and monitoring of infected patients are needed. In this regard, wireless body area networks (WBANs) can be used in conjunction with machine learning and the Internet of Things (IoT) to identify and monitor the human body for health-related information, which in turn can aid in the early diagnosis of diseases. This paper proposes a novel coronavirus-body area network (CoV-BAN) model based on IoT technology as a real-time health monitoring system for the detection of the early stages of coronavirus infection using a number of wearable biosensors to examine the health status of the patient. The proposed CoV-BAN model is tested with five machine learning-based classification methods, including random forest, logistic regression, Naive Bayes, support vector machine and multi-layer perceptron classifiers, to optimize the accuracy of the diagnosis of COVID-19. For the long-term sustainability of the sensor devices, the development of energy-efficient WBAN is critical. To address this issue, a long-range (LoRa)-based IoT program is used to receive biosensor signals from the patient and transmit them to the cloud directly for monitoring. The experimental results indicate that the proposed model using the random forest classifier outperforms models using the other classifiers, with an average accuracy of 88.6%. In addition, power consumption is reduced when LoRa technology is used as a relay node. As humanity aspires and marches towards a better life, several concerns pose serious challenges. Human health is one such concern and undoubtedly poses the most difficult challenge of all. Although medical science and technology have made great progress, resulting in remarkable improvements to health care systems worldwide, health disorders appear far more prevalent than ever. Cardiovascular and respiratory diseases affect large portions of the population. In addition, the incidence of diabetes, hyperthyroidism, cancer, etc. is growing rapidly, much to the concern of everyone in the health care industry. These diseases are still manageable since they have been around for many years. However, pandemics hit human health and the health care system worst because they are infectious, and the development of a cure/vaccines is a time-consuming process that results in high costs in terms of both resources and human lives. According to a 2016 survey from the World Health Organization (WHO), "various coronaviruses" [1] have been found in the past decade, e.g. SARS-CoV, which had an outbreak from 2002 to 2003 [2] , HCoV-HKU1 and HCoV-NL63, isolated in 2004 [3] , and MERS-CoV, isolated in 2012 [4] . Figure 1 represents contagious disease in terms of death percentage from https ://www.who.int/. In this scenario, a technology that can detect early symptoms of a disease is most desired as it can ensure the safety of the susceptible persons. Whenever we think of mass deaths, either natural calamities or lethal weapons come to mind. However, another deadly and far more dangerous enemy because of its size and enigmatic nature is viruses. In recent months, the world has seen how a minuscule organism called Coronavirus can push the entire human race to the verge of extinction. Coronavirus is a lethal contagious virus that travels very fast. [1] . The infected person has symptoms of the common cold, cough, fever, nausea, body pain, difficulty breathing, sore throat, etc. [5] . In 2002-2003, a virus similar to corona called SARS [6] affected the world on an epidemic. In the case of SARS, the source was a bat and pangolins. MERS [7] is another similar type of coronavirus which spreads in the Middle East during the year(s) 2012-2013. Corona is of a new type. It was first detected in the seafood market in Wuhan city of China on 31 December 2019. The present virus has been named as 2019-nCoV (novel coronavirus); the word novel means new. This virus is so unique that the researchers could not even think of a name. Coronavirus is zoonotic, meaning it is transmitted between animals and humans (animals suffer from respiratory, gastrointestinal, cardiovascular and neurological diseases). Subsequently, this virus spreads through human-to-human contact or exposure to a person suffering from this virus. The rate of fatality and an infected person from COVID-19 is shown in Fig. 2 from https ://www.who.int/. It particularly needs time when the coronavirus increase has led to an epidemic where potential suspects are quarantined at isolated places. This poses an immediate threat to doctors and health care professionals who are in the vicinity of infected patients. Once patient treatment is started, real-time monitoring of his or her health can be performed from a distance using a WBAN without the need to replace health care professionals in the close vicinity of the patient. WBANs are a recent technology that can transmit the real-time health status of the patient and observe and transmit health-related data to a server. The present study makes use of a WBAN integrated with machine learning and the IoT to improve the efficiency of the WBAN in the diagnosis of diseases and to monitor patient health data by WBAN using machine learning is one of the talented tools that has many varieties of applications for the e-health care sector [8] . The proposed model is to detect whether an individual is suffering from COVID-19 or common cold based on the symptoms. The model is primarily based on the continuous observation of patients suffering from COVID-19. The main functions of the proposed machine learning model are to collect data of essential body symptoms such as temperature, respiratory and oxygen levels from the cloud and classify the user (patient) on their basis in the following two categories: (i) COVID (User Infected with coronavirus), (ii) common cold (User having common cold). In the final step, continuous monitoring of COVID-19 infected persons is undertaken by the proposed IoT-based CoV-BAN model. For this purpose, logistic regression, Naive Bayes, random forest, support vector machine and multi-layer perceptron algorithm are used for calculating the user's level of infection. WBAN belongs to category of continuous health monitoring systems known as external monitoring health care systems (eHealth), which are used to perform local monitoring and controlling. These systems aim at treating the sick without their having required to visit the hospitals frequently. Obviously, it saves precious time and emergency situations can be avoided. The main challenge in WBAN is energy consumption as biosensors suffer from charge leaking problem so they need to replace after a certain period if biosensors are implanted inside the body; otherwise, they need to be recharged. This paper demonstrates a CoV-WBAN framework of the energy-efficient IoT model for the real-time health monitoring system for detection of an early stage of Coronavirus, which uses the three wearable biosensors such as temperature, pulse and pressure sensor to examine the health status of the patient. These biosensors generate biomedical signals including body temperature, data related to respiratory symptoms and oxygen levels. This model consists of Arduino, MySignals hardware programmed to receive the biosensor signals and transmit these to the cloud through low-power LoRa technology with minimal consumption of energy. A cloud server is used to collect, manage and transfer data, while back-end servers are responsible for demonstrating real-time data for the simulation and monitoring of the patients. The present section highlights the contribution of various researches employing WBAN in medical diagnosis and health care applications using machine learning-based classification with IoT. Related work is divided into two sections which are related to coronavirus disease 2019 pandemic and integration of machine learning and IoT in WBAN. Coronavirus disease 2019 (COVID-19), first identified in Wuhan, China, is caused by SARS-CoV-2. Due to the rapid spread of this virus across international borders, the WHO declared the COVID-19 outbreak a pandemic on 11 March 2020. A total of 1,279,722 COVID-19 cases have been reported globally according to the WHO as of 7 April 2020 as shown in Fig. 2 . Huang et al. [9] presented a case study of the outbreak curves of COVID-19 cases from 23 January 2020 to 11 February 2020 in mainland China. They found significant differences in the ratio of cure and mortality between high-and low-income regions. Sun et al. [10] presented case study of pandemic coronavirus outbreak and analyse infectious disease knowledge about COVID-19. Driggin et al. [11] presented the evaluation of the clinicianreviewed and preprint research referring to COVID-19. Shi et al. [12] detailed study of imaging feature of CT scan and combine the clinical laboratory results may help diagnose COVID-19 pneumonia at early stage. Thevarajan et al. [13] contribute the novelty to identifying the scope and kinetics of immune responses during a non-serious COVID-19 case. In recent years, many wireless body area network-based systems have been developed for e-health monitoring. The present section highlights the contribution of various studies employing WBAN in medical diagnosis and health care. Notably, several outbreaks in recent years have led to increased attention to machine learning, IoT, cloud computing and WBAN. Zhou et al. [14] presented a case study on the diagnosis of COVID-19 using univariable and multivariable logistic regression. Additional examples include studying the Ebola virus outbreak using the J48 decision tree algorithm [15] , the chikungunya outbreak using Fuzzy C-means clustering [16] , the Zika virus outbreak using the fuzzy k-nearest neighbour algorithm [17] , the MERS-CoV infection outbreak using a Bayesian belief network [18] and a pneumonia outbreak using a deep-learning framework [19, 20] . Punj et al. [21] presented a small overview of IoT functionality and its affiliation with the sensing and wireless techniques to implement the health care products in WBAN. Various machine learning algorithms for real-time health diagnosis application in WBAN were presented by [22, 23] . In [24] , the authors gave a brief overview of 3D model wearable network. In [25, 26] , the authors presented a detailed study on recently developing technologies machine learning, IoT, cloud computing android-based e-health applications and analysed the trials in designing a good health care system to make early-stage detection of disease and its diagnosis. Yang Z et al. [27] presented a wearable ECG monitoring system based on IoT to display the real-time ECG of the patient. Varatharajan et al. [28] proposed a DTW (dynamic time warping) algorithm for monitoring the gait signals for infected by Alzheimer's disease. Ramano et al. [29] proposed a prototype named as WEALTHY for health monitoring. It has a textile-based wearable interface and appropriate for gathering the information of biomedical like respiration rate, ECG activity, temperature and oxygen saturation level. Boulis et al. [30] presented a wireless system based on Internet of Things, which is used to deal with management problems and remote health diagnosis. The system consists of sensing, transferring, warehouse and applying on different functions for diagnosing the current health status and access the system anytime. Romero et al. [31] presented an efficient IoT approach based on computational intelligence for diagnosing Parkinson's disease by using wearable devices for health care. This system focused on the acquisition of data and processing of signals for monitoring and continuous analysis through the wearable sensors. Shaaby et al. [32] detailed the study of machine learning models for health care. Guezguez et al. [33] proposed cloud-based WBAN model for health applications. Soliman et al. [34] presented a brief overview of the risk factor in Saudi Arab during a mass gathering in pilgrimage like Hajj and Umrah Pilgrim to control the MERS-COV. The techniques are summarized in Table 1 in terms of their advantages and disadvantages. The architecture of the proposed CoV-BAN model is delineated in Fig. 3 . It consists of three parts: i. Part I Smart health device ii. Part II Diagnosis using machine learning Considers less generative adversarial network scenarios and training [42] iii. Part III Monitoring through IoT-WBAN Part I The user registers with the system via a mobile application using some personal details, including name, mobile number, date of birth, address, etc. After registering, the user can optionally enter the details of his or her symptoms, such as breathing or muscle issues, high fever, cough and stomach issues, or indicate that he or she is asymptomatic. The coronavirus symptoms and their respective responses are shown in Table IV . All the user's personal and healthrelated information is stored in the cloud database. The CoV-BAN model collects data from the cloud to determine whether a person is suffering from COVID-19 or the common cold. If the model indicates that the user is infected with COVID-19, three biosensors from the IoT-WBAN are fitted to the body of the user for continuous monitoring, as shown in Fig. 3 . Part III In this part, three biosensors, i.e. temperature sensor, pulse sensor and pressure sensor are connected to Arduino Uno and MySignals hardware kit and both devices are directly connected with long-range (LoRa) technology. The module SX1272 LoRa has to be linked to the Arduino, allowing transmissions with another module SX1272 LoRa. All health-related information sent to the patient's private account at cloud through Wi-Fi (ESP 8266). All health-related information can be visualized on a mobile phone or personal digital assistant with Android or iPhone apps. A cloud application programming interface provides access to the user's private account, previously stored on a medical server. The proposed model monitors and regularly checks the user until he or she recovers. Algorithm 1 shows the tasks performed by the proposed model for the diagnosis and monitoring of COVID-19 patients. Table 2 displays the list of abbreviations used in the description and development of the proposed model. This component is utilized to gather individual data and significant disease symptoms. Data of 493 COVID infected patients and 206 common cold patients are collected with their symptoms from cloud, and a random forest model is developed using that data. After that, every new user registers with the system by providing the personal details with symptoms and proposed machine learning model is predicted as COVID patient or common cold infected (Tables 3, 4 ). Algorithm to generate synthetic dataset: 1. This component classifies the user based on the symptoms entered into two categories: i. COVID (User Infected with coronavirus). ii. Common cold (User having a common cold). Classification is done by the random forest algorithm using a tenfold CV (cross-validation). A tree-based algorithm is utilized that provides visuals of the classification of given symptoms. As given in Fig. 4 generated by Weka 3.8.4, each client is categorized as COVID (Coronavirus Infected) or common cold. The main attribute that identifies the difference is breathing issues. If a person is having breathing problems, high fever and cough, then there are very high chances that the user is COVID infected. Coronavirus infected people require monitoring for 15-20 days under the proposed CoV-BAN model with the help of the health department. This paper demonstrates a framework of the energy-efficient IoT-based WBAN model for real-time health monitoring system, which uses the number of wearable biosensors to examine the health status of the patient. These biosensors generate biomedical signals, including body temperature, data related to respiratory symptoms and oxygen levels, as shown in Fig. 3 It is utilized to provide observations to a set of classes. It changes the yield using logistic sigmoid function to return a likelihood value [44] . A minimized cost function ( h ( ) ) is developed for accurate classification as Eq. (1) and simultaneously update all θ_j in Eq. (2). To minimize the cost function, gradient descent is run on each parameter as per following Eq. (2). delivers powerful features like long range, low power consumption and safe data transmission for IoT-WBAN applications. In the proposed model, LoRa-based devices work on a module that communicates to a location called a LoRa gateway. A LoRa gateway is used as a relay node to provide the connection between the IoT-BAN model and the network server [43] . The architecture of LoRa technology for the proposed model is displayed in Fig. 5 . Naive Bayes is a probabilistic machine learning algorithm that is utilized in several classification problems. The name naive is given because it assumes the features that go in the model are independent of each other [45] as Eq. (3): where P(c|x) is posterior probability, P(x|c) is likelihood, P(c) is class prior probability, and P(x) is predictor prior probability. (3) P(c|x) = P(x|c)P(c) P(x) , A random forest is a machine learning algorithm that fits a number of decision tree classifiers on various sub-samples of the dataset and uses averaging to improve the predictive accuracy and control over-fitting. It is composed of a group of tree-structured classifiers that are independent and identically distributed random vectors, where each tree casts a single vote for the most popular category [46] . The algorithmic model applies the extensive approach of bootstrap aggregating, also called bagging, to the tree learners. Provided training set P = p 1 ,…, p n with responses Q = q 1 ,…, q n bagging continuously (T times) selects an arbitrary sample with substitution of the training set and fits trees to provided samples: For t = 1,…, T: • Sample, with replacement, n training instances P, Q; call these P t , Q t . • The regression tree t will be trained on P t , Q t . After the training process, predictions for concealed samples p′ can be constructed by averaging the predictions from every discrete regression tree on p′. In Eq. (4), is the average sum of predictions from all the individual regression tree on p′. Bagging process guides to better model execution because this reduces the variance of the model. The predictions using a single tree are sensitive to noise present in the training set. On the other hand, the average of many tree is less sensitive to noise if trees are not correlated. Directly training many trees on a single training set will give strongly correlated trees. Furthermore, an estimate of the unreliability of the prediction can be built as to the standard deviation of the predictions from the individual regression samples on p′ as shown in Eq. (5). The count of trees, T, is an independent framework. Usually, a few hundred to several thousand samples are consumed and they depend on the nature and size of the training set. Optimal count of trees T will be found using cross-validation. . After solving the above problems, we can get the subsequent optimal classification function SVM using Eq. (9): where b is the classification threshold, we can get its value from any one of the support vectors, or get its value by taking the average of two categories from any pair of support vector. Support vector machine (SVM) is an advanced methodology for machine learning based on the statistical research hypothesis [47, 48] . Due to excellent advancement and great precision, SVM is used to design a sophisticated classification model. It is based on a restricted count of samples in the information accommodated in the existing training data to get the effective classification results. For the nonlinear distinct case, we can use a nonlinear operator φ(z) to delineate information into a high-dimensional feature space, to develop optimized hyper-plane in feature space. Discriminant function is elucidated as given Eq. (6): Generally, we tend not to realize φ(z) the precise expression, it is troublesome to perceive the distribution and the count of high-dimensional space dimensions after samples mapped to it. In high-dimensional space, the hyper-plane cannot be solved. Since only dot product < z i , z j > is taken into consideration by SVM theory in high-dimensional feature space. The dot product can be specified directly by its correlated kernel function in Eq. (7): With the inner product K z i , z j in place of the dot product in the optimal classification plane, we tend to remodel the initial feature space to a new feature space to obtain a new optimization function using Eq. (8): Multi-layer perceptron (MLP) makes robust classifiers that may layout higher-level execution in contrast with other classifiers but are usually condemned for the count of independent variables [40, 49] . Often, variables are set with the assistance of either a validation set or cross-validation procedures. MLPs are global function approximators; therefore, they will be used to build mathematical models. Classification is a specific example of regression in which the response variable is categorical so that MLPs make an effective classifier. Learning happens in the perceptron by altering connection weights after every piece of information is executed, depends on the number of errors in the output as compared to the anticipated result. Genuine perceptrons are an exceptional example of synthetic neurons that works on the threshold activation function. They can employ random activation functions. A genuine perceptron executes binary classification, MLP neurons are free to either execute regression or classification and rely on the activation function . The two common sigmoid activation functions are described in Eqs. (10) and (11) where x i is the output of the i th neuron and p i is the weighted amount of the input relations. (10) x p i = tanh p i (11) x p i = (1 + e −p i ) −1 , F-measure It is troublesome to compare two or more classifiers with low precision and high recall or vice-versa [45] . So to make them comparable, F-score is utilized. F-score measures Recall and Precision at the same time. The accuracy of several classifications on the basis of the following terms: True Positives (TP) Rate Correctly classified features. Precision Out of all, the positive classes are anticipated accurately, how many are actually positive [45] . Precision is calculated as Eq. (12): Recall Out of all the positive classes, are anticipated accurately. It should be maximized as possible [45] . The recall is calculated as Eq. (13): Accuracy Out of all the classes, are anticipated accurately. It should be maximized as possible. (12) Precision = TP TP + FP . Sensitivity is the degree of the proportion of actual positive stances that got anticipated as positive. Sensitivity is calculated as Eq. (14): where TP = True Positives; FN = False Negatives. Specificity is the measure of a proportion of actual negatives that got predicted as negative. Specificity is calculated as Eq. (15): where TN = True Negatives; FP = False Positives. A precision-recall curve is a graph of the precision (y-axis) vs recall (x-axis) at different thresholds. Error Rate (ERR) Error rate is calculated as the number of all incorrect predictions divided by the total number of the dataset. The best error rate is 0.0, whereas the worst is 1.0. Error rate is calculated as the total number of two incorrect predictions (FN + FP) divided by the total number of a dataset (P + N). MCC is calculated as Eq. (18): Brier Score It is another accuracy metric that aids to understand the accuracy of probabilistic predictions. In other words it explains the correctness of predictions arrived. More the brier score, less the accuracy of model. Brier score is calculated as Eq. (19): The whole architecture of the proposed model is based on RFID (Radio Frequency Identification) technology for transmission by using low-powered SX1272 LoRa, which makes use of continuous intermittent behaviour of biomedical signal to save energy more aggressively. Arduino and MySignals chip, after receiving the readings from the biosensor will correspond to a threshold value set as per norms of COVID-19 symptoms. The pseudocode for energy calculation of proposed CoV-BAN model is shown as Algorithm 7. (19) Brier Score = (Predicted output − Expected output) 2 . The proposed CoV-BAN model is actualized using the following three phases: • Evaluation of data through random forest, logistic regression, Naive Bayes, SVM and MLP classifiers • Calculation of the accuracy of the proposed model in the diagnosis of COVID-19 patients • Performance analysis concerning the energy of the proposed model The greatest effort was spent obtaining COVID patient data. There was an acute shortage of datasets available for the algorithm. Hence, the data were fetched from the cloud using a mobile application, from COVID suspects to train the model and obtain the results. A total of 493 patients were infected with COVID; 390 records indicated fever; 6 records indicated no symptom; 108 records indicated breathing issues is 108; records indicated cough is 242; 108 records indicated muscular issues; 19 records indicated stomach issues; and 16 records indicated headache. Table 5 shows the probability distribution of symptoms. Data of coronavirus is classified into distinctive categories utilizing different classifiers (random forest, logistic regression, Naive Bayes, SVM and MLP) in Weka 3.8.4 as shown in Fig. 4 . To evaluate the efficiency of each classifiers, a tenfold CV is applied. Table 6 shows the confusion matrix for random forest, logistic regression, Naive Bayes, SVM and MLP classifiers with four distinctive combinations of anticipated and actual values. Weka 3.8.4 measures the data and provides different statistical results, as given in Tables 7 and 8. Table 7 indicates the thorough accuracy of every category that is defined by the random forest, logistic regression, Naive Bayes, SVM and MLP shows the percentage of each performance measure and the weighted average is the average of both class attributes at specific weights. It is extremely useful for measuring TP rate (correctly classified by classifier), FP rate (correctly classified by classifier), Recall, Precision, Specificity, Accuracy and especially AUC-ROC Curve. Some advanced parameters like Kappa statistic (KS), Mean absolute error (MAE), Root mean squared error (RMSE), Root relative squared error (RRSE) are also measured. Table 8 shows a detailed summary of random forest, logistic regression, Naive Bayes, SVM and MLP algorithm along with tenfold CV. The significance of the results is measured by precision and recall of the two parameters. The random forest classification algorithm produces a high precision rate of 0.916, as shown in Fig. 6 and high recall rate of 0.886, as shown in Fig. 7 . Figure 8 shows that the random forest has a low error Table 6 Confusion matrix for random forest, logistic regression, Naive Bayes, SVM and MLP Actual a = COVID, b = Common Cold, Total Tuples = 699, TP which means the patients who are actually COVID infected and are predicted COVID infected, FP which means the patients who are having common cold but predicted COVID infected, FN which means the patients who are COVID infected but predicted to have a common cold, TN which means the patients who have common cold and predicted common cold Fig. 7 Recall of each classification algorithm rate, which indicates that it has greater validity in medical diagnosis than the other algorithms. The performance analysis of different classifiers was tested in the Weka tool, as shown in Table 10 . The results indicate that the random forest algorithm produces higher accuracy than other classifiers, as shown in the area under curve (Fig. 9 ). The accuracy of each classification algorithm on the dataset in percentage is shown in Fig. 10 . The performance of the proposed methodology is measured on the basis of various parameters such as sensitivity, specificity and accuracy. Figure 11 clearly shows that the random forest algorithm has the lowest brier score (129.96), and therefore the highest accuracy, among the algorithms. Logistic regression performs the worst on our dataset, while MLP has a similar performance to the random forest. Generally, the quarantine associated with COVID-19 lasts 15 days after departure from the affected area. However, the quarantine period can be extended by the local department of health. Quarantine is used for people who are not sick, but are likely to be infected due to their proximity with the infected. Altogether, all health-related information is gathered by MySignals is encrypted and sent to the private patient account at Cloud using LoRa gateway technology and Wi-Fi (ESP 8266). The real-time graphical representations of assembled data from the temperature sensor, pulse rate and pressure sensor for the proposed model are shown in Fig. 12 . Figures 13 and 14 represent the graph of assembled data from temperature and SpO2 sensor, respectively. The transmission of the nodes through the LoRa energy harvesting module has been evaluated with lower power consumption than wireless communication, HBC Transmission, as shown in Fig. 15 . Since the module has built-in Power Down and Standby modes with the high data rate, it enables RF technology ultra-low-power communication. The analysis of energy consumption of the proposed CoV-BAN is shown in ThingSpeak Cloud. ThingSpeak received power consumption of this model with each timeframe in Watt (W), as shown in Fig. 16 . The total average power consumption of the model is 0.076775 W or 76.775 mW. Hence, the proposed CoV-BAN model is highly energy efficient for monitoring of COVID-19 patients. An additional advantage of wearable devices is their mobility: the user can freely move around without worrying about any damage to the sensors or his health as the Cloud can alert him promptly about any detectable change. Evaluation of proposed method against state-of-the-art methods is given in Table 9 . A case study examines the ability of the proposed CoV-BAN model to monitor the patients remotely. The overall functioning is described above, and this case study gives the actual implementation of our model. It evaluates the model's significance in real time. This case study has the following objectives: Prove the ability of the model in dealing with real patients. Verify the capability of a model to predict the correct infected status of patients Validating that symptoms are enough to predict COVID patients with more than 80\% accuracy. Proving that WBAN is very effective in monitoring for COVID patients. As listed in Table 11 , we will use the proposed model to monitor 4 patients. Systematically considering four patients to test the proposed system and the monitoring period is of 14 days taking readings with WBAN every 8 h. All the patients are in isolation completely. The conditions of the patients are not varying much, but the symptoms of the patients are varying with time. This model is contextualaware as it works in a real-time situation of patients and predicts their health status. As described in the data collection component, each patient enters his/her symptoms. If it is predicted as COVID then the patient is shifted for monitoring using WBAN and if the patient suffers from the common cold then symptoms are collected every 8 h and the patients are kept under quarantine for 14 days, and if every time the symptom is common cold, then the patient is relieved. Symptoms are collected as given in Table 12 and shown that patient 2 was predicted as COVID on 5 April 2020. In this paper, the proposed model used training dataset of 699 patients filling symptoms. Now, the data generated by this case study consist of 85 records having 4 patients' symptoms. The proposed model predicts 3 patients as infected with COVID and 1 with a common cold. As shown in Table 13 , patients 1, 2, 4 are COVID infected, and patient 3 is the common cold, and hence the biosensors resources are utilized only for those who need it. The proposed CoV-BAN model has progressed successfully in classifying patients into various classes with the support of background information, which helps the model to predict the actual health situation and related activities to produce more reliable results. Cost is an essential aspect that needs to be considered into account in determining the economic viability of our proposed model in developing countries. In our proposed model, all simulations were performed on the same computer with stated specifications as described in Table 14 . The proposed model is novel and significant in the following ways: • The prime objective of this paper is to design an intelligent and energy-efficient WBAN model for the early detection and prevention of coronavirus in the very first stages. • Even though many authors have proposed various wireless health monitoring systems using machine learning and IoT for related to virus diseases in WBAN, but they have not reported about the rate of energy consumption in WBAN for monitoring of the COVID-19 patients. In this regard, the proposed model is an intelligent and energy-efficient CoV-BAN system made of a hybrid version of machine learning and IoT. • A random forest classification approach is proposed and compared with four other state-of-the-art classifiers. • A LoRa low-power relay node is responsible for monitoring various parameters, such as temperature, respiratory rate and oxygen level. The LoRa relay node is reported to work with 88.6\% accuracy in the classification of patients into suspected COVID-19 or common cold infection. • The model offers a touch-free doctor-patient interaction, thereby remarkably limiting the number of infections, particularly while dealing with pandemics such as COVID-19. Coronavirus is a contagious disease that has a high mortality rate, as it can be directly transmitted from one person to another. Currently, the early detection and prevention of COVID-19 are of great concern worldwide. In this paper, an intelligent and energy-efficient WBAN model is proposed for the diagnosis and monitoring of COVID-19 patients. A machine learning model is also proposed for classifying patients with either COVID-19 or the common cold. The user submits his or her symptoms to the cloud, and then a random forest model classifies the symptoms and determines whether the user is suffering from COVID-19 or the common cold. If the user is classified as having a COVID-19 infection, the WBAN is fitted to the user's body for continuous monitoring. Because the transmission of signals from the various biosensors to the cloud consumes a large amount of power, energy efficiency is a significant challenge. Therefore, the proposed model uses a LoRa module as a relay node to expertly increase the power efficiency as well as the network life of the WBAN. The LoRa technology acts as an effective medium for data packet transmission, resulting in a more reliable system. The proposed model has an 88.6\% accuracy in classification and reduces power consumption using LoRa technology for the accurate transmission of readings from the biosensors. In the future, various other classification methods can be used to improve accuracy and develop a sustainable energyefficient model for WBAN. Identification of a new human coronavirus Severe acute respiratory syndrome coronavirus-like virus in Chinese horseshoe bats Characterization and complete genome sequence of a novel coronavirus, Coronavirus HKU1, from patients with pneumonia characterization and complete genome sequence of a novel coronavirus, Coronavirus HKU1, from patients with pneumonia Isolation of a Novel Coronavirus from a Man with Pneumonia in Saudi Arabia Middle East respiratory syndrome of the coronavirus study group middle east respiratory syndrome coronavirus (MERS-CoV): announcement of the coronavirus study group identification of a novel coronavirus as a Cause Identification of a novel coronavirus possibly associated with acute respiratory syndrome in alpacas (Vicugna pacos) in California A novel human coronavirus: Middle East respiratory syndrome human coronavirus A survey on wireless body area networks Epidemic characteristics of 2019-nCoV in China Articles Early epidemiological analysis of the coronavirus disease 2019 outbreak based on crowdsourced data: a population-level observational study Cardiovascular considerations for patients, health care workers, and health systems during the coronavirus disease 2019 (COVID-19) Pandemic Articles Radiological findings from 81 patients with COVID-19 pneumonia in Wuhan, China: a descriptive study Breadth of concomitant immune responses prior to patient recovery: a case report of non-severe Clinical course and risk factors for mortality of adult inpatients with COVID-19 in Wuhan, China: a retrospective cohort study IoT-based cloud framework to control Ebola virus outbreak A Fog Based Healthcare Framework for Chikungunya An intelligent and secure system for predicting and preventing Zika virus outbreak using Fog computing An intelligent and secure system for predicting and preventing An intelligent system for predicting and preventing MERS-CoV infection outbreak Identifying pneumonia in chest X-rays: a deep learning approach A novel transfer learning based approach for pneumonia detection in chest x-ray images Technological aspects of WBANs for health monitoring: a comprehensive review Kyasanur forest disease classification framework using novel extremal optimization tuned neural network in fog computing environment Machine learning-based cognitive support system for healthcare A 3D model analysis of mmwave wearable networks A study on medical Internet of Things and Big Data in personalized healthcare system Health-monitoring of pregnant women: design requirements, and proposed reference architecture An IoT-cloud Based Wearable ECG Monitoring System for Smart Healthcare Wearable sensor devices for early detection of Alzheimer disease using dynamic time warping algorithm A healthcare real-time monitoring system for multiple sensors data collection and correlation Wireless body area networks: a survey An IoT approach for integration of computational intelligence and wearable sensors for Parkinson ' s disease diagnosis and monitoring Bad smell detection using machine learning techniques: a systematic literature review A sensor cloud for the provision of secure and QoS-aware healthcare services. Arab Pilgrims and MERS-CoV: what ' s the risk ? Multi-hop WBAN construction for healthcare IoT systems A wearable Bluetooth LE sensor for patient monitoring during MRI scans Wearable health monitoring using capacitive voltage-mode human body communication Dual band RFID-based blood glucose monitoring system in wireless sensor network platform P2P-based open health cloud for medicine management. Peer-to-Peer Netw An IoT based efficient hybrid recommender system for cardiovascular disease. Peer-to-Peer Netw Energy efficient routing algorithm in wireless body area networks for smart wearable patches CovidGAN: data augmentation using auxiliary classifier GAN for improved Covid-19 detection Long-range IoT technologies: the dawn of LoRa Anomaly detection in medical wireless sensor networks using SVM and linear regression models EoT-driven hybrid ambient assisted living framework with Naive Bayes -firefly algorithm IoT and cloud computing based automatic epileptic seizure detection using HOS features based random forest classification A comparative analysis of classification algorithms in data mining for accuracy, speed and robustness Machine learning approaches for boredom classification using EEG MLP modeling for search advertising price prediction Cloud-centric IoT based student healthcare monitoring framework