Medical students, residents, and the dying patient -- The rise of the bioethics and palliative care movements -- Death, dying, and the law -- End-of-life care in the hospital -- Goal-setting: triggering the process -- Goal-setting: when death is near -- Goal-setting: end-of-life decisions -- Goal-setting: medical developments -- Goal-setting: gathering information -- Goal-setting: formulating goals of care.