Consenting patients were randomized to either receive usual care from their own health care team or enter an intervention program that included ( @ ) telephone-based motivational counseling , ( @ ) free nicotine replacement therapy ( NRT ) for @ weeks , ( @ ) access to community-based referrals to address sociocontextual mediators of tobacco use , and ( @ ) integration of all these components into their normal health care through the EHR system .