How jay26072/doctor-appointment-system works
This is a Flask/MySQL clinic appointment management system. Patients register, browse clinics and doctors, request appointments, then view clinic decisions and scheduled visits; clinic staff manage appointments and continue care through cases and prescriptions. Admins manage clinics, cities, patients and fees. The README documents these capabilities and the workflow, while the sampled app.py excerpts confirm database-backed profile and city/patient operations. The application is a monolith, so domain nodes share app.py; templates are described but absent from the supplied tree. Most frontend libraries are bundled assets, with their use by templates unverified.
Main entry points: app.py Patient cases · uploads Uploaded images
Components 19
Access and discovery
- Patient registration
app.py - Role login
app.py - Clinic discovery
app.py
Administration
- Admin management
app.py - Clinic management
app.py - Doctors and fees
app.py
Appointments
- Appointment request
app.py - Clinic decision
app.py - Appointment view
app.py
Clinical records
- Patient cases
app.py - Prescriptions
app.py
Persistence and assets
- MySQL doctor DB
- Uploaded images
static/uploads - Gmail SMTP
- Admin UI libraries
static/adminpanel/plugins - Browser scripts
static/js
Other components
- Patient
- Clinic staff
- Administrator
Connections 27
- Patient → Patient registration: registers
- Patient → Role login: logs in
- Clinic staff → Role login: logs in
- Administrator → Role login: logs in
- Patient → Clinic discovery: browses
- Administrator → Admin management: manages
- Administrator → Clinic management: manages
- Clinic staff → Doctors and fees: manages
- Patient → Appointment request: requests
- Clinic staff → Clinic decision: accepts or rejects
- Patient → Appointment view: views
- Clinic staff → Patient cases: manages
- Clinic staff → Prescriptions: adds
- Patient → Patient cases: views
- Patient → Prescriptions: views
- Patient registration → MySQL doctor DB: stores records
- Admin management → MySQL doctor DB: reads and writes
app.py - Clinic management → MySQL doctor DB: stores records
- Doctors and fees → MySQL doctor DB: stores records
- Appointment request → MySQL doctor DB: stores request
- Clinic decision → MySQL doctor DB: updates status
- Appointment view → MySQL doctor DB: reads appointments
- Patient cases → MySQL doctor DB: stores cases
- Prescriptions → MySQL doctor DB: stores prescriptions
- Patient registration → Gmail SMTP: emails credentials
- Clinic management → Uploaded images: saves clinic images
- Patient cases → Uploaded images: saves prescription images