I’m not sure I follow you. Did the government force these hospitals to lay people off? Sounds like a decision by their employers to me.
Hospital patients still need medical care, facilities need to be cleaned/maintained and patients need to eat.
As you said previously, people still are involved in accidents, are sick and can get sick by any number of things besides Coronavirus, so why the need to lay off medical workers?