CS Swati

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

DELHI PUBLIC SCHOOL,

JOKA,
SOUTH KOLKATA

A PROJECT REPORT
ON
SOFTWARE
FOR
“HOSPITAL DATA MANAGEMENT
SYSTEM”

SOFTWARE
FOR
1
“HOSPITAL DATA MANAGEMENT
SYSTEM”

Tools Used
Front End: - PYTHON
Back End: - CSV FILE

Developed At
DELHI PUBLIC SCHOOL JOKA, SOUTH KOLKATA

2
CERTIFICATE OF COMPLETION

This to certify that the project report entitled


“SOFTWARE FOR HOSPITAL DATA MANAGEMENT SYSTEM”
submitted by SWATI SAH during the academic year 2024-2025 is a
Bonafide piece of work conducted under my supervision and
guidance. The data sources have been duly acknowledged.

I wish him success in all his/her future endeavours.

SUPERVISED BY

Internal Teacher External Supervisor

3
PREFACE

4
PREFACE

The computers have gained a lot of importance in the past


five decades. Most of our day-to-day jobs are being influenced
by the use of computers. Now a day, computers are used for
performing almost every function, which were performed by
humans in the past. In some areas such as science and
technology, targets can’t be achieved without the use of
computers. The characteristics that make the computer so
important include its extra ordinary speed, large storage
capacity, accuracy and consistency.

Today computers play a great role in various industries


and a large number of industries are using computers for
various application such as maintaining cashbook, sales book,
purchase book and other books of accounts. Computers can
also be used for the designing of various products. Computers
provide many options for the designing of products.

The analysis of the project has been undertaken with


utmost sincerity and honesty and we will be extremely
satisfied if the effort is appreciated.

5
INDEX
DEDICATION

6
INDEX

1. Acknowledgement

2. Requirements Analysis

3. Feasibility Study

4. Coding

5. Output Screen

6. System Specifications

7. Bibliography

7
ACKNOWLEDGEMENT

8
ACKNOWLEDGEMENT

I take this opportunity to express my profound sense


of gratitude and respect to all those who helped me
throughout this venture.

I owe my regards to Mrs. Writuparna Chatterjee


(Principal of my School) for her cooperation and valuable
support and for giving us the opportunity to undertake this
project work and providing the necessary infrastructure.

I would like to express my heartfelt thanks to my


revered teacher Mr. Joydeep Kundu for his valuable
guidance, encouragement and support throughout my
project work. This project is his visualization and owes a
lot of its functionality to her.

Last but not the least, I owe my overwhelming gratitude to


my family and friends who gave me constant support and
motivation to continue with this endeavour.

- SWATI SAH

9
REQUIREMENT ANALYSIS

10
Proposed system
All the four activities of systems have been automated and efforts have been made
to minimize the manual working.

Benefits Of Purposed System:-


1. Less Paper Work

The paper work is reduced to minimal level. Computer prepares the lists of
customers.

2. No Manual Work.

There is no manual work. All the processes are done through computer.

3. Record of Hotels.

There is record of all the Hotels who got registered.

4. Register Maintenance is Easier

Register can now easily be maintained by producing a report with a format of


adding
Hotels’ records .

5. Data Is Not Scattered

Data is now stored at one place. Any information regarding anything can be
easily
available to the user.

6. User-friendly Software

The software is be menu-driven and is very easy to use.

7. Flexibility

The system is more flexible than the manual system being used presently.

8. Beneficial

The system is easy to use and reduces the user’s workload a lot. It provides
timely
and accurate information and there is automatic generation of reports.

11
FEASIBILITY STUDY

12
FEASIBILITY STUDY

During the course of completion of this project work, the complete analysis of
proposed system was done. In the analysis task, a complete care about the
feasibility of the proposed system was taken. The following feasibility analyses were
carried out during the course of this project work on call management system for
customer care:

1. Economic feasibility
2. Technical feasibility
3. Operational feasibility

Economic Feasibility: -
Economic analysis is the most frequently used method for evaluating the
effectiveness of a candidate system. The proposed system is economically feasible
because the benefits and the savings that are expected from a candidate system
outweigh the cost incurred. In this case we are getting the intangible benefits in
terms of low cost of maintenance of data, less redundancy and getting the quick
results.

Technical Feasibility: -

The existing Hardware and Software facilities support the proposed system.
Computer and storage media are available and software can be developed.

Hardware configuration:
a) Processor : i3
b) Memory : 4 GB RAM
c) SSD capacity : 512 GB

13
Software configuration: -
a) Operating system : Windows 7/10
b) Back end : csv files
c) Front end : Python
There is nothing which is not technically feasible.

Operational feasibility: -

As in the case of present system the entire work is being done manually. So
the data being scattered, information retrieval becomes difficult and maintaining
database is also very tedious. In case of proposed system, entire work will be done
automatically. So, the above details regarding the feasibility study show that the
design of the proposed system is very effective.

14
CODING

15
import os
import csv
def newrecord():
print("Add a New Patient Record")
print("================")
f=open('Hospital.csv','a',newline='\r\n')
s=csv.writer(f)
idno=int(input('Enter Patient ID '))
name=input('Enter patient name. ')
roomno=input('Enter roomno= ')
amount=float(input('Enter amount= '))
rec=[idno,name,roomno,amount]
s.writerow(rec)
f.close()
print("Record Saved")
input("Press any key to continue.. ")
def updaterecord():
print("Modify a Patient Record ")
print("================")
f=open('Hospital.csv','r',newline='\r\n')
f1=open('temp.csv','w',newline='\r\n')
f1=open('temp.csv','a',newline='\r\n')
r=input('Enter Patient ID you want to modify ')
s=csv.reader(f)
s1=csv.writer(f1)
for rec in s:
if rec[0]==r:
print("idno=",rec[0])
print("Name=",rec[1])
print("Room No=",rec[2])
print("amount=",rec[3])
choice=input("Do you want to modify the record of this
patient? (y/n) ")
if choice=='y' or choice=='Y':
idno=int(input('Enter new patient ID '))
name=input('Enter new name= ')
roomno=input('Enter roomno= ')
amount=float(input('Enter amount= '))
rec=[idno,name,roomno,amount]
s1.writerow(rec)
print("Record Modified")
else:
s1.writerow(rec)
else:
s1.writerow(rec)

f.close()
f1.close()
os.remove("Hospital.csv")
os.rename("temp.csv","Hospital.csv")

input("Press any key to continue.. ")


def deleterecord():
f=open('Hospital.csv','r',newline='\r\n')

16
f1=open('temp.csv','w',newline='\r\n')
f1=open('temp.csv','a',newline='\r\n')
r=input('Enter idno you want to delete ' )
s=csv.reader(f)
s1=csv.writer(f1)
for rec in s:
if rec[0]==r:
print("idno=",rec[0])
print("Name=",rec[1])
print("Room No=",rec[2])
print("amount=",rec[3])
choice=input("Do you want to delete this record(y/n) ")
if choice=='y' or choice=='Y':
pass
print("Record Deleted")
else:
s1.writerow(rec)
else:
s1.writerow(rec)

f.close()
f1.close()
os.remove("Hospital.csv")
os.rename("temp.csv","Hospital.csv")

input("Press any key to continue.. ")


def searchrecord():
print("search a Patient Record ")
print("===================")
f=open('Hospital.csv','r',newline='\r\n') #Remove new line
character from output
r=input('Enter idno you want to searchrecord ')
s=csv.reader(f)
for rec in s:
if rec[0]==r:
print("idno=",rec[0])
print("Name=",rec[1])
print("Room No=",rec[2])
print("amount=",rec[3])

f.close()
input("Press any key to continue.. ")
def listrecords():
print("List of All Records")
print("===================")
f=open('Hospital.csv','r',newline='\r\n') #Remove new line
character from output
s=csv.reader(f)
for rec in s:
print(rec[0],end="\t\t")
print(rec[1],end="\t\t")
print(rec[2],end="\t\t")
print(rec[3])

f.close()

17
input("Press any key to continue.. ")
def mainmenu():
choice=0
while choice!=6:
print("\n")
print(" Unity Care Hospital")
print(" EST 1948")
print(" Main Menu")
print(" ==========")
print(" 1. Add a new Patient Record")
print(" 2. Modify Existing Patient Record")
print(" 3. Delete Existing Patient Record")
print(" 4. Search a Patient Record")
print(" 5. List all Records")
print(" 6. Exit")
choice=int(input('Enter your choice '))
if choice==1:
newrecord()
elif choice==2:
updaterecord()
elif choice==3:
deleterecord()
elif choice==4:
searchrecord()
elif choice==5:
listrecords()
elif choice==6:
print("Good Bye")
break
mainmenu()

18
OUTPUT SCREENS

19
20
21
22
SYSTEM SPECIFICATIONS

23
SYSTEM SPECIFICATIONS

HARDWARE SPECIFICATIONS
The following is the hardware specification of the system on which the software has
been developed:-

Operating System : WINDOWS 11

Machine Used : i5-13450HX 2.4Ghz; 24GB RAM; 512GB SSD

SOFTWARE SPECIFICATIONS
Front End Used : Python

Backend Used : CSV File

24
CONCLUSION

25
CONCLUSION

In conclusion, the development and implementation of the hospital


management software have demonstrated significant advancements in
the efficiency, accuracy, and overall quality of healthcare administration.
This project has addressed critical needs within the healthcare industry,
providing a robust platform that streamlines patient management, staff
coordination, and resource allocation. The software's intuitive interface,
combined with its powerful data analytics capabilities, ensures that
healthcare providers can deliver patient care with enhanced precision
and responsiveness.
The success of this project underscores the transformative potential of
technology in the medical field, highlighting how digital solutions can
bridge gaps and optimize operational workflows. As healthcare systems
continue to evolve, this hospital management software stands as a
testament to the innovative spirit and dedication to improving patient
outcomes and healthcare management processes. Future
enhancements and integrations with emerging technologies like AI and
IoT promise to further elevate the effectiveness and reach of this
software, paving the way for a more connected and efficient healthcare
ecosystem.

26
BIBLIOGRAPHY

27
BIBLIOGRAPHY

Books
 Computer Science with Python – Sumita Arora

WEBSITES

 ladderpython.com
 w3schools.com

28

You might also like