You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several files/routes are named for something other than what they do, which actively misleads anyone navigating the code (and slowed this analysis).
Evidence
pages/patient/viewContactForms.vue (+ server/api/request/processing.get.ts) lists Request rows, not ContactForms.
pages/userService/assignNeuroSpecialist.vue assigns therapists to referrals (stage 4), not evaluators. Actual evaluator assignment lives in pages/userService/viewAppointmentRequests.vue.
Part of #285 (Group D — robustness).
Problem
Several files/routes are named for something other than what they do, which actively misleads anyone navigating the code (and slowed this analysis).
Evidence
pages/patient/viewContactForms.vue(+server/api/request/processing.get.ts) listsRequestrows, notContactForms.pages/userService/assignNeuroSpecialist.vueassigns therapists to referrals (stage 4), not evaluators. Actual evaluator assignment lives inpages/userService/viewAppointmentRequests.vue.components/therapy/ReportModal.vue(aliasTherapyReportModal, modal keyprogressReport) is the TherapyNote editor; the realReportmodel is elsewhere (see [Epic] Connect the end-to-end patient journey (request → intake → evaluator → referral → session → notes) #285 D13).components/userService/AssignModal.vuein appointment mode renders asubmittedAtfield that only exists on referrals (always "—").Impact
P3 (maintainability). High confusion cost; easy to wire the wrong endpoint.
Proposed approach
submittedAtfield from AssignModal's appointment mode.Acceptance criteria
submittedAtartifact is removed.