MOD ADM 008 FLW
Domain specifications / D01-ADM / 5. Detailed Functional Requirements / 5.8 Module Specification: Queue Management, Triage Routing and Patient-Flow Boards
5.8 Module Specification: Queue Management, Triage Routing and Patient-Flow Boards¶
5.8.1 Module Overview¶
Module ID: MOD-ADM-008
Purpose: Manage arrivals and priority queues, route patients by triage category, support emergency arrival and disposition hand-off, and present real-time patient-flow boards.
Business Capabilities: - CAP-ADM-008 Queue, triage routing and patient flow
Primary Actors: - Registration / admission clerk (ACT-ADM-001) - Triage nurse / emergency clinician (ACT-ADM-003) - Bed manager / patient flow coordinator (ACT-ADM-004)
Dependencies: - MOD-ADM-002, MOD-ADM-004, MOD-ADM-005, MOD-ADM-006, MOD-ADM-007. - Domain 3: triage assessment and acuity outcome, order and consultation status events. Domain 4: diagnostic status events. - Domain 10: queue and role configuration, notification, authorization, audit. Domain 8: management dashboards built on Domain 1 events.
5.8.2 Functional Areas¶
Functional Area ID: FA-ADM-018 Arrival and queue management
Description: Arrival recording, priority queues and calling.
Scope: - Included: arrival types, queue definitions, priority rules, overrides, queue item lifecycle. - Excluded: departmental worklists for orders, specimens and studies (Domains 3 and 4).
Functional Area ID: FA-ADM-019 Patient-flow boards
Description: Operational boards showing flow state per patient and per unit.
Scope: - Included: flow-state projection, emergency department board, clinic board, ward and bed board, freshness indicators. - Excluded: management dashboards, KPIs and historical analytics (Domain 8).
Functional Area ID: FA-ADM-020 Emergency arrival and triage routing
Description: Rapid registration, routing by triage category and hand-off of disposition into admission, transfer or discharge.
Scope: - Included: emergency queue, triage category capture for routing, re-routing on reassessment, disposition hand-off. - Excluded: triage assessment content and scoring, resuscitation documentation, emergency orders (Domain 3).
5.8.3 Detailed Requirements¶
Requirement FR-ADM-FLW-001: Arrival types and configurable priority queues¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ADM-FLW-001 |
| Requirement Name | Arrival types and configurable priority queues |
| Requirement Type | Functional |
| Module | Queue management, triage routing and patient-flow boards |
| Functional Area | FA-ADM-018 Arrival and queue management |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | FLOW-002; CFG-001 (contributes) |
| Related Business Rule | BR-ADM-018 |
| Related Workflow | WF-ADM-008 |
1. Requirement Statement
The system shall support walk-in, referral, urgent, scheduled and emergency arrivals with configurable triage and priority queues, ordering each queue by authorized priority rules and keeping the order and every override auditable.
2. Business Rationale
Patients arrive by different routes with different urgency. A rule-based, auditable queue prevents both unsafe delay of urgent patients and arbitrary reordering.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Registration / admission clerk | Create (arrival), Read, Update (cancel) | Service point |
| Triage nurse / emergency clinician | Update (triage category, priority) | Triage-enabled queues |
| Clinic and service staff | Update (call, claim, assign, start, complete, mark not present) | Assigned service point |
| Supervisor | Approve (manual priority override) | Reason mandatory |
| Scheduling and flow administrator | Update (queue definitions and rules) | Governed configuration |
4. Preconditions - Queue definitions and priority rules are effective for the service point; the patient has an encounter or one is created on arrival.
5. Trigger - An arrival is recorded, a triage category is assigned or changed, or staff act on a queue item.
6. Functional Behaviour
- The system records each arrival with arrival type (walk-in, referral, urgent, scheduled, emergency), time, service point and encounter, and creates a queue item with a queue number. The queue number is unique within the queue for the service day. It is the number printed on the ticket, where tickets are used, and shown on the public call display.
- Queue definitions specify the service point, the arrival types accepted, whether triage is used, and the priority rule (attributes and order of precedence, for example triage category, urgency, appointment time, arrival time).
- The system orders each queue by its rule and recalculates on any change of a priority attribute.
- Staff call, start and complete service; each action changes the queue item state (section 4.3) with time and actor.
- A manual override of position requires authorization and reason and is shown on the item.
- A patient may hold linked queue items at successive service points; only one is active at a time unless the configuration permits parallel queues.
- The system records waiting and service durations per item for reporting.
- Calling, claiming and assigning are actions on the queue and may be taken from the queue row (UI-ADM-007). Start service is an action on one patient: it is taken from a panel that shows only the called patient, after staff ask the patient for their name and date of birth and these match the panel. The start action names the patient.
- A called patient who does not respond within the configured interval returns to Waiting or moves to Not present, as configured (CFG-ADM-020). Staff may also mark a called patient not present. A Not present item may be recalled or returned to the queue; after the configured number of calls without response it is closed as Cancelled with the reason "not present".
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Encounter | CIN | Yes | Open encounter | Subject |
| Arrival type | Code | Yes | Walk-in, referral, urgent, scheduled, emergency | Route of arrival |
| Service point / queue | Reference | Yes | Active queue accepting the arrival type | Destination |
| Triage category | Code | Conditional | Required where the queue uses triage; value set approved by clinical governance | Priority driver |
| Override reason | Code / text | Conditional | Mandatory for override | Justification |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-FLW-001-1 | Priority attribute changes | Queue re-ordered; change recorded |
| PR-FLW-001-2 | Duplicate arrival for the same encounter at the same service point | Rejected; existing item shown |
| PR-FLW-001-3 | Called patient does not respond within the configured interval | Item returns to Waiting or moves to Not present per configuration |
| PR-FLW-001-4 | Not present item reaches the configured number of calls without response | Item closed as Cancelled with reason "not present" |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Ordered queue | Screen / API | Service staff | With priority basis |
| QueueStateChanged event | Domain event | Boards, Domains 3, 4, 8 | Item state, service point, times |
| Queue ticket | Printed slip (optional, configurable) | Patient | Queue number and service point only |
| Public call display data | Display feed (optional, configurable) | Waiting-area display | Queue number only; never a name; no patient-identifying or clinical data |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Triage category missing on a triage queue | Mandatory | Item held in "awaiting triage" at the head of the triage worklist | "Triage category required." |
| Override without authorization | Authorization | Reject; audit | "Supervisor authority required." |
| Invalid state action (for example complete before start) | State model | Reject | State-specific message |
| Start service requested from the queue row | Interaction rule | Not offered on the row; available only on the panel showing the called patient | "Ask the patient's name and date of birth, then start service for (patient name)." |
11. State and Lifecycle Behaviour
Queue item lifecycle of section 4.3, including the Not present state.
12. Audit Requirements
Arrival, every state change, every priority change and every override are audited with actor, time, before and after values and reason.
13. Security and Privacy Requirements
Staff queue views are Confidential. Public call displays show the queue number only: never a name, and no diagnosis or service detail.
14. Acceptance Criteria
- AC-01: Given arrivals of each of the five types, when recorded, then each creates a queue item in a queue that accepts that type.
- AC-02: Given a queue with a triage-based rule, when a higher-priority patient arrives later, then that patient is ordered ahead according to the rule.
- AC-03: Given a manual override, when applied by an authorized user, then the reason and actor are stored and visible; an unauthorized attempt is rejected.
- AC-04: Given any queue, when its history is audited, then the order at any time can be reconstructed from recorded attributes and changes.
- AC-05: Given a called patient who does not respond, when the configured interval passes with the action "not present", then the item is Not present, can be recalled or returned to the queue, and is closed as Cancelled after the configured number of calls.
- AC-06: Given a called patient, when staff start service, then the action is taken from the panel showing that patient alone, and the public call display has shown only the queue number.
15. Dependencies and Integration
- Upstream dependencies: FR-ADM-ENC-001, FR-ADM-SCH-002 (check-in); triage outcome from Domain 3.
- Downstream dependencies: FR-ADM-FLW-002; Domain 8.
- Required events or APIs: IF-ADM-007; EVT-ADM-023 QueueStateChanged.
16. Open Questions / Assumptions
- The triage scale and its categories are clinical content owned by clinical governance and recorded by Domain 3; Domain 1 stores the resulting category for routing (XD-ADM-005).
- The no-response interval is not given in the sources; the default is 3 minutes, with Not present after the second missed call (CFG-ADM-020).
Requirement FR-ADM-FLW-002: Real-time patient-flow boards¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ADM-FLW-002 |
| Requirement Name | Real-time patient-flow boards |
| Requirement Type | Functional |
| Module | Queue management, triage routing and patient-flow boards |
| Functional Area | FA-ADM-019 Patient-flow boards |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | FLOW-003; SAFE-003, NFR-003, ANA-001 (contribute) |
| Related Business Rule | BR-ADM-024 |
| Related Workflow | WF-ADM-008, WF-ADM-004, WF-ADM-006 |
1. Requirement Statement
The system shall provide real-time patient-flow boards showing waiting, triage, consultation, diagnostics, admission and discharge states, with state changes propagated to the boards within the approved latency objective.
2. Business Rationale
Staff coordinate care from a shared picture of where each patient is and what they are waiting for. A board that is late or silently stale misdirects work.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Emergency, clinic, ward and flow staff | Read | Boards for assigned units; patient detail per role and care relationship |
| Wall display (registered display device) | Read (configured boards only) | Display-device identity issued by Domain 10 (FR-ESS-IAM-003); no user session; no patient-level actions |
| Scheduling and flow administrator | Update (board configuration) | Governed configuration |
4. Preconditions - Board definitions are configured; the events feeding the projection are subscribed.
5. Trigger - Any queue, encounter, ADT, bed or transfer event; relevant status events from Domains 3 and 4.
6. Functional Behaviour
- The system maintains a flow-state projection per open encounter, derived from authoritative Domain 1 events and from consultation and diagnostic status events published by Domains 3 and 4.
- The projection represents at least the states waiting, triage, consultation, diagnostics, admission (including awaiting bed) and discharge (including pending discharge).
- Boards present the projection by unit: emergency department board (UI-ADM-008), ward and bed board (UI-ADM-004), and on UI-ADM-012 the ward board, the clinic board and a third layout, "Admissions and discharges", for flow coordinators.
- Each board row shows patient identity (name and at least one additional approved identifier, subject to the board's privacy setting), current state, time in state, location, responsible team where applicable, and indicators such as isolation, pending transfer and unacknowledged handover.
- Each board shows its last-updated time and a stale indicator when the projection is older than the configured threshold (default 5 minutes, CFG-ADM-021) or when a feeding source is known to be delayed. The stale indicator reads "Not updated for [n] minutes".
- Boards are read models; all changes are made through the owning transaction, not by editing the board.
- The projection can be rebuilt from retained events after failure.
- A wall display signs in under a registered display-device identity, a non-interactive device identity issued by Domain 10 (FR-ESS-IAM-003). It has read-only scope limited to the boards configured for it, runs no user session and offers no patient-level actions. Its privacy setting (initials and bed by default) is part of the display's configuration.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Domain 1 events | Versioned events | Yes | Schema-validated, deduplicated, ordered per encounter | Authoritative flow inputs |
| Domain 3 and Domain 4 status events | Versioned events | Per board configuration | Schema-validated | Consultation and diagnostic progress |
| Board definition | Configuration | Yes | Approved | Unit, layout, columns, filters, privacy setting, staleness threshold, registered display devices |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-FLW-002-1 | Event received out of order | Applied according to per-encounter sequence; later state is not overwritten by an older event |
| PR-FLW-002-2 | Projection age exceeds threshold | Stale indicator "Not updated for [n] minutes" shown with the last-updated time |
| PR-FLW-002-3 | Clinical or diagnostic status feed unavailable | Board continues with Domain 1 states and marks the affected columns as not current |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Flow boards | Screen (workstation and wall display modes; UI-ADM-004, UI-ADM-008, UI-ADM-012) | Unit staff | Current flow state |
| Flow-state read model | API / event feed | Domain 8 (operational dashboards), Domain 3 workspaces | Projection for reuse |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Board cannot refresh | Freshness check | Stale indicator with last-updated time | "Not updated for [n] minutes." with the last-updated time |
| Wall display requests patient detail or another board | Policy decision | Deny; audit | None on the display |
| User opens patient detail without authorization | Policy decision | Deny; audit | Authorization message |
11. State and Lifecycle Behaviour
The projection has no independent lifecycle; it reflects the states of encounter, queue item, bed and transfer.
12. Audit Requirements
Opening patient detail from a board is audited as a record view. Display of a board on a wall display is logged per display device and board, not per patient (proposed, to be validated with the security and privacy office).
13. Security and Privacy Requirements
Wall-display mode runs under the display-device identity described in part 6 and applies the display's configured privacy setting (initials and bed by default; UX-ADM-008). Boards respect restricted-location labels. Authorization is enforced by the service, not by hiding columns in the user interface (PRS 10.2).
14. Acceptance Criteria
- AC-01: Given a queue, encounter or bed state change, when it commits, then the relevant boards show the new state within the approved latency objective (proposed baseline: p95 under 5 seconds, NFR-003).
- AC-02: Given a patient moving through waiting, triage, consultation, diagnostics, admission and discharge, when each change occurs, then the board shows each state in turn.
- AC-03: Given the event feed is interrupted, when the staleness threshold passes, then the board shows a stale indicator and the last-updated time.
- AC-04: Given a board total, when compared with source transactions for the same moment, then the counts reconcile.
- AC-05: Given a wall display signed in under its display-device identity, when it requests patient detail or a board not configured for it, then the request is denied, and the board it shows names patients by initials and bed unless its configuration says otherwise.
15. Dependencies and Integration
- Upstream dependencies: all Domain 1 events; Domain 3 and Domain 4 status events; Domain 2 event backbone.
- Downstream dependencies: Domain 8 operational dashboards (ANA-001).
- Required events or APIs: IF-ADM-007; EVT-ADM-023, EVT-ADM-016, EVT-ADM-009 to EVT-ADM-011.
16. Open Questions / Assumptions
- "Approved latency objective" in FLOW-003 is taken as NFR-003 until a board-specific objective is approved.
- The consultation state comes from the Domain 1 queue (In service); the diagnostic states come from existing Domain 3 order events and Domain 4 fulfilment and imaging events, listed in closure and flow-board inputs (GAP-ADM-008, closed 17 Nov 2026; XD-ADM-005, XD-ADM-008). The split between Domain 1 operational boards and Domain 8 operational dashboards follows the brief position and REF-002 (DEC-ADM-010).
Requirement FR-ADM-FLW-003: Emergency arrival, rapid registration, triage routing and disposition hand-off¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ADM-FLW-003 |
| Requirement Name | Emergency arrival, rapid registration, triage routing and disposition hand-off |
| Requirement Type | Functional |
| Module | Queue management, triage routing and patient-flow boards |
| Functional Area | FA-ADM-020 Emergency arrival and triage routing |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | SPEC-001 (administrative and flow part), FLOW-002, PAT-010; BCP-007 (contributes); REF-003 section 8.2 |
| Related Business Rule | BR-ADM-007, BR-ADM-018 |
| Related Workflow | WF-ADM-003 |
1. Requirement Statement
The system shall support the administrative and flow steps of the emergency workflow (rapid registration, routing by triage category, re-routing on reassessment, and disposition into discharge, transfer or admission) such that they can be completed without dependency on non-critical modules.
2. Business Rationale
Emergency intake is life-critical (PRS 12.1). It must not wait for full registration, payer verification, portal, analytics or external exchange.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Triage nurse / emergency clinician | Create (rapid registration, provisional identity), Update (triage category, disposition) | Emergency department. The triage category is set and changed in a panel for one identified patient, not in a board row (CUX-04) |
| Registration / admission clerk | Create, Update (complete registration later) | — |
| Bed manager / patient flow coordinator | Read, Update (bed for admission from emergency) | — |
4. Preconditions - Emergency queue, rapid-registration data set and unidentified-patient policy are configured.
5. Trigger - A patient arrives at the emergency department.
6. Functional Behaviour
- Rapid registration creates the person (existing, new or provisional) and the emergency encounter with the minimum data set in a single step, and creates the emergency queue item with arrival type emergency.
- Full registration, payer references and consent references may be completed later; outstanding items appear on the incomplete-registration worklist.
- The triage category recorded by the triage nurse determines the queue and position; resuscitation-level categories are routed directly to the resuscitation area queue without a waiting state where configured.
- Reassessment that changes the triage category re-routes and re-orders the item and records the change.
- Disposition is recorded as one of: discharge (FR-ADM-ADT-003), admitted, transfer to another unit or facility (FR-ADM-TRF-001), left before completion, or death, and closes the emergency queue item. An admission request (FR-ADM-ADT-001) is a flow state, not a disposition: the item stays open in "Awaiting bed" until "Admit from emergency" is confirmed on the encounter and ADT console, which closes it with the disposition "Admitted" (DEC-ADM-008). The board columns are the emergency flow states of section 4.3.
- The steps above depend only on Domain 1 Tier 1 services, Domain 10 authentication and authorization, and Domain 2 platform services. Unavailability of the patient portal, analytics, notification delivery, payer interfaces, external exchange or the scheduling module does not prevent them.
- During total system downtime the approved downtime procedure applies; the system supports later entry of downtime arrivals with their original times and downtime identifiers (BCP-006).
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Rapid-registration data set | Per configuration | Yes | Minimum set only | Identity or unidentified indicator, arrival time, arrival mode |
| Triage category | Code | Yes before placement in the triaged queue | Approved value set of the triage scale (CFG-ADM-028) | Routing driver |
| Disposition | Code | Yes at end of emergency care | Governed value set | Outcome |
| Downtime identifier and original time | String, date-time | Conditional | Unique downtime identifier; time not after entry time | For reconciliation entry |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-FLW-003-1 | Non-critical dependency unavailable | Step completes; deferred work is queued |
| PR-FLW-003-2 | Downtime arrival entered after restoration | Checked against existing encounters by downtime identifier to prevent duplicates; provenance marked "downtime entry" |
| PR-FLW-003-3 | Triage category changes | Queue item re-routed; prior category kept in history |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Emergency encounter and queue item | Stored records; events | Emergency workspace, Domain 3 | Context for clinical emergency care |
| Disposition record and resulting ADT event | Stored record; event | Consumers | Outcome of the emergency episode |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| MPI matching unavailable | — | Provisional identity with duplicate check pending, shown as an amber identity flag | "Duplicate check pending." |
| Shell in read-only mode | Downtime state | Rapid registration not offered; the downtime registration form is pointed to | "Use the downtime registration form. Enter it here after restoration." |
| Duplicate downtime identifier | Uniqueness | Reject second entry; show existing | "This downtime form has already been entered." |
| Disposition missing at queue closure | Mandatory | Block closure | "Record the disposition." |
11. State and Lifecycle Behaviour
Uses the encounter and queue item lifecycles; disposition drives the next encounter transition.
12. Audit Requirements
Rapid registration, triage category changes, disposition and downtime entries are audited with actor, original and recorded times and provenance.
13. Security and Privacy Requirements
Emergency access by staff outside the patient's established care relationship follows the Break-the-Glass process of Domain 10 (SEC-007); rapid registration by emergency staff in the emergency department is ordinary authorized access.
14. Acceptance Criteria
- AC-01: Given portal, analytics, notification delivery, payer interface and external exchange services are stopped, when an emergency patient is registered, triaged, routed and given a disposition of admission, then every Domain 1 step completes.
- AC-02: Given a triaged patient, when reassessment changes the triage category, then the queue position changes accordingly and both categories are in the history.
- AC-03: Given an unidentified emergency patient, when rapid registration is performed, then an encounter exists and the patient is on the emergency board within the approved latency objective.
- AC-04: Given downtime forms for two arrivals, when both are entered after restoration and one is entered twice, then two encounters exist and the duplicate entry is rejected.
15. Dependencies and Integration
- Upstream dependencies: FR-ADM-REG-004, FR-ADM-ENC-001, FR-ADM-FLW-001.
- Downstream dependencies: Domain 3 (triage assessment, reassessment, resuscitation documentation, emergency orders), FR-ADM-ADT-001, FR-ADM-ADT-003, FR-ADM-TRF-001.
- Required events or APIs: EVT-ADM-008, EVT-ADM-023; IF-ADM-001, IF-ADM-003.
16. Open Questions / Assumptions
- SPEC-001 spans Domain 1 (rapid registration, triage routing, disposition and transfer or admission) and Domain 3 (triage assessment, reassessment, resuscitation, orders). This specification covers the Domain 1 part and records SPEC-001 as Partial with Domain 3 as the primary owner of the clinical emergency workflow; the ownership should be confirmed (DEC-ADM-011).
← 5.7 Module Specification: Appointment Scheduling, Resource Calendars and Waitlists | Contents | Identifier index | 5.9 Module Specification: Transfer Coordination and Operational Handover →