| Version 3 (modified by , 3 weeks ago) ( diff ) |
|---|
Conceptual Model
ER Diagram
Data requirements
Entities
- Doctor_Level – entity that stores doctor levels
- level_id (PK, bigint)
- level (text)
- Doctor_Specialization – entity that stores doctor specializations
- specialization_id (PK, bigint)
- specialization_name (text)
- Departments – entity that stores hospital departments
- department_id (PK, bigint)
- department_name (text)
- Doctors – entity that stores doctors
- doctor_id (PK, bigint)
- first_name (text)
- last_name (text)
- email_address (text)
- level_id (FK, bigint)
- specialization_id (FK, bigint)
- department_id (FK, bigint)
- Admin – entity that stores administrator data
- admin_id (PK, bigint)
- Lab_Technician – entity that stores lab technician data
- technician_id (PK, bigint)
- Patients – entity that stores patients
- patient_id (PK, bigint)
- first_name (text)
- last_name (text)
- email_address (text)
- date_of_birth (date)
- blood_type (text)
- gender (text)
- phone_number (text)
- EMBG (text)
- Allergies – entity that stores allergies
- allergy_id (PK, bigint)
- name (text)
- allergy_severity (text)
- Symptoms – entity that stores symptoms
- symptom_id (PK, bigint)
- name (text)
- description (text)
- Appointments – entity that stores appointments
- appointment_id (PK, bigint)
- appointment_date (date)
- appointment_time (time)
- status (text)
- patient_id (FK, bigint)
- doctor_id (FK, bigint)
- Diagnosis – entity that stores diagnoses
- diagnosis_id (PK, bigint)
- name (text)
- description (text)
- patient_id (FK, bigint)
- doctor_id (FK, bigint)
- Diagnosis_Results – entity that stores diagnosis results
- result_id (PK, bigint)
- result_description (text)
- diagnosis_id (FK, bigint)
- Procedures – entity that stores medical procedures
- procedure_id (PK, bigint)
- procedure_type (text)
- procedure_date (date)
- description (text)
- cost (decimal)
- doctor_id (FK, bigint)
- diagnosis_id (FK, bigint)
- Procedure_Results – entity that stores procedure results
- result_id (PK, bigint)
- result_description (text)
- result_date (date)
- procedure_id (FK, bigint)
- Prescriptions – entity that stores prescriptions
- prescription_id (PK, bigint)
- medication_name (text)
- dosage (text)
- instructions (text)
- duration (text)
- price (decimal)
- doctor_id (FK, bigint)
- patient_id (FK, bigint)
- Prescription_Restriction – entity that stores prescription restrictions
- restriction_id (PK, bigint)
- allowed (boolean)
- prescription_id (FK, bigint)
- Lab_Tests – entity that stores lab tests
- test_id (PK, bigint)
- test_name (text)
- description (text)
- cost (decimal)
- patient_id (FK, bigint)
- technician_id (FK, bigint)
- Lab_Results – entity that stores lab results
- result_id (PK, bigint)
- results (text)
- result_date (date)
- test_id (FK, bigint)
- Medical_Records – entity that stores medical records
- record_id (PK, bigint)
- doctor_notes (text)
- patient_id (FK, bigint)
- doctor_id (FK, bigint)
- Referrals – entity that stores referrals
- referral_id (PK, bigint)
- reason (text)
- date (date)
- doctor_id (FK, bigint)
- patient_id (FK, bigint)
- Medical_Report – entity that stores medical reports
- report_id (PK, bigint)
- description (text)
- date (date)
- patient_id (FK, bigint)
- doctor_id (FK, bigint)
- Billing – entity that stores billing information
- bill_id (PK, bigint)
- payment_status (text)
- payment_date (date)
- patient_id (FK, bigint)
Attachments (2)
-
Hospital_ER_Diagram.drawio.png
(1.0 MB
) - added by 5 weeks ago.
er_diagram_first
- Hospital_ER_Diagram2.drawio.png (988.8 KB ) - added by 2 weeks ago.
Note:
See TracWiki
for help on using the wiki.

