Pictures emerged showing about five police cars at the hospital earlier.
Initial reports suggested that a man with a gun was at the scene, however this was ruled out quickly by both police and the hospital’s trust.
Remembering 'beautiful' and 'amazing' Blake and Tristan Barrass three years on from tragic Sheffield brothers' funeral
Sheffield Council employees sacked as fraud increases including theft and excessive internet use during work
EuroMillions: Mystery winner from South Yorkshire has won £79,242.50 on The National Lottery
Sheffield Council tenant forced to pay £5,000 and struck from housing register for fraud
Sheffield Crown Court: Paedophile hunter group members posed online as young girls to trap pervert
A police spokesperson said a detained man was being brought into the hospital for an assessment and attacked an officer.
They were then quickly taken away from the hosptial to another location.
The spokesperson added there is ‘no risk to the wider public’.
A hospital spokesperson said: “Earlier today, colleagues at Doncaster Royal Infirmary’s Emergency Department called the police to assist with a disruptive patient.
“The issue was dealt with quickly and no-one was harmed during the incident.
“We would like to thank visitors who were present at the time for their cooperation, our staff for their calm and quick response and South Yorkshire Police for their assistance.”