A generation of baby boomers who have faced years of economic worry and easy access to prescription painkillers may be particularly vulnerable to self-inflicted harm.