Whenever any building, or any part thereof, in any city of the second class, previously occupied by a person infected with contagious diseases; or which by reason of want of repair has become dangerous to life, or is unfit for use and dangerous to health because of defects in drainage, plumbing, ventilation, or in the construction of the same, or because of the existence of a nuisance on the premises; and the owner, agent, occupant, or other person who is responsible for the said buildings, shall, after due notice thereof, refuse or neglect to comply with the requirements of the Department of Public Health of such cities, concerning said buildings, said department may issue an order requiring all persons therein to vacate or cease to use such buildings, or part thereof stated in the order, for reasons expressly stated therein, as aforesaid. Such buildings, or part thereof, shall be vacated within ten days after said order shall have been served as hereinafter provided; or, in case the emergency is such as to require more immediate action, such building, or part thereof, shall in that case be vacated in such shorter time as in said order shall be specified; and such building or part thereof, shall not be used or occupied thereafter until the said Department of Public Health shall become satisfied that the danger from said building, or part thereof, has ceased to exist, or that said building has been repaired so as to be habitable, or the nuisance complained of in the order abated, and the department shall have issued its certificate, in writing, revoking the said order.
53 P.S. § 24611