A visitor can obtain Umra Visa but he/ she has to appear to immigration office in order to pass the medical and thereafter he/she would get Umra Visa that allows to go to KSA and come back to Qatar.
No need to obtain Umra Visa from home country, in that case he cannot re-enter Qatar and has to go straight to the home country after performing Umra, if he went from Qatar (after entry).