So they can test you even without written consent I know I asked the RN and the CAN if they could tell the Dr that I wanted to be tested.. And before I got discharged I asked was my blood work normal and the RN and Dr both said yes
In an emergency situation in a hospital, your blood would be checked for any possible infectious diseases, including HIV, to protect the staff.
Please consider seeking professional mental health to deal with your anxiety.