I. Introduction
Nowadays, we are moving to the era of the smart healthcare system. Smart healthcare refers to the use of technologies such as IoMTs or Sensor Nodes (SNs), cloud computing, edge computing, and artificial intelligence (AI) to enable a convenient, personalized, and efficient healthcare system [1]. Such advanced technologies facilitate real-time health monitoring using medical-care applications on wearable gadgets or cell phones, encouraging people to be in charge of their health [2], [3]. A research and markets report predicted that the IoMT healthcare market is expected to grow from USD 41.22 billion in 2017 to USD 158.07 billion by 2022, at a compound annual growth rate of 30.8% [4]. These IoMT devices are equipped with sensors that generated enormous data and are transported over the Internet infrastructure to a central computing facility (typically a cloud), where intensive data processing is carried out. In the end, health information is sent back to end-users (such as doctors, nurses, and patients) for further diagnosis. Together with AI, it can be used in health screening, early diagnosis of diseases, and treatment plan selection. However, a centralized cloud data center lacks low latency, flexibility, and inability to support mobility for end-users [5], [6].