An analytical model to minimize the latency in healthcare internet-of-things in fog computing environment | Synapse