Task #17
Updated by Varsha N about 2 months ago
Consultation Fee Entry & Validation: Task Description: Implement Develop the Consultation Fee section in the Doctor module. Doctor’s Today Queue screen to show patients waiting for consultation. This task focuses only on entering, validating, and saving the consultation fee for a patient visit. Navigation: Doctor → Consultation Screen → Consultation Fee Today Queue Features: Fields to Display: Consultation Fee Input- Token Number Numeric input field: “Consultation Fee” Patient Name Currency label (₹ Age / RM Sex Status (Waiting / SGD – static for now) Completed) Save fee button Action: Open Consultation Display Logic- Show existing fee if already entered Disable editing after consultation is completed Basic Validations Checklist: Validations: ☐ Consultation fee is required Load only today’s visits ☐ Fee must be a Order by token number ☐ Fee cannot be negative Handle empty queue gracefully ☐ Fee cannot exceed a reasonable limit (example: 100000) ☐ Doctor cannot edit fee after consultation completion ☐ Disable Save button Show loader while submitting ☐ Show success message after save fetching data