Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Project Ashutosh

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

GANDHI INSTITUTE FOR TECHNOLOGY

(GIFT)
BHUBANESWAR

DEPARTMENT OF COMPUTER SCIENCE ENGINEERING

A MINOR PROJECT REPORT

ON

Healthcare Management System

Submitted by:
Ashutosh Samantray (1801298069)

Under the guidance of

Prof. Bhupesh Deka

(Department of MCA)

For session 2021-22

In partial fulfilment for the award of the Degree of

Bachelor of Technology
In

Computer Science Engineering


BIJU PATTNAIK UNIVERSITY OF TECHNOLOGY

ROURKELA, ODISHA

Batch 2018-2022

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

GANDHI INSTITUTE FOR TECHNOLOGY,

BHUBANESWAR

AFFILIATED TO

BIJU PATNAIK UNIVERSITY OF TECHNOLOGY,

ODISHA
DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING

GANDHI INSTITUTE FOR TECHNOLOGY,


BHUBANESWAR

AFFILIATED TO

BIJU PATNAIK UNIVERSITY OF TECHNOLOGY, ODISHA

DECLARATION

I ASHUTOSH SAMANTRAY hereby declare that this written submission represents


my ideas in my own words and where others ideas or words have been included, it has been
adequately cited and referenced the original sources. We also declare that we have adhered to
all principles of academic honesty and integrity and have not misrepresented or fabricated or
falsified any idea/ data/ fact/ source in my submission. We understand that any violation of
the above will be cause for disciplinary action by the institute and can also evoke penal action
from the sources which have thus not been properly cited or from whom proper permission
has not been taken when needed.

Ashutosh Samantray
Reg. No: -1801298069
DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING

GANDHI INSTITUTE FOR TECHNOLOGY,


BHUBANESWAR

AFFILIATED TO

BIJU PATNAIK UNIVERSITY OF TECHNOLOGY, ODISHA

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.

PROJECT HOD PROJECT

GUIDE COORDINATOR
DEPARTMENT OF COMPUTER
SCIENCE AND ENGINEERING

GANDHI INSTITUTE FOR


TECHNOLOGY, BHUBANESWAR

AFFILIATED TO

BIJU PATNAIK UNIVERSITY OF

TECHNOLOGY, ODISHA

ACKNOWLEDGEMENT

I express our deep sense of gratitude and appreciation to Prof. Bhupesh


Deka (Professor, Department of MCA) for his constant and valuable guidance
and help in implementing our project topic. He devoted his invaluable time in
providing us the guidance at every step in our project. We would like to express
gratitude to our project coordinator, Dr.Sasmita Pani (Asst. Professor,
Department of CSE) and our HOD, Dr. Sujit Panda, Department of Computer
Science and Engineering, Gandhi Institute for Technology, Bhubaneswar for
providing us with this opportunity and for their great help and cooperation.
Lastly, word run to express our gratitude to our parents and all the faculty
members of the department and friends for their co-operation, constructive
criticism and valuable suggestions during the preparation of this project report.

Ashutosh Samantray

Reg. No: - 1801298069


CONTENTS

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.

Purpose of the project


Since the purpose of the hospital information system is the arrangement of necessary,
precise and appropriate data, the hospitals should ensure the system work and can be
accessed at any time. The online hospital management system and desktop (on-premise)
solutions are possible options of the healthcare providers. This could be a unique system for
the certain institution, chain of clinics, state hospitals or even the international medical
organizations. It is usually started with the basic version that can be scaled up.
Project Objective:
 Digital Medical Record
 Facility Management
 Less time consuming
 Better customer experience
 Patient Self service
 Improved Process

Scope of the Project:


The hospital management system automates the clinic’s work and optimizes the
utilization of resources instead of only the storage and presentation of the information. It
balances the occupancy rates and calculates the number of required employees. Automation
helps to manage the general process, deals with the different healthcare services and
equipment providers on its own, analyzes and sends notifications to the user.

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.

Healthcare Management System functions:


The healthcare management system organizes the stable functioning of daily tasks and
interactions. This is a special tool to support the smooth operating of the software
components that are vital for the clinic administration. The hospital records management
software keeps a track of all the operations, stores the users’ data, performs its analysis and
generates the reports. The medical institution is given the opportunity to collect its
information in one place. It includes the patient and doctors’ records as well as the data
concerning financial affairs, supply management, etc. Furthermore, it is only processed,
classified and accessible for authorized users. The healthcare database management system
provides users with data security due to all regulations. Implementation of different functions
empowers smooth and clear functionality.

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.

Why HMS is important?


HMS was introduced to solve the complications coming from managing all the
paper works of every patient associated with the various departments of hospitalization with
confidentiality. HMS provides the ability to manage all the paperwork in one place, reducing
the work of staff in arranging and analysing the paperwork of the patients. HMS does many
works like:

 Maintain the medical records of the patient


 Maintain the contact details of the patient
 Keep track of the appointment dates
 Save the insurance information for later reference
 Tracking the bill payments.

The advantages of HMS can be pinpointed to the following:

 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

Hardware and Software requirements:


 System (desktop or laptop).

 Visual Studio code (IDE).


 tkinter (python module).
 os (python module).
 tempfile (python module).
System:
Computer consists of at least one processing element, typically a central processing
unit (CPU) in the form of a microprocessor, along with some type of computer memory,
typically semiconductor memory chips. The processing element carries out arithmetic and
logical operations, and sequencing and control unit can change the order of operations in
response to stored information. Peripheral devices include input devices (keyboards,
mice, joystick, etc.), output devices (monitor screens, printers, etc.), and input/output devices
that perform both functions (e.g., the 2000s-era touch screen). Peripheral devices allow
information to be retrieved from an external source and they enable the result of operations to
be saved and retrieved.

Integrated development environment (IDE):


It is a software application that provides comprehensive facilities to computer
programmers for software development. An IDE normally consists of at least a source code
editor, build automation tools and a debugger. Some IDEs, such as Net Beans and Eclipse,
contain the necessary compiler, interpreter, or both; others, such as Sharp
Develop and Lazarus, do not.

Visual Studio Code:


Visual Studio Code is a source-code editor made by Microsoft for
Windows, Linux and macOS. Features include support for debugging, syntax
highlighting, intelligent code completion, snippets, code refactoring, and embedded Git.
Users can change the theme, keyboard shortcuts, preferences, and install extensions that add
additional functionality.

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.

To work with OS module, we have to import the OS Module:

 import os

Python tempfile module:

Tempfile is a python module used in a situation where we need to read multiple


files, change or access the data in the file, and gives output files based on the result of
the processed data. Each of the output files produced during the program execution was
no longer needed after the program was done.

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.

Three key considerations involved in the feasibility analysis are:

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)

self.lblRef = Label(DataFrameLEFT,font=('arial',12,'bold'), text="Reference No.:",padx=2,pady=4)


self.lblRef.grid(row=1, column=0, sticky=W)
self.txtRef=Entry(DataFrameLEFT,font=('arial',12,'bold'),textvariable=Ref,width=25)
self.txtRef.grid(row=1, column=1)

self.lblStorage = Label(DataFrameLEFT,font=('arial',12,'bold'), text="Storage


Advice:",padx=2,pady=4)
self.lblStorage.grid(row=1, column=2, sticky=W)
self.txtStorage=Entry(DataFrameLEFT,font=('arial',12,'bold'),textvariable=StorageAdvice,width=25)
self.txtStorage.grid(row=1, column=3)

self.lblDose = Label(DataFrameLEFT, font=("arial",12,"bold"), text = "Dose :", padx=2, pady=4)


self.lblDose.grid(row=2, column=0, sticky=W)
self.txtDose=Entry(DataFrameLEFT, font=("arial",12,"bold"),textvariable=Dose, width=25)
self.txtDose.grid(row=2, column=1)

self.lblDoctorID = Label(DataFrameLEFT, font=("arial",12,"bold"), text = "Doctor ID :", padx=2,


pady=4)
self.lblDoctorID.grid(row=2, column=2, sticky=W)
self.txtDoctorID=Entry(DataFrameLEFT, font=("arial",12,"bold"),textvariable=DoctorID, width=25)
self.txtDoctorID.grid(row=2, column=3)

self.lblNoOfTablets = Label(DataFrameLEFT, font=("arial",12,"bold"), text = "No. Of


Medicine :", padx=2, pady=4)
self.lblNoOfTablets.grid(row=3, column=0, sticky=W)
self.txtNoOfTablets=Entry(DataFrameLEFT, font=("arial",12,"bold"),textvariable=NumberTablets,
width=25)
self.txtNoOfTablets.grid(row=3, column=1)

self.lblDoctorName = Label(DataFrameLEFT, font=("arial",12,"bold"), text = "Doctor Name :",


padx=2, pady=4)
self.lblDoctorName.grid(row=3, column=2, sticky=W)
self.DoctorName=ttk.Combobox(DataFrameLEFT, textvariable=DoctorName,
state='readonly',font=('arial',12,'bold'), width=23)
self.DoctorName['value']=('','Dr.Rosu','Dr.Ashu','Dr.Dipak','Dr.Jatin','Dr.Amit','Dr.Prakash','Dr.DC')
self.DoctorName.current(0)
self.DoctorName.grid(row=3, column=3)

self.lblLot = Label(DataFrameLEFT, font=("arial",12,"bold"), text = "Lot No.:", padx=2, pady=4)


self.lblLot.grid(row=4, column=0, sticky=W)
self.txtLot=Entry(DataFrameLEFT, font=("arial",12,"bold"),textvariable=Lot, width=25)
self.txtLot.grid(row=4, column=1)

self.lblPatientID = Label(DataFrameLEFT, font=("arial",12,"bold"), text = "Patient Id :", padx=2,


pady=4)
self.lblPatientID.grid(row=4, column=2, sticky=W)
self.txtPatientID=Entry(DataFrameLEFT, font=("arial",12,"bold"),textvariable=PatientID, width=25)
self.txtPatientID.grid(row=4, 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)

self.btnReceipt=Button(ButtonFrame, text='Receipt', font=('arial',12,'bold'),bg="blue",fg="white",


width=24,bd=4,command=iReceipt)
self.btnReceipt.grid(row=0, column=1)

self.btnDelete=Button(ButtonFrame, text='Print', font=('arial',12,'bold'),bg="blue",fg="white",


width=24,bd=4,command=iPrint)
self.btnDelete.grid(row=0, column=2)

self.btnReset=Button(ButtonFrame, text='Reset', font=('arial',12,'bold'),bg="blue",fg="white",


width=24,bd=4, command=iReset)
self.btnReset.grid(row=0, column=3)

self.btnExit=Button(ButtonFrame, text='Exit', font=('arial',12,'bold'),bg="blue",fg="white",


width=24,bd=4,command=iExit)
self.btnExit.grid(row=0, column=4)
Main Loop:
if __name__=='__main__':
root=Tk()
application=Hospital(root)
root.mainloop()

OUTPUT:
Application Interface :
Entering the fields :

Presciption Generation :
Temporary file Generation:

Saving the pdf:


Conclusion:
Since we are entering details of the patients electronically in the” Hospital
Management System”, data will be secured. Using this application we can retrieve patient’s
history with a single click. Thus processing information will be faster. It guarantees accurate
maintenance of Patient details. It easily reduces the book keeping task and thus reduces the
human effort and increases accuracy speed.

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.

You might also like