From e657035574d8b0cdc25a4c118a3207ab0fe73e90 Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Tue, 5 Aug 2025 14:52:11 +0700 Subject: [PATCH] Update Index Patient(Email dan Mobilephone) dan perubahan Mobilephone menjadi MobilePhone --- app/Controllers/Patient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Patient.php b/app/Controllers/Patient.php index 56f612c..05643a3 100644 --- a/app/Controllers/Patient.php +++ b/app/Controllers/Patient.php @@ -21,7 +21,7 @@ class Patient extends Controller { $BirthDate = $this->request->getVar('BirthDate'); $qname = "LOWER(CONCAT_WS(' ', IFNULL(Prefix,''), IFNULL(NameFirst,''), IFNULL(NameMiddle,''), IFNULL(NameLast,''), IFNULL(NameMaiden,''), IFNULL(Suffix,'')))"; $builder = $this->db->table('patient'); - $builder->select("InternalPID, PatientID, $qname as FullName, Gender, BirthDate"); + $builder->select("InternalPID, PatientID, $qname as FullName, Gender, BirthDate, Emailaddress1 as Email, Mobilephone"); if ($Name !== null) { $sql = $qname; $rawSql = new RawSql($sql);