Project Ashutosh
Project Ashutosh
Project Ashutosh
(GIFT)
BHUBANESWAR
ON
Submitted by:
Ashutosh Samantray (1801298069)
(Department of MCA)
Bachelor of Technology
In
ROURKELA, ODISHA
Batch 2018-2022
BHUBANESWAR
AFFILIATED TO
ODISHA
DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING
AFFILIATED TO
DECLARATION
Ashutosh Samantray
Reg. No: -1801298069
DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING
AFFILIATED TO
CERTIFICATE
This is to certify that the thesis “Healthcare Management System” has been carried out
by Mr. ASHUTOSH SAMANTRAY bearing the registration number 1801298069 under my
guidance and supervision be accepted in partial fulfillment of the requirement for the degree
of Bachelor of Technology. The report, which is based on candidate’s own work, has not
been submitted elsewhere for a degree. To the best of my knowledge Mr. ASHUTOSH
SAMANTRAY bears a good moral character and decent behaviour.
GUIDE COORDINATOR
DEPARTMENT OF COMPUTER
SCIENCE AND ENGINEERING
AFFILIATED TO
TECHNOLOGY, ODISHA
ACKNOWLEDGEMENT
Ashutosh Samantray
Description Page No
Introduction ----------------------------------------------------------------------- 1
Purpose of the Project ----------------------------------------------------------- 1
Project Objective ----------------------------------------------------------------- 2
Scope of the Project -------------------------------------------------------------- 2
Healthcare management system function ------------------------------------- 2-3
Why HMS is important ----------------------------------------------------------- 3
Hardware and Software Requirements---------------------------------------- 3-5
Study of the system -------------------------------------------------------------- 6-7
Sample Code -------------------------------------------------------------------- 7-12
Output --------------------------------------------------------------------------- 12-14
Conclusion ------------------------------------------------------------------------ 15
Reference -------------------------------------------------------------------------- 15
Introduction
The hospital management system (HMS) is an integrated software that handles
different directions of clinic workflows. It manages the smooth healthcare performance along
with administrative, medical, legal and financial control. That is a cornerstone for the
successful operation of the healthcare facility.
As long as each stage implementation needs to be accurate and explicit, the clinic
management system provides certain automation of many vital daily processes. The hospital
system software covers the services that unify and simplify the work of healthcare
professionals as well as their interactions with patients.
There is always the wide choice of features that can be included in the system.
Moreover, the most important thing they are created to streamline various procedures that
meet the needs of all the users. The hospital management system feature list is concentrated
on providing the smooth experience of patients, staff and hospital authorities. It might seem
that their expectations differ, they still are covered by components of the hospital information
system. Quality and security still remain the main criteria of the medical industry. It is also
known for the constant and rapid changes to improve the efficiency of medical services and
satisfaction of the patients.
Depending on the hospital management system software features, it can deal with a
lot of tasks. It helps to outline and implement policies, guarantee communication and
coordination between employees, automate routine tasks, design the patient-oriented
workflows, advertise services, manage human and financial resources and provide the
uninterrupted supply chain. The components of a hospital information system can be chosen
and combined in the general system that meets the needs and norms of the healthcare industry
as well as quality standards. One of the main requirements of the clinic management system
is security. All medical records have to be protected and only accessible for the allowed
users. The convenient and informative interfaces should correspond to their roles and
responsibilities in order to protect the confidential data.
The purpose of the hospital information system is managing the employee and patient
activities remotely with immediate access for the authorized users. The patient-centric and
well-managed company will also ensure a better work environment for their employees.
The healthcare records management software tracks the number of available doctors
and their working hours. This allows to have the accurate schedule of each employee, manage
your facility abilities and the supply chain in order to meet all the needs of the patients. It
helps to arrange the appointments for both the staff and patients’ convenience.
Any clinic should store medical histories, test results, prescribed treatments, etc. The
good hospital database management system will do it for you. All the details are securely
stored for the access of the doctor and can be provided to the patients by their requests. They
can receive the test results or medical reports by email or the user account. When the written
form is required, printing will take only a few minutes for the clinic staff.
Time-saving Technology
Improved Efficiency by avoiding human errors
Reduces scope for Error
Data security and correct data retrieval made possible
Cost effective and easily manageable
Easy access to patient data with correct patient history
Improved patient care made possible
Easy monitoring of supplies in inventory
Reduces the work of documentation
Tkinter module:
Tkinter is the standard GUI library for Python. Python when combined with Tkinter
provides a fast and easy way to create GUI applications. Tkinter provides a powerful object-
oriented interface to the Tk GUI toolkit.
Creating a GUI application using Tkinter is an easy task. All you need to do is perform the
following steps −
Import the Tkinter module.
Create the GUI application main window.
Add one or more of the above-mentioned widgets to the GUI application.
Enter the main event loop to take action against each event triggered by the user.
import Tkinter
top = Tkinter.Tk()
# Code to add widgets will go here...
top.mainloop()
Python OS Module:
Python OS module provides the facility to establish the interaction between the user
and the operating system. It offers many useful OS functions that are used to perform OS-
based tasks and get related information about operating system.
The OS comes under Python's standard utility modules. This module offers a portable
way of using operating system dependent functionality.
The Python OS module lets us work with the files and directories.
import os
import tempfile
temp = tempfile.TemporaryFile()
print('temp:',temp)
print('temp.name:', temp.name)
temp.close()
Study of the System:
Existing System
In existing e-Healthcare systems has focused on record keeping and databases.
It has also focused on access and security for recording and communicating healthcare
information
Human errors are more by exploiting electronic communication and record keeping.
Proposed System
This system aims to reduce human errors by exploiting electronic communication and
record keeping, and by providing user-friendly input and output capabilities.
Modern technology is use to expose the functionality of our e-healthcare system as
Web Services based on the Service Oriented Architecture, so that both humans and
applications can use the services provided.
It provides services that involve patients, physicians, nurses and pharmacists as well
as medical monitoring devices, whereas their framework focuses specifically on the
use of medical monitoring devices.
Feasibility Study:
The feasibility of the project is analysed in this phase and business proposal is put
forth with a very general plan for the project and some cost estimates. During system analysis
the feasibility study of the proposed system is to be carried out. This is to ensure that the
proposed system is not a burden to the company. For feasibility analysis, some understanding
of the major requirements for the system is essential.
Economic Feasibility:
This study is carried out to check the economic impact will have on the
system will have on the organization. The amount of fund that the company
can pour into the research and development of the system is limited. The
expenditures must be justified. Thus, the developed system as well within the
budget and this was achieved because most of the technologies used are freely
available. Only the customized products have to be purchased.
Technical Feasibility:
This study is carried out to check the technical feasibility, that is, the
technical requirements of the system. Any system developed must not have a
high demand on the available technical resources. This will lead to high
demands being placed on the client. The developed system must have a
modest requirement, as only minimal or null changes for the implementing
this system.
Operational Feasibility:
The aspect of study is to check the level of acceptance of the
system by the user. This includes the process of training the user to use the
system efficiently. The user must not feel threatened by the system,
instead must accept it as a necessity. The level of acceptance by the users
solely depends on the methods that are employed to educate the user about
the system and to make him familiar with it. His level of confidence must
be raised so that he is also able to make some constructive criticism, which
is welcomed, as he is the final user of the system.
Sample Code:
Importing Module:
from tkinter import*
from tkinter import ttk
import os
import tempfile
import tkinter
import tkinter.messagebox
class Hospital:
def __init__(self,root):
self.root=root
self.root.title("HealthCare Management System")
self.root.geometry("1370x710+0+0")
Variable Declaration:
cmbNameTablets=StringVar()
Ref=StringVar()
Dose=StringVar()
NumberTablets=StringVar()
Lot=StringVar()
IssuedDate=StringVar()
ExpDate=StringVar()
DailyDose=StringVar()
PossibleSideEffects=StringVar()
FurtherInformation=StringVar()
StorageAdvice=StringVar()
DoctorID=StringVar()
DoctorName=StringVar()
PatientID=StringVar()
PatientNHSNo=StringVar()
PatientName=StringVar()
DateofBirth=StringVar()
PatientAddress=StringVar()
Function Declaration:
def iExit():
iExit=tkinter.messagebox.askyesno("Healthcare Management System","Confirm if you want to exit
?")
if iExit>0:
root.destroy()
return
def iPrescription():
self.txtPrescription.insert(END,'Name of Medicine :\t\t\t'+ cmbNameTablets.get() +"\n")
self.txtPrescription.insert(END,'Reference No. :\t\t\t'+ Ref.get() +"\n")
self.txtPrescription.insert(END,'Number of Medicine :\t\t\t'+ NumberTablets.get() +"\n")
self.txtPrescription.insert(END,'Lot No. :\t\t\t'+ Lot.get() +"\n")
self.txtPrescription.insert(END,'Issue Date :\t\t\t'+ IssuedDate.get() +"\n")
self.txtPrescription.insert(END,'Expiry Date :\t\t\t'+ ExpDate.get() +"\n")
self.txtPrescription.insert(END,'Daily Dose :\t\t\t'+ DailyDose.get() +"\n")
self.txtPrescription.insert(END,'Doctor ID:\t\t\t'+ DoctorID.get() +"\n")
self.txtPrescription.insert(END,'Doctor Name :\t\t\t'+ DoctorName.get() +"\n")
self.txtPrescription.insert(END,'Patient ID :\t\t\t'+ PatientID.get() +"\n")
self.txtPrescription.insert(END,'NHS Number :\t\t\t'+ PatientNHSNo.get() +"\n")
self.txtPrescription.insert(END,'Patient Name :\t\t\t'+ PatientName.get() +"\n")
self.txtPrescription.insert(END,'Date of Birth :\t\t\t'+ DateofBirth.get() +"\n")
self.txtPrescription.insert(END,'Patient Address :\t\t\t'+ PatientAddress.get() +"\n")
return
def iReceipt():
self.txtFrameDetail.insert(END, cmbNameTablets.get()+"\t\t"+ Ref.get()+"\t"+ Dose.get()+"\t\t"+
NumberTablets.get() + "\t"+ Lot.get()+ "\t"+ IssuedDate.get() +"\t\t"+ ExpDate.get() +"\t" +
DailyDose.get() + "\t\t"+ StorageAdvice.get() + "\t"+ PatientNHSNo.get() + "\t\t"+ PatientName.get() + "\
t"+ DateofBirth.get() +"\t"+ PatientAddress.get() + "\n")
return
def iPrint():
q=self.txtPrescription.get("1.0","end-1c")
filename=tempfile.mktemp(".txt")
open (filename, "w"). write(q)
os.startfile(filename,"print")
def iReset():
cmbNameTablets.set("")
self.cboNameTablet.current(0)
Ref.set("")
Dose.set("")
NumberTablets.set("")
Lot.set("")
IssuedDate.set("")
ExpDate.set("")
DailyDose.set("")
PossibleSideEffects.set("")
FurtherInformation.set("")
StorageAdvice.set("")
DoctorID.set("")
DoctorName.set("")
PatientID.set("")
PatientNHSNo.set("")
PatientName.set("")
DateofBirth.set("")
PatientAddress.set("")
self.txtPrescription.delete("1.0",END)
return
DataFrame:
self.lblNameTablet = Label(DataFrameLEFT,font=('arial',12,'bold'), text="Name
of Medicine :",padx=2,pady=4)
self.lblNameTablet.grid(row=0, column=0, sticky=W)
self.cboNameTablet=ttk.Combobox(DataFrameLEFT, textvariable=cmbNameTablets,
state='readonly',font=('arial',12,'bold'), width=23)
self.cboNameTablet['value']=('','Paracetemol','Nice','Covisheild','Mancold','Crocin
650','Aspirin','Ascoril','Niacin')
self.cboNameTablet.current(0)
self.cboNameTablet.grid(row=0,column=1)
self.lblFurtherInfo = Label(DataFrameLEFT,font=('arial',12,'bold'), text="Further
Information :",padx=2,pady=4)
self.lblFurtherInfo.grid(row=0, column=2, sticky=W)
self.txtFurtherInfo=Entry(DataFrameLEFT,font=('arial',12,'bold'),textvariable=FurtherInformation,width=
25)
self.txtFurtherInfo.grid(row=0, column=3)
Buttons:
self.btnPrescription=Button(ButtonFrame, text='Prescription',
font=('arial',12,'bold'),bg="blue",fg="white",
width=24,bd=4,command=iPrescription)
self.btnPrescription.grid(row=0, column=0)
OUTPUT:
Application Interface :
Entering the fields :
Presciption Generation :
Temporary file Generation:
References:
https://www.tutorialspoint.com/python/index.htm
https://www.w3schools.com/python/
https://en.wikipedia.org/wiki/Health_management_system#:~:text=The
%20health%20management%20system%20(HMS,of%20its%20physiology
%20and%20health.