# GSoC 2026: Service Queues — Progress So Far

**URL:** <https://talk.openmrs.org/t/gsoc-2026-service-queues-progress-so-far/49746>\
**Category:** GSoC\
**Created:** [July 6, 2026, 5:55pm UTC](https://talk.openmrs.org/t/gsoc-2026-service-queues-progress-so-far/49746 "2026-07-06T17:55:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ujjawalprabhat](https://talk.openmrs.org/letter_avatar/ujjawalprabhat/32/5_5575768a8748004e209b776fc1b2916d.png) [@ujjawalprabhat](https://talk.openmrs.org/u/ujjawalprabhat)\
**Post date:** [August 2, 2026, 5:15pm UTC](https://talk.openmrs.org/t/gsoc-2026-service-queues-progress-so-far/49746/4 "2026-08-02T17:15:18Z")

</div>

## **Week 10**

Mostly review follow-up this week, but three new PRs went up, all surfaced while going back through older work rather than from new tickets, plus a design out for community feedback.

- **[content-referenceapplication-demo#79](https://github.com/openmrs/openmrs-content-referenceapplication-demo/pull/79)** _(merged)_ — Wires the three privileges from [queue#118](https://github.com/openmrs/openmrs-module-queue/pull/118) onto the demo’s existing roles (Doctor/Nurse → Clinician, Registration Clerk → Clerk, System Administrator → Clinic Administrator), so the Week 7 privilege-gated view has something real to check against in a deployment.

- **[queue#120](https://github.com/openmrs/openmrs-module-queue/pull/120)** _(merged)_ — Fixes [O3-5760](https://openmrs.atlassian.net/browse/O3-5760): `QueueUtils.computeAverageWaitTimeInMinutes` guarded against an empty entry list but not against a non-empty list where nothing had actually finished waiting yet, leaving the denominator at zero and the average wait time metric rendering `NaN`. Now returns `null` instead, which the frontend already handles gracefully.

- **[patient-chart#3509](https://github.com/openmrs/openmrs-esm-patient-chart/pull/3509)** _(open)_ — Fixes [O3-5763](https://openmrs.atlassian.net/browse/O3-5763): `VisitNotesForm` pulled its visit context from `usePatientChartStore`, which only the patient chart populates. Launched from Service Queues, `visitContext` came back `null`, and the backend’s fallback visit-assignment logic picked a visit, not necessarily the one being viewed. Splits the form the way the vitals form already handles this, taking `visitContext` explicitly as a prop and exporting it as a reusable workspace.

Also put together a design for a dedicated Clinic Administrator screen and [posted it for community feedback](https://talk.openmrs.org/t/service-queues-clinic-administrator-screen-design-for-feedback/49862) — a clinic-wide monitoring view, addressing [O3-5770](https://openmrs.atlassian.net/browse/O3-5770), that shows every queue at a glance instead of one at a time. It’s the natural next step after Week 7’s privilege model.

Full write-up on Medium: **[The Week of “While I Was In There”](https://medium.com/@ujjawalprabhat)**

---

_[View the full topic](https://talk.openmrs.org/t/gsoc-2026-service-queues-progress-so-far/49746)._
