How wearable devices help in medical monitoring