Updated

Democrat John Kerry (search) had complication-free outpatient surgery Wednesday to repair a tear in his right shoulder and bicep tendons and will be back shaking voters' hands soon, although not too forcefully.

The four-term Massachusetts senator planned to be off the presidential campaign trail for the remainder of the week. Dr. Bertram Zarins, chief of sports medicine at Massachusetts General Hospital (search), said Kerry would be in pain for a few days and probably would need an ice pack and narcotic painkillers.

Zarins said Kerry was smiling and talking shortly after coming out of the 45-minute procedure. "He joked a little bit and said, 'I hope I didn't reveal any state secrets,"' Zarins told reporters in a conference call.

Kerry tore his subscapularis tendon, one of the tendons that makes up the rotator cuff, in January while campaigning in Iowa. He wrenched his right shoulder while bracing himself during an abrupt stop on his campaign bus.

Zarins told reporters Monday that Kerry would have to forgo temporarily the most time-honored tradition in politics -- shaking hands. Kerry said he didn't get those orders.

"That's not what he told me," Kerry told reporters on his campaign plane the day before surgery. "I was like, 'Whoa!' when I read that."

After surgery, Zarins said he wasn't going to restrict Kerry's activity, but pain would limit his right arm motion. He said Kerry could gradually reintroduce movements until a complete recovery, with "heavy use" in several months.

"I think he'll be shaking hands fairly quickly," Zarins said. "We're not going to tell him not to do it."

Zarins said after he made an incision about an inch and a half long, he discovered a small tear in the adjacent bicep tendon (search) and made a much smaller second incision and repaired both. He said he wasn't sure how many stitches it took to close the wound, but he would evaluate Kerry over the next few days and take out the stitches in seven to 10 days.

Entering the hospital, Kerry joked about the large contingent of reporters on hand and the outcome of the surgery, saying, "I feel great. I'm looking forward to getting it done. I'll see you in a few hours, I hope."

As he did when he had prostate surgery last year, Kerry entered the hospital wearing a leather bomber jacket bearing his swiftboat platoon's patch from the Vietnam War for luck.

"I'll be back faster than you can blink," the Massachusetts senator told the Building Trades Legislative Conference (search) two hours before going in for surgery.

Kerry's primary physician released a letter this week that he is a fit 60-year-old in "excellent health." The senator enjoys exercise, especially outdoor activities such as windsurfing and bike riding, and complains that his staff doesn't schedule enough time for workouts.

However, he went on a weeklong ski and snowboarding vacation recently and he occasionally throws a football or baseball with staff between campaign stops. He said that type of arm movement doesn't bother him, but his shoulder would hurt with different movements.

He demonstrated the painful action to reporters by moving his arms as if he were grasping for a bear hug and said it hurt "a couple of times lifting babies."

Zarins thought the tear was minor and advised Kerry to see if it would heal on its own. But it continued to bother Kerry, so he decided to repair it now rather than let it weaken further. Zarins said that could have caused more problems in the future, as opposed to a relatively simple procedure now.

Kerry originally injured his right shoulder in 1992 after a fall from his bicycle. This is a new injury, Zarins said, although the earlier accident could have made the shoulder more vulnerable to injury.

Kerry interrupted his campaign schedule for surgery twice last year. He had a cancerous prostate removed in February 2003 and minor outpatient surgery to remove a wart on his eyelid the following month.

Follow-up medical exams indicate the prostate surgery was successful, Kerry's regular physician, Dr. Gerald Doyle, said Monday. Normal blood pressure and low cholesterol suggest Kerry has "a lower than average risk" for heart disease for a man his age, Doyle wrote.