I have a visa appointment at the end of January but since I am from Iran, the consulate already emailed me and asked to submit DS-5535. Since this is going to take at least a few months, to avoid paying twice, I am wondering if I can do the medical test after my visa appointment when the AP has been completed?