Skip to content

feat(consultation): sync visit status on consultation completion

Rajuldev Vandana requested to merge feat/consultation_completed into develop

Title (semantic)

Format: feat(consultation): sync visit status on consultation completion

Description

This merge request ensures that when the “Complete” action is triggered from the In-Consultation Queue, the patient visit status is updated to CONSULTATION_COMPLETED along with the existing queue status update. Previously, only the queue status was updated, causing the visit to appear incomplete in the UI. This change reuses the existing consultation completion trigger, adds CONSULTATION_COMPLETED to the VisitStatus enum if missing, and maintains full backward compatibility without breaking existing workflows, APIs, or frontend behavior.

Checklist

  • The feature has been fully implemented.
  • Tests for the new feature are included and passing.
  • User documentation/guides have been updated (if applicable).
  • Impact on existing functionality has been considered.

Related Issue(s)

Closes #

Edited by Kushal Lagichetty

Merge request reports

Loading