Local officials say initial investigation showed that the militants were brought from neighboring Afghanistan to the hospital in the provincial capital , Quetta .