If your application is still in progress and medical expires; then they ask you to re-do the medical or in some cases they extend medical for one year.
If a decision is made while there are only 1-2 months remaining to the date of medical expiry, then they grant one more year for landing (you...