accurate diagnosis pain