Oedema can happen if someone has a specific condition, like chronic heart failure, kidney failure, or liver disease. But it can happen to any patient at the end of their life as their body begins to shut down.