533.17 EXAMINATION AND TREATMENT FOR VENEREAL DISEASE, HIV TESTS.
   (a)   (1)   If a person is charged with a violation of section 2907.02, 2907.03, 2907.04, 2907.24, or 2907.25 of the Ohio Revised Code or this General Offenses Code hereof, the arresting authorities or a court shall cause the accused to be examined by a physician to determine if the accused is suffering from a venereal disease.
        (2)   If the accused is found to be suffering from a venereal disease in an infectious stage, he shall be required to submit to medical treatment for that disease. If the accused is convicted of or pleads guilty to the offense with which he is charged and is placed on probation, a condition of probation shall be that the offender submit to and faithfully follow a course of medical treatment for the venereal disease.
   (b)   Notwithstanding the requirements for informed consent in section 3701.242 [3701.24.2] of the Ohio Revised Code, if a person is charged with a violation of section 2907.02, 2907.03, or 2907.04 of the Ohio Revised Code or of this General Offenses Code, the court shall cause the accused to be examined by a physician who shall perform or order the performance of one or more tests designated by the director of health under section 3701.241 [3701.24.1] of the Ohio Revised Code to determine if the accused is a carrier of a virus that causes acquired immunodeficiency syndrome. The results of the test shall be communicated in confidence to the court, and the court shall inform the accused of the result. The court shall inform the victim that the test was performed and that the victim has a right to receive the results on request. If the accused tests positive for a virus that causes acquired immunodeficiency syndrome, the test results shall be reported to the department of health in accordance with section 3701.24 of the Ohio Revised Code and to the sheriff, head of the state penal or reformatory institution, or other person in charge of any jail or prison in which the accused is incarcerated. No other disclosure of the test results or the fact that a test was performed shall be made. If the test result is negative, and the charge has not been dismissed or if the accused has been convicted of the charge or a different offense arising out of the same circumstances as the offense charged, the court shall order that the test be repeated not earlier than three months nor later than six months after the original test.
   The fact that the accused was given a test for a virus that causes acquired immunodeficiency syndrome or the results of the test shall not be admitted in evidence over the objection of the accused, in a prosecution for any offense listed in this division or a different offense arising out of the same circumstances as the offense charged.
   (c)   All costs incurred enforcing this code section shall be paid in accordance with the provisions set forth in section 2907.28 of the Ohio Revised Code.