A surgeon diagnosed his own cancer using a special tool and an iPhone