Clinic Queue Designer

    by Bhavana Krishnan

    1

    Architect station-based clinic queue systems with QR check-in, token logic, and automated patient notifications.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Clinic Queue Designer

    Example session with this skill installed

    Design a queue for a 2-doctor pediatric clinic. Stations: Check-in, Vitals (height/weight), Doctor, Vaccination. Need QR check-in and WhatsApp notifications. Located in India.

    • Read your context and instructions
    • Compiled the clinic queue designer

    The journey for the pediatric clinic has been mapped across four stations, including vitals and vaccination. I have defined the SQL schema, QR check-in logic with ABHA support, and WhatsApp notification templates.

    Pediatric Clinic Arrivals and Queue Design

    Journey

    OrderStationStaffed byTypical timeCan be skipped when
    1Check-inFront desk / QR2 minPre-registered via QR
    2VitalsNurse4 minFollow-up/Report review
    3DoctorPediatrician12 min—
    4VaccinationNurse6 minNo vaccine due

    Data Model

    CREATE TABLE visit (
        id UUID PRIMARY KEY,
        token_no VARCHAR(10),
        patient_ref VARCHAR(50),
        doctor_id UUID,
        arrival_type VARCHAR(20), -- walk_in, appointment, follow_up
        priority VARCHAR(20) DEFAULT 'normal', -- normal, priority, emergency
        status VARCHAR(20)
    );
    
    CREATE TABLE journey_step (
        id UUID PRIMARY KEY,
        visit_id UUID REFERENCES visit(id),
        station_id INT,
        seq INT,
        status VARCHAR(20), -- waiting, called, in_progress, done, no_show
        entered_at TIMESTAMP,
        called_at TIMESTAMP
    );
    

    Queue Rules

    • Priority: Emergencies first, then infants under 6 months (Priority), then by arrival/appointment time.
    • Mixing: 2 Appointments : 1 Walk-in ratio.
    • No-show: Mark no_show after 2 calls. If patient returns, insert at position 3.

    Patient Messages

    • Token Issue: "Token [TOKEN] issued for [DOCTOR]. 3 patients ahead. We will WhatsApp you when it is nearly your turn."
    • Call to Vitals: "Token [TOKEN], please proceed to the Vitals station for height and weight check."
    • Doctor Call: "Token [TOKEN], Dr. [NAME] is ready for you in Room [X]."

    Next steps

    1. Register WhatsApp Utility templates for the token and "nearly turn" messages.
    2. Review ABDM Scan and Share sandbox for ABHA profile integration.
    3. Implement the journey_step state machine in your backend.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing patient flow shouldn't require custom code for every clinic layout. This skill designs station-based queue systems that handle everything from QR check-ins to emergency overrides without hard-coding the journey.

    What it does

    • Station-based modeling: Maps journeys across registration, vitals, doctors, and pharmacy as configurable steps.
    • Hybrid arrival handling: Manages appointments, walk-ins, and follow-ups in a single, fair, and explainable order.
    • Check-in workflows: Designs QR, kiosk, and manual desk flows, including ABDM Scan and Share support for India.
    • Real-time notifications: Drafts waiting-room screen content, SMS, WhatsApp, and voice announcement wording.
    • Staff interface design: Defines touch-friendly screens for nurses and doctors to call, start, or mark no-shows.
    • Privacy-first displays: Ensures public screens show token numbers and rooms only, keeping names and diagnoses private.

    How it works

    1. Map the journey: Define the sequence of stations, staffing roles, and skip conditions in a structured table.
    2. Configure rules: Set priority logic for emergencies, appointment/walk-in mixing, and no-show recovery.
    3. Generate data model: Produce the SQL schema for visits, journey steps, and event logs.
    4. Draft communication: Create localized wording for tokens, "nearly your turn" alerts, and emergency notices.

    Frameworks & tools

    The output is tech-agnostic but provides SQL schemas for relational databases (PostgreSQL/MySQL). It references integration patterns for HIS/EMR systems, ABDM (India), and DLT/WhatsApp Business API templates for messaging.

    Why this beats prompting it yourself

    Generic prompts often hard-code the patient path or leak sensitive PII onto public screens. This skill enforces station-based modularity and "one token, many entries" logic, ensuring the system scales from a single-doctor office to a multi-room OPD.

    Use cases

    • Designing a kiosk-based check-in system for a diagnostic center.
    • Building a queuing engine for a multi-specialty hospital OPD.
    • Implementing a vaccination clinic flow with vitals and observation steps.
    • Optimizing wait-time logic for a high-volume pediatric clinic.

    Known limitations

    Does not perform clinical triage scoring or handle billing flows. Requires external SMS/WhatsApp providers for actual message delivery.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    Permissions

    No special permissions declared or detected

    Listed7 days ago

    What's inside

    Frequently Asked Questions

    This skill provides the complete architectural blueprint for a queue system, including structured station journey tables, optimized SQL database schemas, communication templates (SMS/WhatsApp), and staff interface logic.

    Yes, the designer is tech-agnostic; it generates standardized SQL schemas and integration patterns that work with any modern HIS/EMR database or custom healthcare application.

    The skill includes built-in logic for ABDM 'Scan and Share' workflows, ensuring your queue design is compatible with India's digital health ecosystem out of the box.

    The designer builds in 'Privacy-by-Design' logic, ensuring that public-facing screens and notifications only display tokens and room numbers rather than sensitive patient names or diagnoses.

    While the skill handles the logic for emergency overrides and 'next-in-line' priority, it does not perform clinical triage or medical decision-making, which must be handled by qualified staff.

    Simply describe your clinic’s physical stations and patient categories to the agent; it will then output the modular journey maps and data structures required to build your system.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.