You must undergo medical procedure and fingerprint formalities before obtaining residence permit (RP or PATAKA) it depends on your Mandoop how long it takes