rickxy /
Hospital-Management-System
An online hospital management system project that is completely functional and uses the PHP programming language and the MySQL database.
64/100 healthLoading repository data…
Simbre28 / repository
The Hospital Management System is a web-based application developed using PHP and MySQL. It provides a comprehensive solution for managing various aspects of a hospital, including patient records, staff and admin user management, and ward and doctor information.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
The Hospital Management System is a web-based application developed using PHP and MySQL. It provides a comprehensive solution for managing various aspects of a hospital, including patient records, staff and admin user management, and ward and doctor information.
#Database info Create an connect a database..
To create a MySQL database and design the tables for storing patient information using XAMPP, follow these steps:
Start XAMPP: Open the XAMPP control panel and start the Apache and MySQL services. Access phpMyAdmin: Open a web browser and go to http://localhost/phpmyadmin. phpMyAdmin is a web-based interface for managing MySQL databases. Create a new database: In the phpMyAdmin interface, click on the "Databases" tab. Enter a name for your database (e.g., "hospital_db") in the "Create database" field. Choose the appropriate collation (e.g., "utf8mb4_general_ci") and click the "Create" button. Design the tables: After creating the database, click on its name in the left-hand menu to select it. Go to the "SQL" tab to execute SQL queries for creating tables.
Create the "patients" table:
CREATE TABLE patients ( id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(100), contact_info VARCHAR(100), in_out_patient ENUM('in', 'out'), ward_id INT, doctor_id INT );
Create the "wards" table:
CREATE TABLE wards ( id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(100) );
Create the "doctors" table:
CREATE TABLE doctors ( id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(100), specialization VARCHAR(100) );
Create the "users" table for authentication:
CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY KEY, username VARCHAR(50), password VARCHAR(255), role ENUM('staff', 'admin') );
Click the "Go" button to execute each SQL query and create the respective tables.
Establish table relationships:
You can establish relationships between the tables using foreign keys. For example, to relate the "patients" table with the "wards" and "doctors" tables, you can add foreign key constraints:
ALTER TABLE patients ADD FOREIGN KEY (ward_id) REFERENCES wards(id), ADD FOREIGN KEY (doctor_id) REFERENCES doctors(id); Execute the SQL query to add the foreign key constraints. Insert sample data (optional):
You can insert sample data into the tables using SQL INSERT statements. For example:
INSERT INTO wards (name) VALUES ('General Ward'), ('ICU'), ('Pediatric Ward'); INSERT INTO doctors (name, specialization) VALUES ('Dr. John Doe', 'Cardiology'), ('Dr. Jane Smith', 'Pediatrics'); INSERT INTO patients (name, contact_info, in_out_patient, ward_id, doctor_id) VALUES ('Patient 1', '1234567890', 'in', 1, 1), ('Patient 2', '9876543210', 'out', NULL, 2); INSERT INTO users (username, password, role) VALUES ('staff_user', 'password123', 'staff'), ('admin_user', 'admin123', 'admin'); Execute the SQL queries to insert the sample data into the respective tables. That's it! You have now created a MySQL database and designed the tables for storing patient information using XAMPP and phpMyAdmin. You can proceed with building your PHP application to interact with this database and implement the required functionalities.
Selected from shared topics, language and repository description—not editorial ratings.
rickxy /
An online hospital management system project that is completely functional and uses the PHP programming language and the MySQL database.
64/100 healthKarthikg1908 /
The purpose of the project entitled as “HOSPITAL MANAGEMENT SYSTEM” is to computerize the Front Office Management of Hospital to develop software which is user friendly simple, fast, and cost – effective. It deals with the collection of patient’s information, diagnosis details, etc.
69/100 healthprojectworldsofficial /
This is Hospital Management System Hospital management system is one of the best software that manages various activities in hospital that has 3 login features (account type) Features: 1. Front Page Slideshow 2. Login / Logout for customer. 3. Seperate login for admin (location/hms-admin) - username: admin, password: admin 4. Navigation Bar 5. Ability to Add patient detail and book appointment. 6. CSS using Twitter Bootstrap Brief overview of the technology: Front end: HTML, CSS, JavaScript HTML: HTML is used to create and save web document. E.g. Notepad/Notepad++ CSS : (Cascading Style Sheets) Create attractive Layout Bootstrap : responsive design mobile freindly site JavaScript: it is a programming language, commonly use with web browsers. Back end: PHP, MySQL PHP: Hypertext Preprocessor (PHP) is a technology that allows software developers to create dynamically generated web pages, in HTML, XML, or other document types, as per client request. PHP is open source software. MySQL: MySql is a database, widely used for accessing querying, updating, and managing data in databases. Software Requirement(any one) WAMP Server XAMPP Server MAMP Server LAMP Server Installation Steps 1. Download zip file and Unzip file on your local server. 2. Put this file inside "c:/wamp/www/" . 3. Database Configuration Open phpmyadmin Create Database named hospital. Import database hospital.sql from downloaded folder(inside database) 4. Open Your browser put inside "http://localhost/hospital-management-system-php-mysql-master" Admin Login Details Login Id: admin@admin.com Password: admin Doctor Login Details Login Id: doctor@doctor.com Password: admin Admin Login Details Login Id: admin@admin.com Password: admin
45/100 healthjeffryhawchab /
The Hospital Management System Project in Laravel (HMS) is a software program that helps hospitals manage their activities and events. It is built specifically for the PHP Laravel framework.
24/100 healthHarsH-OhM /
In this Hospital Admin Management system we have multi auth login system for doctor and admin and doctor and receptionist can manage their work and data regarding patient appointment and patient data and also whole information about hospital work. In this application i have used some really good functionalities and features like chart representation of data , fully authenticated sessions for login system and all the required crud operations and gmail smtp integration for mail message communication between doctor,patient and receptionist and all other required features are there. it's very detailed and flexible SaaS based application. for frontend HTML css javascript , bootstrap nd other important libraries are used and for backend i have used php Laravel framework and now i am loving it and for Databse i have used MySQL.
70/100 healthprithwirajdutta /
Created with Php, Mysqli, Bootstrap. This project will meet the professional standards required inorder to be functional within an organisation. This project can also be used by Btech Students.
49/100 health