"If you were in hospice and had already been given a few weeks to live, and then you also were found to have COVID, that would be counted as a COVID death. It means technically even if you died of a clear alternate cause, but you had COVID at the same time, it's still listed as a COVID death. So, everyone who's listed as a COVID death doesn't mean that that was the cause of the death, but they had COVID at the time of the death."
https://week.com/2020/04/20/idph-director-explains-how-covid-deaths-are-classified/