diagnosis tool