State laws prohibiting sodomy were on the books throughout US history until struck down by the US Supreme Court, which argued in Lawrence v Texas (2003) that the state cannot criminalize private sexual conduct.
It is unconstitutional--and unethical--for physicians to participate in evidence-gathering against pregnant women suspected of being addicted to illegal substances without informing them of their constitutional rights or gaining their informed consent.
Physicians have a professional obligation and, in many states, a legal duty to report drivers whose functional or cognitive impairments may pose a safety hazard.