0% found this document useful (0 votes)
23 views4 pages

CSE311 Project Task 123 Re Sub

Uploaded by

ayshaahoque9113
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views4 pages

CSE311 Project Task 123 Re Sub

Uploaded by

ayshaahoque9113
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CSE311L

Section: 6
Submitted by: Group 7
Maria Chowdhury Prianka - 2122163642
Maria Zaman Mim - 2011031042
Date: 15/09/23

Task i

Theme: A person who is unwell and requires surgery from the hospital.
Related entities:
1. Patients: patient_ID, patient_name, patient_age, patient_gender, patient_contact
2. Doctors: doctor_ID, doctor_name, doctor_expertise, doctor_contact
3. Appointments: app_ID, app_patient, app_doctor, app_date, app_time
4. Medications: med_ID, med_name, med_dosage, med_instructions
5. Prescription: prescription_ID, prescription_patient, prescription_doctor, prescription_date,
prescription_med
6. Test: test_ID, test_name, test_description, test_cost
7. Test_Results: result_ID, result_test, result_patient, result_date, result_report_outcome
8. Nurses: nurse_ID, nurse_name, nurse_department, nurse_contact
9. Admission: admission_ID, admission_patient, admission_date, admission_discharge_date,
admission_room
10. Surgeries: surgery_ID, surgery_name, surgery_description, surgery_date, surgery_patient,
surgery_doctor
11. Inpatient_Medication: inpatient_medication_ID, inpatient_medication_patient,
inpatient_medication_admission, inpatient_medication_med,
inpatient_medication_dosage, inpatient_medication_time
12. Billing: bill_ID, bill_patient, bill_date, bill_due_amount
13. Payments: payment_ID, payment_bill, payment_date, payment_amount_paid
14. Hospital_Staff: staff_ID, staff_name, staff_designation, staff_department, staff_contact
15. Discharge_Summary: discharge_ID, discharge_patient, discharge_date,
discharge_reason, discharge_treatment_progress

Task ii

Relationships:
Many to Many:
1. Patients – Surgeries
2. Surgeries – Doctors
3. Patients – Nurses
4. Patients – Inpatient_Medication
5. Inpatient_Medication – Medications
7. Patients – Test

One to Many:
1. Patients – Appointments
2. Doctors – Appointments
4. Room – Admission
5. Patients – Billing
6. Billing – Payments
7. Patients – Discharge_Summary
8. Patients – Prescription
9. Patients – Admission

One to One:
Test – Test_Results

Ternary:
Doctor – Prescriptions – Medications

Specialization:
Nurses – Hospital_Staff

Role:
Doctors - Intern_Doctor

Schemas:
1. Patients (patient_ID, patient_name, patient_age, patient_gender,
patient_contact)
2. Doctors (doctor_ID, doctor_name, doctor_expertise, doctor_contact)
3. Appointments (app_ID, app_patient, app_doctor, app_date, app_time,
patient_ID, doctor_ID)
4. Prescription (prescription_ID, prescription_patient, prescription_doctor,
prescription_date, prescription_med, patient_ID, doctor_ID)
5. Admission (admission_ID, admission_patient, admission_date,
admission_discharge_date, admission_room, room_ID)

6. Test ( test_ID, test_name, test_description, test_cost)


7. Test_Patients (patient_ID, test_ID)
8. Test_Results (result_ID, result_test, result_patient, result_date,
result_report_outcome, test_ID)
9. Inpatient_Medication (inpatient_medication_ID, inpatient_medication_patient,
inpatient_medication_admission, inpatient_medication_med,
inpatient_medication_dosage, inpatient_medication_time)
10. Patients_Inpatient_Medication (patient_ID, inpatient_medication_ID)
11. Medications (med_ID, med_name, med_dosage, med_instructions)
12. Medications_Inpatient_Medication (med_ID, inpatient_medication_ID)
13. Surgeries (surgery_ID, surgery_name, surgery_description, surgery_date,
surgery_patient, surgery_doctor)
14. Patients_Surgeries (patient_ID, surgery_ID)
15. Surgeries_Doctors (surgery_ID, Doctors_ID)
16. Billing (bill_ID, bill_patient, bill_date, bill_due_amount, patient_ID)
17. Payments (payment_ID, payment_bill, payment_date, payment_amount_paid,
bill_ID)
18. Discharge_Summary (discharge_ID, discharge_patient, discharge_date,
discharge_reason, discharge_treatment_progress, patient_ID)
19. Nurses (nurse_ID, nurse_name, nurse_department, nurse_contact, staff_ID)
20. Hospital_Staff (staff_ID, staff_name, staff_designation, staff_department,
staff_contact)
21. Doc_Prescript_Med (doctor_ID, prescription_ID, med_ID)
22. Nurse_patient (nurse_ID, patient_ID)
23. Intern_doctor (doctor_ID, intern_ID)
Task iii

ER Diagram

You might also like