When you move to or from Finland, Kela will issue a decision on whether you are covered under the Finnish social security system or not.
http://www.kela.fi/international situations-
The service is free of charge.