© 2014 MLB Advanced Media, L.P. All rights reserved.

8/10/2014 7:37 P.M. ET

Medica OK after HBP, pinch-hits in finale

PITTSBURGH -- Less than 18 hours after being hit in the back of the helmet with a pitch Saturday, Padres first baseman/outfielder Tommy Medica said he was headache free and ready to get back in the Padres' lineup.

"No headache, and I did some tests this morning and everything looks good," Medica said Sunday. "We'll see how things go."

Medica wasn't in the starting lineup for Sunday's 8-2 win over the Pirates, but he appeared as a pinch-hitter in the eighth inning. He had a bloop double to left field and advanced to third base on a throwing error by center fielder Starling Marte.

"Tommy's doing fine," said Padres manager Bud Black. "He feels good this morning."

Pittsburgh relief pitcher Jared Hughes hit Medica in the lower part of the back of his helmet with a pitch in the eighth inning of the Padres' 2-1 victory over the Pirates at PNC Park.

Medica remained on his feet and never even looked dazed. He was even smiling by the time that team head trainer Todd Hutcheson got to the home-plate area to tend to him.

Medica eventually left the game and had tests done by the Pirates' team doctor during the game, and everything "checked out fine," Black said.

Medica also had some tests done Sunday morning once he arrived at PNC Park.

Medica said that Hughes reached out by text message to check on Medica and "said he wasn't trying to hit me. That was good to see."

Medica said he was itching to get back in the lineup, which makes sense considering he's hitting .396 in 48 at-bats since the All-Star break.

Padres to monitor Cabrera's left hamstring cramp

PITTSBURGH -- Shortstop Everth Cabrera was a late scratch before the start of Sunday's finale vs. the Pirates with a left hamstring cramp, the Padres announced.

Cabrera was replaced by Alexi Amarista, who was initially in the lineup in left field. Abraham Almonte was then added to the starting lineup as the left fielder.

San Diego manager Bud Black said Cabrera was "a little sore", but that soreness was in a different spot than where the hamstring strain occurred previously.

"We're going to monitor him and hope that he can come out of it in a day or two," said Black, who noted the injury might have occurred when Cabrera stole a base on Saturday.

Cabrera, who missed 21 games in July with a left hamstring strain, has played well of late. Heading into Sunday's game, he had six hits in 15 at-bats on this road trip with two walks and two stolen bases.

Cabrera is hitting .350 in his last 10 games, and his 22 multi-hit games are tied for the team-lead with Seth Smith.

Cabrera also had a disabled list stint last season with a left hamstring strain.

Corey Brock is a reporter for MLB.com. Keep track of @FollowThePadres on Twitter. This story was not subject to the approval of Major League Baseball or its clubs.