At least four people at a renowned Shanghai hospital were wounded by a knife-wielding assailant on Saturday.
It's the second reported stabbing incident after a COVID-19 lockdown of the financial hub was lifted early in June.
Officers raced to the more than 100-year-old Ruijin Hospital on Saturday morning after receiving calls about an attack, police said.
Videos on social media showed chaos as visitors clambered under turnstiles to get out of the hospital while doctors were seen running out with their patients, some in wheelchairs and one on a mobile bed.
Hospitals are a flashpoint for many in China, who face issues from touts illegally trading appointment tickets, long queues to see doctors, and corruption that can push up the cost of receiving care.
Reports of patients assaulting doctors are also common.
At the Shanghai hospital, police found a man holding a crowd hostage with a knife on the seventh floor of the outpatient department. When the man threatened to hurt the hostages, the police opened fire, subduing him, according to local police.
None of the wounded is in a life-threatening situation and the incident is being investigated, the police said.
Ruijin Hospital has been cordoned off, and all appointments cancelled, a police officer told onlookers outside.
A man was arrested on Monday after going on a stabbing spree in the city's downtown Jingan district.


Afghanistan says Pakistan strikes kill and injure dozens
Police officer killed, dozens injured in bomb explosions in Ukraine's Lviv
Trump pivots to new 15% global tariff after Supreme Court setback
Hong Kong plans to buy homes devastated in deadly high-rise fire
US Supreme Court strikes down Trump's global tariffs
