I can say that the International Residential Code does not have a minimum door width for bedrooms or any other room in the house. The only door that must be a minimum size is the main exit door, which must be 3-0. As stated, it is always best to check local codes to make sure they didn't amend the building code.