If the deficiencies listed in the report have not been corrected, within sixty (60) days after delivery of the report, the Commissioner of Health shall be authorized to file a complaint with the Attorney General or the district attorney for the purpose of assistance in obtaining compliance or to close the deficient facility. Provided, that upon demonstration of a good-faith effort by the governmental entity involved to correct said deficiencies and achieve compliance with the established standards, the Commissioner of Health shall extend the time for compliance a reasonable period before filing the complaint requesting assistance in obtaining compliance or the closing of the facility. An action to close such facility shall be brought in the district court having jurisdiction in the county in which the facility is located. Upon the issuance of an order by the district court to close the facility, the facility shall be closed and prisoners shall be removed to a suitable facility at the expense of the governmental entity responsible for the facility ordered closed. Provided, that upon demonstration of a good-faith effort by the governmental entity involved to correct said deficiencies and achieve compliance with the established standards, the district court shall extend the time for compliance a reasonable period before ordering the facility closed.
Okla. Stat. tit. 74, § 194