All your PRSI payments and credits are on record with the Dept of Social Protection. You can obtain a copy of them by writing to the PRSI Records Section, Amiens St, Dublin 1 or request a copy on-line from welfare.ie.
Your UK records will be recorded in he UK and both sets of records can be combined in the event of a claim and for pension