A man who pretended to be a doctor in order to try and find a boyfriend was allowed access Queensland hospitals for six months after tricking staff members.

Nicholas Brett Delaney, 25, made regular visits to Brisbane’s Lady Cilento Children’s Hospital and Ronald McDonald House in South Brisbane between May and December, passing himself off as "Dr Nick Delaney" and regularly accessing staff only areas.

He was caught when a staff member noticed he mispronounced basic medical terms.

Delaney reportedly told police he impersonated a doctor to try and meet men. (AAP)

A report by the Courier Mail claims Delaney told police had been trying to impress male staff members in an attempt to get a boyfriend, adding he’d been too embarrassed to admit to his new friends he was a fraud.

Delaney appeared in Brisbane Arrest Court yesterday, he was unrepresented and pleaded guilty to two counts of entering a premises with intent and one of attempted fraud.

Magistrate Stuart Shearer said he would not sentence Delaney until he had spoken to a lawyer.

Delaney was arrested by police earlier this month and found in possession of a lanyard, alleged to have been stolen from Ronald McDonald House sometime after May.

Children's Health Queensland Hospital and Health Service chief executive Fionnagh Dougan said preliminary investigations by the hospital indicated Delaney had no interaction with patients.