About to die.
About to lose viability or become defunct.
Having an incurable condition that will lead to death.