Pending his removal to a State mental health facility an individual taken into custody or ordered to be admitted may be temporarily detained in his home, a licensed foster home or any other suitable facility under such reasonable conditions as the county governing body, supervisor or manager may fix, but he shall not, except because of and during an extreme emergency, be detained in a nonmedical establishment used for the detention of individuals charged with or convicted of penal offenses. The county governing body, supervisor or manager shall take such reasonable measures, including provision of medical care, as may be necessary to assure proper care of an individual temporarily detained under this section.
S.C. Code § 44-13-10