Description
The evaluator dashboard at /pages/dashboard/evaluatorDashboard.vue currently has 3 buttons (Schedule, View Patients, View Contact Forms) but is missing the core neurodevelopment workflow — the ability for evaluators to create and manage therapist referrals.
Current State
- Evaluator dashboard exists with basic navigation buttons
TherapistReferral model exists in schema (prisma/schema.prisma lines 282-296) with fields: patientId, therapistId, evaluatorId, therapyRecommendation, therapistType
- API endpoints exist:
/api/session/referrals (GET, POST, PUT)
- User Service dashboard already has "Assign Neurodevelopment Specialist" button linking to
/assignNeuroSpecialist
What's Missing
- Create Referral button on evaluator dashboard — evaluators need to create
TherapistReferral records after assessing a patient
- Referral management page — evaluators should see their submitted referrals and their status (therapist assigned or pending)
- Workflow clarity — the flow should be: Evaluator assesses patient → creates referral with therapy recommendation → User Service assigns therapist
Files to Modify
/pages/dashboard/evaluatorDashboard.vue — add new buttons
- Possibly new page:
/pages/evaluator/createReferral.vue or similar
/server/api/session/referrals/index.get.ts — may need evaluator-specific filtering
Acceptance Criteria
Description
The evaluator dashboard at
/pages/dashboard/evaluatorDashboard.vuecurrently has 3 buttons (Schedule, View Patients, View Contact Forms) but is missing the core neurodevelopment workflow — the ability for evaluators to create and manage therapist referrals.Current State
TherapistReferralmodel exists in schema (prisma/schema.prismalines 282-296) with fields:patientId,therapistId,evaluatorId,therapyRecommendation,therapistType/api/session/referrals(GET, POST, PUT)/assignNeuroSpecialistWhat's Missing
TherapistReferralrecords after assessing a patientFiles to Modify
/pages/dashboard/evaluatorDashboard.vue— add new buttons/pages/evaluator/createReferral.vueor similar/server/api/session/referrals/index.get.ts— may need evaluator-specific filteringAcceptance Criteria