Skip to content

Davar3/Clinic-Queue-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏥 Clinic Queue System

A simple, standalone queue management system for clinics with two patient classes: New Patients (A) and Return Patients (R).

Control Panel

✨ Features

  • Dual Queues: Separate queues for New (A-01, A-02...) and Return (R-01, R-02...) patients
  • Thermal Ticket Printing: Print queue tickets directly from the browser
  • Real-time Display Sync: Control panel and TV display stay in sync automatically
  • Dramatic Flash Animation: 10-second red flashing effect when calling next patient
  • Audio Alerts: Pleasant chime sound when number changes
  • Current Time Display: Shows live clock on the waiting area screen
  • Reset with Confirmation: Start fresh each day with one click
  • Offline & Local: Works without internet, data stored in browser

🖥️ Setup

Option 1: Local Use (Recommended)

  1. Download or clone this repository
  2. Open index.html in Chrome/Edge browser
  3. Click Open Display to open the TV screen
  4. Drag the display window to your second monitor
  5. Press F11 for fullscreen on the TV

Option 2: GitHub Pages

  1. Fork this repository
  2. Go to Settings → Pages → Enable from main branch
  3. Access via https://YOUR_USERNAME.github.io/clinic-queue/

📖 Usage

Action How
Give patient a ticket Click 🖨️ Print Ticket
Call next patient Click Next ▶
Go back one number Click ◀ Previous
Reset at start of day Click 🔄 Reset All

🎫 Ticket Codes

Code Patient Type
A-01, A-02... New Patients (first visit)
R-01, R-02... Return Patients (follow-up)

📁 Project Structure

clinic-queue/
├── index.html          # Admin control panel
├── display.html        # Waiting area TV display
├── css/
│   ├── control.css     # Control panel styles
│   └── display.css     # TV display styles
├── js/
│   ├── queue.js        # Shared queue logic
│   ├── control.js      # Control panel functionality
│   └── display.js      # Display screen functionality
└── README.md

⚠️ Important Notes

  • Same Browser Required: Both the control panel and TV display must be opened in the same browser on the same computer to stay synced
  • Data Persistence: Queue data is saved in localStorage and persists until you reset
  • Best For: Single-PC dual-monitor setups

🛠️ Customization

  • Clinic Name: Enter your clinic name in the Settings section of the control panel
  • Audio: Toggle audio alerts on/off using the 🔊 button

📄 License

MIT License - Free to use and modify

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors