She was declared brain-dead, but doctors kept her heart beating and delivered her baby daughter two days later.