示例#1
0
 def get_report_line(self, row):
     return '- {}\r\n'.format(
         get_case_link(
             row['StudyNumber'] or 'Click Here',
             row['civicrm_case_id'],
             row['civicrm_contact_id'],
         ))
示例#2
0
 def get_report_line(self, row):
     return '- {}\r\n'.format(
         get_case_link(
             row['case_status_name'],
             row['civicrm_case_id'],
             row['civicrm_contact_id']
         )
     )
示例#3
0
    def get_report_line(self, row):
        if row['civicrm_case_id'] and row['civicrm_contact_id']:
            link = get_case_link(row['bioresource_id'], row["civicrm_case_id"],
                                 row["civicrm_contact_id"])
        else:
            link = get_contact_id_search_link(row["bioresource_id"],
                                              row["bioresource_id"])

        return '- {} Consent Date: {}\r\n'.format(link, row['consent_date']
                                                  or '')
示例#4
0
 def get_report_line(self, row):
     return '- {}\r\n\r\n'.format(
         get_case_link(
             'Click to View',
             row["civicrm_case_id"],
             row["civicrm_contact_id"]))
示例#5
0
 def get_report_line(self, row):
     return '- {}\r\n\r\n'.format(
         get_case_link(
             row['StudyNumber'],
             row["civicrm_case_id"],
             row["civicrm_contact_id"]))
示例#6
0
 def get_report_line(self, row):
     return '- {}\r\n\r\n'.format(
         get_case_link('Click to View', row["CaseId"], row["CiviCrmId"]))
示例#7
0
 def get_report_line(self, row):
     return '- {}: {} recruiting sites\r\n\r\n'.format(
         get_case_link(row["StudyNumber"], row["civicrm_case_id"],
                       row["civicrm_contact_id"]),
         row["recruiting_practices"])
示例#8
0
 def get_report_line(self, row):
     return '- {}\r\n\r\n'.format(
         get_case_link(row["StudyNumber"], row["CiviCrmCaseId"],
                       row["CiviCrmId"]))