diff --git a/app/Controllers/Patient.php b/app/Controllers/Patient.php index 9da1406..f92f387 100644 --- a/app/Controllers/Patient.php +++ b/app/Controllers/Patient.php @@ -183,8 +183,8 @@ class Patient extends Controller { ]; $dataPatidt = [ - "IdentifierType" => $input['IdentifierType'] ?? null, - "Identifier" => $input['Identifier'] ?? null, + "IdentifierType" => $input['Identity']['IdentifierType'] ?? null, + "Identifier" => $input['Identity']['Identifier'] ?? null, "CreateDate" => date('Y-m-d H:i:s'), ];