Deploying intelligent e-health services in a mobile gateway