RENO, Nev. — Authorities on Friday were trying to determine whether a Northern California man’s anger over complications he suffered from a 2010 surgery prompted him to go on a shooting rampage at a Nevada urologist’s office, killing one doctor and critically wounding another before committing suicide.

Reno Police Lt. William Rulla said detectives were working to obtain Alan Oliver Frazier’s medical records to learn more about his physical and mental health.

Frazier, 51, made it clear in a suicide note that he had planned the attack and that his “focus was on the physicians at the specific office,” Rulla said. Investigators have declined to specify the kind of surgery he had or say whether the doctors he targeted had anything to do with it. But a couple who lived across the street from Frazier at Lake Almanor, about 130 miles north of Reno, said the operation he had was a vasectomy. They also said Frazier frequently posted complaints in an online chat group about the pain he suffered from what he claimed was a botched surgery.

An international expert in men’s reproductive health care said that while it’s uncommon, some men experience pain more than two years after a vasectomy.

Neighbor Mario Tognotti told The Associated Press on Friday that Frazier told him and his wife that he sought help from doctors for his pain and had approached a lawyer about the situation. Tognotti declined to comment further.

His wife, Jari Tognotti, told the Reno Gazette-Journal in an email Thursday that Frazier encouraged friends to learn more about the kind of painful allergic reactions that men like him sometimes suffered as a result of vasectomies. She said it involved “immune-type reactions while their bodies are trying to absorb the sperm.”

Dr. Paul Turek, president of the Society of Male Reproduction and Urology, said that while vasectomies remain among the safest forms of permanent contraception, there are potential short- and long-term side effects.