[13-Feb-2025 21:34:35 America/Sao_Paulo] Erro na query: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure, procedure_value, payment_method, paid_amount, id, arrival_time, ca...' at line 1
[13-Feb-2025 21:34:35 America/Sao_Paulo] SQL: INSERT INTO patients (name, office_id, priority, attendance_type, procedure, procedure_value, payment_method, paid_amount, id, arrival_time, called, displayed) VALUES (:name, :office_id, :priority, :attendance_type, :procedure, :procedure_value, :payment_method, :paid_amount, :id, :arrival_time, :called, :displayed)
[13-Feb-2025 21:34:35 America/Sao_Paulo] Params: Array
(
    [name] => Geo
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [priority] => Padrao
    [attendance_type] => Revisao
    [procedure] => 
    [procedure_value] => 
    [payment_method] => 
    [paid_amount] => 
    [id] => 4d0cb58f-029a-4888-8553-ef2864ed78b9
    [arrival_time] => 21:34:35
    [called] => 0
    [displayed] => 0
)

[13-Feb-2025 21:34:35 America/Sao_Paulo] SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure, procedure_value, payment_method, paid_amount, id, arrival_time, ca...' at line 1
[13-Feb-2025 21:34:48 America/Sao_Paulo] Erro na query: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure, procedure_value, payment_method, paid_amount, id, arrival_time, ca...' at line 1
[13-Feb-2025 21:34:48 America/Sao_Paulo] SQL: INSERT INTO patients (name, office_id, priority, attendance_type, procedure, procedure_value, payment_method, paid_amount, id, arrival_time, called, displayed) VALUES (:name, :office_id, :priority, :attendance_type, :procedure, :procedure_value, :payment_method, :paid_amount, :id, :arrival_time, :called, :displayed)
[13-Feb-2025 21:34:48 America/Sao_Paulo] Params: Array
(
    [name] => Geo
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [priority] => Padrao
    [attendance_type] => Pasmed
    [procedure] => 
    [procedure_value] => 
    [payment_method] => 
    [paid_amount] => 
    [id] => e74367ba-e77d-47f4-a1e9-86b81fa2619d
    [arrival_time] => 21:34:48
    [called] => 0
    [displayed] => 0
)

[13-Feb-2025 21:34:48 America/Sao_Paulo] SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure, procedure_value, payment_method, paid_amount, id, arrival_time, ca...' at line 1
[13-Feb-2025 21:58:39 America/Sao_Paulo] Dados recebidos: Array
(
    [name] => Sandro
    [cpf] => 475.732.445-68
    [rg] => 
    [birth_date] => 
    [gender] => M
    [email] => 
    [whatsapp] => 
    [phone] => 
    [phone2] => 
    [cep] => 
    [street] => 
    [number] => 
    [complement] => 
    [neighborhood] => 
    [city] => 
    [state] => 
    [notes] => 
    [status] => Ativo
)

[13-Feb-2025 21:58:39 America/Sao_Paulo] SQL: INSERT INTO patients (
            id, name, office_id, priority, arrival_time, called, displayed, created_at
        ) VALUES (
            :id, :name, :office_id, :priority, :arrival_time, :called, :displayed, :created_at
        )
[13-Feb-2025 22:54:53 America/Sao_Paulo] Dados recebidos: Array
(
    [name] => Alexandro
    [cpf] => 475.732.445-00
    [rg] => 
    [birth_date] => 1972-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-7730
    [phone] => 
    [phone2] => (22) 26489-045
    [cep] => 28910-310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[13-Feb-2025 22:54:53 America/Sao_Paulo] SQL: INSERT INTO patients (
            id, name, office_id, priority, arrival_time, called, displayed, created_at
        ) VALUES (
            :id, :name, :office_id, :priority, :arrival_time, :called, :displayed, :created_at
        )
[13-Feb-2025 23:01:38 America/Sao_Paulo] Dados recebidos: Array
(
    [name] => Mano
    [cpf] => 475.732.445-00
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 9977-1773
    [phone] => (22) 9977-1773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[13-Feb-2025 23:01:38 America/Sao_Paulo] SQL: INSERT INTO patients_data (
            id, name, cpf, rg, birth_date, gender, email, whatsapp, phone, phone2,
            cep, street, number, complement, neighborhood, city, state, notes, status
        ) VALUES (
            :id, :name, :cpf, :rg, :birth_date, :gender, :email, :whatsapp, :phone, :phone2,
            :cep, :street, :number, :complement, :neighborhood, :city, :state, :notes, :status
        )
[14-Feb-2025 13:32:10 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:32:10 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:33:31 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:33:31 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:33:36 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:33:36 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:33:37 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:33:37 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:35:01 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:35:01 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:36:17 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:36:17 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:37:19 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:37:19 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:37:19 America/Sao_Paulo] Erro ao atualizar paciente: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:37:38 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:37:38 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:39:09 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:39:09 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:39:17 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:39:17 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:39:17 America/Sao_Paulo] Erro ao atualizar paciente: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:40:38 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:40:38 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:40:55 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:40:55 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:40:55 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => teste@uol.com
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:40:55 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status,
            updated_at = NOW()
            WHERE id = :id
[14-Feb-2025 13:40:55 America/Sao_Paulo] Parâmetros: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => teste@uol.com
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:40:55 America/Sao_Paulo] Erro ao atualizar paciente: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:40:55 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(722): PDOStatement->execute(Array)
#1 /home/prodi970/weblab.prodigitall.com.br/admin/editar_paciente.php(54): updatePatient(Array)
#2 {main}
[14-Feb-2025 13:41:03 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:41:03 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:41:08 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:41:08 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:41:08 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:41:08 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status,
            updated_at = NOW()
            WHERE id = :id
[14-Feb-2025 13:41:08 America/Sao_Paulo] Parâmetros: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:41:08 America/Sao_Paulo] Erro ao atualizar paciente: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:41:08 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(722): PDOStatement->execute(Array)
#1 /home/prodi970/weblab.prodigitall.com.br/admin/editar_paciente.php(54): updatePatient(Array)
#2 {main}
[14-Feb-2025 13:42:47 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:42:47 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:42:53 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:42:53 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:42:53 America/Sao_Paulo] POST data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [cpf] => 25151752014
    [name] => Mano Brown
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:42:53 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:42:53 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status,
            updated_at = NOW()
            WHERE id = :id
[14-Feb-2025 13:42:53 America/Sao_Paulo] Parâmetros: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:42:53 America/Sao_Paulo] Erro ao atualizar paciente: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:42:53 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(722): PDOStatement->execute(Array)
#1 /home/prodi970/weblab.prodigitall.com.br/admin/editar_paciente.php(58): updatePatient(Array)
#2 {main}
[14-Feb-2025 13:42:53 America/Sao_Paulo] Erro na página de edição: Erro ao atualizar paciente
[14-Feb-2025 13:44:01 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:44:01 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:44:32 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:44:32 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:45:39 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:45:39 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:45:49 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:45:49 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:45:49 America/Sao_Paulo] POST data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [cpf] => 25151752014
    [name] => Mano Brown
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:45:49 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:45:49 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status,
            updated_at = NOW()
            WHERE id = :id
[14-Feb-2025 13:45:49 America/Sao_Paulo] Parâmetros: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:45:49 America/Sao_Paulo] Erro ao atualizar paciente: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:45:49 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(722): PDOStatement->execute(Array)
#1 /home/prodi970/weblab.prodigitall.com.br/admin/editar_paciente.php(58): updatePatient(Array)
#2 {main}
[14-Feb-2025 13:45:49 America/Sao_Paulo] Erro na página de edição: Erro ao atualizar paciente
[14-Feb-2025 13:45:57 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:45:57 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:46:13 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:46:13 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:46:13 America/Sao_Paulo] POST data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [cpf] => 25151752014
    [name] => Mano Brown
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:46:13 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:46:13 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status,
            updated_at = NOW()
            WHERE id = :id
[14-Feb-2025 13:46:13 America/Sao_Paulo] Parâmetros: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:46:13 America/Sao_Paulo] Erro ao atualizar paciente: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:46:13 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(722): PDOStatement->execute(Array)
#1 /home/prodi970/weblab.prodigitall.com.br/admin/editar_paciente.php(58): updatePatient(Array)
#2 {main}
[14-Feb-2025 13:46:13 America/Sao_Paulo] Erro na página de edição: Erro ao atualizar paciente
[14-Feb-2025 13:46:37 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:46:37 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:46:37 America/Sao_Paulo] POST data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [cpf] => 25151752014
    [name] => Mano Brown
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:46:37 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:46:37 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status,
            updated_at = NOW()
            WHERE id = :id
[14-Feb-2025 13:46:37 America/Sao_Paulo] Parâmetros: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:46:37 America/Sao_Paulo] Erro ao atualizar paciente: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:46:37 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(722): PDOStatement->execute(Array)
#1 /home/prodi970/weblab.prodigitall.com.br/admin/editar_paciente.php(58): updatePatient(Array)
#2 {main}
[14-Feb-2025 13:46:37 America/Sao_Paulo] Erro na página de edição: Erro ao atualizar paciente
[14-Feb-2025 13:46:41 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:46:41 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:48:04 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:48:04 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:48:18 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:48:18 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:48:18 America/Sao_Paulo] POST data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [cpf] => 25151752014
    [name] => Mano Brown
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:48:18 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:48:18 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status
            WHERE id = :id
[14-Feb-2025 13:48:18 America/Sao_Paulo] Parâmetros: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:48:18 America/Sao_Paulo] Erro detalhado ao atualizar paciente: Erro no banco de dados: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:48:18 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/admin/editar_paciente.php(58): updatePatient(Array)
#1 {main}
[14-Feb-2025 13:48:18 America/Sao_Paulo] Erro na página de edição: Erro no banco de dados: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
[14-Feb-2025 13:49:15 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:49:15 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:49:21 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:49:21 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => 
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 02:47:44
)

[14-Feb-2025 13:49:21 America/Sao_Paulo] POST data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [cpf] => 25151752014
    [name] => Mano Brown
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:49:21 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:49:21 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status
            WHERE id = :id
[14-Feb-2025 13:49:21 America/Sao_Paulo] Parâmetros: Array
(
    [:id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [:name] => Mano Brown
    [:rg] => 
    [:birth_date] => 1980-03-14
    [:gender] => M
    [:email] => 
    [:whatsapp] => 2299771773
    [:phone] => 2299771773
    [:phone2] => 
    [:cep] => 28910360
    [:street] => Rua Inglaterra
    [:number] => 
    [:complement] => 
    [:neighborhood] => Jardim Caiçara
    [:city] => Cabo Frio
    [:state] => RJ
    [:notes] => 
    [:status] => Ativo
)

[14-Feb-2025 13:49:29 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 13:49:29 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 13:53:26 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 13:53:26 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 13:53:26 America/Sao_Paulo] POST data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [cpf] => 25151752014
    [name] => Mano Brown
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:53:26 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-773
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:53:26 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status
            WHERE id = :id
[14-Feb-2025 13:53:26 America/Sao_Paulo] Parâmetros: Array
(
    [:id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [:name] => Mano Brown
    [:rg] => 
    [:birth_date] => 1980-03-14
    [:gender] => M
    [:email] => 
    [:whatsapp] => 2299771773
    [:phone] => 2299771773
    [:phone2] => 
    [:cep] => 28910360
    [:street] => Rua Inglaterra
    [:number] => 
    [:complement] => 
    [:neighborhood] => Jardim Caiçara
    [:city] => Cabo Frio
    [:state] => RJ
    [:notes] => 
    [:status] => Ativo
)

[14-Feb-2025 13:53:29 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 13:53:29 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 13:55:20 America/Sao_Paulo] Patient data: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores
    [cpf] => 
    [rg] => 
    [birth_date] => 0000-00-00
    [gender] => 
    [email] => 
    [whatsapp] => 
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:55:14
)

[14-Feb-2025 13:55:20 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores
    [cpf] => 
    [rg] => 
    [birth_date] => 0000-00-00
    [gender] => 
    [email] => 
    [whatsapp] => 
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:55:14
)

[14-Feb-2025 13:56:02 America/Sao_Paulo] Patient data: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores
    [cpf] => 
    [rg] => 
    [birth_date] => 0000-00-00
    [gender] => 
    [email] => 
    [whatsapp] => 
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:55:14
)

[14-Feb-2025 13:56:02 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores
    [cpf] => 
    [rg] => 
    [birth_date] => 0000-00-00
    [gender] => 
    [email] => 
    [whatsapp] => 
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:55:14
)

[14-Feb-2025 13:56:02 America/Sao_Paulo] POST data: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [cpf] => 
    [name] => Maria das Dores
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => (22) 99994-5796
    [phone] => 
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:56:02 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores
    [cpf] => 
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => (22) 99994-5796
    [phone] => 
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:56:02 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status
            WHERE id = :id
[14-Feb-2025 13:56:02 America/Sao_Paulo] Parâmetros: Array
(
    [:id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [:name] => Maria das Dores
    [:rg] => 
    [:birth_date] => 2000-01-15
    [:gender] => F
    [:email] => 
    [:whatsapp] => 22999945796
    [:phone] => 
    [:phone2] => 
    [:cep] => 28910360
    [:street] => Rua Inglaterra
    [:number] => 
    [:complement] => 
    [:neighborhood] => Jardim Caiçara
    [:city] => Cabo Frio
    [:state] => RJ
    [:notes] => 
    [:status] => Ativo
)

[14-Feb-2025 13:56:09 America/Sao_Paulo] Patient data: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores
    [cpf] => 
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => 22999945796
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:56:02
)

[14-Feb-2025 13:56:09 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores
    [cpf] => 
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => 22999945796
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:56:02
)

[14-Feb-2025 13:56:16 America/Sao_Paulo] Patient data: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores
    [cpf] => 
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => 22999945796
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:56:02
)

[14-Feb-2025 13:56:16 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores
    [cpf] => 
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => 22999945796
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:56:02
)

[14-Feb-2025 13:56:16 America/Sao_Paulo] POST data: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [cpf] => 
    [name] => Maria das Dores Silva
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => (22) 99994-5796
    [phone] => 
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:56:16 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores Silva
    [cpf] => 
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => (22) 99994-5796
    [phone] => 
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 13:56:16 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status
            WHERE id = :id
[14-Feb-2025 13:56:16 America/Sao_Paulo] Parâmetros: Array
(
    [:id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [:name] => Maria das Dores Silva
    [:rg] => 
    [:birth_date] => 2000-01-15
    [:gender] => F
    [:email] => 
    [:whatsapp] => 22999945796
    [:phone] => 
    [:phone2] => 
    [:cep] => 28910360
    [:street] => Rua Inglaterra
    [:number] => 
    [:complement] => 
    [:neighborhood] => Jardim Caiçara
    [:city] => Cabo Frio
    [:state] => RJ
    [:notes] => 
    [:status] => Ativo
)

[14-Feb-2025 13:59:08 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 13:59:08 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 13:59:18 America/Sao_Paulo] Patient data: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 13:59:18 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 1ad5fe64-ab74-4bbe-9103-fa96a19cd89b
    [name] => Alex Bonnfá
    [cpf] => 47573244568
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 22997717730
    [phone] => 
    [phone2] => 2226489045
    [cep] => 28910310
    [street] => Rua Narciso Portugal
    [number] => 223
    [complement] => 
    [neighborhood] => Jardim Flamboyant
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:48:51
    [updated_at] => 2025-02-14 02:48:51
)

[14-Feb-2025 15:26:22 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 15:26:22 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 15:26:30 America/Sao_Paulo] Patient data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 15:26:30 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => 2299771773
    [phone] => 2299771773
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 02:01:38
    [updated_at] => 2025-02-14 16:49:21
)

[14-Feb-2025 15:26:30 America/Sao_Paulo] POST data: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [cpf] => 25151752014
    [name] => Mano Brown
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-7730
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 15:26:30 America/Sao_Paulo] Dados recebidos para atualização: Array
(
    [id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [name] => Mano Brown
    [cpf] => 25151752014
    [rg] => 
    [birth_date] => 1980-03-14
    [gender] => M
    [email] => 
    [whatsapp] => (22) 99771-7730
    [phone] => (22) 99771-773
    [phone2] => 
    [cep] => 28910-360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
)

[14-Feb-2025 15:26:30 America/Sao_Paulo] SQL: UPDATE patients_data SET 
            name = :name, 
            rg = :rg, 
            birth_date = :birth_date,
            gender = :gender, 
            email = :email, 
            whatsapp = :whatsapp,
            phone = :phone, 
            phone2 = :phone2, 
            cep = :cep, 
            street = :street,
            number = :number, 
            complement = :complement, 
            neighborhood = :neighborhood,
            city = :city, 
            state = :state, 
            notes = :notes, 
            status = :status
            WHERE id = :id
[14-Feb-2025 15:26:30 America/Sao_Paulo] Parâmetros: Array
(
    [:id] => c9704a38-0141-44de-b1f8-65c25f29178e
    [:name] => Mano Brown
    [:rg] => 
    [:birth_date] => 1980-03-14
    [:gender] => M
    [:email] => 
    [:whatsapp] => 22997717730
    [:phone] => 2299771773
    [:phone2] => 
    [:cep] => 28910360
    [:street] => Rua Inglaterra
    [:number] => 
    [:complement] => 
    [:neighborhood] => Jardim Caiçara
    [:city] => Cabo Frio
    [:state] => RJ
    [:notes] => 
    [:status] => Ativo
)

[14-Feb-2025 15:27:12 America/Sao_Paulo] Patient data: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores Silva
    [cpf] => 
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => 22999945796
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:56:16
)

[14-Feb-2025 15:27:12 America/Sao_Paulo] Patient data in edit page: Array
(
    [id] => 5d7d39cd-4c85-46af-bd00-421f9c028bfa
    [name] => Maria das Dores Silva
    [cpf] => 
    [rg] => 
    [birth_date] => 2000-01-15
    [gender] => F
    [email] => 
    [whatsapp] => 22999945796
    [phone] => 
    [phone2] => 
    [cep] => 28910360
    [street] => Rua Inglaterra
    [number] => 
    [complement] => 
    [neighborhood] => Jardim Caiçara
    [city] => Cabo Frio
    [state] => RJ
    [notes] => 
    [status] => Ativo
    [created_at] => 2025-02-14 16:55:14
    [updated_at] => 2025-02-14 16:56:16
)

[14-Feb-2025 19:23:54 America/Sao_Paulo] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'admin' for key 'username'
[14-Feb-2025 19:37:47 America/Sao_Paulo] doctorData: Array
(
    [id] => 
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 50
)

[14-Feb-2025 19:37:47 America/Sao_Paulo] userData: Array
(
    [id] => 
    [username] => joao
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => 123
)

[14-Feb-2025 19:37:47 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:37:47 America/Sao_Paulo] SQL Users: 
                        INSERT INTO users (id, username, password, name, type, office_id)
                        VALUES (:id, :username, :password, :name, 'doctor', :office_id)
                    
[14-Feb-2025 19:37:47 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:username] => joao
    [:password] => $2y$10$nPCq3t93fK6U1LbDXF/wRucy5pWpPusL6b7iaCKDu5xMYO3WuaCQW
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
)

[14-Feb-2025 19:37:47 America/Sao_Paulo] SQL Doctors: INSERT INTO doctors (
                        id, name, specialty_id, whatsapp, email, office_id, 
                        consultation_value, consultation_commission
                    ) VALUES (
                        :id, :name, :specialty_id, :whatsapp, :email, :office_id,
                        :consultation_value, :consultation_commission
                    )
[14-Feb-2025 19:37:47 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 50
)

[14-Feb-2025 19:37:57 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 50
)

[14-Feb-2025 19:37:57 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => admin
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:37:57 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:37:57 America/Sao_Paulo] SQL Users: 
                            UPDATE users 
                            SET username = :username, 
                                password = :password,
                                name = :name, 
                                office_id = :office_id
                            WHERE id = :id
                        
[14-Feb-2025 19:37:57 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:username] => admin
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:password] => $2y$10$FCYSH7rEfFMZhDFZ7D8vcuYuPikusxniTt6esAvSzpbv7vKxMcw3K
)

[14-Feb-2025 19:37:57 America/Sao_Paulo] Erro ao salvar usuário: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'admin' for key 'username'
[14-Feb-2025 19:37:57 America/Sao_Paulo] Erro completo ao salvar médico: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'admin' for key 'username'
[14-Feb-2025 19:37:57 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(156): PDOStatement->execute(Array)
#1 /home/prodi970/weblab.prodigitall.com.br/admin/cadastro_medico.php(86): saveDoctor(Array, Array)
#2 {main}
[14-Feb-2025 19:39:45 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 50
)

[14-Feb-2025 19:39:45 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => joao
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => 123
)

[14-Feb-2025 19:39:45 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:39:45 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, username = :username, password = :password WHERE id = :id
[14-Feb-2025 19:39:45 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:username] => joao
    [:password] => $2y$10$TulTb.4.wj8Z713LgPtZlumUu5qn1H0N2sfWnwhO.O1USFz6vKzV2
)

[14-Feb-2025 19:39:45 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:39:45 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 50
)

[14-Feb-2025 19:40:10 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 50
)

[14-Feb-2025 19:40:10 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => joao
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => 123
)

[14-Feb-2025 19:40:10 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:40:10 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, username = :username, password = :password WHERE id = :id
[14-Feb-2025 19:40:10 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:username] => joao
    [:password] => $2y$10$FY0NZB9l00v5mkUlVoD0W.QvJtYn7NXmXgqczJFgp89vDQmCliBa.
)

[14-Feb-2025 19:40:10 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:40:10 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 50
)

[14-Feb-2025 19:40:42 America/Sao_Paulo] doctorData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [name] => Alex
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 22997717730
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 80
)

[14-Feb-2025 19:40:42 America/Sao_Paulo] userData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [username] => admin
    [name] => Alex
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:40:42 America/Sao_Paulo] ID gerado/usado: 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
[14-Feb-2025 19:40:42 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, username = :username, password = :password WHERE id = :id
[14-Feb-2025 19:40:42 America/Sao_Paulo] Params Users: Array
(
    [:id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [:name] => Alex
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:username] => admin
    [:password] => $2y$10$ZjyAZjnkE/x.1Rp0E4DyhOi7pRczj/rFkFUSNpa4U9DDasscGl0Mm
)

[14-Feb-2025 19:40:42 America/Sao_Paulo] Erro ao salvar usuário: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'admin' for key 'username'
[14-Feb-2025 19:40:42 America/Sao_Paulo] Erro completo ao salvar médico: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'admin' for key 'username'
[14-Feb-2025 19:40:42 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(159): PDOStatement->execute(Array)
#1 /home/prodi970/weblab.prodigitall.com.br/admin/cadastro_medico.php(86): saveDoctor(Array, Array)
#2 {main}
[14-Feb-2025 19:41:04 America/Sao_Paulo] doctorData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [name] => Alex
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 22997717730
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 80
)

[14-Feb-2025 19:41:04 America/Sao_Paulo] userData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [username] => alex
    [name] => Alex
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:41:04 America/Sao_Paulo] ID gerado/usado: 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
[14-Feb-2025 19:41:04 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, username = :username, password = :password WHERE id = :id
[14-Feb-2025 19:41:04 America/Sao_Paulo] Params Users: Array
(
    [:id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [:name] => Alex
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:username] => alex
    [:password] => $2y$10$iL852j8/q1GmDP9KgTG1BOoYIU2avXx9mT3975w361/M8rSjYFCqy
)

[14-Feb-2025 19:41:04 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:41:04 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [:name] => Alex
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 22997717730
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 80
)

[14-Feb-2025 19:41:33 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
        )

    [consultation_value] => 150
    [consultation_commission] => 50
)

[14-Feb-2025 19:41:33 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => admin
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:41:33 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:41:33 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, username = :username, password = :password WHERE id = :id
[14-Feb-2025 19:41:33 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:username] => admin
    [:password] => $2y$10$zF/71uPvOQhsGJ69V3dwWO9uOERsoL628rqgrarUwHfmfDVsBe9y6
)

[14-Feb-2025 19:41:33 America/Sao_Paulo] Erro ao salvar usuário: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'admin' for key 'username'
[14-Feb-2025 19:41:33 America/Sao_Paulo] Erro completo ao salvar médico: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'admin' for key 'username'
[14-Feb-2025 19:41:33 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(159): PDOStatement->execute(Array)
#1 /home/prodi970/weblab.prodigitall.com.br/admin/cadastro_medico.php(86): saveDoctor(Array, Array)
#2 {main}
[14-Feb-2025 19:43:19 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
        )

    [consultation_value] => 150
    [consultation_commission] => 50
)

[14-Feb-2025 19:43:19 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => admin
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:43:19 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:43:19 America/Sao_Paulo] Erro completo ao salvar médico: Nome de usuário já existe
[14-Feb-2025 19:43:19 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/admin/cadastro_medico.php(86): saveDoctor(Array, Array)
#1 {main}
[14-Feb-2025 19:44:54 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 50
)

[14-Feb-2025 19:44:54 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => admin
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:44:54 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:44:54 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, password = :password WHERE id = :id
[14-Feb-2025 19:44:54 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:password] => $2y$10$zcUMHJiDj4PWrwpe8PNcMeNsDcl4sPzHEPsyj544hiHU.Tduz8u.m
)

[14-Feb-2025 19:44:54 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:44:54 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 50
)

[14-Feb-2025 19:45:10 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 50
)

[14-Feb-2025 19:45:10 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => admin
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:45:10 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:45:10 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, password = :password WHERE id = :id
[14-Feb-2025 19:45:10 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:password] => $2y$10$MnN.E4Rf/lPTXD79kOt/W.2wC5mzqm.V7Yo4vsdYLknxk7pm3igL.
)

[14-Feb-2025 19:45:10 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:45:10 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 50
)

[14-Feb-2025 19:46:30 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 90
)

[14-Feb-2025 19:46:30 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => joao
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => 123
)

[14-Feb-2025 19:46:30 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:46:30 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, password = :password WHERE id = :id
[14-Feb-2025 19:46:30 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:password] => $2y$10$3OW3E7YnwB2SamlkP4OEfu2QDPVJzLVPN9OHrAKRKYxHy5drYGUHS
)

[14-Feb-2025 19:46:30 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:46:30 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 90
)

[14-Feb-2025 19:48:04 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 90
)

[14-Feb-2025 19:48:04 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => admin
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:48:04 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:48:04 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, password = :password WHERE id = :id
[14-Feb-2025 19:48:04 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:password] => $2y$10$YAB9tHdrCv95RC3XFEPFzu9q.6WId0xEuixjagUZQ5L.i6Sw9.a7W
)

[14-Feb-2025 19:48:04 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:48:04 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 90
)

[14-Feb-2025 19:48:12 America/Sao_Paulo] doctorData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [name] => Alex
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 22997717730
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 80
)

[14-Feb-2025 19:48:12 America/Sao_Paulo] userData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [username] => admin
    [name] => Alex
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:48:12 America/Sao_Paulo] ID gerado/usado: 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
[14-Feb-2025 19:48:12 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, password = :password WHERE id = :id
[14-Feb-2025 19:48:12 America/Sao_Paulo] Params Users: Array
(
    [:id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [:name] => Alex
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:password] => $2y$10$UWPAcyZXok50kZGFyZaTzeUSZpBs21J/yp.qskcwbpKBYG1jWXkXC
)

[14-Feb-2025 19:48:12 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:48:12 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [:name] => Alex
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 22997717730
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 80
)

[14-Feb-2025 19:51:13 America/Sao_Paulo] doctorData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [name] => Alex
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 22997717730
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 80
)

[14-Feb-2025 19:51:13 America/Sao_Paulo] userData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [username] => admin
    [name] => Alex
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:51:13 America/Sao_Paulo] ID gerado/usado: 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
[14-Feb-2025 19:51:13 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, password = :password WHERE id = :id
[14-Feb-2025 19:51:13 America/Sao_Paulo] Params Users: Array
(
    [:id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [:name] => Alex
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:password] => $2y$10$re1iRZK0WlGXWIiPMItE9uU94ntYL7DNEXBz9NPSslUBEvCvWk1Ce
)

[14-Feb-2025 19:51:13 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:51:13 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [:name] => Alex
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 22997717730
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 80
)

[14-Feb-2025 19:51:13 America/Sao_Paulo] Erro ao salvar procedimentos: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'INSERT INTO'
[14-Feb-2025 19:51:13 America/Sao_Paulo] Erro completo ao salvar médico: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'INSERT INTO'
[14-Feb-2025 19:51:13 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(208): PDO->prepare('\r\n             ...')
#1 /home/prodi970/weblab.prodigitall.com.br/admin/cadastro_medico.php(86): saveDoctor(Array, Array)
#2 {main}
[14-Feb-2025 19:53:21 America/Sao_Paulo] doctorData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [name] => João
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 90
)

[14-Feb-2025 19:53:21 America/Sao_Paulo] userData: Array
(
    [id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [username] => admin
    [name] => João
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:53:21 America/Sao_Paulo] ID gerado/usado: 4b24fb2b-9199-4059-b71a-5cdf1b95652d
[14-Feb-2025 19:53:21 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, password = :password WHERE id = :id
[14-Feb-2025 19:53:21 America/Sao_Paulo] Params Users: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:password] => $2y$10$VRmiensBqjwIX5btSVxBoeurDA7aSe4zUSBBMZsj.ljoBHt7XgtBq
)

[14-Feb-2025 19:53:21 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:53:21 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 4b24fb2b-9199-4059-b71a-5cdf1b95652d
    [:name] => João
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 90
)

[14-Feb-2025 19:53:21 America/Sao_Paulo] Erro completo ao salvar médico: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'INSERT INTO'
[14-Feb-2025 19:53:21 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(207): PDO->prepare('\r\n             ...')
#1 /home/prodi970/weblab.prodigitall.com.br/admin/cadastro_medico.php(86): saveDoctor(Array, Array)
#2 {main}
[14-Feb-2025 19:53:38 America/Sao_Paulo] doctorData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [name] => Alex
    [specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [whatsapp] => 22997717730
    [email] => 
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [procedures] => Array
        (
            [0] => 1c2a3993-ea66-11ef-abb9-2a8c3d8e11a9
        )

    [consultation_value] => 150
    [consultation_commission] => 80
)

[14-Feb-2025 19:53:38 America/Sao_Paulo] userData: Array
(
    [id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [username] => admin
    [name] => Alex
    [type] => doctor
    [office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [password] => password
)

[14-Feb-2025 19:53:38 America/Sao_Paulo] ID gerado/usado: 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
[14-Feb-2025 19:53:38 America/Sao_Paulo] SQL Users: UPDATE users SET name = :name, office_id = :office_id, password = :password WHERE id = :id
[14-Feb-2025 19:53:38 America/Sao_Paulo] Params Users: Array
(
    [:id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [:name] => Alex
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:password] => $2y$10$4S8m69yoImtt7qzXoQkgsehM7KXWO7pWJcLjoNZjzWl1O9bP1g8yq
)

[14-Feb-2025 19:53:38 America/Sao_Paulo] SQL Doctors: UPDATE doctors SET 
                        name = :name,
                        specialty_id = :specialty_id,
                        whatsapp = :whatsapp,
                        email = :email,
                        office_id = :office_id,
                        consultation_value = :consultation_value,
                        consultation_commission = :consultation_commission
                        WHERE id = :id
[14-Feb-2025 19:53:38 America/Sao_Paulo] Params Doctors: Array
(
    [:id] => 21a27aa7-e8d8-4e6f-87ab-c5a4432a3c51
    [:name] => Alex
    [:specialty_id] => 9b5ebe4e-ea66-11ef-abb9-2a8c3d8e11a9
    [:whatsapp] => 22997717730
    [:email] => 
    [:office_id] => 095454a3-ea66-11ef-abb9-2a8c3d8e11a9
    [:consultation_value] => 150
    [:consultation_commission] => 80
)

[14-Feb-2025 19:53:38 America/Sao_Paulo] Erro completo ao salvar médico: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'INSERT INTO'
[14-Feb-2025 19:53:38 America/Sao_Paulo] Stack trace: #0 /home/prodi970/weblab.prodigitall.com.br/includes/functions.php(207): PDO->prepare('\r\n             ...')
#1 /home/prodi970/weblab.prodigitall.com.br/admin/cadastro_medico.php(86): saveDoctor(Array, Array)
#2 {main}
[14-Feb-2025 20:09:40 America/Sao_Paulo] Erro ao salvar médico: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'admin' for key 'username'
[14-Feb-2025 20:10:52 America/Sao_Paulo] Erro ao salvar médico: Nome de usuário já está em uso. Por favor, escolha outro.
