def clickSecondaryClinic(self, patientObject): value, index = self._patientLookup(patientObject) if value != None: from komodo.dragonweb.pages import PatientDetailPage if self._clickByElement(value._SecondaryClinicLink): page = PatientDetailPage(self.browserDict) if page.verifyPage(): return page return self._navigationReturn()
def clickPatientName(self, patientObject, subClinicObj=None): """ Clicks the patient's name if present else return None """ value = self._getPatientDictionaryValue(patientObject, subClinicObj) from komodo.dragonweb.pages import PatientDetailPage if value is not None: if self._navigateToUrl(value._patientNameLink.get_attribute("href")): page = PatientDetailPage(self.browserDict) if page.verifyPage(): return page return self._navigationReturn()