Diagnostic and surgical techniques