FHM09062601IBL - registrationv3/search hapus field alamat dari response (terenkripsi)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user