Just because your place has a bike rack it doesn't mean you have to use it. Usually there are other areas where you can lock your bike without worrying as much. But still lock your bike.
If there are security guys slip them a few bucks to keep an eye on it. They might even know an area around the hospital that would be more secure.