Health care providers are advocating for more collaboration with lawyers, judges and others in the legal system to provide support for people with substance use and mental health issues. Providers said building community resources into the legal system could support treatment and recovery and help divert patients from jails and prisons.