Hospital staff criticized for filming TikTok videos during a patient's emergency, according to a man's complaint