An inquest will take place next year into the death of a woman who woke up after being declared dead.