Inpatient rehabilitation outcome: a matter of diagnosis?