It may not be fair, but people/companies are much more accepting of psychological issues than they are of substance abuse issues. If you must tell your boss that you need some time off for treatment, I would strongly recommend couching it in terms of anxiety/depression rather than opiate addiction.