Functional outcome in psychotic and affective inpatients: role of cognitive function | Synapse