I think you will be okay. In my understanding, you will be okay if you file I-485 before the medical exam expired and you will not get RFE for medical exam.