Project

General

Profile

Actions

Bug #681

closed
RH AM

“ANC follow-ups” filter shows for all hospitals and departments; it should show only where Gynecology / Obstetrics exists

Bug #681: “ANC follow-ups” filter shows for all hospitals and departments; it should show only where Gynecology / Obstetrics exists

Added by Roshni Harish. 14 days ago. Updated 7 days ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
10/30/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

Module: OPD → Patient → Follow-ups
Environment: Test, VVMC: https://vvmc.test.clinq.health/opd/follow-ups (v2026.10.38)
Type: Bug / configuration
Severity: Low (UI clutter and confusion, no data impact)
Priority: P3

Description

The Follow-ups page shows an “ANC follow-ups” filter button for every hospital and every user. ANC (antenatal care) follow-ups only matter in Gynecology & Obstetrics. VVMC doesn’t need ANC follow-ups at all, and doctors in other departments, such as General Medicine, don’t need the filter either.

Steps to reproduce
Log in to VVMC test.
Go to OPD → Follow-ups.
Look at the filter bar next to “All doctors.”
Expected result
The “ANC follow-ups” filter is shown only when:
the hospital has a Gynecology / Obstetrics department enabled (for example NSSH), and
the user is in that department, or is an admin or front-desk user who manages all follow-ups.
Hidden at VVMC, which doesn’t use ANC follow-ups.
Hidden for doctors in other departments, for example General Medicine, even at hospitals that have Gynecology.
Actual result

The “ANC follow-ups” filter is visible at VVMC and to all users, whatever the department.

Suggested fix
Show or hide the filter based on the hospital’s departments (whether Gynecology / Obstetrics exists), or on a hospital-level setting such as “Enable ANC follow-ups.”
Within such a hospital, show it only to Gynecology / Obstetrics users, plus admin and front desk.
Acceptance criteria
VVMC: the “ANC follow-ups” filter isn’t shown.
NSSH (has Gynecology & Obstetrics): the filter is shown to Gynec doctors, admin and front desk.
NSSH: the filter isn’t shown to doctors in other departments (General Medicine, Pediatrics, etc.).
The other follow-up filters and tabs (Pending, Overdue, Completed, No-show, All doctors) work as they do now.

AM Updated by Arya M. 11 days ago Actions #1

  • Priority changed from Normal to Urgent

AM Updated by Arya M. 10 days ago Actions #2

  • Target version set to Sprint 1

AM Updated by Arya M. 10 days ago Actions #3

  • Status changed from New to In Progress

AM Updated by Arya M. 9 days ago Actions #4

  • Status changed from In Progress to Resolved
  • Assignee changed from Arya M. to Roshni Harish.
  • Resolved By set to Arya M.

RH Updated by Roshni Harish. 9 days ago Actions #5

  • Status changed from Resolved to Feedback
  • Assignee changed from Roshni Harish. to Arya M.

The filter is removed from all departments, please check

AM Updated by Arya M. 8 days ago Actions #6

  • Status changed from Feedback to Resolved

RH Updated by Roshni Harish. 7 days ago Actions #7

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom