Efficiently identifying individuals at high risk for treatment resistance in major depressive disorder using electronic health records.