It would be unsafe for a child to be unattended when their mother is occupied with giving birth. Hospital staff are not babysitters.
Staff can be real picky about that. It is prefered a family member be able to watch your child.
Thanks! Your answer is awaiting moderation.