def patient_info_url(self): from custom.succeed.reports.patient_Info import PatientInfoReport if self.is_all_reports_enabled or self.get_class_path( PatientInfoReport) in self.get_available_report_list: return html.escape( PatientInfoReport.get_url(*[self.get_case()["domain"]]) + "?patient_id=%s" % self.get_case()['_id']) return EMPTY_URL
def patient_info_url(self): from custom.succeed.reports.patient_Info import PatientInfoReport if self.is_all_reports_enabled or self.get_class_path(PatientInfoReport) in self.get_available_report_list: return html.escape( PatientInfoReport.get_url(*[self.case["domain"]]) + "?patient_id=%s" % self.case['_id']) return EMPTY_URL
def full_name_url(self): return html.escape( PatientInfoReport.get_url(*[self.case["domain"]]) + "?patient_id=%s" % self.case["indices"][0]["referenced_id"])
def case_link(self, referenced_id, full_name): url = html.escape( PatientInfoReport.get_url(*[self.domain]) + "?patient_id=%s" % referenced_id) return self.get_link(url, full_name, referenced_id)
def case_detail_url(self): return html.escape( PatientInfoReport.get_url(*[self.case["domain"]]) + "?patient_id=%s" % self.case["_id"])