Skip to content

Enhance Update Prescription: Tablets by dosage, others by quantity

Rushika Sritha Maddula requested to merge edit-new-patient-others into develop

This MR updates the prescription handling logic in the Update Prescription page to properly differentiate between tablet medicines and other medicine types.

Changes Implemented

Tablets

Handled using dosage-based input (e.g., 1-0-1, 0-1-0).

Stock deduction is calculated based on dosage.

Other Medicine Types (Syrup, Ointment, Powder, Drops, Injections, etc.)

Handled using manual quantity input.

Dosage fields are disabled/hidden.

Stock deduction is based on entered quantity.

Merge request reports

Loading