We have something like that (^^) over here.
If a person is considered a threat to himself or society, he can be admitted to a mental hospital. There's a protocol, which includes a psychiatric evaluation before the 'order' is signed. It is also possible to ask for such an admittance by oneself.
_________________________
The only thing you got that I want, is your suffering.