first commit
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
use App\Controllers\BaseController;
|
||||
|
||||
//class Provider extends Provider_Controller {
|
||||
class Provider extends SecureBaseController
|
||||
{
|
||||
//var $patient_model;
|
||||
public function index() {
|
||||
$data = array();
|
||||
$out = array();
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
$_SESSION['patient_count'] = 5;
|
||||
$this->load->model('encounter_model');
|
||||
$out = $this->encounter_model->getEncounterList();
|
||||
$data["encounter_list"] = $out["encounter_list"];
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
// print_r($_SESSION);
|
||||
}
|
||||
|
||||
public function alerts() {
|
||||
$data = array();
|
||||
$out = array();
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
}
|
||||
|
||||
public function todo() {
|
||||
$data = array();
|
||||
$out = array();
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
}
|
||||
|
||||
public function tasks() {
|
||||
$data = array();
|
||||
$out = array();
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
}
|
||||
|
||||
public function calendar() {
|
||||
$data = array();
|
||||
$out = array();
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
$this->renderProviderSecurePage('calendar', $data);
|
||||
}
|
||||
|
||||
public function encounters() {
|
||||
$data = array();
|
||||
$out = array();
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
|
||||
$this->load->model('encounter_model');
|
||||
$out = $this->encounter_model->getEncounterList();
|
||||
$data["encounter_list"] = $out["encounter_list"];
|
||||
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user