“Have you been in contact with anyone who has tested positive for COVID-19?”
In the next 6-12 months a lot more people are going to be answering yes to this question.
Better add “in the last 14 days” or “and is actively sick” or there is going to be lots of confusion.
Or more conveniently people might stop telling the truth to avoid explaining their circumstances.