42 U.S. Code § 14011 - Payment of cost of testing for sexually transmitted diseases
The victim of an offense of the type referred to in subsection (a)  may obtain an order in the district court of the United States for the district in which charges are brought against the defendant charged with the offense, after notice to the defendant and an opportunity to be heard, requiring that the defendant be tested for the presence of the etiologic agent for acquired immune deficiency syndrome, and that the results of the test be communicated to the victim and the defendant. Any test result of the defendant given to the victim or the defendant must be accompanied by appropriate counseling.
The court may order follow-up tests and counseling under paragraph (1) if the initial test was negative. Such follow-up tests and counseling shall be performed at the request of the victim on dates that occur six months and twelve months following the initial test.
An order for follow-up testing under paragraph (3) shall be terminated if the person obtains an acquittal on, or dismissal of, all charges of the type referred to in subsection (a).1
The results of any test ordered under this subsection shall be disclosed only to the victim or, where the court deems appropriate, to the parent or legal guardian of the victim, and to the person tested. The victim may disclose the test results only to any medical professional, counselor, family member or sexual partner(s) the victim may have had since the attack. Any such individual to whom the test results are disclosed by the victim shall maintain the confidentiality of such information.
The court shall issue an order to prohibit the disclosure by the victim of the results of any test performed under this subsection to anyone other than those mentioned in paragraph (5). The contents of the court proceedings and test results pursuant to this section shall be sealed. The results of such test performed on the defendant under this section shall not be used as evidence in any criminal trial.
Not later than 6 months after September 13, 1994, the United States Sentencing Commission shall conduct a study and prepare and submit to the committees  on the Judiciary of the Senate and the House of Representatives a report concerning recommendations for the revision of sentencing guidelines that relate to offenses in which an HIV infected individual engages in sexual activity if the individual knows that he or she is infected with HIV and intends, through such sexual activity, to expose another to HIV.
 See Codification note below.
 So in original. Probably should be capitalized.
Section is comprised of section 40503 of Pub. L. 103–322. Subsec. (a) of section 40503 of Pub. L. 103–322 amended section 10607 of this title. Subsec. (c) of section 40503 of Pub. L. 103–322 also enacted provisions listed in a table relating to sentencing guidelines set out under section 994 of Title 28, Judiciary and Judicial Procedure.
1996—Subsec. (b)(3). Pub. L. 104–294 substituted “paragraph (1)” for “paragraph (b)(1)”.