The construction of smart cities has been progressing quickly due to advancements in 5G and Internet of Things (IoT) technology. Smart transportation systems and smart medical ideas are also being explored alongside smart city initiatives. Integrating the two mentioned technologies, a smart navigational method for ambulances is being developed. When severe patients arrive via ambulance, significant time is wasted in relaying data, and the hospital needs to gain prior knowledge of the patient's condition. An efficient system called the IoT-based Wireless Patient Tracking Method (IoT-WPTM) is proposed to diagnose patients quickly by recording vital metrics such as heartbeat, temperature, and breathing rate using detectors. These variables are transmitted wirelessly to the healthcare before the ambulance is dispatched, allowing doctors to begin medical care promptly. If necessary, the patient monitors the ambulance's position to anticipate arrival and get immediate directions to the closest hospital. The user carries the gadget and is also placed in the ambulance. The gadget allows IoT devices and Android apps to enhance user interaction and streamline information delivery. IoT-WPTM can be surpassed with ease and in a more effective manner for smart medical surveillance systems.