Joshua Barker granted interim order over mental health