Feature: Auto Generate Patient Book Number
Problem
Currently, patient registration depends on manual handling of book numbers, which may lead to duplication and inconsistency across modules.
Proposed Solution
Implement an automatic system to generate a unique patient book number at the time of new patient registration.
Requirements
Automatically generate a unique book number for every new patient
Ensure no duplicate book numbers are created
Display the generated book number immediately after successful registration
Use the same book number consistently across all modules:
Assign Doctor
Record Vitals
Prescription
Medicine Verification
Counseling
Patient Status
Consultation Queue
Acceptance Criteria
A book number is generated automatically on patient creation
The generated book number is unique in the database
The book number is visible on the UI after registration
All patient-related workflows work using this book number
No manual entry of book number is required