how to get covid test report when travelling/ flying with qatar airways to pakistan?

Can i just go to health centre & get test report, how long does result take?

i dont have health card, is it free?