The support and medical care given to a patient near the end of his life is called end-of-life care.