A patient treated for agonizing abdominal pain received some surprising news in paperwork issued by an Oregon hospital.

It read: "Based on your visit today, we know you are pregnant." Surprising indeed for 71-year-old John Grady Pippen.

The staff at Curry General Hospital in Gold Beach, Oregon, gave the retired mechanic and logger the ridiculously happy news this month, along with some pain pills.

Hospital administrator William McMillan says an errant keystroke caused the hospital's computer to spit out the wrong discharge instructions for the grandfather.