Isn’t this against medical ethics and medical practice for him to diagnose a patient he hasn’t even seen?
From ChatGPT: The Goldwater Rule is a guideline set forth by the American Psychiatric Association (APA) which prohibits psychiatrists from offering professional opinions about public figures they have not personally examined and whose consent they have not obtained to discuss their mental health. This rule was established in response to the 1964 presidential election when Fact magazine published a survey of psychiatrists who speculated on the mental health of candidate Barry Goldwater without having evaluated him personally. The Goldwater Rule is intended to uphold ethical standards and maintain public trust in the psychiatric profession by avoiding potentially harmful and unsubstantiated public commentary on individuals' mental health.
While the Goldwater Rule establishes a professional and ethical guideline for psychiatrists, it is not a legal mandate. This means that while psychiatrists are strongly advised by their professional association (the APA) to adhere to this rule, they cannot be legally punished by the state for breaking it.