I would speak with the hospital while you are there, they should be able to get everything in line for you to get into rehab.
Sorry to hear about the job loss, but that's a great thing you're doing to get yourself the help you need to get back on your feet!