In Merced County, a collaborative effort among primary care, emergency department, and mental health providers is improving care transitions and reducing ER visits for patients in need of behavioral health and substance-use services.