Drug and alcohol use is not always addressed with patients in medical care settings, including HIV primary care settings. The screening, brief intervention, and referral to treatment (SBIRT) strategy has demonstrated an effective model to introduce screening for substance use, and standardized guidelines in a number of clinical populations, but SBIRT for drug and alcohol use has not been tested in an HIV primary care setting. This is remarkable because several studies suggest that HIV+ and at-risk individuals have high rates of substance use. Therefore, the goal of this project is to assess the impact of SBIRT for harmful alcohol use, illicit drug use, and opioid analgesic use in an HIV primary care setting at San Francisco General Hospital’s Positive Health Program (PHP). Specifically, the project aims to examine and compare the feasibility, acceptability and impact of introducing SBIRT into this clinic population. In addition, this study will compare two different modes of SBIRT administration: A self-administered, web-based Personal Health Record. A provider-administered protocol during clinic appointments. A randomized, two-arm cohort methodology will be used. Three hundred HIV+ clinic patients will be enrolled, and will receive the SBIRT either through the web-based system (called myHERO), or from a provider. Participants will be seen for four study visits (baseline, 1 Month, 3 Months, 6 Months). SBIRT will be conducted at baseline and at six Months. The screening instruments will include the “Alcohol, Smoking and Substance Involvement Screening Test” and “The Alcohol Use Disorders Identification Test.” The screening tool scores and interpretation will be added to the Active Problem List in the patient’s electronic medical record, and will alert the provider to the need for follow-up. The brief intervention and referral to treatment will be delivered by a clinic- based social worker trained in substance use counseling and motivational interviewing techniques. Participants will be assessed at all four visits for the outcome indicators including alcohol and drug use, HIV transmission risk behaviors, and antiretroviral medication adherence.