Registre de correu electrònic: A methodology to systematically analyze the hospital discharge of terminally ill patients