Legislation for mentally ill people