I think by the time the mom ended up in the psych ward, they weren't exactly sure what was wrong with her. The electroshock therapy (and the force-feeding) was done because she wouldn't eat and was generally unresponsive. Don't remember if it's in the film, but in the book definitely there's a younger doctor who…