That's a really good point. Public health regulations and statutes already create a framework for managing issues that are truly matters of public health, and they also provide opportunities for enforcement and some involvement of the state in telling people what to do. There is a real question as to why HIV non-disclosure receives this peculiar treatment as the subject of criminalization.
On May 14th, 2019. See this statement in context.