The two-phase screening trial demonstrated that subgrouping of patients with respect to baseline abstinence status is feasible and clinically useful for exploring cocaine cessation and relapse-prevention effects of candidate medications .