Jason Biggs thanks hospital staff after undergoing shoulder surgery on his birthday

The actor documented his hospital stay on Instagram.

Biggs took to social media to document his time in the hospital, which was spent with his comedian wife, Jenny Mollen, by his side.

Mollen, 37, joked in another caption: "Got Jason a tummy tuck for his birthday." In that particular photo, Biggs looks concerned while talking to a member of the hospital staff.

Hours later, Biggs posted a photo leaving the hospital in a wheelchair with his right arm in a sling. His wife stood right behind him.

"Thank you to the awesome doctors, PA's, nurses, and entire staff at Hospital for Special Surgery for my new wing!" he wrote in the caption. "It better be able to throw 95+ mph, like you promised."

A rep for Biggs did not immediately respond to a request for comment from ABC News.

Hopefully Biggs’ shoulder will be better in time for the arrival of the couple’s second child. The duo revealed on Instagram in April that they were expecting their second child.

The two, who wed in 2008, are already parents to a 3-year-old son named Sid.