crystal-pharmacy

byMr V K

FINAL PROMPT (ADVANCED): AI-Powered Pharmacy + Lab Management System (India) Design and develop a complete AI-powered Pharmacy Stock, Billing, and Lab Management System for retail pharmacies, clinics, and diagnostic labs in India, following Indian Pharmacopoeia standards and PCI guidelines. The system must include AI automation, full backend integration, medical database, lab testing module, billing system, and enterprise-level security. --- 1. Core System Requirements Build a full-stack application with: - Web + Mobile compatibility - Fully developed backend for every feature - Real-time database synchronization - Secure cloud infrastructure --- 2. Authentication & User System - Login / Signup system - Sign in with Google (Social Login) - Role-based access: - Owner - Pharmacist - Staff - Show user profile (top-right corner of dashboard) --- 3. UI/UX Design - Clean, modern UI (like Tata 1mg / PharmEasy) - Dark Mode + Light Mode toggle - Fast navigation with bottom menu: Home | Stock | Billing | Scan | Symptoms | Lab | Settings --- 4. AI Medicine Recognition System Allow stock entry using: - Camera scan (AI OCR) - Image upload (gallery) - Barcode scan - QR code scan - Manual entry Extract automatically: - Brand Name - Generic Name - Batch Number - MFG Date - EXP Date - Manufacturer Name - MRP - Drug Schedule Allow editing after detection. --- 5. AI Purchase Bill Scanner Scan distributor bills (camera / upload): Extract and add multiple medicines at once: - Medicine name - Batch - Quantity - MRP - EXP Date Auto-update stock. --- 6. Pharmacy Drug Database (20,000+ Medicines) Include: - 20,000+ medicines - 3,000+ salts - 2,000+ manufacturers Each drug must have: - Brand name - Generic (salt) - Manufacturer - Strength - Dosage form - Schedule category --- Drug Details Page When tapped: - Show ethical (branded) medicines - Show generic alternatives - Show same salt options - Show manufacturer info - Show usage, side effects --- 7. Drug Schedule Classification (Highlighted) Highlight: - Schedule H - Schedule H1 - Schedule X - NRx - OTC Use color indicators in stock & billing. --- 8. Stock Management System Features: - Multi-entry methods (AI, manual, barcode) - Batch-wise tracking - Expiry tracking - Manufacturer tracking --- Alerts - Expiry alerts (90/60/30 days) - Expired drugs column - Low stock column --- 9. Advanced Filtering Filters: - MFG date - EXP date - Schedule - Batch - Supplier - Low stock - Expired / near expiry --- 10. Billing System Features: - Fast search - Barcode billing - Batch selection - Expiry validation - GST calculation - Discount --- Billing Requirements - Enter: - Patient Name - 10-digit Mobile Number - Generate invoice - Options: - Print bill - Download PDF --- 11. Reports & Export System All data must be downloadable from Settings menu: - Stock data → Excel (.xls) - Billing data → PDF / Excel - Reports → Exportable --- 12. Interactive Dashboard Dashboard must include: - Real-time analytics - Date-range selector - Exportable reports Show: - Total stock - Sales - Low stock - Expiry alerts --- 13. Symptom → Medicine AI Add “Symptoms” button (bottom menu) User selects symptoms: - Fever - Headache - Body pain - Cold - Cough - Allergy - Acidity - Vomiting - etc. AI suggests medicines. Display warning: "This is only a suggestion. Consult a doctor." --- 14. Lab Test Management System Create a complete lab module. --- Lab Test Features - Preloaded tests: - CBC - SGOT - SGPT - Lipid Profile - Blood Sugar - Add / Edit / Delete tests - Add new test button --- Test Structure Each test includes: - Predefined parameters (auto-fetched): Example CBC: - WBC - RBC - Platelets - Hemoglobin - Reference ranges (editable) --- Patient Entry Before test: - Patient Name - Age - Sex - Referred By - Date (auto-filled) --- Test Input Methods 1. Manual entry 2. AI scanning system: - Camera capture - Image upload AI extracts test values automatically. --- 15. Backend Architecture (VERY IMPORTANT) Every feature must be connected to backend. --- Backend Stack - Node.js / FastAPI - PostgreSQL database - Redis caching - Cloud storage --- Backend Must Handle - Authentication - Stock management - Billing - Lab data - AI processing - Reports - Export system --- API Design Create APIs for: - Medicine database - Stock CRUD - Billing - Lab tests - AI OCR processing - Reports --- 16. Security System - JWT authentication - Role-based access - Encrypted database - API security - Backup system - Activity logs --- 17. Advanced AI Modules Include: - AI medicine scanner - AI bill scanner (multi-drug detection) - AI lab report reader - AI symptom → medicine suggestion - AI prescription reader (doctor handwriting recognition) --- 18. Deliverables Required The system must include: - ✔ Ready-to-download 20,000+ medicine dataset (CSV/SQL) - ✔ Full backend API code - ✔ Complete UI wireframe (Tata 1mg level) - ✔ AI prescription reader module --- FINAL GOAL Build a complete intelligent healthcare platform that integrates: - Pharmacy management - Billing system - Lab diagnostics - AI automation - Medical database - Secure backend system This system should be production-ready, scalable, and compliant with Indian healthcare standards.

LoginStockBillingReports
Login

Comments (0)

No comments yet. Be the first!

Login design preview
Login: Sign In
Dashboard: View Analytics
Dashboard: View Alerts
Stock: Manage Inventory
Reports: Export Data
Settings: Manage Roles