The family of a woman who died after being admitted to hospital for elective weight loss surgery hope her legacy will be to prevent similar deaths in future.