From 68c7ceeced3c9e3343bae1fa5b7f2afa9b0f2d49 Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Mon, 4 Aug 2025 11:07:23 +0700 Subject: [PATCH] Update patient penamaan variabel name pada method create dan update3 --- app/Controllers/Patient.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Controllers/Patient.php b/app/Controllers/Patient.php index de1f808..ccd97ef 100644 --- a/app/Controllers/Patient.php +++ b/app/Controllers/Patient.php @@ -139,14 +139,14 @@ class Patient extends Controller { "Citizenship" => $input['Citizenship'] ?? null, "DeathIndicator" => isset($input['DeathIndicator']) ? (int) $input['DeathIndicator'] : null, "DeathDateTime" => $input['DeathDateTime'] ?? null, - "LinkTo" => $input['LinkTo'] ?? null, + // "LinkTo" => $input['LinkTo'] ?? null, "CreateDate" => date('Y-m-d H:i:s'), "DelDate" => null, // Field tambahan dari struktur sebelumnya (bisa dihapus jika tidak dipakai) - "PatientComment" => $input['PatientComment'] ?? null, - "IdentityIDType" => $input['IdentityIDType'] ?? null, - "IdentityID" => $input['IdentityID'] ?? null + // "PatientComment" => $input['PatientComment'] ?? null, + // "IdentityIDType" => $input['IdentityIDType'] ?? null, + // "IdentityID" => $input['IdentityID'] ?? null ]; $rules = [ @@ -231,14 +231,14 @@ class Patient extends Controller { "Citizenship" => $input['Citizenship'] ?? null, "DeathIndicator" => isset($input['DeathIndicator']) ? (int) $input['DeathIndicator'] : null, "DeathDateTime" => $input['DeathDateTime'] ?? null, - "LinkTo" => $input['LinkTo'] ?? null, + // "LinkTo" => $input['LinkTo'] ?? null, "CreateDate" => date('Y-m-d H:i:s'), "DelDate" => null, // Field tambahan dari struktur sebelumnya (bisa dihapus jika tidak dipakai) - "PatientComment" => $input['PatientComment'] ?? null, - "IdentityIDType" => $input['IdentityIDType'] ?? null, - "IdentityID" => $input['IdentityID'] ?? null + // "PatientComment" => $input['PatientComment'] ?? null, + // "IdentityIDType" => $input['IdentityIDType'] ?? null, + // "IdentityID" => $input['IdentityID'] ?? null ]; // $data = [ // "PatientID" => $input['PatientID'] ?? null,