In the midst of his best major league season, the Braves and Ramiro Pena hope it hasn’t ended abruptly because of a shoulder injury.

The versatile infielder will get a second opinion on the injury to his right (throwing) shoulder Wednesday, manager Fredi Gonzalez said. He wouldn’t say what the first opinion was last week, but Gonzalez sounded as if it wasn’t encouraging.

Asked if the Braves might lose Pena for the season, Gonzalez said, “I don’t know. He’s going to get another opinion, and we’re going to decide how we go about it. … He wanted a second opinion. I think that’s normal.”

Pena, 27, had surgery on the shoulder seven years ago as a Yankees minor leaguer. He was placed on the disabled list Friday after a few days of rest last week didn’t relieve soreness he began to feel after making a couple of diving stops in a game two weeks ago.

He’s batted .278 in 97 at-bats this season and has career-bests with nine extra-base hits and three home runs. His .330 on-base percentage and .443 slugging percentage also would be career highs.

Pena has played second base, third baseman and shortstop and hit .288 with six extra-base hits in 59 at-bats over his past 31 games.

Beachy update: Brandon Beachy played catch Tuesday for the second time in three days and could be ready to throw a bullpen session by the end of the week, Gonzalez said.

He was shut down for a week after developing inflammation in his surgically repaired elbow in what was to have been his final rehab start before a planned start in last week’s doubleheader against New York. Beachy, 12 months removed from Tommy John surgery, likely would need at least another couple of rehab starts before he could be activated.

“I would think so,” Gonzalez said. “You can almost bet the house we won’t have him go from throwing a couple of bullpens to throwing in a (major league) game.”

Puig tops T.P.: Dodgers rookie phenom Yasiel Puig had seven homers and a .442 average before Tuesday in just over since being called up from Double-A, the highest average in history for a player in his first 22 days in the majors (minimum 60 at-bats). The previous best was by current Braves first-base coach Terry Pendleton, who hit .422 in his first 22 days with the Cardinals in 1984. He finished that season with a .324 average in 283 plate appearances.