5. Presence of suicidal or homicidal ideation at the time of study entry, and/or evidence of significant impairment in functioning that would necessitate treatment of the subject in a non-outpatient setting.