The values received in real time from the sensors are sent to the cloud for storage as well as processing. The database for each patient stores abnormal values for each parameter considered. On-server processing is used to compare all these values to the thresholds in real time. The breaches in threshold values acquired from the initial stage of processing are then sent to the Emergency Type Handler. The Emergency Type Handler then applies predefined logic to determine whether the breaches are inter-related and pose a greater threat combined. Based on the kind of threat the Emergency Type Handler assigns the threat to one of three levels.