Army experts attended Gloucestershire Royal Hospital on Wednesday morning amid fears the anti-tank round could be about to explode.
Staff were able to remove the object from the male patient before the Explosive Ordnance Disposal Team was called.
The MoD told The Sun: “We can confirm an Army Explosive Ordnance Disposal team was called out to Gloucestershire at the request of local police.”
Edinburgh crime news: Teenage boy arrested after riding motorbike in a 'dangerous manner in a public place'
Edinburgh fire: Blaze breaks out at Franco's fish and chip shop in Newington
Edinburgh fire: ‘I knew I had to just get out’: Residents evacuated as fire breaks out in Newington area of Edinburgh
Crime: Teenage thug who fathered a child during sentence is back behind bars
A 'deteriorating' footbridge over the Water of Leith has been closed
A spokesperson for Gloucestershire Hospitals NHS Foundation Trust said: "We can confirm that the police and Explosive Ordnance Disposal team (EOD) attended Gloucestershire Royal Hospital yesterday.
"As with any incident involving munitions, the relevant safety protocols were followed to ensure that there was no risk to patients, staff or visitors at any time."
Police confirmed that there was no danger to the public.