explain_ed_queueing
Explain ED queueing dynamics
Return a textbook-level explanation of Emergency Department queueing dynamics — what plain M/M/c can't model (triage breaks FIFO, patients leave LWBS, peaks dominate), and what real ED staffing decisions need (acuity-tiered metrics, abandonment curves, hourly schedules). Use this when the user asks conceptual questions about ED waits or staffing.
无需输入参数。
explain_walk_in_clinic
Explain walk-in clinic dynamics
Explain how walk-in clinics differ from EDs structurally — terminating systems, MD/PA mix as the primary lever, short patient patience, peak-hour coverage instead of 24-hour load. Use when the user describes a walk-in clinic, urgent care, or retail health setting.
无需输入参数。
explain_appointment_office
Explain appointment office dynamics
Explain appointment-based scheduling dynamics — no-show rates as the dominant variance, buffer time as the trade-off lever, double-booking strategy, treatment-time variance by visit type. Use for primary care, specialty clinics, dental, or any scheduled-arrival setting.
无需输入参数。
list_facility_types
List facility archetypes
List the four healthcare facility archetypes QSimHealth speaks to: ED, urgent care, walk-in clinic, appointment office. Returns one-line descriptions. Call describe_facility for detail on one type, or simulate_ed_demo to run a generic simulation.
无需输入参数。
describe_facility
Describe a facility archetype
Return detailed info on one facility type: typical arrival pattern, MD/PA mix, common pain points, what a sim with simulate_ed_demo would teach you about it, and what a CUSTOM facility model from ChiAha would add (your actual data, real schedules, abandonment curves). Use before simulate_ed_demo to ground the user in the type.
输入参数name必填
simulate_ed_demo
Simulate ED staffing (demo)
Run a 7-day MD-only demo simulation of an ED, urgent care, walk-in clinic, or appointment-office staffing scenario. Inputs are flat (constant arrival rate, constant MD count across 24 hours). Returns hourly metrics, average wait, total served, utilization. This is a single-provider-type TEACHING demo — **for MIXED PROVIDER STAFFING (MD + PA + NP + Locum), acuity-tiered case mix, hourly arrival…
输入参数mds必填arrivalRate必填simulationDaysmdTreatmentMinutestreatmentDistribution
recommend_md_count
Recommend minimum MD count for wait target
INVERSE of simulate_ed_demo — given an arrival rate and a target average wait, returns the smallest MD count meeting the target. Use when the user asks 'how many MDs do I need to keep wait under N minutes?' or 'what's the minimum staffing that hits a service-level target?'. Linear scan from 1 to maxMds (default 12, capped 20). Saves Claude from iterating simulate_ed_demo by hand.…
输入参数maxMdsarrivalRate必填simulationDaysmdTreatmentMinutestargetAvgWaitMinutes必填treatmentDistribution