0% found this document useful (0 votes)
7 views14 pages

Report Dbms

Uploaded by

ap9aadtau5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views14 pages

Report Dbms

Uploaded by

ap9aadtau5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Bahria University, Lahore Campus

Department of Computer Sciences


Lab Journal 13
(Fall 2023)

Course: Database Management System Lab


Course Code: CSL 220 Max Marks:
Faculty’s Name: Lab Engineer:

Name: _ZAIN
UMER Enroll No: _03-13421-047
03-134221-042

Task

Attach the document of your semester project. Please follow the component
 Introduction
 Background
 ERD of your project
 Methodology
 Conclusion

Introduction

Hospital Management System

This project presents the development of a Hospital Management System (HMS) designed to
streamline hospital operations and enhance patient care. The system is built using PHP for the
front-end and incorporates a MySQL database backend managed through XAMPP. It
implements user-friendly interfaces for administrators, doctors, and patients, each with distinct
functionalities.

Background

Need for a Hospital Management System

Hospitals face multifaceted challenges in managing a vast array of data, coordinating diverse
departments, and delivering efficient patient care. Manual systems often lead to inefficiencies,
errors, and subpar patient experiences. A robust HMS addresses these challenges by:
Automating tasks: Streamlining processes such as appointment scheduling, patient
registration, billing, and resource management.
Enhancing communication: Facilitating timely information exchange between departments and
staff members.

Improving patient care: Enabling better patient tracking, efficient appointment management,
and comprehensive record-keeping.
ERD of the Project

Entity Relationship Diagram (ERD)

Methodology

Development Approach

Front-End Development:
PHP for dynamic web page generation and user interaction.
HTML, CSS, and JavaScript for structuring content, styling, and client-side scripting.
Back-End Development:

MySQL database for storing and managing data.


XAMPP for local server environment and database management.
PHP for interacting with the database (e.g., executing queries, retrieving results).
User Roles and Functionalities:

Admin:
Add/edit/remove doctors and staff.
View patient records and appointments.
Generate reports.
Doctor:
View assigned patients and appointments.
Add patient records and medical notes.
Patient:
Book appointments.
View appointment history and medical records.
Update personal information.

Conclusion

The developed Hospital Management System offers a centralized platform for managing
hospital operations and improving patient care.
It facilitates efficient appointment scheduling, patient record management, and communication
between staff members.

CREATE DATABASE hms

hms
ADMIN

SELECT * FROM `admin`

APPOINTMENT

SELECT * FROM `appointment`


UPDATE
UPDATE `appointment` SET `appointmentDate` = '2024-01-04'

DOCTORS

SELECT * FROM `doctors`

SELECT doctorName from doctors where doctorName = 'zayn';

DOCTOR LOGIN
SELECT * FROM `doctorslog`

DOCTOR SPECILIZATION

SELECT * FROM `doctorspecilization`


INSERT
INSERT INTO `doctors`(`id`, `specilization`, `doctorName`, `address`, `doc
Fees`, `contactno`, `docEmail`, `password`, `creationDate`, `updationDate`
) VALUES ('10','hair','','ibrahim','pekhawar','100','1237863','3456','2023
-12-03','2024-01-04');

UPDATE
UPDATE `doctors` SET `id`='17',`specilization`='HAIR',`doctorName`='ali',`
address`='',`docFees`='lahore',`contactno`='3272364',`docEmail`='djen@.com
',`password`='48589437' WHERE id = 10;

SELECT * FROM `doctors`

PATIENT
SELECT * FROM `tblpatient`

USER LOGIN

SELECT * FROM `userlog`


USERS

SELECT * FROM `users`


Lab Grading Sheet :

Max Obtained
Task Comments(if any)
Marks Marks
1. 10
2. 10
3. 10
4. 10

Total 40 Signature

Note : Attempt all tasks and get them checked by your Lab. Instructor

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy