Added helper function to get provider profile type