If it's a sudden death, I don't think the autopsy is done and the cause of death is always known at the point the obituary is written.