From 77255bba83e4534abdd804aa071d5b31e4ae677f Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sat, 20 Feb 2021 21:16:59 -0500 Subject: [PATCH] fix --- .../application/controllers/Patient.php | 4 +-- .../components/large_patient_listing.php | 27 ++++++++++++------- .../views/provider/patient/findpatient.php | 2 +- .../views/template/provider_header.php | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/providerwww/application/controllers/Patient.php b/providerwww/application/controllers/Patient.php index 78a0019..0717447 100644 --- a/providerwww/application/controllers/Patient.php +++ b/providerwww/application/controllers/Patient.php @@ -69,8 +69,6 @@ class Patient extends Provider_Controller { $out = array(); $out = $this->getPatientList(); $data["patient_list"] = $out["patient_list"]; - - $this->renderProviderSecurePage('patient/findpatient', $data); } @@ -97,7 +95,7 @@ private function selectedPatientView($patient_id){ private function getPatientList() { - $mysql = "SELECT p.practice_id,p.id AS patient_id,p.member_id,p.long_id,m.firstname,m.lastname,m.phone,p.added " + $mysql = "SELECT p.practice_id,p.id AS patient_id,p.member_id,p.long_id,m.firstname,m.lastname,m.phone,p.added,m.gender,m.dob::date AS dob " . " FROM patients p LEFT JOIN members m ON m.id=p.member_id ORDER BY p.added DESC"; $query = $this->db->query($mysql); $num = $query->num_rows(); diff --git a/providerwww/application/views/provider/components/large_patient_listing.php b/providerwww/application/views/provider/components/large_patient_listing.php index 2791206..46fedc2 100644 --- a/providerwww/application/views/provider/components/large_patient_listing.php +++ b/providerwww/application/views/provider/components/large_patient_listing.php @@ -13,12 +13,15 @@ - + + + + + - - - + + @@ -33,11 +36,14 @@ + + + + - - + - + + + + + - - +
##Select NameGenderAgeDOB PhoneChartStatusActionStatus
firstname ?> lastname ?>gender ?>dob ?>dob ?> phone ?> Active
##Select NameGenderAgeDOB PhoneChart StatusAction
diff --git a/providerwww/application/views/provider/patient/findpatient.php b/providerwww/application/views/provider/patient/findpatient.php index 238e84d..06a87d4 100644 --- a/providerwww/application/views/provider/patient/findpatient.php +++ b/providerwww/application/views/provider/patient/findpatient.php @@ -44,7 +44,7 @@
- +
diff --git a/providerwww/application/views/template/provider_header.php b/providerwww/application/views/template/provider_header.php index 487b24d..554fe03 100644 --- a/providerwww/application/views/template/provider_header.php +++ b/providerwww/application/views/template/provider_header.php @@ -69,7 +69,7 @@