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.


Trump cuts China tariffs to 47% after 'amazing' Xi meeting
More than 100 killed in Israeli strikes on Gaza
Indonesia probes more free meal poisoning cases, after 700 students fall ill
At least 121 killed after Brazil's deadliest operation against drug gangs
Hurricane Melissa kills 30 as hurricane batters Caribbean
Russia tests nuclear-capable Poseidon super torpedo
Hurricane Melissa hits Cuba hours after devastating Jamaica
Trump says Gaza ceasefire holds, Israel has right to hit back if attacked
