Cox regression examined NSAID use as a time-varying covariate and its association with the primary outcome of total cardiovascular disease defined as cardiovascular death , nonfatal myocardial infarction , or nonfatal stroke .