When death has occurred in hospital