diff --git a/app/Models/Patient/PatientModel.php b/app/Models/Patient/PatientModel.php index 540cea5..95dc6a5 100644 --- a/app/Models/Patient/PatientModel.php +++ b/app/Models/Patient/PatientModel.php @@ -22,7 +22,7 @@ class PatientModel extends BaseModel { protected $deletedField = 'DelDate'; public function getPatients($filters = []) { - $qname = "CONCAT_WS(' ', IFNULL(Prefix,''), IFNULL(NameFirst,''), IFNULL(NameMiddle,''), IFNULL(NameLast,''), IFNULL(NameMaiden,''), IFNULL(Suffix,''))"; + $qname = "CONCAT_WS(' ', IFNULL(NameFirst,''), IFNULL(NameMiddle,''), IFNULL(NameLast,''))"; $this->select("InternalPID, PatientID, $qname as FullName, Sex, Birthdate, EmailAddress1 as Email, MobilePhone");