Tarushgift

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 39

<INDEX>

CERTIFICATE
ACKNOWLEDGEMENT
OUTPUT
PYTHON CODE
SQL TABLES
BIBLIOGRAPHY
1

PYTHON
CODE
CERTIFICAT
E
M.P.V.M
Ganga Gurukulam

CERTIFICATE
This is to certify that
Master.
Hasmukh Chari
Of class
12-A2
Has prepared this project which is the result of his
efforts and
endeavors.
The project titled
Hospital Management
Is found worthy of acceptance as final project for
the subject
Computer Science
He has prepared the project under my guidance
and as per the
Norms provided by the CBSE

SUBJECT TEACHER EXAMINER PRINCIPAL


Acknowledge
ment
ACKNOWLEDGEMENT

In the accomplishment of this project successfully, many


people have best owned upon me their blessings and the
heart pledged support this time I am utilizing to thank all the
people who have been concerned with the project.
Primarily I would thank god for making me being able to
complete this project with success. Then I would like to
thank teacher Mr. Subhodeep Chatterjee whose valuable guidance
has been the ones that helped me patch this project and make
it full proof success, her suggestions and her instructions has
served as the major contributor towards the completion of
the project.
SQL
Table
Check_up table
Employee table

Equipments table
Medicines table

Patients table
OUTPUT

Treatments
**************************************************
******************************

HOSPITAL DATABASE MANAGEMENT

MENU

**************************************************
******************************

1. Manage Patients.

2. Manage Employees.
3. Manage Check Up.

4. Manage Treatment.

5. Manage Medicines.

6. Manage Equipments.

Enter the number of your respective choice:1

1. Display all patients.

2. Display a particular patient.

3. Find details of a patients.

4. Add a patient.

5. Delete a patient.

6. Update an existing patient infromation.

Enter the number of your respective choice:2

1. Display all employees.

2. Display a particular employee.

3. Display all employees of a particular


designation

4. Add an employee.

5. Delete an employee.

6. Update an existing employee information.


Enter the number of your respective choice:3

1. Display all check_ups with patient id.

2. Update a check up record

3. Delete a check up record.

4. Add a check up record.

Enter your respective option number:

Enter the number of your respective choice:4

1. Display all types of treatment.

2. Add a new treatment.

3. Delete an existing treatment.

4. Show a particular treatment type and


its description.

Enter your respective option number:


Enter the number of your respective choice:5

1. Display all the medicines.

2. Find details of a medicine.

3. Add new medicine.

4. Delete a medicine.

5. Update details of a medicine.

6. Find a particular medicine.

Enter your respective option number:

Enter the number of your respective choice:6

1. Display all the equipments.

2. Find details of an equipment.

3. Add a new equipment.

4. Delete an equipment.

Enter your respective option number:


MANAGE PATIENTS

Enter your respective option number:1


Total patients found are: 20

('P01', 'suresh', 'narayan', 'male', 34, 'shantipuram ')

('P02', 'naina', 'agarwal', 'female', 28, 'prayagraj')

('P03', 'raman', 'singh', 'male', 38, 'civil lines')

('P04', 'rajat', 'pawar', 'male', 22, 'phaphamau')

('P05', 'hasmukh', 'chari', 'male', 49, 'prayagraj')

('P06', 'ajay', 'nagar', 'male', 45, 'civil lines')


MANAGE PATIENTS

('P12', 'sonali', 'sharma', 'female', 86, 'rasulabad')

('P13', 'suhani', 'shah', 'female', 56, 'teliyarganj')

('P14', 'malaika', 'arora', 'female', 66, 'shantipuram')

('P15', 'payal', 'singh', 'female', 69, 'shantipuram')

('P16', 'ujjwal', 'chaurasiya', 'male', 55, 'prayagraj')

('P17', 'anshu', 'bisht', 'male', 34, 'civil lines')


MANAGE PATIENTS

Enter your respective option number:2

Enter the patient id:P05

('P05', 'hasmukh', 'chari', 'male', 49, 'prayagraj')

Enter your respective option number:3


Enter the patient id:P04

Enter what you want to find:adress

('phaphamau',)

Enter your respective option number:4

Enter patient id:P25

Enter First name:naman

Enter last name:mishra

Enter sex:male

Enter age:27

Enter address:shantipuram
MANAGE PATIENTS

Enter your respective option number:5

Enter patient id:P25

patient deleted.

Enter your respective option number:6

Enter patient id:P05

Enter what you want to update:fname

Enter new value:hardik

Changes done.
EMPLOYEE MANAGEMENT

1. Display all employees.

2. Display a particular employee.

3. Display all employees of a particular designation

4. Add an employee.

5. Delete an employee.

6. Update an existing employee information.

Enter your respective option number:1

Total employees found are: 8

('EP01', 'naman', 'compoundar', '10000')

('EP02', 'naina', 'nurse', '10000')

('EP03', 'jai', 'nurse', '10000')

('EP04', 'rakesh', 'nurse', '12000')

('EP05', 'sam', 'doctor', '50000')

('EP06', 'brian', 'doctor', '45000')


EMPLOYEE MANAGEMENT

('EP07', 'priya', 'nurse', '12000')

Enter the employee id:EP03


('EP08', 'geeta', 'doctor', '45000')
('EP03', 'jai', 'nurse', '10000')

Enter your respective option number:2

Enter your respective option number:3

Enter employee designation:doctor

('EP05', 'sam', 'doctor', '50000')

('EP06', 'brian', 'doctor', '45000')

('EP08', 'geeta', 'doctor', '45000')

EMPLOYEE MANAGEMENT

Enter your respective option number:4

Enter employee id:E15

Enter employee name:hasmukhi


Enter your respective option number:5

Enter employee id:E15

employee deleted.

Enter your respective option number:6

Enter employee id:E01

Enter what you want to update:emp_name

Enter new value:aman

Changes done.

CHECK_UP MANAGEMENT

1. Display all check_ups with patient id.

2. Update a check up record

3. Delete a check up record.

4. Add a check up record.


Enter your respective option number:1

('C01', 'P01', 'T01', 'M05', 23, '2022-11-19', 'E01')

('C02', 'P02', 'T04', 'M11', 24, '2022-12-21', 'E04')

('C03', 'P03', 'T02', 'M03', 10, '2022-12-11', 'E07')

('C04', 'P04', 'T07', 'M01', 15, '2022-12-11', 'E11')

('C05', 'P05', 'T04', 'M11', 5, '2022-12-24', 'E04')

('C06', 'P06', 'T03', 'M09', 15, '2022-11-30', 'E06')

('C07', 'P07', 'T06', 'M07', 15, '2022-12-03', 'E03')

('C08', 'P08', 'T04', 'M11', 2, '2022-11-15', 'E11')

('C09', 'P09', 'T03', 'M09', 20, '2022-11-19', 'E12')

('C10', 'P10', 'T01', 'M05', 15, '2022-12-09', 'E03')

CHECK_UP MANAGEMENT

('C11', 'P11', 'T01', 'M05', 5, '2022-11-29', 'E07')

('C12', 'P12', 'T02', 'M03', 11, '2022-12-25', 'E08')


Enter your respective option number:2

Enter check up id:C12

Enter what you want to update:med_id

Enter new value:M06

Changes done.

Enter your respective option number:3

Enter check up id:C15

check up record deleted.

CHECK_UP MANAGEMENT

Enter your respective option number:4

Enter check up id:C15

Enter patient id:P19


MANAGE TREATMENT

1. Display all types of treatment.

2. Add a new treatment.

3. Delete an existing treatment.

4. Show a particular treatment type and its description


Enter your respective option number:1

Total treatments found are: 6

('T01', 'Coronary angioplasty and stent implantation',


'Coronary angioplasty is a procedure that helps to improve
blood flow to your heart.')

('T02', 'Thrombolytic therapy', 'Thrombolytic therapy is a


treatment in which you are given medicines through a drip
to dissolve a blood clot that is narrowing or blocking a
coronary artery')

('T03', 'Coronary artery bypass graft surgery (CABG)',


'Coronary artery bypass graft surgery is also called bypass
surgery or ‘CABG’ (pronounced ‘cabbage’). In this operation
a blood vessel is taken from your chest, leg or arm and
attached (‘grafted’) to your coronary artery. This lets blood
detour (‘bypass’) around a narrowing or blockage in this
artery.')

('T04', 'Artificial pacemaker surgery', 'An artificial


pacemaker is a small device that is put under the skin of
your chest, below your collar bone. One or two wires
connect the pacemaker to the chambers of your heart.')

MANAGE TREATMENT
Enter your respective option number:2

Enter treatment id:T11

Enter treatment type:heart blockage

Enter Description of the treatment:blocking of heard


nerves

treatment added.

Enter your respective option number:3

Enter treatment up id:T11

treatment deleted.

Enter your respective option number:4

Enter treatment id:T04

('Artificial pacemaker surgery', 'An artificial pacemaker


is a small device that is put under the skin of your
chest, below your collar bone. One or two wires connect
the pacemaker to the chambers of your heart.')

MANAGE MEDICINES
1. Display all the medicines.

2. Find details of a medicine.

3. Add new medicine.

4. Delete a medicine.

5. Update details of a medicine.

6. Find a particular medicine.

Enter your respective option number:1

('M01', 'ramipril', 1000, 'ACE inhibitors', '2024-12-09')

('M02', 'losartan', 699, 'angiotensin-II antagonists', '2028-


07-10')

('M03', 'amiodarone', 988, 'anti-arrhythmic medicines',


'2022-05-19')

('M04', 'warfarin', 100, 'anticoagulant medicines', '2024-11-


11')

('M05', 'aspirin', 1000, 'anti-platelet medicines', '2023-07-


30')

('M06', 'bisoprolol', 786, 'beta-blockers', '2023-09-28')

MANAGE MEDICINES
('M07', 'amlodipine', 999, 'calcium-channel blockers', '2025-
12-12')

('M08', 'simvastatin', 448, 'cholesterol-lowering medicines',


'2026-01-30')

('M09', 'digoxin', 864, 'N/a', '2027-06-30')

('M10', 'bendroflumethiazide', 8339, 'diuretics (water pills)',


'2030-11-29')

('M11', 'glyceryl trinitrate ', 483, 'nitrates', '2022-12-30')

Enter your respective option number:2

Enter the medicines id:M06

Enter what you want to find:description

('beta-blockers',)

MANAGE MEDICINES
Enter your respective option number:3

Enter medicine id:M15

Enter medicine name:T

Enter medicine quantity:20

Enter decription:TEST

Enter expiry date.12-10-2022

Record added

Enter your respective option number:4

Enter medicine id:M01

medicicne deleted.

MANAGE MEDICINES
Enter your respective option number:5

Enter medicine id:M03

Enter what you want to update:quantity

Enter new value:100

Changes done.

Enter your respective option number:6

Enter medicine id:M09

(‘digoxin’)

MANAGE EQUPMENTS

1. Display all the equipments.


Enter your respective option number:1

Total equipments found are: 13

('E01', 'Cardiac Monitors', '2022-09-15', '2022-09-29')

('E02', 'Cardiac Ultrasound Machines', '2022-07-17', '2022-


07-22')

('E03', 'Vascular Ultrasound Machines', '2022-07-26', '2022-


08-13')

('E04', 'EKG Machines', '2022-11-22', '2022-12-01')

('E05', 'Defibrillators', '2022-05-13', '2022-05-23')

('E06', 'Intra-Aortic Balloon Pumps', '2022-12-29', '2023-01-


13')

MANAGE EQUPMENTS

('E07', 'Heart-Lung Bypass Machines', '2022-10-15', '2022-


10-27')

('E08', 'Stress Test System', '2022-03-17', '2022-04-29')

('E09', 'C-Arm - Fluoroscopy Machines', '2022-05-23', '2022-


06-05')
Enter your respective option number:2

Enter the equipment id:E01

Enter what you want to find:equip_name

('Cardiac Monitors',)

MANAGE EQUPMENTS

Enter your respective option number:3

Enter equipment id:E20

Enter equipment name:TEST1

Enter equipment request date:25-10-2020


Enter your respective option number:4

Enter equipment id:E02

equipment deleted.

BIBLIOGRAPHY
 COMPUTER SCIENCE-
SUMITRA ARORA
 NCERT -COMPUTER
SCIENCE

You might also like