Predicting homelessness among individuals diagnosed with substance use disorders using local treatment records.