How mizirjx/doctor-appointment-system works
Edoc is a PHP/MySQL appointment-booking system for patients, doctors, and administrators. Patients register or sign in, find doctors and weekly sessions, and submit appointment requests; doctors review appointments and patient details, while administrators manage doctors, sessions, and patient records. The graph preserves these role-specific capabilities and the account-management features. Source excerpts show authentication, registration, database connection, and session creation; other role workflows are included from the README, so their internal call links are not inferred.
Main entry points: connection.php Database Connection · doctor/index.php Doctor Dashboard · admin/index.php Admin Dashboard · patient/index.php Patient Dashboard
Components 23
Access and Accounts
- Sign In
login.php - Create Account
create-account.php - Sign Out
logout.php
Patient Booking
- Patient Dashboard
patient/index.php - Find Doctors
patient/doctors.php - Browse Sessions
patient/schedule.php - Request Appointment
patient/booking.php - Booking Confirmation
patient/booking-complete.php - Patient Bookings
patient/appointment.php - Patient Settings
patient/settings.php
Doctor Workspace
- Doctor Dashboard
doctor/index.php - Doctor Appointments
doctor/appointment.php - Doctor Schedule
doctor/schedule.php - Patient Details
doctor/patient.php - Doctor Settings
doctor/settings.php
Administration
- Admin Dashboard
admin/index.php - Manage Doctors
admin/doctors.php - Manage Sessions
admin/schedule.php - Manage Appointments
admin/appointment.php - View Patients
admin/patient.php
Data Layer
- Database Connection
connection.php - Edoc Database
SQL_Database_edoc.sql
Other components
- Visitor / User
Connections 29
- Visitor / User → Sign In: signs in
README.md - Visitor / User → Create Account: registers
README.md - Sign In → Patient Dashboard: routes patient
login.php - Sign In → Doctor Dashboard: routes doctor
login.php - Sign In → Admin Dashboard: routes admin
login.php - Create Account → Patient Dashboard: routes after registration
create-account.php - Patient Dashboard → Find Doctors: opens doctor search
README.md - Find Doctors → Browse Sessions: browses sessions
README.md - Browse Sessions → Request Appointment: selects session
README.md - Request Appointment → Booking Confirmation: confirms request
- Patient Dashboard → Patient Bookings: views bookings
README.md - Patient Dashboard → Patient Settings: manages account
README.md - Doctor Dashboard → Doctor Appointments: views appointments
README.md - Doctor Dashboard → Doctor Schedule: views sessions
README.md - Doctor Dashboard → Patient Details: views patient details
README.md - Doctor Dashboard → Doctor Settings: manages account
README.md - Admin Dashboard → Manage Doctors: manages doctors
README.md - Admin Dashboard → Manage Sessions: manages sessions
README.md - Admin Dashboard → Manage Appointments: views bookings
README.md - Admin Dashboard → View Patients: views patients
README.md - Sign In → Database Connection: queries credentials
login.php - Create Account → Database Connection: creates patient account
create-account.php - Database Connection → Edoc Database: connects to
connection.php - Patient Dashboard → Database Connection: queries records
patient/index.php - Doctor Dashboard → Database Connection: queries records
doctor/index.php - Admin Dashboard → Database Connection: queries records
admin/index.php - Manage Doctors → Database Connection: uses database
admin/doctors.php - Manage Sessions → Database Connection: uses database
admin/schedule.php - Request Appointment → Database Connection: uses database
patient/booking.php