Qatar airways travelling, testing

If i am travelling through qatar airways, how can i get free covid test from hamad or health care centre (48 hrs ? before) so i can travel.
I do not have health card & I am travelling to pakista.
form my departure from doha airport to pakistan, i need to show covid free letter/test result?
on arriving from pakistan to doha airport , do i need to show covid 19 free test result from pakistan to enter doha?
can anyoen please give me correct details precedures please, i get so much confusing info.
thank you
any one have helpful info? for travelling through qatar airways?
Where can i get free covid test /certificate for travelling? I have qatar id & not health card.
can i just go to any walkin health centre & they will give me covid result? is it by email or sms (eg how can i get printed copy for qatar airways?)
im travelling in jan. Do i need to show them printed ticket to get covid test for travellers? Please help, iVe tried calling many hotlines & they did not give me any info