Пример #1
0
 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
Пример #2
0
 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
Пример #3
0
 def full_name_url(self):
     return html.escape(
             PatientInfoReport.get_url(*[self.case["domain"]]) + "?patient_id=%s" % self.case["indices"][0]["referenced_id"])
Пример #4
0
 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)
Пример #5
0
 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)
Пример #6
0
 def case_detail_url(self):
     return html.escape(
             PatientInfoReport.get_url(*[self.case["domain"]]) + "?patient_id=%s" % self.case["_id"])