Using IOT in healthcare to predict diseases