(1) In any case in which a person has been convicted of or has pled nolo contendere or guilty to, regardless of whether adjudication is withheld, any of the following offenses, or the attempt thereof, which offense or attempted offense involves the transmission of body fluids from one person to another: (a) Section 794.011, relating to sexual battery; (b) Section 826.04, relating to incest; (c) Section 800.04, relating to lewd or lascivious offenses committed upon or in the presence of persons less than 16 years of age; (h) Section 827.03(1), relating to child abuse; (i) Section 827.03(2), relating to aggravated child abuse; (j) Section 825.102(1), relating to abuse of an elderly person or disabled adult; (k) Section 825.102(2), relating to aggravated abuse of an elderly person or disabled adult; (l) Section 827.071, relating to sexual performance by person less than 18 years of age; (n) Section 381.0041(11)(b), relating to donation of blood, plasma, organs, skin, or other human tissue,
the court shall order the offender to undergo HIV testing, to be performed under the direction of the Department of Health in accordance with s. 381.004, unless the offender has undergone HIV testing voluntarily or pursuant to procedures established in s. 381.004(3)(h)6. or s. 951.27, or any other applicable law or rule providing for HIV testing of criminal offenders or inmates, subsequent to her or his arrest for an offense enumerated in paragraphs (a)-(n) for which she or he was convicted or to which she or he pled nolo contendere or guilty. The results of an HIV test performed on an offender pursuant to this subsection are not admissible in any criminal proceeding arising out of the alleged offense.
(2) The results of the HIV test must be disclosed under the direction of the Department of Health, to the offender who has been convicted of or pled nolo contendere or guilty to an offense specified in subsection (1), the public health agency of the county in which the conviction occurred and, if different, the county of residence of the offender, and, upon request pursuant to s. 960.003, to the victim or the victim’s legal guardian, or the parent or legal guardian of the victim if the victim is a minor. (3) An offender who has undergone HIV testing pursuant to subsection (1), and to whom positive test results have been disclosed pursuant to subsection (2), who commits a second or subsequent offense enumerated in paragraphs (1)(a)-(n), commits criminal transmission of HIV, a felony of the third degree, punishable as provided in s. 775.082, s. 775.083, or s. 775.084. A person may be convicted and sentenced separately for a violation of this subsection and for the underlying crime enumerated in paragraphs (1)(a)-(n).
(4) An offender may challenge the positive results of an HIV test performed pursuant to this section and may introduce results of a backup test performed at her or his own expense.
(5) Nothing in this section requires that an HIV infection have occurred in order for an offender to have committed criminal transmission of HIV.
(6) For an alleged violation of any offense enumerated in paragraphs (1)(a)-(n) for which the consent of the victim may be raised as a defense in a criminal prosecution, it is an affirmative defense to a charge of violating this section that the person exposed knew that the offender was infected with HIV, knew that the action being taken could result in transmission of the HIV infection, and consented to the action voluntarily with that knowledge.