Repository navigation
Requirements
Roua91 edited this page Apr 19, 2025
·
2 revisions
| Section | Feature | Details |
|---|---|---|
| 1. User Roles & Authentication | User Types | - System Admin - Local Clinic Admin - Doctors |
| Authentication System | - Email/password login - Temporary passwords - Password change on first login - Flask-Login for session management - Password hashing via Werkzeug |
|
| Access Control | - Route-based permission - Function-level Flask decorators - Clinic-based data isolation |
|
| 2. Clinic Registration & Onboarding | Application Process | - Collect detailed clinic info - Multi-doctor registration - License upload - Application status tracking |
| Application Review | - Admin dashboard for pending apps - Download/verify documents - Approval/rejection workflow |
|
| Account Creation | - Auto-create clinic accounts - Generate doctor/admin accounts - Send temporary credentials through track application page |
|
| 3. Admin Functionality | Dashboard | - Total clinics - Pending/approved summaries - Recent registration view |
| Registration Management | - View applications - Download/verify licenses - Approve/reject - View full clinic/doctor details |
|
| 4. Local Admin Functionality | Dashboard | - Doctor & patient count - Recent patients - Quick access tools |
| Doctor Management | - Add/remove doctors - View doctor list - Generate/share credentials |
|
| Patient Management | - Add/view/search patients - Access history & reports - Delete patient records |
|
| 5. Doctor Functionality | Dashboard | - Assigned patients - Recent report activity - Quick record access |
| Patient Management | - View/search assigned patients - Access medical history - View uploaded images |
|
| Medical Imaging & Analysis | - Upload images (X-ray, scans) - Choose AI model - View classification/confidence - Save results |
|
| Report Generation | - Create detailed reports - Include findings, diagnosis, treatment - Auto-generate/download PDFs - View historical reports |
|
| 6. Patient Records | Patient Info | - Name/contact/DOB/age - History & clinic association |
| Report Storage | - Store findings/diagnosis/treatment - Generate/store PDF - Timestamp and doctor data |
|
| Image Management | - Secure storage - Associate with patient - Control access by clinic |
|
| 7. AI Integration | Image Upload | - Support multiple formats - Secure storage - Metadata tracking |
| Model Selection | - Multiple models - Interface for doctors - Suggest based on image type |
|
| Image Analysis | - AI classification - Confidence scores - Visual highlighting - Result integration |
|
| Results Management | - Store results - Doctor verification - Historical analysis tracking |
|
| 8. Technical Architecture | App Structure | - Flask Blueprints - Role-specific routes - Separation of concerns |
| Database Schema | - Users - Clinics - Patients - Reports & images - AI results |
|
| Security | - Password hashing - Role-based access - Clinic data isolation - Secure file access |
|
| File Management | - Organized upload dirs - License/docs - Patient images - Reports |