Boston Medical Center to open inpatient psychiatric and substance use treatment center in Brockton