Pretty much every resident counts as an employee of a qualifying non-profit, so you should be signing up for the PSLF, and you should know that part of qualifying for the PSLF requires that you are in an income-driven repayment plan.

https://studentaid.gov/manage-loans/forgiveness-cancellation/public-service

https://studentaid.gov/idr/

Another thing to keep in mind as new graduates/residents: your IDR monthly payment is calculated based on your past year’s earnings and taxes (so your 4th year of medical school with almost certainly no income). This means that your first year of payments is likely going to be $0/month or at least very minimal, so it is in your best interest to forgo the grace period so that you have more qualifying payments at a lower rate counting towards your 120 qualifying payments for PSLF.

If anyone has more information about this or has any corrections to what I’ve posted here, please share them in the comments so that I can update the post accordingly with the most useful and accurate information possible.