How is diagnosis use to treat an illness?

Without a diagnosis you might as well as try to hit a blade of grass 10 miles away. It is used to pinpoint what your treatment will be.