Retirement tax questions

You enter the Form 1099-R as received.  If there is an exception to the early withdrawal penalty you will have an opportunity to enter the amount of medical expense you paid which were greater than 7.5% of your AGI on a later screen where you will be asked about exceptions.