You have to get assessed by your GP and another doctor. Could just be two doctors though.
I've been in a position where the possibility of being sent to a facility has been discussed. I had severe anxiety disorder because of some reasons and this one summer I couldn't leave the house or sit...