Details
-
Story
-
Resolution: Unresolved
-
Medium
-
None
-
None
Description
As a user (Pharmacist or Healthcare Professional),I want dropdown menus to dynamically update based on previous selections, So that I can quickly and accurately select options relevant to the prescription context.
Acceptance Criteria:
Form-Dependent Dropdowns:
When "Form" is selected (e.g., "Tablet"), the "Dosage" dropdown should display options specific to that form (e.g., "500 mg," "650 mg" for tablets).
If "Form" is "Injection," display dosage options like "1 mL," "2 mL," etc.
Route-Dependent Dropdowns:
Based on the selected "Form," the "Route" dropdown should display relevant options:
For "Tablet" → "Oral," "Sublingual."
For "Injection" → "Intravenous," "Intramuscular."
Real-Time Updates:
The dropdowns should refresh dynamically as the user changes the selection in preceding fields.
Error Handling:
If no relevant options are available, display a user-friendly message like "No options available for the selected form."
Consistency Across Modules:
Ensure dynamic dropdown behavior is consistent across all users of the Prescription Module.