Repository navigation
feat(patient): follow-up requests, booking, referrals, and appointmen… - #205
akinyemi07 wants to merge 4 commits into
Conversation
…ts list - Implemented booking with structured intake form and explicit 409 double-booking error handling (DocForum#2) - Added my appointments list screen reading real GET /appointments/mine (DocForum#3) - Created pending referrals accept/decline screen with auto-created appointment confirmation (DocForum#4) - Built follow-up requests viewing and booking with carried-over intake and expired states (DocForum#31) - Added MSW handlers and fixtures for dev/test environment - Updated ROADMAP.md and ARCHITECTURE_ESSENTIALS.md with assumed API contracts Co-authored-by: akinyemi07 <111285757+akinyemi07@users.noreply.github.com>
|
@akinyemi07 This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-web.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared docs like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@akinyemi07 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@akinyemi07 CI is failing on this branch against the latest Frontend (typecheck + test + build)
|
…ts list - Implemented booking with structured intake form and explicit 409 double-booking error handling (DocForum#2) - Added my appointments list screen reading real GET /appointments/mine (DocForum#3) - Created pending referrals accept/decline screen with auto-created appointment confirmation (DocForum#4) - Built follow-up requests viewing and booking with carried-over intake and expired states (DocForum#31) - Added MSW handlers and fixtures for dev/test environment - Updated ROADMAP.md and ARCHITECTURE_ESSENTIALS.md with assumed API contracts Co-authored-by: akinyemi07 <111285757+akinyemi07@users.noreply.github.com>
Malware scan: passed, with notes for the reviewerNothing malicious was detected in
|
|
@akinyemi07 This PR removes The PR doesn't add a |
|
@akinyemi07 This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-web.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared docs like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@akinyemi07 This PR now also reverts maintainer security tooling, which looks like it came from regenerating the tree from an older snapshot (commit
Please rebase onto current |
|
@akinyemi07 Closing this PR because it changes |
PR Summary
Overview
This PR implements Phase W2 patient core flow features addressing issues #2, #3, #4, and #31:
Booking & Structured Intake Form ([Phase W2] Booking + intake form #2):
BookingFormcomponent insrc/features/booking/featuring time slot selection and structured intake fields (chiefComplaint,symptomDuration,severity,currentMedications,allergies,notes).409 Conflictslot double-booking responses by alerting the patient that the slot was claimed and resetting slot selection for re-booking.My Appointments List ([Phase W2] My appointments list #3):
AppointmentsListcomponent insrc/features/appointments/readingGET /appointments/mine.Referral Accept/Decline ([Phase W2] Referral accept/decline screen #4):
ReferralListinsrc/features/referrals/displaying pending specialist referrals.Follow-Up Requests ([Phase W2] Follow-up requests: see and book follow-ups your doctor asked for #31):
FollowUpListinsrc/features/follow-ups/displaying open follow-ups on the patient dashboard with doctor's notes and suggested windows.Infrastructure & Tests:
/appointments/mine,/doctors/:id/slots,POST /appointments,/referrals/pending,/referrals/:id/accept,/referrals/:id/decline,/follow-up-requests/mine,/follow-up-requests/:id/book).src/query-keys.tsand mutation invalidations insrc/invalidations.ts.PatientDashboardPage.tsxand 4 comprehensive unit test suites (78 test files, 660 tests passing total).ARCHITECTURE_ESSENTIALS.mdand updatedROADMAP.mdPhase W2 checklist.Closes #2, Closes #3, Closes #4, Closes #31