Background: As part of a broader study to improve the capacity for advance care planning (ACP) in primary healthcare settings, the research team set out to develop and validate a computerized algorithm to help primary care physicians identify individuals at risk of death, and also carried out focus groups and interviews with relevant stakeholder groups.