The fundamental attributes of the 5G network, namely its high bandwidth and concurrency, reduced latency, and ability to handle high-mobility big data platforms, render it valuable in tackling forthcoming healthcare challenges and emerging health demands like as the COVID-19 pandemic. The enforcement of the security component within a 5G-based Intelligent Healthcare System (IHS), which encompasses critical information and facilities, is more imperative and significant. In the context of deploying a healthcare system in a distributed manner, the effectiveness of passive security measures, such as information encryption and isolation, employed on traditional health platforms is insufficient to address the requirements for information and facility interchange across "cloud-edge-terminals" in the era of 5G. This study proposes a security solution for an intelligent health platform based on the Zero-Trust Model (ZTM) in the context of 5G technology. This study presents fundamental principles like the real-time monitoring of network asset security, risk evaluation of individual access requests, and access permission and decision-making through the use of a dynamic trust algorithm. The 5G IHS encompasses four primary dimensions, namely "theme" which includes people, terminals, and applications, "item" which encompasses information, platforms, and facilities, "behavior," and "environment". With the highest accuracy (98.9), precision (95.9), recall (98), and F1-score (95.5) among the several approaches, the suggested ZTM method better the others consistently. These overall numerical results for accuracy, precision, recall, and F1-score across methodologies are shown. A lower but more variable Optimized Gated Recurrent Unit (DEO-GRU) across all measures. The proposed security system has been subjected to thorough testing and implementation at an industrial level, showcasing its ability to fulfill the criteria for dynamic shield and end-to-end safety execution of information, users, and facilities present in an Intelligent Healthcare (IH) scheme based on 5G technology.