def survey_getPriorityQuestionForSeries(series_id):
 template_rec = survey_getTemplateFromSeries(series_id)
 if (template_rec != None):
  priority_question_code = template_rec['priority_qstn']
  question = survey_getQuestionFromCode(priority_question_code, series_id)
  return question
 else:
  return None

def survey_getPriorityQuestionForSeries ( series_id ) : template_rec = survey_getTemplateFromSeries ( series_id ) if ( template_rec != None ) : priority_question_code = template_rec [ 'priority_qstn' ] question = survey_getQuestionFromCode ( priority_question_code , series_id ) return question else : return None
get the priority question for series corresponding to series_id .