Update Index Patient(Email dan Mobilephone) dan perubahan Mobilephone menjadi MobilePhone
This commit is contained in:
parent
a367ffbd13
commit
e657035574
@ -21,7 +21,7 @@ class Patient extends Controller {
|
|||||||
$BirthDate = $this->request->getVar('BirthDate');
|
$BirthDate = $this->request->getVar('BirthDate');
|
||||||
$qname = "LOWER(CONCAT_WS(' ', IFNULL(Prefix,''), IFNULL(NameFirst,''), IFNULL(NameMiddle,''), IFNULL(NameLast,''), IFNULL(NameMaiden,''), IFNULL(Suffix,'')))";
|
$qname = "LOWER(CONCAT_WS(' ', IFNULL(Prefix,''), IFNULL(NameFirst,''), IFNULL(NameMiddle,''), IFNULL(NameLast,''), IFNULL(NameMaiden,''), IFNULL(Suffix,'')))";
|
||||||
$builder = $this->db->table('patient');
|
$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) {
|
if ($Name !== null) {
|
||||||
$sql = $qname;
|
$sql = $qname;
|
||||||
$rawSql = new RawSql($sql);
|
$rawSql = new RawSql($sql);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user