From d54cb267351c1095c462b569f859d7598924005f Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Mon, 8 Apr 2019 17:10:02 +0000 Subject: [PATCH] Backend Service --- .../application/controllers/Patient.php | 10 ++ .../views/provider/patient/findpatient.php | 102 ++++++++++++++++++ .../views/template/menu/sidemain.php | 2 +- 3 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 providerwww/application/views/provider/patient/findpatient.php diff --git a/providerwww/application/controllers/Patient.php b/providerwww/application/controllers/Patient.php index ad06792..069cc0a 100644 --- a/providerwww/application/controllers/Patient.php +++ b/providerwww/application/controllers/Patient.php @@ -45,6 +45,16 @@ class Patient extends Provider_Controller { $this->renderProviderSecurePage('patient/newpatient', $data); } + public function findpatient(){ + $out = array(); + $out = $this->getPatientList(); + $data["patient_list"] = $out["patient_list"]; + + + $this->renderProviderSecurePage('patient/findpatient', $data); + + } + public function patientView() { $data['patient_id'] = trim($this->input->post('patientID')); $this->load->model('patient_model'); diff --git a/providerwww/application/views/provider/patient/findpatient.php b/providerwww/application/views/provider/patient/findpatient.php new file mode 100644 index 0000000..8c6e1d6 --- /dev/null +++ b/providerwww/application/views/provider/patient/findpatient.php @@ -0,0 +1,102 @@ + + + +
+ + + + +
+ +
+ + + + +
+ + +
+
+
+
+

Find Patient

+
+ +
+
+
+
+
+
+ + +
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+ + +
+ +
+ +
+ + + + + + +
+ +
+ +
+ + + + diff --git a/providerwww/application/views/template/menu/sidemain.php b/providerwww/application/views/template/menu/sidemain.php index 69316db..a8af95f 100644 --- a/providerwww/application/views/template/menu/sidemain.php +++ b/providerwww/application/views/template/menu/sidemain.php @@ -12,7 +12,7 @@
  • Dashboard
  • Calendar
  • Add Patient
  • - +
  • Find Patient