The azimuth of one side of the door should be the opposite of the other side. e.g. if the door surface in the bathroom zone has azimuth 250 then the door surface in the corridor zone should have azimuth 70 (250degrees-180degrees). The facing direction of a surface depends on the order in which the co-ordinates are defined (clockwise or anti-clockwise). The two sides of the same door will have the same coordinates but defined reverse order.
When viewed from outside their zone, all surfaces will have coordinates defined in the order determined by GlobalGeometryRules.
See the E+ Input/Output Reference for a better description.
Regards
Donald