How machine learning can improve patients' care plans