Newly released 911 tapes reveal what the Reno, Nev., hospital shooter apparently told trapped patients and employees as he terrorized a medical office, killing one doctor and wounding two other people before taking his own life last week.

His apparent reason for the rampage? A vasectomy he said wrecked his life.

Reno Hospital Shooter Botched Vasectomy 911 Tape

Officers escort witnesses to a bus at the Renown Regional Medical Center after a lone gunman opened fire, Tuesday, Dec. 17, 2013 in Reno, Nev. (AP/Scott Sady)

One man hiding in a bathroom with 10 other people told a 911 operator that the gunman was “pissed off because he had a vasectomy here and it ruined his life. … He says, ‘As long as you’re a patient you can leave; otherwise, I’m going to shoot you.’ ”

Reno Hospital Shooter Botched Vasectomy 911 Tape

AP

Reno Hospital Shooter Botched Vasectomy 911 Tape

AP

Alan Oliver Frazier, 51, entered the Urology Nevada office and began firing a pistol-grip, 12-gauge shotgun around 2 p.m. on Dec. 17. He shot and killed Dr. Charles G. Gholdoian, 46, president of Urology Nevada, and critically wounded Dr. Christine Lajeunesse. He also seriously injured Shantae Spears, who was with a relative who was a patient.

Frazier then turned the gun on himself.

The Reno-Gazette-Journal reported that Frazier, a resident of Lake Almanor, Calif., had sometimes taken to an Internet group to rant about pain he was still feeling from a vasectomy he had more than two years ago.

The Associated Press contributed to this report.