The Department of Children and Family Services shall pay the DCFS per diem rate for inpatient psychiatric stay at a free-standing psychiatric hospital or a hospital with a pediatric or adolescent inpatient psychiatric unit effective the 3rd day when a child is in the hospital beyond medical necessity, and the parent or caregiver has denied the child access to the home and has refused or failed to make provisions for another living arrangement for the child or the child's discharge is being delayed due to a pending inquiry or investigation by the Department of Children and Family Services. If any portion of a hospital stay is reimbursed under this Section, the hospital stay shall not be eligible for payment under the provisions of Section 14-13 of this Code.
305 ILCS 5/5-5.07