A man has been charged after armed police swooped on a hospital over reports of someone carrying a crossbow inside.