How magtibaymarkaldred-eng/mediqueue-a-clinic-appointment-and-queue-management-system works
MediQueue is a clinic appointment and queue system with a browser-based Java server and an included Swing desktop client. The main workflow is browser sign-in or registration, state retrieval, then appointment booking or staff queue/clinic-management actions; the server applies clinic rules and persists changes. The README documents capabilities beyond the sampled excerpts, including cancellation, confirmation, schedules, and patient-record management. Arrows use README or indexed/source evidence; unsampled implementation details are represented by the documented service boundary rather than inferred internal calls.
Main entry points: MediQueueWeb.java HTTP server and API · MediQueueData.java Clinic data and rules · app.js Browser screens · MediQueue.java Swing desktop app
Components 15
User interfaces
- Browser screens
web/app.js - Page assets
web/index.html - Swing desktop app
src/MediQueue.java
Web application
- HTTP server and API
src/MediQueueWeb.java - JSON encoding
src/Json.java
Clinic operations
- Sign-in and accounts
src/MediQueueService.java - Appointment actions
src/MediQueueService.java - Queue operations
src/MediQueueService.java - Patient records
src/MediQueueService.java - Doctor schedules
src/MediQueueService.java - Screen state
src/MediQueueService.java
Data and storage
- Clinic data and rules
src/MediQueueData.java - Appointment and clinic files
file/mediqueue-data.txt - Account file
file/mediqueue-users.txt
Other components
- Patient or staff
Connections 22
- Patient or staff → Browser screens: uses
- Browser screens → Page assets: loads
- Browser screens → HTTP server and API: requests API
- HTTP server and API → Browser screens: returns JSON
- Patient or staff → Swing desktop app: uses
- HTTP server and API → Sign-in and accounts: dispatches
src/MediQueueWeb.java - HTTP server and API → Appointment actions: dispatches
src/MediQueueWeb.java - HTTP server and API → Queue operations: dispatches
src/MediQueueWeb.java - HTTP server and API → Patient records: dispatches
src/MediQueueWeb.java - HTTP server and API → Doctor schedules: dispatches
src/MediQueueWeb.java - HTTP server and API → Screen state: requests state
src/MediQueueWeb.java - HTTP server and API → JSON encoding: encodes replies
src/MediQueueWeb.java - HTTP server and API → Clinic data and rules: loads data
src/MediQueueWeb.java - Sign-in and accounts → Clinic data and rules: uses accounts
src/MediQueueService.java - Appointment actions → Clinic data and rules: updates clinic data
src/MediQueueService.java - Queue operations → Clinic data and rules: updates queue
src/MediQueueService.java - Patient records → Clinic data and rules: updates records
src/MediQueueService.java - Doctor schedules → Clinic data and rules: updates schedules
src/MediQueueService.java - Screen state → Clinic data and rules: reads clinic data
src/MediQueueService.java - Clinic data and rules → Appointment and clinic files: reads and writes
- Clinic data and rules → Account file: reads and writes
- Swing desktop app → Clinic data and rules: shares data
src/MediQueue.java