A death midwife, or death doula, is a person who assists in the dying process, much like a midwife or doula does with the birthing process. They can be hired to help a dying person and their family before, during and after death.
Death Doula/Midwife
International End-of-Life Doula Association