In medical diagnosis, what is pain considered