By using the IoT to solve the healthcare puzzle