1: <?php
2: namespace Azalea\Selenium\EHR\UI\Patients;
3:
4: use Azalea\Selenium\EHR\UI\Charts\ChartsListTab;
5:
6: class Patients extends \Azalea\Selenium\EHR\UI\TabContainer
7: {
8: protected static $hash = "\patients";
9: protected static $selector = "#patients_main";
10:
11: protected static $tabs = array(
12: "Patients" => "\Azalea\Selenium\EHR\UI\Patients\PatientsListTab",
13: "Charts" => "\Azalea\Selenium\EHR\UI\Charts\ChartsListTab"
14: );
15:
16: public static $PATIENTS_LIST_TAB = "Patients";
17: public static $CHARTS_LIST_TAB = "Charts";
18:
19: public function openPatientsList()
20: {
21: return $this->openTab(self::$PATIENTS_LIST_TAB);
22: }
23:
24: public function getPatientsListTab()
25: {
26: return new PatientsTab($this);
27: }
28:
29: public function getChartsTab()
30: {
31: return new ChartsListTab($this);
32: }
33:
34: public function openChartsList()
35: {
36: return $this->openTab(self::$CHARTS_LIST_TAB);
37: }
38: }
39: ?>