How is a doctor to judge whether there is sufficient danger to others to break the rules around confidentiality?