21 Commits

Author SHA1 Message Date
João Gustavo
6030263128 add-doctor-edit 2025-10-02 02:51:18 -03:00
389aa8adfb fix(doctor-form): load existing doctor data on edit mode
- Fix doctorId type to accept string | number | null to handle UUID values
- Remove Number() conversion that was causing NaN errors on edit
- Add debug console logs to track data loading process
- Improve error handling in useEffect for doctor and attachments loading
- Ensure form fields are properly populated with doctor data when editing
2025-10-02 02:14:39 -03:00
a1f8a7995c fix(patient-form): load existing patient data on edit mode
- Fix patientId type to accept string | number | null to handle UUID values
- Remove Number() conversion that was causing NaN errors on edit
- Add debug console logs to track data loading process
- Remove reference to non-existent photo_url field from Paciente type                                - Ensure form fields are properly populated with patient data when editing
2025-10-02 01:53:21 -03:00
a032465773 feat(doctor-form): add search doctor by ID button and logic to registration form 2025-10-02 00:54:43 -03:00
ea63a73b43 feat(api): implementações e ajustes nas APIs de médicos e pacientes 2025-10-01 23:40:01 -03:00
84cb4c36eb feat(api): add doctors and patients API integration 2025-09-30 13:57:43 -03:00
e389b0894e Merge pull request 'feature/consultations' (#22) from feature/consultations into develop
Reviewed-on: #22
2025-09-25 20:36:25 +00:00
8bd4344670 chore(header): standardize company name to MEDIConecta 2025-09-25 17:01:32 -03:00
5030ae38d0 " " 2025-09-25 11:10:20 -03:00
2399fdfac9 fix(consultas): corrects the name of the form component onthe query page 2025-09-24 23:03:40 -03:00
616853220b feat(consultas): implements full editing with reusable form
- Refactors the scheduling form, extracting it from the /agenda page into a new reusable component at components/forms/appointment-form.tsx                             - The appointment creation page (/agenda) now uses the new form component.          - The consultations page (/consultas) now implements in-place editing, rendering the same reusable form when clicking
- The appointment creation page (/agenda) now uses the new form component.
- The consultations page (/consultas) now implements in-place editing, rendering the same reusable form when clicking "Edit", pre-filled with the consultation data.
2025-09-24 03:32:38 -03:00
791d31a5a6 feat(api): implementação e integração das APIs de médicos 2025-09-18 13:58:52 -03:00
30b5609f2f feat: adds new fields and cards to the physician registry 2025-09-16 22:25:59 -03:00
76feb4bb39 feat:implements CRUD for doctors 2025-09-16 02:00:58 -03:00
a7c9c90ebb chore: update components config 2025-09-11 22:09:50 -03:00
b2a9ea047a feat(api): add and wire all mock endpoints
- Patients: list, get by id, create, update, delete
- Photo: upload, remove
- Attachments: list, add, remove
- Validations: validate CPF, lookup CEP
- Hook up env vars and shared fetch wrapper
2025-09-10 22:00:32 -03:00
a44e9bcf81 Merge branch 'feature/patient-register' of https://git.popcode.com.br/RiseUP/riseup-squad20 into feature/patient-register 2025-09-07 19:38:26 -03:00
372383fb42 feat: connect patient registration form to create patient API 2025-09-07 18:52:31 -03:00
3cce8a9774 fix: fix ref error in actions menu 2025-09-04 16:42:54 -03:00
91c84b6a46 fix: secure setting of onOpenChange on the patient form 2025-09-04 15:48:51 -03:00
8258fac83c feat: implement patient recorder 2025-09-03 21:13:13 -03:00