Heart disease risk factors linked to subsequent ED