Patients receiving ICIs were associated with a greater risk of developing RA, but lower risks for SLE and SSc.