He killed one woman, Dr. Tracy Sin-Yee Tam, and left six other people wounded. Doctors at the hospital worked furiously to save the lives of those who were injured, and on Monday, one of those shot was due to be discharged.

Four of the victims were still at Bronx-Lebanon.

Dr. Sridhar Chilimuri, the hospital’s physician in chief, said on Monday: “Two of them are of the I.C.U. The last one in the I.C.U. is actually eating and walking around in the I.C.U. So we are all very pleased with the outcome.”

Two of the victims had been transferred to Mount Sinai Hospital and were in stable condition. One, a medical student who had a brain injury, was “in good spirits talking to his family,” Dr. Chilimuri said. The other had surgery on Monday and will probably undergo two more operations, he said.

“The timely action is what saved lives that day,” Dr. Chilimuri said.

The New York law, called the SAFE Act, sought to limit the kinds of weapons sold in the state and the range of people who have access to them, precisely to lessen an assailant’s ability to inflict mass casualties.

Image Dr. Henry Bello

Specifically, it required mental health workers to report to the authorities any patient who was likely to be dangerous. As a result, about 34,500 people in New York were barred from owning guns.