Edited 1
Edited 1
PROJECT
SUBMITTED FOR
AISSCE
PRACTICAL EXAMINATION
2024-2025
Developed at
DELHI PUBLIC SCHOOL (JOKA), SOUTH KOLKATA
CERTIFICATE
SUPERVISED BY
● Acknowledgement
● Requirement Analysis
● Feasibility Study
● Coding
● Output Screen
● System Specifications
● Bibliography
ACKNOWLEDGEMENT
ACKNOWLEDGEMENT
_________________
REQUIREMENT ANALYSIS
Proposed System
All of the four activities of systems have been automated and efforts
have been made to minimize the manual working
● No manual work
There is no manual work involved. All processes are done through
computer
● Record of patients
There is record of all students who registered
● User-friendly software
The software is menu-driven and is very easy to use.
● Flexibility
The system is more flexible than the manual system being used presently
● 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
FEASIBILITY STUDY
FEASIBILITY STUDY:
1. Economical feasibility
2. Technical feasibility
3. Operational feasibility
Economical Feasibility:
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 : 2 GB RAM
c) HD capacity : 1 TB
Software configuration:
def modifyPatient():
print("Modify a Patient Record")
print("====================")
f=open('patient.csv','r',newline='\r\n')
f1=open('temp.csv','w',newline='\r\n')
f1=open('temp.csv','a',newline='\r\n')
r=input('Enter patientid whose record you want to modify= ')
s=csv.reader(f)
s1=csv.writer(f1)
for rec in s:
if rec[0]==r:
print("-------------------------------")
print("Patient id=",rec[0])
print("Patient Name=",rec[1])
print("Disease Name=",rec[2])
print("Fee=",rec[3])
print("Doctor Name=",rec[4])
print("-------------------------------")
def deletePatient():
f=open('patient.csv','r',newline='\r\n')
f1=open('temp.csv','w',newline='\r\n')
f1=open('temp.csv','a',newline='\r\n')
r=input('Enter patientid whose record you want to delete: ')
s=csv.reader(f)
s1=csv.writer(f1)
for rec in s:
if rec[0]==r:
print("-------------------------------")
print("Patient id=",rec[0])
print("Patient Name=",rec[1])
print("Disease Name=",rec[2])
print("Fee=",rec[3])
print("Doctor Name=",rec[4])
print("-------------------------------")
choice=input("Do you want to delete this Patient Record(y/n)")
if choice=='y' or choice=='Y':
pass
print("Patient Record Deleted....")
else:
s1.writerow(rec)
else:
s1.writerow(rec)
f.close()
f1.close()
os.remove("patient.csv")
os.rename("temp.csv","patient.csv")
def searchPatient():
print("Search a Patient Record")
print("=====================")
f=open('patient.csv','r',newline='\r\n') #Remove new line character from
output
r=input('Enter patient record you want to search: ')
s=csv.reader(f)
for rec in s:
if rec[0]==r:
print("-------------------------------")
print("Patient id=",rec[0])
print("Patient Name=",rec[1])
print("Disease Name=",rec[2])
print("Fee=",rec[3])
print("Doctor Name=",rec[4])
print("-------------------------------")
f.close()
input("Press any key to continue..: ")
def listallPatient():
print("List of All Patients")
print("========================")
f=open('patient.csv','r',newline='\r\n') #Remove new line character from
output
s=csv.reader(f)
i=1
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],end="\t\t")
print(rec[4])
i+=1
f.close()
print("-------------------------------")
input("Press any key to continue..: ")
def mainmenu():
choice=0
while choice!=6:
print("\n")
print("|--------------------------|")
print("| Hospital Management System |")
print("| -------------------------|")
print('\n')
print("########################")
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")
print("5. List all Patients")
print("6.Exit")
print("-------------------------------")
choice=int(input('Enter your choice: '))
if choice==1:
addPatient()
elif choice==2:
modifyPatient()
elif choice==3:
deletePatient()
elif choice==4:
searchPatient()
elif choice==5:
listallPatient()
elif choice==6:
print("Software Terminated.......")
break
mainmenu()
OUTPUT SCREENS
Main menu:
Search a patient:
Delete a patient record:
Exit:
SYSTEM SPECIFICATIONS
SYSTEM SPECIFICATIONS
Hardware specifications:
Software specifications:
https://geeksforgeeks.org/working-csv-files-python/
https://www.slideshare.net/csv-pythonproject/
https://unacademy.com/class/ip-project-file-work-on-python-an
d-csv-files/LWT06CXQ
https://www.learnpython4cbse.com/projects-2/projects—computer
-sc-xii/