It's Kind of a Funny Story 2010

plot
A clinically depressed teenager gets a new start after he checks himself into an adult psychiatric ward.