This is why Sweden has had a such a high death toll, because of bad care given to the elderly.
One big problem is that nursing homes in Sweden is often run by the kommun (city) whereas the hospital is run by the landsting (region), kommuns lacks the medical expertise on nursing homes to handle that kind of sickness, no oxygen or iv therapy.
And there has apparently been a reluctance to send patience from the nursing homes to the hospitals instead treating them at place, which increased the risk of dying.
Many elderly suffers from malnutrition in these nursing homes, malnutrition increases the risk of early death drastically.
I would also argue that it culturally exists ageism in Sweden, Swedish core belief is state sponsored individualism, you don't have any responsibility on others because your maximal individual freedom is guaranteed by the state, thus you basically dump the elderly on a nursing home never to be seen again, it is not your responsibility, it is the state.
Much of the Swedish society is very youth centric, it is not uncommon to find arguments a long the line, "it is good if the elderly dies off because they are holding us back".
This also explains why Sweden is so eager to jump on every new trend there is, progressivism in a nutshell.