Published: 00:01, 07 June 2014 |
City magistrates heard Michael Fowler, 25, knocked Martin Hunter out after punching and kicking him at St Martin's Hospital.
Prosecutor Neil Sweeney said Fowler had become convinced people had labelled him a paedophile and because of his behaviour he was put in a special "calming room" for observation.
He told staff he had calmed down, but laid into Mr Hunter as soon as he opened the door.
"He punched Mr Hunter to the head several times, knocking him to the floor," said Mr Sweeney.
"Fowler then kicked his head and lower body, causing Mr Hunter to lose consciousness. He later said he thought Mr Hunter had been recording him in order to make him out to be a paedophile.
"He now knows that it is not true, but says he was ill at the time."
Mr Sweeney added Mr Hunter was injured in the attack, was forced to take time off work and suffered flashbacks.
Fowler, of Staner Court, Ramsgate, admitted common assault at the Littlebourne Road hospital on October 14 last year.
The court heard he has previous convictions for theft and common assault.
Stuart Green, defending, said Fowler had been suffering mental health problems since 2010.
"There was a time when he was homeless and he also tried to kill himself," said Mr Green.
"What happened that day was that he had asked Mr Hunter to let him out of the room.
"When he did so, my client accepts he punched him and pulled him to the ground, but he does not accept kicking Mr Hunter while he was on the floor. He had become convinced people were calling him a paedophile."
Fowler will be sentenced on June 20.
Don't miss out, subscribe today. Keep up to date with our newsletters.
A guide for your future. For year 11 students in Kent and Medway. Click here for the e-edition.
Education, Training & Childcare is a special supplement published by KM Media Group four times a year. Click here for latest e-edition.
Get the latest food and drink news, recipes from some of the nation's top chefs plus updates from Kent's vineyards and breweries.
Search in your local area to find your perfect partner in Kent, with FreshStart Dating! PLUS, register for free!.
Find out what's going on in the garden, with Kent expert Lucy Hewett's weekly update.
Buy pictures that you've seen in a KM newspaper, or send in a picture and we will place it on our photo sales website so that you can purchase a super, unique gift.