WP-FE-MED-CHAT-01
| Field | Value |
|---|---|
| Domain | D-MED · D-CHAT |
| Surfaces | CON · API |
| Status | IMP |
| Date | 2026-08-06 |
AC
-
Doctor.userIdoptional FK → User (migration + Prisma) - Seed links doctor → chat peer users
-
serializeDoctorreturnsuserId -
MedicalChatScreenusesChatApi.createDirect+ messages/send + WS - No fake auto-reply when peer missing → Empty CTA
Notes
Restart API after prisma generate if Windows EPERM on query engine while process holds DLL.