Fire and Safety doors in public buildings, hospitals, government buildings, hotels and other buildings regularly frequented by people, require the doors to be shut at all times except in an emergency. By law, the doors must be electronically controlled; if they are opened, proper warnings must be given.