A number of studies have been conducted about people's intentions to have an HIV screening test, because they know that not disclosing that they have HIV could land them in prison. The criminalization of the non-disclosure of HIV-positive status makes people say, according to the surveys, that they prefer not knowing whether they have HIV rather than knowing that they do and risking prosecution if they do not disclose that they are HIV-positive.
On April 30th, 2019. See this statement in context.