Skip to content

About

Ward Mangement System

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

WARD MANAGEMENT SYSTEM

A web-based application that allows for the management of ward-related hospital operations, accessed by different roles.

PREREQUISITES AND PACKAGES

Python
Flask
Flask-login
SQLAlchemy

How to run: Run by python app.py in command prompt then access the link given in console
logins: (user | pass)
admin1 | adminpass
doctor1 | doctorpass
nurse1 | nursepass

ARCHITECTURE

FRONT END

Works by having html templates for each page, where information is dynamically rendered by Flask. Provides interface for CRUD operations, handled by form submissions and buttons that trigger API calls to the backend.

HTML/CSS JavaScript
Jinja2 Template Engine - for rendering dynamic content
AJAX - for asynchronous requests

BACKEND

Works by powering the front-end via API endpoints where it receives requests from the front end, and processes that data, interacting and pushing changes within the database, then returning a response to the front end. Includes different modules for initializing the Flask application, database, handling api and logic, and mapping classes to database entities.

Flask - for python-based web framework
Flask-login - is used for authentication
SQLAlchemy - as ORM for database interactions

DATABASE

SQLite Relational Model Diagram

PAGES

Login
Dashboard
Patient Page
Ward Page
Medical Records Page
Admin Dashboard
Users Page
Audit Logs

SECURITY

Supports password hashing, check constraints for CRUD operations, role-based permissions, and audit logs.

ROLE-BASED ACCESS Admin - has access to every feature
Doctor - view, admit, discharge, update patient and medical records
Nurse - admit, view, update patients, view medical records, update

About

Ward Mangement System

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages