he demand for Internet-of-Things (IoT)-based medical management to monitor and treat the health of older adults has been stressed by healthcare practitioners and academics. The IoT systems are interconnected with sensors, software, and devices that help transmit data between devices. The major difficulties in interconnections are protection, reliability, privacy, trustworthiness, etc. This research work integrates secured and trusted healthcare monitoring with homomorphic encryption and Blockedge framework, and helps find the intrusions among the IoT network. It helps ideally within the Internet of Medical Things (IoMT). The searching keywords accessing method is one of the most common methods for retrieving personal health record from databases, although it is vulnerable to several security flaws. A Blockedge framework with homomorphic encryption is used to provide security, authentication, intrusion detection, and trust, while providing security among the data and works in dynamic network conditions. Software-defined networking (SDN) is used as a way of communicating information through which users can use SDN's various performance and security systems and tools. Therefore, integrating a secure search algorithm with a software-defined network and Blockedge framework enhances the level of security, trust, flexibility, and reliability. The developed system has been executed using Hyperledger Fabric, a blockchain-based platform, and OrigionLab for research and assessment.