You seem to have missed “No alternative more likely diagnosis”.
In other words, based on the individual’s symptoms, personal medical history, and prevailing disease profile for the specific area, the doctor makes a diagnosis based on their training and experience as to the most likely cause.
We usually just call that “practicing medicine”.
Look at my post. I included those words explicitly. You're lying or your reading skills are deteriorating.