List and fetch appointments for the front desk calendar #2002

Opennadia-haddad wants to merge 3 commits into main from nh/appointments-list· opened yesterday
+60−1
nadia-haddad commented yesterdayAuthor

Why

The new front desk calendar view needs to read appointments from the API instead of the nightly CSV.

What

  • GET /appointments with optional clinician_id and status filters, offset pagination.
  • GET /appointments/{id} returns a single appointment.
  • AppointmentOut mirrors the Appointment model so the frontend can show everything in the side panel.

Testing

Clicked through the calendar locally against the seeded dev database (about 200 appointments).

nadia-haddad added 3 commits yesterday
Add AppointmentOut schema279ee0b
Add appointment list and detail endpoints289ee24
Register router299ee3d

Review required

Review the changes, then submit to get graded.

Some checks haven’t completed yet

1 check: dojo / review-grader

Keyboard shortcuts

Site-wide

Focus the search bar
/
Show this dialog
?

Pull request

Move to the next file
j
Move to the previous file
k
Filter changed files
t
Comment on the selected lines
c
Select a range of lines
Shiftclick