Skip to content

"Fix:Duplicate Doctor Assignment for Same Patient in Medical Camp"

fix(consultations): block duplicate doctor assignment

Description

This merge request fixes a bug where the same doctor could be assigned multiple times to the same patient visit in the current camp. The service now checks for an existing consultation and returns a conflict when a duplicate assignment is attempted.

Checklist

  • The bug has been reproduced and confirmed.
  • A clear and concise fix has been implemented.
  • New tests have been added to prevent regressions.
  • Existing tests are passing.

Related Issue(s)

Closes #34 (closed)


Screenshots Before image image

After image

Edited by Banuri Koushik Reddy

Merge request reports

Loading