DepartmentID (Primary Key), Name (e.g., Orthopedic, Pathology), LocationDoctorID (Primary Key), Name, Specialization, Type (Regular or Call on), DepartmentID (Foreign Key to Department), RoomID (Foreign Key to Room)PatientID (Primary Key), Name, DOB, Gender, ContactInfo, Address, EntryDate, RoomType (Private or General), Admitted (Yes/No), DischargeDateRoomID (Primary Key), RoomType (Private or General), ChargesPerDay, AvailabilityStaffID (Primary Key), Name, Position (e.g., Nurse, Compounder), DepartmentID (Foreign Key to Department)CheckupID (Primary Key), PatientID (Foreign Key to Patient), DoctorID (Foreign Key to Doctor), Diagnosis, Prescription, DateAdmissionID (Primary Key), PatientID (Foreign Key to Patient), RoomID (Foreign Key to Room), AdmissionDate, DischargeDateBillID (Primary Key), PatientID (Foreign Key to Patient), RoomCharges, DoctorCharges, TestCharges, OperationCharges, BloodCharges, TotalAmount, BalanceDueEntities will be represented as rectangles, each containing attributes.
Relationships (diamonds) will connect the entities, labeled to indicate the nature of each relationship.
Primary Keys are underlined, and Foreign Keys will have lines to indicate links to other entities.