Skip to content

[Feature] Create Neurodevelopmental Evaluator Dashboard Workflow #202

Description

@Omar9832

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

  • Evaluator dashboard has a "Create Referral" or "Manage Referrals" button
  • Evaluator can create a TherapistReferral for a patient they've assessed
  • Evaluator can view their submitted referrals and see if a therapist has been assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1: highImportant functionality gapsarea: dashboardRole dashboards, navigationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions