It's not the same everywhere. It depends on the criteria of that one hospital. Some employ off-duty police and retired sworn police officers for the experience and training. Otherwise the requirements would be the same certification as a security guard in that state or country like training in weapons and powers of arrest for example.
A security force can be an asset but untrained security people can be a serious liability also.