Patients who had ever used heroin and received drug counseling were more likely to be successful ( i.e. , abstinent or nearly abstinent from opioids ) than heroin users who received medical management alone , but only if they were adherent to treatment and thus received adequate exposure to counseling ( OR = @ , @ % CI = @-@ @ , p = @ ) .