feature/cases #55

Merged
rameen merged 18 commits from feature/cases into master 2026-07-10 18:26:56 +03:30
Owner

0- Global patients + mobile normalization
Appointments, treatments, and case search all depend on patient identity

1- Org-type sidebar + permissions
Shell before feature work; hides Patients for labs

2- TreatmentDetail / LabCase schema + APIs
Backend foundation for the split model

3- Task templates + generation on send
Lab workflow engine before UI

4- Clinic two-step treatment UI
Needs Phase 2–3 APIs

5- Lab Cases inbox + task board
Needs Phase 3 API

Phase 0:
Prisma Patient schema — global mobile, remove organizationId
normalizeMobile util (backend + frontend) + tests
PatientsService global search + dedupe create
Update patient + appointment UI for mobile/dedupe
Migration + re-seed test patients

Phase 1:
TAB_CASES permissions in seed + backend/frontend constants
Sidebar orgTypes filter + /cases stub page
Staff permission grid + backend validation by org type
Route guards + backend guards for clinic-only endpoints

Phase 2:
Prisma schema TreatmentDetail + LabCase models
Rewrite treatments service + DTOs + controller
Update frontend types, API, TreatmentWorkspace bridge
Migration + build verify

Phase 3:
TreatmentWorkflowStep + LabCaseTask schema + migration
Seed workflow steps + task generation on send
Cases module — list, get, PATCH task
Cases API + minimal lab inbox UI

0- Global patients + mobile normalization Appointments, treatments, and case search all depend on patient identity 1- Org-type sidebar + permissions Shell before feature work; hides Patients for labs 2- TreatmentDetail / LabCase schema + APIs Backend foundation for the split model 3- Task templates + generation on send Lab workflow engine before UI 4- Clinic two-step treatment UI Needs Phase 2–3 APIs 5- Lab Cases inbox + task board Needs Phase 3 API Phase 0: Prisma Patient schema — global mobile, remove organizationId normalizeMobile util (backend + frontend) + tests PatientsService global search + dedupe create Update patient + appointment UI for mobile/dedupe Migration + re-seed test patients Phase 1: TAB_CASES permissions in seed + backend/frontend constants Sidebar orgTypes filter + /cases stub page Staff permission grid + backend validation by org type Route guards + backend guards for clinic-only endpoints Phase 2: Prisma schema TreatmentDetail + LabCase models Rewrite treatments service + DTOs + controller Update frontend types, API, TreatmentWorkspace bridge Migration + build verify Phase 3: TreatmentWorkflowStep + LabCaseTask schema + migration Seed workflow steps + task generation on send Cases module — list, get, PATCH task Cases API + minimal lab inbox UI
admin added the feature label 2026-07-10 15:29:01 +03:30
aminmsvi was assigned by admin 2026-07-10 15:29:01 +03:30
rameen was assigned by admin 2026-07-10 15:29:01 +03:30
admin added 18 commits 2026-07-10 15:29:03 +03:30
admin added this to the Dyolink project 2026-07-10 15:29:03 +03:30
Collaborator

too much change bro.

too much change bro.
rameen scheduled this pull request to auto merge when all checks succeed 2026-07-10 18:18:49 +03:30
Collaborator

.

.
rameen changed title from feature/cases to WIP: feature/cases 2026-07-10 18:20:16 +03:30
rameen requested review from rameen 2026-07-10 18:20:46 +03:30
rameen changed title from WIP: feature/cases to feature/cases 2026-07-10 18:20:59 +03:30
rameen scheduled this pull request to auto merge when all checks succeed 2026-07-10 18:21:14 +03:30
rameen changed title from feature/cases to WIP: feature/cases 2026-07-10 18:21:23 +03:30
rameen closed this pull request 2026-07-10 18:22:50 +03:30
rameen reopened this pull request 2026-07-10 18:24:13 +03:30
rameen changed title from WIP: feature/cases to feature/cases 2026-07-10 18:24:18 +03:30
rameen changed title from feature/cases to WIP: feature/cases 2026-07-10 18:24:44 +03:30
rameen changed title from WIP: feature/cases to feature/cases 2026-07-10 18:25:04 +03:30
rameen approved these changes 2026-07-10 18:26:51 +03:30
rameen merged commit 4c3aea2b5c into master 2026-07-10 18:26:56 +03:30
rameen removed their assignment 2026-07-10 22:52:39 +03:30
admin moved this to In Progress in Dyolink on 2026-07-12 02:18:44 +03:30
admin moved this to Done in Dyolink on 2026-07-12 02:19:18 +03:30
admin self-assigned this 2026-07-12 02:19:27 +03:30
aminmsvi was unassigned by admin 2026-07-12 02:19:31 +03:30
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/dyolink#55