Skip to content

add therapist report creation and coordinator delivery - #310

Open
hadikhan5 wants to merge 1 commit into
devfrom
feat/therapist-create-report
Open

add therapist report creation and coordinator delivery#310
hadikhan5 wants to merge 1 commit into
devfrom
feat/therapist-create-report

Conversation

@hadikhan5

@hadikhan5 hadikhan5 commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator
  • Added a "Create Report" button on each patient in the session detail modal (therapists/admins only) so therapists can file a post-appointment report (assessments used, diagnosis, recommendation) right after a session wraps up.
  • New /report/reportsView page listing submitted reports with patient/therapist names, diagnosis, submission date, and delivery status.
  • Coordinators can deliver a report in one click. It emails the patient's primary guardian if one's on file (minors), otherwise the patient directly (adults), using the existing SMTP sendEmail util. Delivery is tracked via deliveredAt/deliveredById on TherapyReport, no separate status enum needed.
  • New Prisma model TherapyReport (migration 20260824003609_add_therapy_report) with relations on User, Patient, Session.
  • Heads up: the Spanish label is "Crear informe," per product's request. That's the same wording already used by the unrelated evaluator-referral feature's "Crear informe(s)." Different workflows, but Spanish-speaking staff will see near-identical labels, so worth flagging.

Therapists can now file a post-appointment report (tests used +
diagnosis/recommendation) per patient from the session detail modal.
USER_SERVICE staff review submitted reports on a new /report/reportsView
page and deliver them — emailing the primary guardian on file for a
minor, or the patient directly for an adult — tracked via
deliveredAt/deliveredById on the new TherapyReport model.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@hadikhan5 hadikhan5 changed the title feat(therapy): add therapist report creation and coordinator delivery add therapist report creation and coordinator delivery Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant