# Changelog - Homoeopathy System

All notable changes to the Homoeopathy System will be documented in this file.

## [1.0.0] - 2024-01-15

### Added
- Initial release
- Complete Kent's Repertory integration
- Repertorization engine with grade weights (1-4)
- Case management system
- Materia Medica module
- Admin and Doctor roles
- Subscription management
- AI integration with Gemini/DeepSeek APIs
- Responsive Bootstrap 5 UI
- Database backup and restore
- Email reminders for follow-ups
- PDF export for cases
- RESTful API endpoints

### Features
- Unlimited rubric depth hierarchy
- Dynamic repertorization scoring
- Grade display with custom CSS (bold, underline, colors)
- Patient case history tracking
- Follow-up management
- Multi-tier subscription plans
- Searchable repertory tree
- AJAX-based rubric selection
- Mobile-responsive design

### Security
- Password hashing with bcrypt
- SQL injection prevention with PDO
- XSS protection
- CSRF tokens on forms
- Session management
- Role-based access control

### Database
- 8 core tables
- Optimized indexes
- JSON support for flexible data
- Foreign key constraints

## [Unreleased]

### Planned Features
- Mobile app integration
- Telemedicine module
- Stock management for remedies
- Multi-language support
- Advanced analytics dashboard
- WhatsApp integration for reminders
- Payment gateway integration (Razorpay)
- Patient portal
- Electronic Medical Records (EMR) export

## Version History Format
[Major.Minor.Patch] - YYYY-MM-DD

- **Major**: Breaking changes, database schema changes
- **Minor**: New features, backward compatible
- **Patch**: Bug fixes, performance improvements