Prognostic predictors in medium-term inpatient treatment in longitudinal assessment--is there a lower limit for inpatient length of stay?