SlideShare a Scribd company logo
1 of 8
Assignment 5
Normalised Schemas and Revised ER Diagram
Hospital Management System
Name – Hrishikesh Athalye
MIS - 111803154
Class – TY Comp (Sem 5)
Div - 2
Problem Statement
Developing a hospital management system in order to effectively manage most aspects of hospitals such as booking
appointments, managing patient records and keeping medical history.
Overview
Organisations such as hospitals have to deal with a lot of patients regularly and hence a lot of data. Hence it is very important
for a hospital to have a DBMS with a frontend that easily allows patients to book appointments and allows doctors or
administrators to manage patient data.
For this project I have chosen to build the frontend using ReactJS and JavaScript, backend in Node.js and the database used will
be MySQL.
Functional Requirements
1. Separate interfaces for patients and doctors. Patients and doctors should have separate logins.
2. Allow patients to book appointments and give previous medical history.
3. Allow patients to view/update/cancel already booked appointments if necessary.
4. Allow doctors to cancel appointments.
5. Cancelled appointments should create free slots for other patients.
6. The system should avoid clash of appointments.
7. The system should take into consideration hospital and doctor schedules and allow appointments only when a doctor is
not already busy or does not have a break.
8. Doctors should be able access patient history and profile, and add to patient history.
9. Doctors should be able to give diagnosis and prescriptions.
10. Patients should be able to see complete diagnosis, prescriptions and medical history.
Revised ER Diagram
Normalized Relational Schemas
Functional Dependencies and Normalisation
1. Patient :
R = (Email, Password, Name, Address, Gender)
FDs:
a. Email -> Password
b. Email -> Name
c. Email -> Address
d. Email -> Gender
Table is in 1NF since all attributes are atomic.
Table is in 2NF since there is no partial dependency.
Table is in 3NF due to absence of any transitive dependency.
2. Medical History :
R = (id, Date, Conditions, Surgeries, Medication)
FDs:
a. id -> Password
b. id -> Date
c. id -> Conditions
d. id -> Surgeries
e. id -> Medication
Table is in 1NF since all attributes are atomic.
Table is in 2NF since there is no partial dependency.
Table is in 3NF due to absence of any transitive dependency.
3. Doctor :
R = (email, gender, password, name)
FDs:
a. email -> gender
b. email -> password
c. email -> name
Table is in 1NF since all attributes are atomic.
Table is in 2NF since there is no partial dependency.
Table is in 3NF due to absence of any transitive dependency.
4. Appointment:
R = (id, date, start time, end time, status)
FDs:
a. id -> date
b. id -> start time
c. id -> end time
d. id -> status
Table is in 1NF since all attributes are atomic.
Table is in 2NF since there is no partial dependency.
Table is in 3NF due to absence of any transitive dependency.
5. PatientsAttendAppointments:
R = (patient, appointment, concerns, symptoms)
FDs:
a. (patient, appointment) -> concerns
b. (patient, appointment) -> symptoms
Table is in 1NF since all attributes are atomic.
Table is in 2NF since there is no partial dependency.
Table is in 3NF due to absence of any transitive dependency.
6. Schedule:
R = (id, start time, end time, break time, day)
Since entire table is the key, it does not have partial and transitive dependencies. It also has atomic attributes.
Hence it is in 3NF.
7. PatientsFillHistory:
R = (Patient, History)
FDs:
a. History -> Patient
Table is in 1NF since all attributes are atomic.
Table is in 2NF since there is no partial dependency.
Table is in 3NF due to absence of any transitive dependency.
8. Diagnose:
R = (appointment, doctor,diagnosis, prescription)
FDs:
a. (appointment, doctor) -> diagnosis
b. (appointment, doctor) -> prescription
Table is in 1NF since all attributes are atomic.
Table is in 2NF since there is no partial dependency.
Table is in 3NF due to absence of any transitive dependency.
9. DoctorsHaveSchedules:
R = (Schedule, Doctor)
Since entire table is the key, it does not have partial and transitive dependencies. It also has atomic attributes.
Hence it is in 3NF.
10. DoctorViewsHistory:
R = (history, doctor)
Since entire table is the key, it does not have partial and transitive dependencies. It also has atomic attributes.
Hence it is in 3NF.

More Related Content

Similar to 111803154 - Assignment 5 Normalisation.docx

HMS-HOSPITAL MANAGEMENT SYSTEM.pptx
HMS-HOSPITAL MANAGEMENT SYSTEM.pptxHMS-HOSPITAL MANAGEMENT SYSTEM.pptx
HMS-HOSPITAL MANAGEMENT SYSTEM.pptxSthavi1
 
Online doctor appointment and emr system
Online doctor appointment and emr systemOnline doctor appointment and emr system
Online doctor appointment and emr systemAnjelika Parasar
 
Pneumonia Soap Note Acute Conditions Paper.pdf
Pneumonia Soap Note Acute Conditions Paper.pdfPneumonia Soap Note Acute Conditions Paper.pdf
Pneumonia Soap Note Acute Conditions Paper.pdfsdfghj21
 
In the given a database is used to.pdf
In the given a database is used to.pdfIn the given a database is used to.pdf
In the given a database is used to.pdfbkbk37
 
HQR Framework optimization for predicting patient treatment time in big data
HQR Framework optimization for predicting patient treatment time in big dataHQR Framework optimization for predicting patient treatment time in big data
HQR Framework optimization for predicting patient treatment time in big datadbpublications
 
Umldiagramforhospitalmanagementsystem 140425070951-phpapp02
Umldiagramforhospitalmanagementsystem 140425070951-phpapp02Umldiagramforhospitalmanagementsystem 140425070951-phpapp02
Umldiagramforhospitalmanagementsystem 140425070951-phpapp02Vivek Sharma
 
Uml diagram for_hospital_management_system
Uml diagram for_hospital_management_systemUml diagram for_hospital_management_system
Uml diagram for_hospital_management_systemPradeep Bhosale
 
HQR Framework optimization for predicting patient treatment time in big data
HQR Framework optimization for predicting patient treatment time in big dataHQR Framework optimization for predicting patient treatment time in big data
HQR Framework optimization for predicting patient treatment time in big datadbpublications
 
Running head STAGE 1 ORGNAIZATIONAL ANALYSIS AND REQUIREMENTS .docx
Running head STAGE 1 ORGNAIZATIONAL ANALYSIS AND REQUIREMENTS    .docxRunning head STAGE 1 ORGNAIZATIONAL ANALYSIS AND REQUIREMENTS    .docx
Running head STAGE 1 ORGNAIZATIONAL ANALYSIS AND REQUIREMENTS .docxjeanettehully
 
d35da723d00a4ad2991889a5c714a59b7d8a
d35da723d00a4ad2991889a5c714a59b7d8ad35da723d00a4ad2991889a5c714a59b7d8a
d35da723d00a4ad2991889a5c714a59b7d8aMarie Séveno
 
O PTIMISATION B ASED ON S IMULATION : A P ATIENT A DMISSION S CHEDULING ...
O PTIMISATION  B ASED ON  S IMULATION : A P ATIENT  A DMISSION  S CHEDULING  ...O PTIMISATION  B ASED ON  S IMULATION : A P ATIENT  A DMISSION  S CHEDULING  ...
O PTIMISATION B ASED ON S IMULATION : A P ATIENT A DMISSION S CHEDULING ...IJCI JOURNAL
 
KingsleyUsen_HospitalDatabase
KingsleyUsen_HospitalDatabaseKingsleyUsen_HospitalDatabase
KingsleyUsen_HospitalDatabaseKingsley Usen
 
Introduction to Medical records and Documentation revised 01-13
Introduction to Medical records and Documentation revised 01-13Introduction to Medical records and Documentation revised 01-13
Introduction to Medical records and Documentation revised 01-13kbpennington
 
Informatics Tools and Patient Handovers
Informatics Tools and Patient HandoversInformatics Tools and Patient Handovers
Informatics Tools and Patient HandoversAalap Shah
 
Endoscopy - conducting a start and stop time audit
Endoscopy - conducting a start and stop time auditEndoscopy - conducting a start and stop time audit
Endoscopy - conducting a start and stop time auditNHS Improvement
 
Point of-care final version
Point of-care final versionPoint of-care final version
Point of-care final versionMahesh D
 

Similar to 111803154 - Assignment 5 Normalisation.docx (20)

HMS-HOSPITAL MANAGEMENT SYSTEM.pptx
HMS-HOSPITAL MANAGEMENT SYSTEM.pptxHMS-HOSPITAL MANAGEMENT SYSTEM.pptx
HMS-HOSPITAL MANAGEMENT SYSTEM.pptx
 
Online doctor appointment and emr system
Online doctor appointment and emr systemOnline doctor appointment and emr system
Online doctor appointment and emr system
 
Pneumonia Soap Note Acute Conditions Paper.pdf
Pneumonia Soap Note Acute Conditions Paper.pdfPneumonia Soap Note Acute Conditions Paper.pdf
Pneumonia Soap Note Acute Conditions Paper.pdf
 
Final report ehr1
Final report ehr1Final report ehr1
Final report ehr1
 
In the given a database is used to.pdf
In the given a database is used to.pdfIn the given a database is used to.pdf
In the given a database is used to.pdf
 
HQR Framework optimization for predicting patient treatment time in big data
HQR Framework optimization for predicting patient treatment time in big dataHQR Framework optimization for predicting patient treatment time in big data
HQR Framework optimization for predicting patient treatment time in big data
 
Umldiagramforhospitalmanagementsystem 140425070951-phpapp02
Umldiagramforhospitalmanagementsystem 140425070951-phpapp02Umldiagramforhospitalmanagementsystem 140425070951-phpapp02
Umldiagramforhospitalmanagementsystem 140425070951-phpapp02
 
Uml diagram for_hospital_management_system
Uml diagram for_hospital_management_systemUml diagram for_hospital_management_system
Uml diagram for_hospital_management_system
 
HQR Framework optimization for predicting patient treatment time in big data
HQR Framework optimization for predicting patient treatment time in big dataHQR Framework optimization for predicting patient treatment time in big data
HQR Framework optimization for predicting patient treatment time in big data
 
Running head STAGE 1 ORGNAIZATIONAL ANALYSIS AND REQUIREMENTS .docx
Running head STAGE 1 ORGNAIZATIONAL ANALYSIS AND REQUIREMENTS    .docxRunning head STAGE 1 ORGNAIZATIONAL ANALYSIS AND REQUIREMENTS    .docx
Running head STAGE 1 ORGNAIZATIONAL ANALYSIS AND REQUIREMENTS .docx
 
d35da723d00a4ad2991889a5c714a59b7d8a
d35da723d00a4ad2991889a5c714a59b7d8ad35da723d00a4ad2991889a5c714a59b7d8a
d35da723d00a4ad2991889a5c714a59b7d8a
 
Hospital database management system project report
Hospital database management system project reportHospital database management system project report
Hospital database management system project report
 
O PTIMISATION B ASED ON S IMULATION : A P ATIENT A DMISSION S CHEDULING ...
O PTIMISATION  B ASED ON  S IMULATION : A P ATIENT  A DMISSION  S CHEDULING  ...O PTIMISATION  B ASED ON  S IMULATION : A P ATIENT  A DMISSION  S CHEDULING  ...
O PTIMISATION B ASED ON S IMULATION : A P ATIENT A DMISSION S CHEDULING ...
 
KingsleyUsen_HospitalDatabase
KingsleyUsen_HospitalDatabaseKingsleyUsen_HospitalDatabase
KingsleyUsen_HospitalDatabase
 
Introduction to Medical records and Documentation revised 01-13
Introduction to Medical records and Documentation revised 01-13Introduction to Medical records and Documentation revised 01-13
Introduction to Medical records and Documentation revised 01-13
 
Informatics Tools and Patient Handovers
Informatics Tools and Patient HandoversInformatics Tools and Patient Handovers
Informatics Tools and Patient Handovers
 
Resume 052616
Resume 052616Resume 052616
Resume 052616
 
Endoscopy - conducting a start and stop time audit
Endoscopy - conducting a start and stop time auditEndoscopy - conducting a start and stop time audit
Endoscopy - conducting a start and stop time audit
 
Point of-care final version
Point of-care final versionPoint of-care final version
Point of-care final version
 
Presentation (7) hms1.pptx
Presentation (7) hms1.pptxPresentation (7) hms1.pptx
Presentation (7) hms1.pptx
 

More from ZainabShahzad9

More from ZainabShahzad9 (9)

Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)
 
Lec 3.pdf
Lec 3.pdfLec 3.pdf
Lec 3.pdf
 
Lec-1.pdf
Lec-1.pdfLec-1.pdf
Lec-1.pdf
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Presentation2-2.pptx
Presentation2-2.pptxPresentation2-2.pptx
Presentation2-2.pptx
 
Lesson 20.ppt
Lesson 20.pptLesson 20.ppt
Lesson 20.ppt
 
OS 7.pptx
OS 7.pptxOS 7.pptx
OS 7.pptx
 
OS 6.pptx
OS 6.pptxOS 6.pptx
OS 6.pptx
 
Project Presentation.pptx
Project Presentation.pptxProject Presentation.pptx
Project Presentation.pptx
 

Recently uploaded

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 

Recently uploaded (20)

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 

111803154 - Assignment 5 Normalisation.docx

  • 1. Assignment 5 Normalised Schemas and Revised ER Diagram Hospital Management System Name – Hrishikesh Athalye MIS - 111803154 Class – TY Comp (Sem 5) Div - 2
  • 2. Problem Statement Developing a hospital management system in order to effectively manage most aspects of hospitals such as booking appointments, managing patient records and keeping medical history. Overview Organisations such as hospitals have to deal with a lot of patients regularly and hence a lot of data. Hence it is very important for a hospital to have a DBMS with a frontend that easily allows patients to book appointments and allows doctors or administrators to manage patient data. For this project I have chosen to build the frontend using ReactJS and JavaScript, backend in Node.js and the database used will be MySQL. Functional Requirements 1. Separate interfaces for patients and doctors. Patients and doctors should have separate logins. 2. Allow patients to book appointments and give previous medical history. 3. Allow patients to view/update/cancel already booked appointments if necessary. 4. Allow doctors to cancel appointments. 5. Cancelled appointments should create free slots for other patients. 6. The system should avoid clash of appointments. 7. The system should take into consideration hospital and doctor schedules and allow appointments only when a doctor is not already busy or does not have a break. 8. Doctors should be able access patient history and profile, and add to patient history. 9. Doctors should be able to give diagnosis and prescriptions. 10. Patients should be able to see complete diagnosis, prescriptions and medical history.
  • 5. Functional Dependencies and Normalisation 1. Patient : R = (Email, Password, Name, Address, Gender) FDs: a. Email -> Password b. Email -> Name c. Email -> Address d. Email -> Gender Table is in 1NF since all attributes are atomic. Table is in 2NF since there is no partial dependency. Table is in 3NF due to absence of any transitive dependency. 2. Medical History : R = (id, Date, Conditions, Surgeries, Medication) FDs: a. id -> Password b. id -> Date c. id -> Conditions d. id -> Surgeries e. id -> Medication Table is in 1NF since all attributes are atomic. Table is in 2NF since there is no partial dependency. Table is in 3NF due to absence of any transitive dependency.
  • 6. 3. Doctor : R = (email, gender, password, name) FDs: a. email -> gender b. email -> password c. email -> name Table is in 1NF since all attributes are atomic. Table is in 2NF since there is no partial dependency. Table is in 3NF due to absence of any transitive dependency. 4. Appointment: R = (id, date, start time, end time, status) FDs: a. id -> date b. id -> start time c. id -> end time d. id -> status Table is in 1NF since all attributes are atomic. Table is in 2NF since there is no partial dependency. Table is in 3NF due to absence of any transitive dependency.
  • 7. 5. PatientsAttendAppointments: R = (patient, appointment, concerns, symptoms) FDs: a. (patient, appointment) -> concerns b. (patient, appointment) -> symptoms Table is in 1NF since all attributes are atomic. Table is in 2NF since there is no partial dependency. Table is in 3NF due to absence of any transitive dependency. 6. Schedule: R = (id, start time, end time, break time, day) Since entire table is the key, it does not have partial and transitive dependencies. It also has atomic attributes. Hence it is in 3NF. 7. PatientsFillHistory: R = (Patient, History) FDs: a. History -> Patient Table is in 1NF since all attributes are atomic. Table is in 2NF since there is no partial dependency. Table is in 3NF due to absence of any transitive dependency.
  • 8. 8. Diagnose: R = (appointment, doctor,diagnosis, prescription) FDs: a. (appointment, doctor) -> diagnosis b. (appointment, doctor) -> prescription Table is in 1NF since all attributes are atomic. Table is in 2NF since there is no partial dependency. Table is in 3NF due to absence of any transitive dependency. 9. DoctorsHaveSchedules: R = (Schedule, Doctor) Since entire table is the key, it does not have partial and transitive dependencies. It also has atomic attributes. Hence it is in 3NF. 10. DoctorViewsHistory: R = (history, doctor) Since entire table is the key, it does not have partial and transitive dependencies. It also has atomic attributes. Hence it is in 3NF.