A comprehensive healthcare management system built with Flask, providing secure and efficient healthcare management solutions for patients, doctors, and administrators.
EHMS is a web-based platform that streamlines healthcare operations, enhances patient care, and improves administrative efficiency through digital transformation of healthcare services.The integration with https://hmsv2.netlify.app allows for seamless onboarding and interaction for all users.
- User registration and authentication
- Book appointments with doctors
- View medical records
- Real-time chat with doctors
- View room assignments and directions
- Manage bills and payments
- Update profile and profile picture
- Application submission system
- Appointment management
- Patient communication
- Medical record access
- Response system for appointment requests
- Profile management
- Review doctor applications
- Manage users (doctors and patients)
- Room and bed assignment
- Billing management
- System monitoring
- Backend: Flask (Python)
- Database: PostgreSQL
- Session Management: Redis
- Natural Language Processing: spaCy
- Document Processing: PyPDF2
- Email Service: Flask
db_pool = psycopg2.pool.SimpleConnectionPool(
minconn=1,
maxconn=10,
dbname="ehms",
user="postgres",
password="your_password",
host="localhost",
port="5432"
)app.config['SESSION_TYPE'] = 'redis'
app.config['SESSION_REDIS'] = redis.from_url('redis://localhost:6379')app.config['MAIL_SERVER'] = 'smtp.gmail.com'
app.config['MAIL_PORT'] = 587
app.config['MAIL_USE_TLS'] = True
app.config['MAIL_USERNAME'] = '[email protected]'
app.config['MAIL_PASSWORD'] = 'your_app_password'- Clone the repository
git clone [repository-url]- Install dependencies
pip install -r requirements.txt- Install spaCy English language model
python -m spacy download en_core_web_sm- Start the application
python main.py- Password hashing with Werkzeug
- Session management with Redis
- Role-based access control
- Input validation and sanitization
.
βββ main.py
βββ README.md
For support or queries, please contact [[email protected]]
This project is licensed under the MIT License - see the LICENSE file for details.