Caring for dying patients in the community