- Adds automatic user creation in the new patient registration flow. - To avoid merge conflicts, the user and profile APIs have been separated from the main lib/api.ts file.
- 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.