Authorities in South Carolina are searching for an inmate who escaped custody while receiving medical treatment.