“I’m sorry, those questions are intrusive. I choose not to answer.”
The gov does not have the right to force doctors to ask those questions.
Or “...that line of questioning is making me uncomfortable, Please stop harassing me right now.”
The answer to the question ‘are you sexually active’ is ‘No’.