How do they know the difference between rrms and ppms

I hpoe someone can answer me this

My friend was diagnosed today with primary progressive MS

he was asking me how do the know what type of MS you have I was diagnosed over 5 years ago with relapse remitting MS I just don’t know he had the same tests as I had done.

I guess the MRI’s show something different.