The chief clinical officer of the hospital or the chief clinical officer's designee shall assure that all patients hospitalized or committed pursuant to this chapter shall:
If the chief clinical officer of the hospital is unable to provide the treatment required by divisions (C), (E), and (F) of this section for any patient hospitalized pursuant to Chapter 5122. of the Revised Code, the chief clinical officer shall immediately notify the patient, the court, the Ohio protection and advocacy system, the director of mental health and addiction services, and the patient's counsel and legal guardian, if known. If within ten days after receipt of such notification by the director, the director is unable to effect a transfer of the patient, pursuant to section 5122.20 of the Revised Code, to a hospital, community mental health services provider, or other medical facility where treatment is available, or has not received an order of the court to the contrary, the involuntary commitment of any patient hospitalized pursuant to Chapter 5122. of the Revised Code and defined as a person with a mental illness subject to court order under division (B)(4) of section 5122.01 of the Revised Code shall automatically be terminated.
R.C. § 5122.27