temporary child custody mental health