UPA Emergency Unit Queue Management: Triage-Driven Flow and Wait Time Control
A UPA runs on risk-based triage, not arrival order. Without color-coded panels, per-category wait alerts, and a digital queue tied to Manchester triage, managers have no real-time visibility and patients wait without any estimate of when they will be seen.
Published on October 5, 2026
The UPA — Unidade de Pronto Atendimento — is the mid-tier of Brazil's public emergency system: it handles cases too complex for a primary care unit (UBS) and absorbs volume that would otherwise overwhelm hospital emergency wards. A small UPA (Tier I, 15 observation beds) sees between 150 and 200 patients a day; a large UPA (Tier III) can exceed 400 attendances in 24 hours. At that volume, a first-come-first-served queue is clinically untenable. The protocol mandated by Portaria GM/MS 10/2017 is the Manchester Triage System: each patient receives a risk color at triage — red, orange, yellow, green, or blue — and call-to-treatment follows that hierarchy, not arrival time. The practical problem is that most UPAs still manage this with paper, a spreadsheet, or verbal nursing calls. Without a digital queue integrated with triage, the manager does not know how many patients are waiting per category, the TV display shows only generic ticket numbers, and companions waiting outside have no way to tell how close their family member is to being seen.
Manchester triage requires a dynamic risk queue, not FIFO
The Manchester Triage System classifies urgency into five color-coded levels: red (emergency, immediate treatment), orange (very urgent, ≤10 minutes), yellow (urgent, ≤30 minutes), green (standard, ≤60 minutes), and blue (non-urgent, ≤120 minutes). When four patients arrive at the UPA simultaneously — one green, two blue, and one orange — the orange patient goes to treatment first, even if the blue patients arrived 40 minutes earlier. That is the clinically correct behavior. The challenge is implementing it consistently in daily operations.
A digital queue that respects Manchester triage needs two registration moments: check-in at the entrance (creates the ticket and starts the pre-triage wait counter) and the triage encounter (assigns the Manchester color, moves the patient to the correct sub-queue, and resets the post-triage wait counter). From triage onward, the call queue is ordered by risk color — red and orange automatically rise to the top regardless of arrival time. Without this link between triage and the queue, the system loses all clinical relevance.
Portaria GM/MS 10/2017 sets wait-time targets by level: first medical contact within 10 minutes for orange, 30 minutes for yellow, 60 minutes for green, and 120 minutes for blue. Managers must report these figures per shift to the Health Ministry. A digital queue generates this report automatically. Without one, a staff member counts manually in a spreadsheet and the data is days late.
Multiple waiting areas: separating patient flows with QR code
Well-structured UPAs have at least three physical waiting zones: a general pre-triage area (all arriving patients), a post-triage area for green and blue patients (low and non-urgent), and a monitored observation corridor for yellow and orange patients. The digital queue must map these spaces and direct each patient to the correct zone after triage.
The practical flow with QR code works as follows: the patient or companion scans the code at the entrance and fills in name, date of birth, and chief complaint. The system generates a numbered ticket with an estimated pre-triage wait time. Nursing performs the triage and assigns the color in the system — the ticket changes queues automatically. The display in each post-triage waiting area shows only the tickets for that zone, reducing confusion from low-urgency patients trying to read the observation area board.
The TV panel by priority color: what to show and what to leave out
The TV display is the patient's main interface with the queue. In a UPA, the panel must show three pieces of information per category: tickets currently being called, number of patients waiting in that category, and estimated remaining wait time. What it must not show is the patient's full name — Brazil's LGPD (Lei 13.709/2018) classifies health data as sensitive, and displaying a full name on a public screen violates that principle. Best practice, now standard in many public hospitals in São Paulo and Rio Grande do Sul, is to show only the ticket number and the last two digits of the patient's CPF (tax ID).
The visual layout should reflect the risk hierarchy: one column or block per color, with the active ticket displayed in larger text. When an orange ticket is called, the panel should emit an audible alert and display the number prominently for at least 30 seconds before moving on. Green and blue patients have more mobility — they may be outside or in the restroom — so the longer display time compensates. For UPAs with more than one TV, each waiting area should have its own panel showing only its category's tickets. Displaying all colors on a single screen at high volume creates visible confusion.
Reclassification and per-category wait alerts
Patients can deteriorate while waiting. A patient classified as green at 2:00 PM may have a clinical decline and need reclassification to yellow or orange by 2:45 PM. Without active queue monitoring, reclassification depends on the patient or companion going to the desk to report a change — which can come too late.
The digital queue should issue an internal alert to nursing when a patient is approaching their category's time limit: at 25 minutes for yellow (5 minutes before the threshold), at 50 minutes for green, and at 100 minutes for blue. The alert appears on the nursing panel showing the ticket number and elapsed wait time. Staff can then check the patient in person and decide whether to reclassify or confirm stability. This active monitoring reduces the abandonment rate — patients who leave without being seen — which in UPAs without monitoring can reach 15% of per-shift attendances.
Priority service within each risk category (Lei 10.048)
Lei 10.048/2000 guarantees priority service to people over 60, pregnant women, breastfeeding mothers, persons with disabilities, and adults with infants. In a UPA, this priority operates within each Manchester category: among all yellow patients, a 75-year-old has priority over a 35-year-old with the same risk classification. The digital queue must support this two-tier ordering.
In practice, preferential status is marked at digital check-in or at triage. The system orders tickets within each color with priority patients first and then by arrival time. Automatic enforcement is especially important in a UPA because volume is high and clinical staff attention is directed toward the most acute cases — the chance of overlooking a preferential patient at peak hours is real. With the system handling the ordering, compliance with the law is guaranteed without depending on the reception desk's memory.
Metrics required by Portaria GM/MS 10/2017
Portaria 10/2017 defines the indicators UPAs must report to the Ministry of Health: average wait time by risk level (from check-in to first medical contact), abandonment rate before being seen, observation-bed occupancy rate, and number of attendances per shift. Without a digital system, these figures are collected manually — a staff member records arrival, triage, and call times on paper or in a spreadsheet, and the report is available days later.
With a digital queue, all four indicators are generated automatically in real time. The manager opens the management dashboard and sees: this shift, average wait for yellow is 24 minutes (within the 30-minute limit), for green is 52 minutes (within the 60-minute limit), and the abandonment rate is 8% (above the 5% benchmark recommended by the CFM). That real-time data enables intervention within the same shift — calling in an extra physician, redistributing the queue, alerting the supervisor — rather than discovering the problem in next week's report.
Communicating with companions via WhatsApp: what is safe to send
In a public UPA, companions often cannot stay in the waiting area — particularly when a patient is moved to observation and space is limited. WhatsApp notification fills this gap: the companion leaves their number at check-in and receives status updates on the ticket without needing to call or re-enter the unit.
Message content must follow LGPD rules: no clinical information, diagnosis, or test results via WhatsApp. What can be sent: check-in confirmation with ticket number, notification when the ticket is called for treatment, and a notice when the patient is transferred to observation or referred to another facility. Sample message: 'Ticket 47 has been called for treatment. Please proceed to reception.' No health data — only queue position. This distinction is straightforward to implement and eliminates the risk of leaking sensitive health information.
Queue management in a UPA is not just operational tidiness — it is clinical safety. When the queue does not reflect Manchester triage, high-priority patients wait longer than they should, the abandonment rate rises, and managers lack data to adjust the shift in real time. A digital queue integrated with triage, color-coded panels, reclassification alerts, and automatic per-category reporting resolves this cluster of problems without requiring structural renovation. The investment is in instrumenting the process that already exists — not in building a new one. With the data the system provides, a UPA can meet Portaria 10/2017 targets, reduce queue abandonment, and give managers genuine visibility into every shift.