The results of the decade-long study — which followed 30,000 B.C. drug users taking two opioid alternatives — are expected to help doctors better treat patients.