AAP

A woman allegedly raped in the toilets of a flashy Sydney nightclub told a doctor the assault lasted for around an hour, a jury has heard.

Christopher Scott Corben, 32, has pleaded not guilty in the NSW District Court to the charge of aggravated sexual intercourse without consent over an incident at the Ivy nightclub in the Sydney CBD in the early hours of October 30, 2009.

The assault is alleged to have occurred in the unisex toilet area of the exclusive nightspot after Corben followed the 35-year-old woman into a toilet cubicle.

Dr Kim Chen, who examined the woman the morning after the incident, said the woman told her she was "standing there for about one hour" as she was assaulted inside the cubicle.

Dr Chen said the woman, who cannot be named, told her Corben pushed her into the cubicle so her back was facing the wall, before forcing her to strip and assaulting her.

Dr Chen said the woman was so traumatised by the incident she was unwilling to enter a medical examination room at Sydney's Royal Prince Alfred Hospital because it reminded her of the Ivy toilet.

"She was in fear of going in there to change into a gown as the toilet in the examination room reminded her of the room where she was assaulted," Dr Chen told the court on Tuesday.

"She was upset and broke down as she repeated the story."

Dr Chen said the woman sustained "abnormal" injuries as a result of the incident, including abrasions, bruises, and scratches to her upper thighs.

Counsel for Mr Corben, Winston Terracini SC, has said his client did not penetrate the woman and that any sexual activity was consensual.

Earlier, a former security manager at the Ivy said the woman was so distraught after the alleged assault she could not be communicated with.

"I tried to but she wasn't able, she was crying, she was very distraught," Sean MacWilliam told the court.

"She was not making sense at that time."

He said the woman was "hysterical" by the time he arrived at the toilets near the Ivy's pool bar.

"She was crying, she was dishevelled," Mr MacWilliam said. "She was distraught, she was just hysterical."

After seeing the woman he immediately called triple-zero for police and ambulance officers to attend to venue, the witness said.

Mr MacWilliam said he then accompanied Corben downstairs to wait for police, at which point Corben told him "he wanted to go".

The trial is continuing before Judge Peter Berman.