Have you researched the diagnosis and do you feel it's accurate? I don't expect you to answer, I don't want you to feel uncomfortable, I'm just wondering if they're being accurate, or being abusive by slapping on an inaccurate diagnosis.
I ask because I had the latter happen in an outrageously abusive inpatient private "behavioral health" hospital after voluntarily seeking help (it was so bad I still have never talked about it, but later read online reviews of people who experienced the same and worse traumatizing abuse I either experienced or witnessed there, including patient-on-patient assaults allowed by staff; I didn't choose the hospital, I was sent where there were available beds). But I'm at least fortunate that it was in the US and not the UK where all of one's medical records are kept in a centralized system.
If you're in the US, I believe it shouldn't affect your job unless you're receiving temporary disability insurance benefits and that insurance is paid for by your employer. I assume you're not in the US because cell phones aren't generally allowed on units due to HIPAA laws that protect the privacy of other patients.
I'm not in the US, and I'm in a clinic more than an hospital (a little hospital, I'm not sure if it's the good word). I can keep it because I didn't resist to the hospitalization, I acted like they want to not stay here for too long. I negotiated to keep my phone, signed a paper that say I can't take photo or share other patients data, and because I'm not resisting to them they act nice and allowed me to keep it, but it must stay in my room and locked to not be accessible to other patients. I'm here since 4 days and have my phone only since yesterday, time is long without phone to stay aware of the real world.
For the diagnosis, it's not very accurate, I mean I hear sound and smell things that not exists sometime, or have long conversation with myself most than other people so for the schizophrenia it's could be accurate but it's to linked to depression, I never felt bad about what I heard or feel about this so I don't take it as a disease (it helped me sometime at school and in my work, looking at a problem without thinking and the solution come from nowhere, I don't heard voices but there are some idea or answer that I can't explain, like if my brain think about what I see without me being aware of it). I'm not feel depressive, but I told to my friend that I can't work anymore because something was broken in my head, after a long headache period I lose my capacity of solve simple or complex algorithm, I think it's the good part of my schizophrenia who don't work anymore.
So maybe I'm schizophrenic but I'm not depressive because of that, I'm depressive because of my work but doctors linked the mental illness with the depression without letting me explain what I think about this, I hope they will understand my feelings about this and why I don't wanted to be healed about schizophrenia. The good point is that I don't work where I am, but I would have prefered not work and stay at home with my guitar and my computer.
I told my friend that I wanted to die because of my past, and now my work situation accelerated my wants to die and asked him for tips and help, but he didn't respond and just called the cops. I can't judge him because I don't know what is the good reaction to have about it, but I don't like what he done, he lost all my trust.