In theory, medicine works like this. You get some signs or symptoms. You go to the doctor, and depending on those, you get a diagnosis. Your doctor decides on the best available treatment on that basis.
The logic of this system depends upon the sequence. A diagnosis is meant to be an objective statement about the nature of your illness; treatments (if any) come afterwards. It would be odd if the treatments on offer influenced what diagnosis you got.