The balance, as shall remain after the amount due the department of human services for the care and treatment of any discharged or deceased patient or inmate is applied in payment thereof, shall be paid over to the general treasurer by the director.
R.I. Gen. Laws § 40-2-5