S.C. Code Ann. § 16-3-740
(A) For purposes of this section:
(B) Upon the request of a victim who has been exposed to body fluids during the commission of a criminal offense, or upon the request of the legal guardian of a victim who has been exposed to body fluids during the commission of a criminal offense, the solicitor must, within forty-eight hours, excluding weekends and legal holidays as defined in Chapter 5, Title 53, after the offender is charged, or within forty-eight hours, excluding weekends and legal holidays, as defined in Chapter 5, Title 53, after a petition has been filed against an offender in family court, petition the court to have the offender tested for Hepatitis B and HIV. An offender must not be tested under this section for Hepatitis B and HIV without a court order. To obtain a court order, the solicitor must demonstrate the following:
(4) the offender has received notice of the petition and notice of his right to have counsel represent him at a hearing.
The results of the tests must be kept confidential and disclosed only to the solicitor who obtained the court order. The solicitor shall then notify only those persons designated in subsection (C).
(C) The tests must be administered by the Department of Health and Environmental Control through the local county health department or the medical professional at the state or local detention facility where the offender is imprisoned or detained. The solicitor shall notify the following persons of the tests results:
(4) the offender's attorney.
The results of the tests shall be provided to the designated recipients with the following disclaimer: "The tests were conducted in a medically approved manner, but tests cannot determine infection by Hepatitis B or HIV with absolute accuracy. Additionally, the testing does not determine exposure to, or infection by, other sexually transmitted diseases. Persons receiving the test results should continue to monitor their own health, seek retesting in approximately six months, and should consult a physician as appropriate".
The solicitor also shall provide to the state or local correctional facility where the offender is imprisoned or detained and the Department of Health and Environmental Control the test results for HIV and Hepatitis B which indicate that the offender is infected with the disease. The state or local correctional facility where the offender is imprisoned or detained shall use this information solely for the purpose of providing medical treatment to the offender while the offender is imprisoned or detained. The State shall pay for the tests. If the offender is subsequently convicted or adjudicated delinquent, the offender or the parents of an adjudicated offender must reimburse the State for the costs of the tests unless the offender or the parents of the adjudicated offender are determined to be indigent.
If the tests given pursuant to this section indicate infection by Hepatitis B or HIV, the Department of Health and Environmental Control shall be provided with all test results and must provide counseling to the offender regarding the disease, syndrome, or virus. The Department of Health and Environmental Control must provide counseling for the victim, advise the victim of available medical treatment options, refer the victim to appropriate health care and support services, and, at the request of the victim or the legal guardian of a victim, test the victim for HIV and Hepatitis B and provide post-testing counseling to the victim.