Project

General

Profile

Actions

Bug #634

open
JJ JJ

Medicine stock availability not shown in Prescription drug search on Doctor Desktop (shown in OPD)

Bug #634: Medicine stock availability not shown in Prescription drug search on Doctor Desktop (shown in OPD)

Added by Jessin J 16 days ago. Updated 11 days ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
ClinQ HMS Platform - Sprint 4
Start date:
10/28/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

Description: In OPD, when a doctor types a drug name in the prescription’s “Drug name” field, each matching result shows its current stock status (e.g. “Out of stock”, “20 left”) next to the drug name/strength. On Doctor Desktop, the same drug search dropdown lists the matching drugs but doesn’t show any stock information at all, so the doctor can’t tell whether a drug is in stock before prescribing it.

Steps:

Log in as a doctor and open a patient’s Consultation screen on Doctor Desktop.
Go to the “Prescription” tab.
In the “New prescription line” → “Drug name” field, type a drug name (e.g. “dolo”).
Compare the dropdown results with the same search in OPD for the same drug.

Expected Result: Each drug result in the dropdown should show its stock status (e.g. “Out of stock” or “X left”), matching OPD, so doctors can make an informed choice when prescribing.

Actual Result: The dropdown shows only drug name, strength, and form (e.g. “Dolo 650 Tab · 650mg · Tablet”) with no stock indicator at all — identical results to OPD’s list (Dolo 120mg 60ml Syp, Dolo 6000, Dolo 650 Tab, Dolo Infusion 100ml, Dolo 650) but missing the “Out of stock” / “20 left” labels OPD shows.

S- Updated by SK - 14 days ago Actions #1

  • Assignee changed from Fiza M. to Roshni Harish.

Already resolved as a side effect of #636 (see that ticket). The Prescription tab's drug search is now OPD's own _rx-tab component, which already shows stock status. Verified present in the synced copy on current dev. No separate fix needed - reassigning to Roshni to verify on the latest build and close.

JJ Updated by Jessin J 14 days ago Actions #2

  • Assignee changed from Roshni Harish. to Jessin J

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

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

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

  • Assignee changed from Roshni Harish. to Jessin J
Actions

Also available in: PDF Atom