In any case of hospitalization of a medically indigent person, the county, through any elected officer or through an employee, may arrange for adequate and suitable care of the person elsewhere. If the county notifies the hospital in writing of its arrangement for the removal of the medically indigent person and the hospital unreasonably fails or refuses to cooperate in effecting the change, the county is not liable for any hospitalization subsequent to the hospital's failure or refusal to cooperate.
SDCL 28-13-35