; and (2) any relevant consensus-based codes, specifications, and standards. (c) Temporary replacement facility In any case in which the President, acting through the Federal Emergency Management Agency, has provided funding to lease or purchase a temporary replacement facility to house the operations of an eligible rural medical facility for which a permanent replacement facility is required under this section, the President shall continue such funding until a permanent replacement facility is operational, including for any period of time for which funding has not otherwise been provided. (d) Hospital successor entity A transfer in ownership of an eligible rural medical facility or of a permanent replacement facility, or the execution of a transaction by the owner of an eligible rural medical facility resulting in different ownership of a permanent replacement facility, shall not affect the requirement in subsection (a) to provide for a full replacement of the facility for which funds are provided under this section, provided that such funds are provided to an entity otherwise eligible for assistance under section 406 of the Robert T. Stafford Disaster Relief and Emergency Assistance Act ( 42 U.S.C. 5172 ). (e) Definition of eligible rural medical facility In this section, the term eligible rural medical facility means a private nonprofit hospital facility— (1) located in a county with a population below 40,000, as determined by the most recent decennial census; (2) that sustained damage during calendar year 2015 that was eligible for financial assistance under section 406 of the Robert T. Stafford Disaster Relief and Emergency Assistance Act ( 42 U.S.C. 5172 )