mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-05-18 20:08:19 +00:00
Edit mode prefilled clinic + department + doctorId, but the doctor Select rendered blank because the doctor-list filter (doctors where department === selectedDept) excluded the saved doctor. Root cause: the Appointment.department string doesn't always match the doctor's current department enum value. Fix: doctorSelectItems now always includes the currently-selected doctor as the first item, even when the department filter would exclude them. Once the user changes department or doctor, the filter behaves normally. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>