An IoMT-Enabled Smart Healthcare Model to Monitor Elderly People Using Machine Learning Technique

The Internet of Medical Things (IoMT) enables digital devices to gather, infer, and broadcast health data via the cloud platform. The phenomenal growth of the IoMT is fueled by many factors, including the widespread and growing availability of wearables and the ever-decreasing cost of sensor-based technology. The cost of related healthcare will rise as the global population of elderly people grows in parallel with an overall life expectancy that demands affordable healthcare services, solutions, and developments. IoMT may bring revolution in the medical sciences in terms of the quality of healthcare of elderly people while entangled with machine learning (ML) algorithms. The effectiveness of the smart healthcare (SHC) model to monitor elderly people was observed by performing tests on IoMT datasets. For evaluation, the precision, recall, fscore, accuracy, and ROC values are computed. The authors also compare the results of the SHC model with different conventional popular ML techniques, e.g., support vector machine (SVM), K-nearest neighbor (KNN), and decision tree (DT), to analyze the effectiveness of the result.


Introduction
e Internet of things (IoT) is a system of interrelated computing devices that are provided with unique identifiers (UIDs) and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.
e practical application of IoT devices with medical technology used in healthcare is the IoMT. IoT helps to transfer the data of healthcare devices and applications on medical IT servers for remote analysis. IoMT allows medical staff to access patients' healthcare data remotely through a web platform or any mobile application in real time to deal with patients' medical issues and help them avoid any future severe circumstances. is technology of interconnected medical devices allows the patients to monitor their health conditions following the treatment suggestions of the doctors by engaging in smart devices and applications while creating ease for the doctors to know the medical history of the patients before the checkup through the collection of real-time data using IoMT [1].
In short, healthcare coupled with IoMT improves the quality of life, gives superior care administrations, and can make more cost-effective frameworks. In IoMT, a supportive mechanism between the sensors, communication modules, and users is required to efficiently and securely provide health services. IoMT technology is considered helpful in strengthening healthcare by providing self-care and early diagnosis features using a remote monitoring system. People are becoming more engaged and aware of their well-being as healthcare innovations advance. In this situation, the need for remote treatment is higher than ever. However, existing healthcare systems require technology to transform patient care by providing realtime patient information and encouraging doctors to take practical treatment steps [2].
Health facilities are not accessible or affordable to all, despite having excellent infrastructure and cutting-edge technology. Smart healthcare (SHC) aims to assist users by informing them about their medical conditions and keeping them informed about their health. SHC allows people to handle specific emergencies on their own. SHC employs modern information technology, e.g., IoT, big data, cloud computing, and artificial intelligence (AI), to completely change the current healthcare system into a more efficient and convenient one [3].
SHC promotes interaction among all stakeholders in the medical industry. It ensures that users receive the services they require, assisting parties in making informed decisions and facilitating resource distribution. SHC technology improves disease diagnosis, patient treatment, and overall quality of life. SHC systems based on IoT and big data can link patients with providers across various healthcare systems efficiently. SHC systems are also becoming more linked to different wearable devices used for real-time healthcare surveillance through the Internet. In SHC, wearable health devices (such as blood pressure monitors, glucometers, smartwatches, and so on) combined with IoT gadgets allow for continuous patient surveillance and treatment even when they are at home. e World Health Organization (WHO) predicts that "by 2050, the number of senior citizens will have risen to about 1.5 billion" [4]. e elderly population (including persons older than 60 years) requires the most significant healthcare needs. Elderly people are more vulnerable to chronic diseases because of a decreasing immune system and require regular visits to healthcare facilities and more hospitalizations.
Elderly people move from one level of treatment to another as they age.
ese patients, on the other hand, have limited access to specialized senior care facilities. A multifaceted strategy is essential to avoid health issues in the elderly population. An excellent preventive system that includes routine medical checkups allows for early disease detection and optimal care. Furthermore, older adults and their families should be aware of potential diseases to recognize them and start treatment as soon as possible [5].
Many countries built technologies and communication networks to help people live their lives more efficiently and simply. Many industries drive technology development, which transforms people's lifestyles. A related perspective on the link between technology and aging is technological transition and consumption, emphasizing the aged as active users and co-creators. Smart homes (SHs), smart cities, and mobile apps are examples of developments and innovations to assist the senior population's well-being through generic design. In the case of elderly people, IoMT-enabled SHC is an emerging solution for providing constant and holistic monitoring, reducing human caregiver effort, and assisting in clinical decision making. Rather than being hospitalized, elderly people can be supported using various "smart" devices in their own homes [6]. e SH idea is a viable and cost-effective approach to improve non-intrusive home treatment for seniors, enabling greater independence, ensuring good health, and avoiding social isolation. According to [7], SH solutions are regarded as information-based technology that gathers and disseminates user data with the resident, family members, and primary care physicians in a passive manner. SH solution also refers to using essential and assistive gadgets to create an environment where many house features are automated and devices may connect. SHs assist elderly people in their homes. Sensors and actuators integrated into the housing infrastructure track the occupants' bodily signals, ambient conditions, daily behavior patterns, and sleep patterns, among other things. SHs also have a role in improving people's quality of life. Health and wellness tracking technologies include wearable activity trackers using accelerometers and sensors. ey also include non-wearable, embedded sensor activity monitors to track everyday activities.
An emergency medical service system (EMSS) is a complete system that organizes individuals, facilities, and equipment to offer health and safety services to sufferers of unexpected sickness or injury in a quick, effective, and coordinated way. EMSS aims to provide prompt treatment to sufferers of unexpected and life-threatening accidents to avoid unnecessary fatality or long-term morbidity. With advanced information and communication technologies, EMSS can deliver services that address the requirements of the elderly [8].
Elderly people having a weak immune system require daily checkups to maintain their health. For this purpose, they need to go to the hospitals or clinics, which is the main issue because of the mobility problems faced by elderly people [9]. In this case, SHC can provide the facility to the elderly by continuously monitoring their health without going to the hospital and helping medical experts make efficient decisions about patient health. Despite having this technology there exist some other challenges that restrict the usage of SHC for elderly people's health monitoring. Many senior citizens are reluctant to adopt this technology.
Many senior citizens are unfamiliar with current technology [10], its advantages, and how to use the gadgets and applications. Furthermore, many individuals lack access to training and technical assistance, and their capacity to utilize and manage technological systems is a worry. Other concerns include issues of privacy, protection, and reliability. e cost and use of communication technologies are critical elements in expanding medical facilities for the elderly to address technological challenges. Device design and usability are important requirements that should be prioritized to make the software simple to understand and use.
ML, an application of AI, gives systems the ability to learn from data automatically and make decisions without human assistance. ML is the study of allowing machines to learn and create their programs to make them more humanlike in their actions and decisions. ML enables the systems to improve them from experience without being explicitly programmed. It also enables the machines or software to analyze, predict, and sort huge amounts of data. To make better decisions in the future, the learning process begins with data, instructions, and observations. ML algorithms use statistics to identify the patterns in massive quantities of data, e.g., numbers, words, images, etc. ML is subdivided into supervised, unsupervised, semisupervised, and reinforcement ML that uses different types of data and produces specific results [11].

Literature Review
Many studies have been done on the emerging technology named IoMT. Researchers have published many papers from a different perspective, focusing on specific issues and challenges.
Iyer [12] proposed a framework and protocol related to an IoT-based patient monitoring system and suggested that patients' health can be monitored using IoT devices and sensors connected to the Internet. e medical nursing system (MNS) based on IoT has been designed that uses different communication methods to transfer the data, e.g., sensors, Wireless Fidelity (Wi-Fi), radio-frequency identification (RFID), and Bluetooth [13]. In [14], the authors proposed the patient monitoring system with the help of patient body weight. Another IoT-based system was proposed in [15] to monitor and track autism patients with the help of sensors by collecting the signals from the brain.
A new scheme based on IoT was proposed in [16] to convert the old hospitals into smart hospitals that will help manage the information in an advanced way. Another design using IoT as a back-end platform was proposed in [17] to monitor the health of aged patients by a method of the end-to-end medical healthcare system. An Indian researcher [18] presented a model based on IoT for the electronic healthcare unit using RFID technology and an experienced healthcare system Mycin (an AI-based system to identify bacteria causing different infections).
Pinto [19] presented a novel idea in cardio signals and proposed a technique for cardiac patients named Inexpensive Cardiac Arrhythmia Management (iCarMa) that will indicate the severity of the cardiac patient and its timely detection and diagnosis. Research has been conducted to continuously monitor the patient's health using an accurate algorithm for sensing the patient's events, e.g., steps counting, immobility and fall, etc.
A fascinating idea presented in [20] was to help nonprofessionals know about the disease with the help of a bot.
is bot can be linked with various sensors on a smartphone to give a more flexible service utilizing IoMT. An emphasis on its use in [21] is that it will be very beneficial for the patients if major diseases can be predicted early on. is can be done with the help of IoT that facilitates the patients in the domain of remote healthcare systems.
Papageorgiou [22] proposed cost-efficient IoT-based living assistance for elderly people. It tracks and stores the critical details of patients employing a cloud-connected wristband. is proposed scheme triggered an alarm during emergency conditions to assist patients by alerting the healthcare experts to take the appropriate steps and decisions. Darshan [23] presented a healthcare monitoring system that offers emergency assistance to the patients through assessing their emergency condition based on their movement monitoring.
is paper reports a practical cryptosystem to secure the transmission of medical images in an Internet of Healthcare ings (IoHT) environment. e dynamics of a 2D trigonometric map created utilizing various well-known maps, such as logistic-sine-cosine maps, are investigated in this research. e map has an endless number of solutions, according to a stability study. e map's complicated dynamics are demonstrated using the Lyapunov exponent, bifurcation figure, and phase portrait. A strong cryptosystem is built using the map's sequences. First, the newly developed trigonometric map generates three key streams combined with the picture mechanisms (R, G, and B) to calculate the Hamming distance. e output distance vector, conforming to each section, is then Bit-XORed with each of the critical streams. e subsequent shuffled vectors are then Bit-XORed (diffusion) by the saved outputs as of the early stage, and finally, the image vectors are joined to create the encrypted image. e data stored in the system must be encrypted or anonymized using cryptography and data anonymization techniques [24].
Tamper-proof steganography includes efficient procedures to encrypt the image or concealed message before implanting it. Quantum inspired varients of controlled alternative quantum walks (CAQWs) which are used to determine the pixels for secret/hidden bits in the carrier image. e design employed in our method prevents the need for pre or post-encryption of the carrier and secret images. Also, our design shortens removing hidden material since only the stego image and primary conditions to run the CAQWs are required. e designed protocol showed extraordinary outcomes in terms of their security, good visual quality, high resistance to data loss bouts, and high embedding capacity [25].
In quantum computing, a quantum algorithm is an algorithm which runs on a realistic model of quantum computation, the most commonly used model being the quantum circuit model of computation. Quantum walks establish a universal quantum computational model extensively utilized in cryptography. is research designed a new encryption appliance for privacy-preserving IoT-based healthcare schemes to defend patients' privacy. e encryption/decryption procedures are based on measured alternate quantum walks. e simulation results show that image encryption protocol is healthy and well organized for protecting patients' privacy protection [26]. Another Computational Intelligence and Neuroscience 3 healthcare monitoring system was proposed in [27] that is based on lightweight sensor-enabled wearable devices. ese devices collect, analyze, and share real-time patient healthcare information. In this model, data are collected using an "Arduino-based wearable system" with body sensor networks. Also, "LabVIEW" is integrated with this system to allow for remote patient surveillance. In [28], a proposed system includes feasible IoT wearable devices to collect the patient's health-related information. It used different ML-based classification methods such as "DT, logistic regression (LR), and library for support vector machine (LibSVM)" to forecast the occurrence of illnesses. Lastly, a "mathematical model" is utilized to propose a personalized IoT solution for each scenario.
Ghose [29] proposed an ML algorithm that uses the Naive Bayes (NB) algorithm and the SVM to detect and analyze heart disease. To predict coronary heart disease, SVM and Bayes Net algorithms were used [30,31].
Various ML methods are used to improve the accuracy of diabetic disease inspection. e authors suggested an ML algorithm that uses NB [32] and DT [33] to predict diabetic disorders. Otoom [34] used ML algorithm classification and regression tree (CART) to help diagnose diabetes.
ML methods are also used to forecast thyroid diseases. SVM and DT are employed as classification algorithms, with the dataset coming from the UCI repository. Advanced methods for thyroid disease diagnosis proposed in [35] use fuzzy maps and data mining algorithms.
A wireless body sensor network (WBSN)-enabled IoT healthcare solution was proposed in [36,37]. It uses a wireless body network made up of small, lightweight sensor nodes to keep track of the patient. is solution employs a variety of ML techniques to improve security by protecting WBSN from hackers.

Effectiveness Comparison of IoMT-Enabled Smart Healthcare Model
In this research work, a model is developed to monitor elderly people's activities and provide them automated assistance when required. e IoMT has a vital role to play in monitoring elderly people. In this model, an artificial neural network (ANN) approach is used to monitor elderly people intelligently and efficiently. Figure 1 demonstrates the IoMT-enabled SHC model, which depends on two phases: training and validation. e cloud is used for communication between the two phases. e training phase is composed of the three layers: the sensory layer, preprocessing layer, and application layer. e sensory layer contains various input parameters that get the human body's values and pass these values through IoMT to store in a database. e data received through IoMT might hold missing or noisy data. So, they are known as raw data. e next layer is the preprocessing layer. It is an important layer that handles the missing values by moving average and normalization to remove the noisy data. After this process, the preprocessing layer's output is sent to the application layer. e application layer is further divided into two layers, namely, prediction layer and performance layer.
In the prediction layer, ANN is utilized to predict the disease further. It consists of three layers named as input, hidden, and output layers. e backpropagation algorithm involves several steps: weight initialization, feedforward, feedback error propagation, and weight and bias updates. In the hidden layer, each neuron has a function of activation like f(j) � sigmoid(j). e sigmoid function for input and the model's hidden layer can be written as (1) Input is taken from the output layer as shown in the following equation: (2) Output layer activation function is shown in the following equation Error in backpropagation can be written as where τ k represents the desired output and out k is the calculated output.
In equation (5), the layer is written as the rate of change in weight for the output.
e chain rule method is written as follows: e value of weight change can be found by inserting the values in equation (6), and the results are shown in the following equation: where where Output and hidden layers are shown in equation (10) in which the weight and bias between them are updated: e process of updating weight and bias between the input layer and the hidden layer is shown in the following equation: where λ F is the learning rate of the IoMT-enabled smart model. e convergence of the model depends upon the careful selection of λ F . e equation above is used to update the weight of the hidden and input layers.
After the prediction layer, the output of the prediction layer will be sent to the performance layer to predict the healthcare issue based on accuracy and miss rate whether the learning criteria meet or not. In the case of "no," the prediction layer will be updated, but in the case of "yes," the output will be stored on the cloud database. Now, in the validation phase, the input will be sensed from input layer parameters and sent to ANN to determine whether the healthcare issue is found or not. In the case of "no," the process will be discarded, and in the case of "yes," the message will display that healthcare issue found.

Simulation Results
is paper presents a SHC system that can enable remote healthcare consultations, elderly management, and homecare over global wide area networks and heterogeneous platforms.
e simulation results of the research are described below. Tables 1 and 2 show the training and validation concerning accuracy and miss rate. ANN algorithm has been implemented to the dataset of 4848 sets of records; furthermore, 3393 samples (70%) and 1455 samples (30%) are used for training and validation purpose, respectively. In performance evaluation layer, various statistical metrics are used to measure the proposed system performance as shown in equation (12). e parameters are derived by the following formulas: e IoMT-enabled SHC model estimates anticipated output as negative (−1) and positive (1). e consequent output of value negative (−1) indicates that a health issue is found, whereas positive (1) indicates no health issue. Table 1 shows IoMT-enabled SHC model monitoring of elderly people during the training phase. During tranining, 1522 positive (healthy) and 1871 negative (unhealthy) samples are used. It clearly observed that 1422 samples are correctly predicted in the case of healthy samples., while 100 records are wrongly predicted as negative, implying that there is a healthcare issue. Similarly, a total of 1871 samples were picked, with negative indicating the presence of a healthcare issue. 1754 samples are correctly predicted as negative, indicating the presence of a healthcare issue. 117 samples are incorrectly predicted as positive, indicating the absence of a healthcare issue, although a healthcare issue exists. Table 2 displays the model's prediction of health status during the validation phase. During validation, a total of 1455 samples are utilized in which 686 are positive (healthy) and 769 are negative (unhealthy) samples are used. It is discovered that 626 samples contain true positives that are accurately forecasted, and no healthcare issue is discovered, while 60 records are mistakenly predicted as negative, implying that a healthcare issue is discovered. Similarly, 769 samples were picked, with negative indicating the presence of a health issue. 710 samples are accurately predicted as negative, indicating the presence of a healthcare issue. 59 samples are incorrectly predicted as positive, indicating the absence of a healthcare issue, although healthcare issues exist. Table 3 shows the model's accuracy, sensitivity, specificity, miss rate, and precision during the training and validation phase. e model during training gives accuracy, sensitivity, specificity, miss rate, and precision of 0.936, 0.934, 0.937, 0.064, and 0.924, respectively. During validation, the model gives accuracy, sensitivity, specificity, miss rate, and precision of 0.918, 0.912, 0.923, 0.082, and 0.913, respectively.
Furthermore, specific statistical measures of the model are included to forecast values during training, e.g., fallout, LR+, LR−, and NPV give the result of 0.062, 15.064, 0.068, and 0.946, and during validation, they are 0.076, 12, 0.088, and 0.922, respectively.
According to the results shown in Table 4, the IoMTenabled SHC model is more effective than the conventional ML classification-based methods like SVM, KNN, and DT while analyzing the IoMT data. e comparison of the previously published approach and the proposed model to monitor elderly people is 6 Computational Intelligence and Neuroscience  Figure 1: IoMT-enabled smart model to monitor elderly people's health using ML.  shown in Table 5.
e proposed model achieved 0.936 accuracy for monitoring the healthcare of elderly people in an efficient way which is better than the previous approaches.

Conclusion
e research is responsible for overcoming the challenges of elderly care services. e research realizes the needs of the elderly healthcare system. In this research work, innovative medical services for the elderly are compared based on the real needs and challenges of the elderly and caregivers. To meet the basic needs of elderly healthcare, the researchers used ML techniques for getting better outcomes. After simulation results, the research conclusions are summarized: the elderly healthcare service interface of the IoMT has a higher accuracy during validation, which gives accuracy, sensitivity, specificity, miss rate, and precision of 0.918, 0.912, 0.923, 0.082, and 0.913, respectively. e system of the proposed approach may be improved in the future by using a fusion-based machine learning approach and federated learning approach as well.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.