Python
Python
Part- A Plan
PATIENT INFORMATION SYSTEM
1. Brief Description :
Patient information system is an organized systematic process of maintaining the information and the health
records of the patient. Its prime focus is only on keeping of the clinical records of the patient with every
single data that will aid with the delivery of the patient. It does not include the billings or any other data
related to the finance. This system helps maintain every single data from the second the patient sets foot in
the hospital up till every follow-ups in real time. There’s both paper version and the electronic version. The
EMR (Electronic Medical Record) is more effective for accumulation and storage for every tiny detail.
Daily many new patients visit the clinic so adding the new patient’s details and keeping the records using it
is very easy. There is also an option to add and delete doctors and other staff member’s details.New and
unique ids are given to everyone who gets registered over this system. There are also the options to check the
patient’s disease and course the patient is going through.
4.Proposed Methodology:-
Patient information system is an organized systematic process of maintaining the information and the
health records of the patient. Its prime focus is only on keeping of the clinical records of the patient with
every single data that will aid with the delivery of the patient. It does not include the billings or any other
data related to the finance. This system helps maintain every single data from the second the patient sets
foot in the hospital up till every follow-ups in real time.
5. Action plan:
Sr. Planned Planned Name of Responsible
Details of Activity
No. start Date Finish Date Team Members
Gathering The Raw
1. Information Related 04/01/2024 12/01/2024
To Project
Miss.Chikate S.D.
2. Analysis 21/01/2024 28/01/2024
3. Designing 05/02/2024 15/02/2024 Miss.Veer J.B.
4. Implement of Coding 17/02/2024 26/02/2024 Miss.Usturge R.D.
5. Testing of Project 01/03/2024 05/03/2024
Miss.Suryawanshi P.M.
6. Deployment of Module 05/03/2024 09/03/2024
7. Prepare Out Put 10/03/2024 16/03/2024
Prepare Report on
8.
Micro Project
25/03/2024 26/03/2024
6. Resources used:-
Name of
Sr. resources required
Specification Quantity Remarks
No.
1. Computers Windows 10 1
Part- B Plan
PATIENT INFORMATION SYSTEM
1. Rationale:-
Python is powerful programming language. It has efficient high-level data structures and a simple but
effective approach to object-oriented programming. Python code is simple, short, readable, intuitive, and
powerful, and thus it is effective for introducing computing and problem solving to beginners. It's elegant
syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting
and rapid application development in many areas on most platforms.
2. Brief Description:-
Patient information system is an organized systematic process of maintaining the information and the
health records of the patient. Its prime focus is only on keeping of the clinical records of the patient with
every single data that will aid with the delivery of the patient. It does not include the billings or any other
data related to the finance. This system helps maintain every single data from the second the patient sets
foot in the hospital up till every follow-ups in real time. There’s both paper version and the electronic
version. The EMR (Electronic Medical Record) is more effective for accumulation and storage for every
tiny detail.
This system is named as Patient information management system. This system is designed to easily
maintain the data of the patients specifically. This system is made to keep the records about the
patients system there are the options to add new patients, new doctors and other new staff members
like nurses and ward boys etc.
Daily many new patients visit the clinic so adding the new patient’s details and keeping the records
using it is very easy. There is also an option to add and delete doctors and other staff member’s
details.New and unique ids are given to everyone who gets registered over this system. There are also
the options to check the patient’s disease and course the patient is going through.
• Receptionist:
• Login:
• Adding New Patients:
• Keeping Treatment Details:
• Maintaining Records:
• Medicine Prescription:
• Doctors:
• Adding and Deleting Other Staff Members:
The functional requirement of this is that it does what it is meant for. A functional requirement describes what
a software system should do, while non-functional requirements place constraints on how the system will do
so.Few of its functional requirements are as given below:-
• Source code:
import tkinter
import tkinter.ttk
import sqlite3
class Database:
def __init__(self):
self.dbConnection = sqlite3.connect("dbFile.db")
self.dbCursor = self.dbConnection.cursor()
fName text, lName text, dob text, mob text, yob text, gender text, address text, phone text, email text,
def __del__(self):
self.dbCursor.close()
self.dbConnection.close()
def Update(self, fName, lName, dob, mob, yob, gender, address, phone, email, bloodGroup, history, doctor,
id):
(fName, lName, dob, mob, yob, gender, address, phone, email, bloodGroup, history, doctor, id))
self.dbConnection.commit()
searchResults = self.dbCursor.fetchall()
return searchResults
class Values:
return "id"
elif not (fName.isalpha()):
return "fName"
return "lName"
pg. 5 Swami Vivekanand Institute Of Polytechnic
PATIENT INFORMATION SYSTEM
return "phone"
return "email"
return "history"
return "doctor"
else:
return "SUCCESS"
class InsertWindow:
def __init__(self):
self.window = tkinter.Tk()
self.window.wm_title("Insert data")
self.id = tkinter.StringVar()
self.fName = tkinter.StringVar()
self.lName = tkinter.StringVar()
self.address = tkinter.StringVar()
self.phone = tkinter.StringVar()
self.email = tkinter.StringVar()
self.history = tkinter.StringVar()
self.doctor = tkinter.StringVar()
self.fName = tkinter.StringVar()
self.lName = tkinter.StringVar()
self.address = tkinter.StringVar()
self.phone = tkinter.StringVar()
self.email = tkinter.StringVar()
self.history = tkinter.StringVar()
self.doctor = tkinter.StringVar()
self.database = Database()
self.searchResults = self.database.Search(id)
self.phoneEntry.delete(0, tkinter.END)
self.emailEntry.delete(0, tkinter.END)
self.bloodGroupBox.set("")
self.historyEntry.delete(0, tkinter.END)
self.doctorEntry.delete(0, tkinter.END)
class DatabaseView:
self.databaseViewWindow = tkinter.Tk()
self.databaseViewWindow.wm_title("Database View")
self.fName = tkinter.StringVar()
self.lName = tkinter.StringVar()
self.idEntry.grid(pady = 5, row = 3)
# Button widgets
if (task == "Search"):
self.databaseView = DatabaseView(self.data)
def Delete(self):
self.database = Database()
self.database.Delete(self.idEntry.get())
class HomePage:
def __init__(self):
self.insertWindow = InsertWindow()
self.updateIDWindow.mainloop()
def updateID(self):
self.updateWindow = UpdateWindow(self.idEntry.get())
self.updateIDWindow.destroy()
def Search(self):
self.searchWindow = SearchDeleteWindow("Search")
def Delete(self):
self.deleteWindow = SearchDeleteWindow("Delete")
def Display(self):
self.database = Database()
self.data = self.database.Display()
self.displayWindow = DatabaseView(self.data)
homePage = HomePage()
Name of
Sr. resources required Specification Quantity Remarks
No.
1. Computers Windows 10 1
7. Action plan:
• Presentation Skill
• Communication Skill
• Programming Skill
• Logic Development Skill