To clear up a misconception: modern electroshock, now rebranded as Electro-Convulsive Therapy to eliminate this exact association, is a lot more useful and specialized than its barbaric predecessor. ECT can get results where other forms of treatment fail.
That said, a lot of this bill is terrifyingly general and moronic. Though, I could easily see part of it being used against the likes of Scientologists to get their kids any actual mental help they might need even if their retard parents think the doctors are trying to steal their soul or some horseshit.