thanatology

a branch of psychiatry which deals with the traumatic effects of death and dying, and which addresses itself to finding ways in which people who are dying can come to terms with their death and ways in which the survivors of the dead person can adjust to their loss.