r diagnostic poten