The patient portal currently links out to the front desk phone number. This adds the first booking API for the new portal screens.
POST /api/appointments
GET /api/appointments/{id}
GET /api/appointments
Patients authenticate with the portal JWT, so request.auth is the Patient.
request.auth
Patient
Booked and fetched an appointment from the portal against staging.
03dccb1
04dccca
Why
The patient portal currently links out to the front desk phone number. This adds the first booking API for the new portal screens.
What
POST /api/appointmentsbooks the next slot with a providerGET /api/appointments/{id}returns one appointment (used by the confirmation page)GET /api/appointmentslists the signed-in patient's appointmentsPatients authenticate with the portal JWT, so
request.authis thePatient.Testing
Booked and fetched an appointment from the portal against staging.