code: def get_row_profile_services(self, row):
          
          bsc = getToolByName(self, 'bika_setup_catalog')
          services = set()
          profiles = [x.getObject() for x in bsc(portal_type='AnalysisProfile')]
          for val in row.get('Profiles', []):
              objects = [x for x in profiles
                         if val in (x.getProfileKey(), x.UID(), x.Title())]
              if objects:
                  for service in objects[0].getService():
                      services.add(service.UID())
              else:
                  self.error("Invalid profile specified: %s" % val)
          return list(services)
docs: Return a list of services which are referenced in profiles
          values may be UID, Title or ProfileKey.