Emergency room nurses gather flowers donated to the hospital staff on a ramp outside Elmhurst Hospital Center's ER in New York after a neighbor dropped them off on March 28 (Kathy Willens/AP)

Every crisis has its heroes, every disaster its displays of selflessness and sacrifice. Firefighters race into burning buildings. Police officers place themselves in the line of fire. Soldiers march into war.

And now, amid the coronavirus pandemic, our health-care workers, doctors, nurses, EMTs and support staff who risk becoming infected themselves — who risk infecting their own families — are making extraordinary sacrifices to care for the rest of us. They do so, most infuriatingly, even as they have been put at greater risk than necessary by the avoidable shortages of masks, face shields and other personal protective equipment.

Full coverage of the coronavirus pandemic

Their stories — the nurses who have resorted to wearing garbage bags as protective gear, the doctors banished to the basement for fear of infecting their spouses and children — are at once maddening, heartbreaking and inspiring.

As are, most of all, the deaths, beginning with Dr. Li Wenliang, a Wuhan, China, opthalmologist who warned his medical school classmates about this strange new virus and was reprimanded by Chinese authorities — only to later contract the virus himself and die. Now, Li’s counterparts in overcrowded and under-resourced hospitals around the world have given their own lives to save others.

In Italy, more than 40 health-care workers have died. In France, at least three doctors. In the United States, the toll is beginning to mount: In New York on Tuesday, 48-year-old Kious Kelly, an assistant nursing manager at Mount Sinai who suffered from severe asthma, died. “I’m okay,” he had texted his sister only the week before, letting her know he had tested positive and was on a ventilator. “Don’t tell Mom and Dad. They’ll worry.”

A grim report by The Post’s Rachel Siegel featured the emergency medicine doctor who wrote out her funeral playlist; the dual-physician family who found backup guardians for their backup guardians, in case of the worst.

Is this what they signed up for? There is some danger inherent in the ordinary practice of medicine, but not this much. I confess: I do not know that I would do the same in their circumstances; I am not sure I am so generous or so brave. If my child were graduating from medical school, how would I deal with her being sent, inadequately protected, into an emergency room? If my husband were a physician, would I send him off to the hospital — or let him back into the house in the interim?

What is fascinating about the selflessness of health-care providers in the current pandemic is that their ethical obligations are not absolute. During the influenza pandemic in 1918, when more than 600 physicians died, the American Medical Association’s code of ethics mandated that physicians continue caring for patients “without regard to the risk to [their] own health,” according to a 2018 article, “The Physician’s Duty to Treat During Pandemics,” by David Orentlicher in the American Journal of Public Health.

In subsequent years, that strict ethical standard was first relaxed and then, if only in the aftermath of debates over the duty of health-care providers to treat AIDS patients, restored, although not quite as strictly. The current version of the code obliges doctors to “provide urgent medical care during disasters,” and “this obligation holds even in the face of greater than usual risks to physicians’ own safety, heath, or life,” Orentlicher writes.

But at the same time, according to an AMA ethics opinion, “Physicians also have an obligation to evaluate the risks of providing care to individual patients versus the need to be available to provide care in the future.” Similarly, according to the American Nursing Association, “Nurses are morally obligated to care for all patients.” However, the group’s ethics code advises, “in certain situations the risks of harm may outweigh a nurse’s moral obligation or duty to care for a given patient. . . . Accepting personal risk exceeding the limits of duty is not morally obligatory; it is a moral option.”

The Opinions section is looking for stories of how the coronavirus has affected people of all walks of life. Write to us.

As Orentlicher observes, the duty to provide care cannot be absolute: “It would not make sense to expect physicians to treat patients who cannot be saved but would readily transmit their deadly infection to their care providers.” Orentlicher argues for imposing on physicians a more stringent requirement to treat than does the AMA, but he also notes, “We cannot ask physicians to assume risks to their health unless we do all we can to reduce the risk.”

Which, of course, we didn’t. Not enough, and not in time. And that is what makes the heroism of the health-care workers even more extraordinary. This is their version of running into a burning building. It is what they do — what they do for us. We must be forever grateful, and we should not fail them again.

Read more:

Colbert I. King: I refuse to be a burden on my family or health-care providers. So I’m staying home.

David Von Drehle: This is the way sickness has shrunk my world

Megan McArdle: Need motivation to stay home? Do it for our supply chains.

Xinyan Yu: My hometown showed us how a pandemic begins. Could it also show us how one ends?

Coronavirus: What you need to know

Covid isolation guidelines: Americans who test positive for the coronavirus no longer need to routinely stay home from work and school for five days under new guidance planned by the Centers for Disease Control and Prevention. The change has raised concerns among medically vulnerable people.

New coronavirus variant: The United States is in the throes of another covid-19 uptick and coronavirus samples detected in wastewater suggests infections could be as rampant as they were last winter. JN.1, the new dominant variant, appears to be especially adept at infecting those who have been vaccinated or previously infected. Here’s how this covid surge compares with earlier spikes.

Latest coronavirus booster: The CDC recommends that anyone 6 months or older gets an updated coronavirus shot, but the vaccine rollout has seen some hiccups, especially for children. Here’s what you need to know about the latest coronavirus vaccines, including when you should get it.