Project

General

Profile

Bug #649

Updated by Roshni Harish. 15 days ago

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 Duration is added to a prescription, the Days field is automatically filled pre-filled with 7. Doctors have to must delete it and type the right duration every each 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 Leave it empty; use 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. hint.

Back