Headroom
Space required vertically above the opening of the door and below the lowest object on the ceiling that will allow the door to work properly.
Sideroom
A measurement performed horizontally from the sides of the opening of the door to the nearest object.