Project

General

Profile

Actions

Bug #153

open
SV SV

[HR][Verify] B-35: Credential-expired clinical staff not blocked by roster date; OPD booking unchecked

Bug #153: [HR][Verify] B-35: Credential-expired clinical staff not blocked by roster date; OPD booking unchecked

Added by Sravan V S about 2 months ago. Updated 3 days ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
Start date:
09/28/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

Credential blocking checks today's date, not the roster date, so blocked staff's existing roster entries still publish, and the OPD slot feed does no credential check at all, so a patient can book an unlicensed doctor. Reproduce: roster a doctor whose licence expires before the roster date and check the OPD booking feed. Part of #140.

SV Updated by Sravan V S about 2 months ago Actions #1

  • Assignee set to Sravan V S

S- Updated by SK - 12 days ago Actions #2

  • Assignee changed from Sravan V S to SK -

S- Updated by SK - 12 days ago Actions #3

  • Status changed from New to Resolved
  • Assignee changed from SK - to Roshni Harish.
  • Resolved By set to SK -

Already fixed - confirmed live in current dev. This is the exact bug #140 fixed earlier today (per-date credential check at assign/publish/OPD-sync). Verified directly in the merged code: CredentialService.GetSchedulingBlockAsync/GetSchedulingBlockStatusesAsync now take an asOfDate parameter (defaulting to today only when not supplied), and RosterOpdSyncController passes the actual roster/booking date through - previously that endpoint had no credential check at all before this.

Marking resolved on the code side. The ticket's own repro ("roster a doctor whose licence expires before the roster date... check the OPD booking feed") is a live/deployed-box check - worth a QA pass on the test box once deployed, assigning to Roshni for that.

RH Updated by Roshni Harish. 3 days ago Actions #4

  • Assignee changed from Roshni Harish. to Sravan V S
Actions

Also available in: PDF Atom