So I know that I will be missing somethings
Some of the phone calls would be to the mother's OB, possibly her PCP, the baby's PCP is they had designated one by that point. I also know that calls have to be made to the hospital administrator and medical examiner but those can frequently wait until after the family leaves (at least from what I have seen). The social worker should also be called and any religious leader if the family wishes.
Things to discuss with the parents:
What to expect once the baby has been extubated (the heart will beat for sometime and the baby will try to breathe), eventually a discussion about whether they want an autopsy, and what type of arrangements for the body. I think another responsibility for the medical team is to be around and check in through the process after withdrawal of care to indicate to the family that their baby is still important and so are they but to allow them "family time" as well.
I am sure I missed several other things so I will rely on the wiser 3rd and 4th years and residents.
You got most of it.
After withdrawing the ETT and turning off the monitor, the baby needs to have frequent auscultation. This can seem intrusive and sometimes it is, but it also is a chance to make sure the family is doing okay. In a case like this, the time from withdrawal of care to death will be minutes. In other cases it can be hours. If it is going to be longer than that, hospice care (including in-hospital hospice) need to be considered.
The physician (can be the intern) needs to document the time of death and of course, let the family know when they can't hear a heart beat anymore. A note in the chart needs to be written.
Phone calls at this point go to:
1. Referring pediatrician
2. Referring OB when known
3. Medical examiner
4.
Lifegift (this actually should be done prior to death, but in cases like this, that won't happen).
In due time, the family needs to be asked about an autopsy. In my experience, the best time to do this is about 15-30 minutes after the baby has died, after the initial grieving but before they are leaving or moving on to funeral planning.
The family will need to indicate a funeral home, although this issue is usually handled by the nursing staff.
If an autopsy is agreed to, the appropriate paperwork needs to be completed and contact information obtained directly by the physician (ideally) and the family told when to expect autopsy results (full results generally take several months). An in-person (offer this at least) meeting with the family to review the autopsy results is standard and appropriate.
The chart should be properly completed and the death summary dictated as soon as possible.
The attending will be responsible for the death certificate. Different states handle this differently, but in general, this needs to be done within a few days of the death.