Kulcare Docs
Test plansClinic app

Test Plan: Follow-ups Page

Module: Clinic App — Follow-ups Management Code Audit Date: 2026-06-17 URL: https://practice-stg-new.kulcare.com/cms/follow-ups API: FHIR /clinical/appointments with follow_up=true (filters by_type('fixed') only) Status: ✅ Complete


Code Audit Summary

Key Findings

FindingDetail
✓ icon = Edit, NOT ConfirmGreen check opens UpdateAppointmentModal — confusing UX (Bug #54)
follow_up=true = by_type('fixed')Telemedicine follow-ups excluded from list (Bug #55)
No phone in API responsepatient object only has display + mrn, no phone (Bug #53)
No search filterOnly practitioner + date range filters
No density toggleTable density not configurable
Pagination existsFrontend (useFollowUpsPagination) + backend pagination

SECTION 1: Page Load & Tabs

#Test CasePriorityExpectedStatus
FU-01Load follow-ups pageP0Page loads with Pending tab selected✅ PASS
FU-02Pending tab — with follow-upsP0Shows scheduled follow-ups✅ PASS
FU-03Pending tab — emptyP0Empty state message✅ PASS
FU-04Switch to Cancelled tabP0Click Cancelled → shows cancelled✅ PASS
FU-05Cancelled tab — emptyP0Empty state✅ PASS
FU-06Cancelled tab — shows reason + dateP0Cancellation details shown✅ PASS
FU-07Loading stateP0Loading spinner✅ PASS
FU-08Error stateP1Error view with retry✅ PASS

SECTION 2: Row Display

#Test CasePriorityExpectedStatus
FU-10Patient nameP0Name displayed✅ PASS
FU-11Practitioner nameP0Doctor shown✅ PASS
FU-12Appointment dateP0Date displayed✅ PASS
FU-13Appointment timeP0Time shown✅ PASS
FU-14Notes displayedP1Notes if present✅ PASS
FU-15Phone numberP0Patient phone shownBug #53 ❌

SECTION 3: Edit (✓ icon)

✓ = Edit, not Confirm. Opens UpdateAppointmentModal. Confusing UX (Bug #54).

#Test CasePriorityExpectedStatus
FU-20✓ opens edit modalP0UpdateAppointmentModal opens✅ PASS
FU-21Edit — date/timeP0Change → Save✅ PASS
FU-22Edit — doctorP0Change → Save✅ PASS
FU-23Edit — notesP1Add note → Save✅ PASS
FU-24Edit — cancelP0Cancel → no changes✅ PASS
FU-25Edit to telemedicine → disappearsP0Change type → removed from listBug #55 ❌
FU-26After edit → stays in PendingP0No completion flow✅ PASS

SECTION 4: Cancel

#Test CasePriorityExpectedStatus
FU-30Cancel button visibleP0✗ on pending rows✅ PASS
FU-31Cancel dialog opensP0CancelModal✅ PASS
FU-32Confirm cancel with reasonP0Moves to Cancelled tab✅ PASS
FU-33Cancel dialog → cancelP0No change✅ PASS
FU-34Reason requiredP1Validation✅ PASS
FU-35Button disabled during APIP1Greyed out while cancelling✅ PASS

SECTION 5: Filters

#Test CasePriorityExpectedStatus
FU-50Practitioner filterP0Filter by doctor✅ PASS
FU-51Clear practitionerP0All → shows all✅ PASS
FU-52Date rangeP1Filter by date✅ PASS
FU-53Clear date rangeP1Shows all dates✅ PASS

SECTION 6: Pagination

#Test CasePriorityExpectedStatus
FU-60Next/prev pageP1Navigate✅ PASS
FU-61Page size changeP1Refetch✅ PASS

SECTION 7: Integration

#Test CasePriorityExpectedStatus
FU-70Billing → Follow-upsP0Follow-up from billing appears here✅ PASS
FU-71Edit syncP1Changes reflect in appointments✅ PASS

🐛 Bugs Found

Bug #Test IDDescriptionSeverity
53FU-15Phone not shown — API patient object only has display + mrn🟠 Medium
54FU-20✓ icon = Edit, not Confirm — confusing UX🟠 Medium
55FU-25Telemedicine follow-ups disappear — follow_up=true filters by_type('fixed') only🟡 High

Test Summary

SectionTestsPassedFailed
1. Page & Tabs880
2. Row Display651
3. Edit (✓)761
4. Cancel660
5. Filters440
6. Pagination220
7. Integration220
Total35332

Status: ✅ Complete Last Updated: 2026-06-17

On this page