Question special

Are all residencies and fellowships eligible for PSLF, or are residencies operated by for-profit organizations such as HCA excluded from this? Additionally, post-training, do new attendings ever take a job at a non-profit hospital only to find out that their LLC physician group employer is not eligible for PSLF?