The primary outcome measures were retention , at least @ consecutive weeks of cocaine abstinence , the maximum number of consecutive weeks of abstinence and proportions of cocaine-free urine samples during the entire @-week and at @-month follow-up .