1: <?php
2: namespace Azalea\Selenium\EHR\UI\Patients;
3:
4: class PatientsListTab extends \Azalea\Selenium\EHR\UI\TabPanel
5: {
6:
7: protected static $hash = "/patients";
8:
9: protected static $selector = "#patient-list-tab";
10: protected static $title = "Patient List";
11: protected static $title_selector = ".label-title";
12:
13: 14: 15: 16:
17: public function getPatientsList()
18: {
19: return $this->uiPatientsList;
20: }
21:
22: 23: 24: 25:
26: public function verify($args = array())
27: {
28: if (!parent::verify($args)) {
29: return false;
30: }
31:
32: $this->uiPatientsList = new PatientsList($this);
33:
34: return true;
35: }
36: }