More generally, there is no universally agreed way to record all the factors that contributed to a death at the time of death or certification.
This is why excess deaths is the real metric by which the toll of this pandemic will be measured, at least in countries with reliable records about whether deaths happened at all.