Designed an automated hospital database management system to promote auto -staff scheduling, patient's appointments,room allocations and operations, patient's pharmaceutical needs and generation of billing statement containing patient's cost incurred during the stay.Generated report using self-reporting tool Power BI to give graphical summary of the project database.
2. PRESENTATION OUTLINE
• Mission Objective
• Drawbacks of conventional system
• Project Overview
• Assumptions
• Business problems Addressed
• Business Rules Implemented
• Work Flow Diagram
• Scheduling Procedure-1
• Scheduling Procedure-2
• SQL Queries Implemented
• Future Scope
• Learning Outcomes
3. Objective
• The mission objective of the project is to eliminate the paper form system currently in use to store the
widespread data throughout the hospital management infrastructure.
• There are multiple instances of data redundancy existing nowadays which may lead to inconsistencies in
data storage and timely retrieval, so a strong database management system is needed to remove the
drawbacks of paper form system.
• The project database involves significant number of activities needed for acquisition, management and
timely retrieval of the great volume of the information.
• The project typically involves collecting, maintaining and updating patient’s personal information,
appointment details, staff details ,staff scheduling, operation theatre and labs scheduling, room allocations
,pharmacy store details and tracking patient’s billing records.
• The project will automate the management of the hospital by making it efficient and error free. It aims at
consolidating data from various sources ,thereby maintaining data integrity and reducing data
inconsistencies.
4. DRAWBACKS OF
CONVENTIONAL SYSTEM
• Lack of immediate retrievals of the required data.
• Lack of immediate information storage.
• Lack of prompt updating of the customer’s and staff’s data.
• Probability of data loss due to paper form system.
• Possibility of manual error in data storage and retrieval.
• Difficulty generating accurate and prompt reports.
5. PROJECT OVERVIEW
• Patient registration
• Appointment scheduling depending on doctor’s availability at requested time using t
• Staff management(scheduling and availability)
• Labs for patient’s test and reports
• Patient’s test details
• Room allocation (General and deluxe)
• Operation theatre for emergency medical care
• Pharmaceutical management system
• Robust database
6. ASSUMPTIONS
• At least one doctor will be assigned to patient depending on availability
• Doctors are a part of hospital staff
• Each staff member will have fixed payroll
• Each patient can have one or more appointment
• Insurance will not be considered method of payment(Card /Cash)
• Appointments can be cancelled without penalty
• One final billing statement for each appointment ID
7. BUSINESS PROBLEMS ADDRESSED
Provide end-to-end database management for a hospital and generate descriptive reports to derive
inferences.
Catalyse the hospital workflow right from a patient appointment to his discharge with the amalgamation of
an in house pharmacy store, Hospital laboratories and Rooms.
Provide financial and operational insights for the hospital at any instance (example – Allocation of rooms
based on vacancy and Payroll, Revenue and Billing information).
Allow the hospital to maintain the patient database consistently for further retrieval and get insights on the
health patterns of their patients.
Manage the staff working in respective departments and thus facilitate the Human Resource management of
the Hospital including the doctors belonging to separate medical fields.
Get an instant access to the information about tests performed in respective labs and medicines in the in
house pharmacy store and easy alteration for the same.
Track the details of a patient right from the appointment to his discharge and all the entities associated
during the stay.
8. BUSINESS RULES IMPLEMENTED
• Each patient can have one or more appointment
• Each department can have one or more doctors
• Each Staff member has a fixed monthly payroll
• Each test can be conducted on zero or more laboratories
• The Pharmacy store can have one or more medicines being sold
• Each patient can be shifted/admitted to one or more rooms
• Each patient can buy zero or more medicines
• Each patient can have only one final billing statement on discharge
• Each doctor has separate consultation fees
• Doctors are also a part of the hospital staff with an unique id
10. Scheduling Procedure-1
• Patient makes an appointment with the aid of administration staff and gets allocated a unique
Appointment ID and patient ID
• A doctor with unique Doctor ID is automatically assigned to a patient at the time of arrival
• Depending on the patient’s severity, patient’s gets admitted in the hospital and rooms get allocated
manually
• Rooms allocated are either General(fixed cost per day) or Deluxe(fixed cost per day) depending on patient’s
choice
• Rooms are uniquely identified by their Room ID
• The Room cost (fixed /day) automatically gets added to the Patient’s Total Billing Statement using
Functions and Triggers performed in SQL queries
• An operation will be performed by the doctor with a fixed operation cost which will be later added to the
Total Billing statement using Trigger in SQL queries by identifying Appointment ID
11. • The patient will be advised to undertake some lab tests which has a fixed cost and ultimately, the lab cost
will add to the Total Bill of the patient with the identification of unique Appointment ID
• Based on doctor’s prescription, the patient will make a purchase at the hospital’s pharmacy store and the
medical bill will be reflected in the Total Billing Statement of the patient with the help of Triggers and
Function used in SQL
• The staff will be manually assigned to the patient in his/her services.
• The staff is identified by Staff ID and works in a Department with unique Department ID
• A final Billing statement is generated for each patient with Appointment ID which reflects the billing
history
Scheduling Procedure-2
12. SQL QUERIES IMPLEMENTED
1. Triggers-Triggers are used multiple times to ease the process of updating the database
every time a new entry is made.
2. Functions-User Defined Functions are used in the project to retrieve the user data
based on the requirements
3. Stored procedures-Stored procedures are used to call the functions and shoot the
triggers whenever a request has been made to fetch the data of the patients
4. Column Encryption-A column named ‘Medicine Names’ has been encrypted in the
medicine entity to keep the names from open disclosure
5. DML AND DDL Languages-Various DML AND DDL languages like Alter, Drop, Insert have
been used multiple times in manipulation of the tables. Also, column constraints have
been implemented to prevent invalid user entry
6. Data Import Wizard-The powerful data import wizard has been used to import the data
from excel worksheet to the database
13. FUTURE SCOPE
• The database design can be implemented in any hospital, thereby maintain patient
details as well as staff and administration records.
• Can be used in any clinic or dispensary
• Can be used in any medical store to hold onto the customer’s data in the database as
patient’s medical history.
• Can be used in any labs like pathology or radiology to maintain and update patient’s test
results.
14. LEARNING OUTCOMES
• Using SQL server management studio for database design and database implementation
• Using Microsoft Visio Professional 2010 to create Entity-Relationship Diagram(ERD) for database design
• Creating Tables and schemas using GUI and CUI user interface in SSMS
• Designing Tables and storing information using DDL and DML Languages like Insert, Update, Drop and Alter
• Using Functions, Stored procedures and Pivot columns to retrieve valuable data and present the table in an
enhanced manner
• Learning Computed columns and Triggers to auto-update the tables and stored data
• Learning to encrypt and decrypt important columns in tables to protect the data like User ID and password of
customers
• Using Report Generation tools like Power BI to give overview of the data in graphical format