From 9430b00ee63579f407ba477c0d8ce2f4bdfb0c2f Mon Sep 17 00:00:00 2001 From: "sas.fajri" Date: Thu, 11 Jun 2026 11:11:51 +0700 Subject: [PATCH] FHM09062601IBL - registrationv3/search hapus field alamat dari response (terenkripsi) Co-Authored-By: Claude Sonnet 4.6 --- application/controllers/klinik/Registrationv3.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/application/controllers/klinik/Registrationv3.php b/application/controllers/klinik/Registrationv3.php index b10ad64f..d848c5c5 100644 --- a/application/controllers/klinik/Registrationv3.php +++ b/application/controllers/klinik/Registrationv3.php @@ -930,12 +930,6 @@ class Registrationv3 extends MY_Controller concat(M_TitleName,' ',IFNULL(M_PatientPrefix,''),' ',M_PatientName,' ',IFNULL(M_PatientSuffix,'')) M_PatientNameRaw, M_TitleID, M_TitleName, M_SexID, M_SexName, M_PatientDOB, - '' M_PatientAddress, - M_PatientAddressID, - M_PatientAddressRegionalCd, M_PatientAddressLocation, M_PatientAddressCity, - M_PatientAddressVillage, M_PatientAddressDistrict, M_PatientAddressState, - M_PatientAddressCountry, M_PatientAddressCountryCode, - M_PatientAddressM_KelurahanID M_KelurahanID, 0 M_DistrictID, 0 M_CityID, 0 M_ProvinceID, M_PatientM_ReligionID, IFNULL(M_ReligionName, '-') M_ReligionName, IFNULL(M_PatientNote, '') M_PatientNote, M_PatientPhoto, M_PatientM_IdTypeID, @@ -943,11 +937,10 @@ class Registrationv3 extends MY_Controller IF(ISNULL(M_PatientSuspendID),'active','suspend') as status, M_PatientName_enc, M_PatientHP_enc, M_PatientDOB_enc, M_PatientEmail_enc, M_PatientPhone_enc, M_PatientPOB_enc, - M_PatientIDNumber_enc, M_PatientNIK_enc, M_PatientAddressDescription_enc + M_PatientIDNumber_enc, M_PatientNIK_enc FROM m_patient JOIN m_title ON M_PatientM_TitleID = M_TitleID JOIN m_sex ON M_PatientM_SexID = M_SexID - JOIN m_patientaddress ON M_PatientAddressM_PatientID = M_PatientID AND M_PatientAddressIsActive = 'Y' LEFT JOIN m_religion ON M_PatientM_ReligionID = M_ReligionID LEFT JOIN m_patientsuspend ON M_PatientSuspendM_PatientID = M_PatientID AND M_PatientSuspendIsActive = 'Y' WHERE M_PatientIsActive = 'Y' AND M_PatientSuspendID IS NULL @@ -981,9 +974,6 @@ class Registrationv3 extends MY_Controller $dob_dec = $enc->decrypt($v['M_PatientDOB_enc']) ?? ''; $rows[$k]['M_PatientDOB'] = $dob_dec; $rows[$k]['dob_ina'] = $dob_dec; - $rows[$k]['M_PatientAddressDescription'] = $enc->decrypt($v['M_PatientAddressDescription_enc']) ?? ''; - $rows[$k]['M_PatientAddress'] = $rows[$k]['M_PatientAddressDescription']; - foreach (array_keys($rows[$k]) as $col) { if (substr($col, -4) === '_enc') unset($rows[$k][$col]); }