I haven’t checked what UK guidelines are, but I would start there. The British police are far from perfect but they manage to do a better job around this than the US does.
There might be something in this PDF from MIND advising police on how to deal with mentally ill people.
http://www.mind.org.uk/media/618027/2013-12-03-Mind_police_final_web.pdf