Project

General

Profile

Actions

Bug #649

closed
MN RH

Prescription “Days” (duration) is pre-filled with 7; it should be empty with a light grey hint

Bug #649: Prescription “Days” (duration) is pre-filled with 7; it should be empty with a light grey hint

Added by Medha N. 15 days ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
10/28/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

Module: OPD → Consultation → Prescription
Environment: Test, NSSH (https://nssh.test.clinq.health/opd/consultation)
Type: Bug / UX
Severity: Medium (risk of a wrong duration, and slows doctors down)
Priority: P2

Description
When a medicine line is added to a prescription, the Days field is automatically filled with 7. Doctors have to delete it and type the right duration every time. If they forget, 7 days goes onto the prescription by mistake, and the quantity is calculated from it.

Steps to reproduce

Open an OPD consultation and go to Prescription.
Click Add line and select a medicine.
Look at the Days field.

Expected result

The Days field is empty.
A light grey hint is shown in it, for example “e.g. 7” or “Days”.
The hint isn’t saved as a value.
QTY stays blank until the doctor enters a duration.

Actual result
Days is pre-filled with 7 as a real value, so QTY is calculated from 7 days.

Acceptance criteria

The Days field is empty for new medicine lines.
Light grey hint text is shown and disappears when the doctor starts typing.
QTY is calculated only after Days is entered.
Signing is blocked, or a warning shown, if any medicine line has no Days.
Lines added with Copy from last visit keep the copied duration.


Files

Actions

Also available in: PDF Atom