infx 543 hospital database - github pagesvaibhavwalvekar.github.io/presentation slides.pdfinfx 543...

15
INFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin

Upload: others

Post on 24-Jun-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

INFX 543Hospital Database

Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin

Page 2: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Purpose● The purpose of this database is to maintain records of patients,

doctors, and services provided. It will also keep track of appointments, relationships with other businesses & organizations (i.e. insurance, pharmaceutical, hospital resources), hospital staff, and other factors relating to the care of the hospital’s patients.

Page 3: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Main Objectives & Problems Addressed● Allow hospital staff to keep track of admitted patients.

● Help provide patients with an available doctor.

● Provide doctors with patient information.

● Maintain historical records of patients.

● Track hospital resources.

Page 4: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Life Cycle

DDL

Database Planning

Database Design

System Definition

How we came up of the idea; what is the

purpose?

What is the target user group;

application areas

1. Conceptual: what entities we selected; what are the relationships (ERD draft)

2. Logical: what attributes we added; how we do normalization (final ERD)

Implementation

Page 5: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Business Rules1. Each patient record may have one or more employees.2. Each patient record may have only one appointment.3. Each patient record may have only one patient.4. Each hospital resources may have zero or more patient record.5. Each employee may have only one department.6. Each insurance company may have zero or more patients.7. Each pharmacy may have zero or more patients record.8. Each patient may have zero or more appointments.9. Each employee may have zero or more appointment.

10. Each board member may have only one department.

Page 6: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Design Decisions

Page 7: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Design Decisions

Page 8: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Design Decisions

Page 9: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

ERD

Page 10: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

ImplementationCreating database

Creating tables

Inserting values

Page 11: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

View 1

Page 12: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Report 1

Select Appointment ID, Patient Name, and Date/Time of appointment for receptionist.

Page 13: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

View 2

Page 14: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Report 2

Select Patient ID, Patient Name, Doctor Name, Test Name, and Lab Results for all patients

Page 15: INFX 543 Hospital Database - GitHub Pagesvaibhavwalvekar.github.io/Presentation Slides.pdfINFX 543 Hospital Database Priya Sudendra, Vaibhav Walvekar, Zhizhen Lin Purpose The purpose

Thank you!

Any questions?