The physician - patient privilege is basic law, and even presidents have it.
Yes, a doctor cannot disclose a patient's condition. However, if the media had information that Joe Biden was rapidly declining mentally, and supported the lie that he is sharp as a tack, which until recently seems to be the case, there is a serious problem. If they only would do that for one party, they are a propaganda machine and in no way a news organization.