AI helps identify patients in need of advanced care for depression