our building code mandates the required fire resistance rating of a wall in each particular location, and it also states the required rating of the opening protective, or fire door assembly. As an example, here is a table below from the 2009 international building code (IBC) which in detail describes the required fire resistance rating of fire door assembly for each type of wall.
Requirements on what type of door used are often based on the use of a building, as well as how many people will occupy it during a given time. Always ask your building professional for more information. Be sure to always check with your local building code authority to confirm fire door requirements in your location before the unthinkable happens.