The practice of discharging incurable patients from the hospital home is not connected with statistics and its damage, in fact, nothing terrible happens to the hospital when patients die in it for natural reasons without the fault of doctors. This is due to the fact that the purpose of the hospital is not to keep patients, but to carry out medical measures. If all the necessary medical measures have been taken, if the patient already has nothing to help with, or if all the necessary medical measures can be carried out on an outpatient basis, the patient will be discharged. The hospital is not for the living of the dying, beds are needed for other patients as well. And if when your loved one is discharged, then someone else's relative will be able to get medical help.
And dying at home is not as bad as in a hospital for most people with normal families.
Practice related to statistical indicators is "do not take on the table a patient who with a probability of more than 50% will die on the table." This is the practice of surgeons who do not want to spoil their resume with mortality on the table and some department heads who do not want to spoil statistics. Yes, it happens. In this case, you need to look for a more risky surgeon and understand the risks (especially since no one will take a patient who is likely to die on the table, and relatives will probably stink about this).
In the 60s of the last century, this practice was applied. Such cases are described in Solzhenitsyn's novel Cancer Ward. This happened due to the lack of beds and in order not to spoil the statistics