Hospital Management System
Professor Robert Rucker
By: Marmik Prajapati, Manish Taori, Poojan Patel
Table of Contents
Introduction
ORM Model for Hospital Management System.
Relational Schema for Hospital Management System.
Table Design
There are total 9 table in which 6 tables have Parent-Child relationship
Additional Constraints
Procedure
Function
Triggers
Queries on Database
Number of Patients treated by Specific Provider
select Encounters.[Master Patient ID] as "Patient ID",
Encounters.[Patient Admission Datetime] as "Admission Date",
Encounters.[Patient Discharge Datetime] as "Discharge date"
from Encounters
where Encounters.[Attending Provider ID]=5049
Query to get number of patients having particular Disease
select s.[Surgical DRG Description],count(*) as [Total Patients] from SurgicalEncounters s
group by s.[Surgical DRG Description]
order by 2 desc;
Total number of patients in each Zipcode
Select P.[Patient Zip Code],COUNT(P.[Master Patient ID]) as 'Total Patient' from Patients as P
Group by P.[Patient Zip Code]
order by 2 desc;
NoSQL Implementation
We have used Couchbase Enterprise version to show our NoSQL Implementation.
There were multiple buckets in the database but we narrowed it down to two buckets consisting of Hospitals and Patients.
Multiple Queries were used to show the implementation on Couchbase.
User Interface
We have created a point of human-computer interaction between our database and general public.
We have used web development to create an interactive user interface for the implementation of our Hospital Management System.
Using Django as our backed for the project and HTML, CSS as our Frontend.
This UI will help in mass scale usage of our Hospital Management System.
Conclusion
References
Thanks!
By:
Marmik Prajapati
Manish Taori
Poojan Patel