Skip to content

MOD ADM 006 BED

Domain specifications / D01-ADM / 5. Detailed Functional Requirements / 5.6 Module Specification: Bed, Ward, Room and Location Management

5.6 Module Specification: Bed, Ward, Room and Location Management

5.6.1 Module Overview

Module ID: MOD-ADM-006

Purpose: Maintain the real-time operational state of beds, rooms, wards, isolation capacity and associated equipment, and reserve and allocate beds without conflict.

Business Capabilities: - CAP-ADM-006 Bed and location management

Primary Actors: - Bed manager / patient flow coordinator (ACT-ADM-004) - Ward nurse / charge nurse (ACT-ADM-005) - Housekeeping / environmental services (ACT-ADM-008)

Dependencies: - MOD-ADM-004, MOD-ADM-005, MOD-ADM-009. - Domain 10: facility and location hierarchy registry (campus, building, floor, ward, room, bed), equipment and resource registry, authorization, audit.

5.6.2 Functional Areas

Functional Area ID: FA-ADM-013 Location and bed state management

Description: Operational state of each bed and room with effective timestamps and responsible unit, including cleaning and turnover.

Scope: - Included: bed states, isolation designation, blocking, out-of-service, equipment availability at the bed or room, cleaning tasks. - Excluded: definition of the location hierarchy (Domain 10); equipment maintenance management; infection-control clinical decisions (Domain 3).

Functional Area ID: FA-ADM-014 Bed reservation and allocation

Description: Selection, reservation and allocation of an eligible bed for an encounter.

Scope: - Included: eligibility rules, atomic reservation, reservation expiry, allocation. - Excluded: theatre and procedure room scheduling (Domain 4).

5.6.3 Detailed Requirements

Requirement FR-ADM-BED-001: Real-time bed, room and location state

Attribute Description
Requirement ID FR-ADM-BED-001
Requirement Name Real-time bed, room and location state
Requirement Type Functional
Module Bed, ward, room and location management
Functional Area FA-ADM-013 Location and bed state management
Priority Must
Criticality High
Requirement Status Draft
Source FLOW-004, ADM-012; PRS section 4.1 (facility model)
Related Business Rule BR-ADM-013, BR-ADM-023
Related Workflow WF-ADM-004, WF-ADM-005, WF-ADM-006

1. Requirement Statement

The system shall manage bed, room, ward, isolation and equipment availability with cleaning and turnover states, maintaining for each bed a real-time state (available, occupied, cleaning, reserved, out-of-service, and blocked) and an isolation attribute that coexists with that state, with effective timestamps and responsible unit.

2. Business Rationale

Accurate bed state is the basis of admission, transfer and capacity decisions. An inaccurate state leads to double allocation or to idle beds while patients wait.

3. Actors and Permissions

Actor Permission Conditions
Bed manager / patient flow coordinator Read, Update (block, unblock, isolation, out-of-service) Reason required
Ward nurse / charge nurse Read, Update (own unit) —
Housekeeping / environmental services Update (start and complete cleaning) Assigned tasks
Other clinical and operational users Read Per facility and role

4. Preconditions - The location hierarchy exists in the Domain 10 registry and beds are marked operational for use.

5. Trigger - Admission, transfer, discharge, reservation, cleaning task update, or a manual state change.

6. Functional Behaviour

  1. Each bed has exactly one current state and an append-only state history with effective time, recorded time, actor, reason and responsible unit.
  2. Discharge or transfer out sets the bed to Cleaning and creates a cleaning task; completion of cleaning sets it to Available. A bed whose isolation attribute was in force gets a terminal-clean step at turnover, shown as "Cleaning · terminal clean" until it is completed; other additional turnover steps are configurable (CFG-ADM-015).
  3. Blocking, isolation designation and out-of-service require a reason and, optionally, an expected end time. Isolation designation sets an attribute on the bed, with the precaution type (contact, droplet, airborne, protective) and its source order, and leaves the bed state unchanged; it is not a bed state. It blocks the other beds of a shared room with the reason "isolation", shown as "Blocked · isolation", or limits them to cohort placement with the same precaution type. Those beds are released when isolation ends and the terminal clean is completed.
  4. The system records attributes used for eligibility: unit, room, isolation capability, bed type, and equipment present or required (for example monitoring), using the Domain 10 resource registry. Isolation capability is an attribute of the room definition held in Domain 10 (DEC-ADM-015); it is separate from the isolation attribute, which says whether isolation is in force.
  5. The system derives room and ward availability from bed states and exposes a census (occupied, available, reserved, cleaning, blocked, out-of-service) per unit, with beds under isolation counted separately so that the state counts add up to the number of beds.
  6. Every state change is published as an event and reflected on boards within the approved latency objective.
  7. Only transitions in the bed state model (section 4.3) are permitted.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Bed Location reference Yes Operational bed in registry Target
Requested state Code Yes Permitted transition New state
Reason Code / text Conditional Mandatory for blocked, isolation, out-of-service Justification
Precaution type Code Conditional Mandatory for isolation designation; contact, droplet, airborne or protective Isolation in force
Source order Order reference Conditional Mandatory for isolation designation; order in Domain 3 Basis of the isolation
Effective time Date-time Yes (defaults to now) Not earlier than the last state's effective time When the change took effect
Expected end Date-time No After effective time Planning aid

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-BED-001-1 Manual change to Available while an encounter occupies the bed Rejected
PR-BED-001-2 Cleaning completed Bed becomes Available; cleaning duration recorded
PR-BED-001-3 Bed removed from the registry while Occupied or Reserved Change is flagged to the bed manager; state is not silently dropped
PR-BED-001-4 Isolation designated on a bed in a shared room Isolation attribute set; bed state unchanged; the other beds of the room are blocked with reason "isolation" or limited to cohort placement
PR-BED-001-5 Bed with isolation in force is vacated Cleaning includes the terminal-clean step; room-mates' beds are released when it is completed

9. Output Requirements

Output Format Recipient Description
Bed state and history API (FHIR Location where applicable) / screen Users, consumers Current and historical state
Unit census Read model Boards, Domain 8 Counts by state
Bed state events Domain events Subscribed domains EVT-ADM-016 to EVT-ADM-018

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Invalid transition (for example Cleaning to Occupied) State model Reject "Bed must be Available or Reserved before occupancy."
Missing reason Mandatory Block "Enter the reason."
Stale board data Freshness threshold Stale indicator Last-updated time shown

11. State and Lifecycle Behaviour

Defines the bed lifecycle of section 4.3.

12. Audit Requirements

All manual state changes are audited with actor, reason and before and after state. System-driven changes reference the ADT transaction that caused them.

13. Security and Privacy Requirements

Bed state alone is Internal; bed state linked to a patient is Confidential. Isolation status can reveal clinical information and is shown only to roles that need it.

14. Acceptance Criteria

  • AC-01: Given a discharge, when it commits, then the bed is in Cleaning and is not offered for allocation.
  • AC-02: Given a bed in Cleaning, when housekeeping completes the task, then the bed is Available and the board updates within the approved latency objective.
  • AC-03: Given any bed, when its history is viewed, then every state has effective timestamp and responsible unit.
  • AC-04: Given a bed in each state, when a transition outside the state model is attempted, then it is rejected.
  • AC-05: Given an occupied bed in a shared room, when isolation is designated with a precaution type and source order, then the bed stays Occupied with the isolation attribute, the other beds of the room show "Blocked · isolation" or are limited to cohort placement, and the census still adds up to the number of beds.
  • AC-06: Given a bed with isolation in force, when the patient is discharged, then the bed shows "Cleaning · terminal clean" and is not Available until the terminal clean is completed.

15. Dependencies and Integration

  • Upstream dependencies: Domain 10 location and resource registries; ADT transactions.
  • Downstream dependencies: FR-ADM-BED-002, FR-ADM-FLW-002; Domain 5 (accommodation charging), Domain 8 (occupancy reporting, ANA-001).
  • Required events or APIs: IF-ADM-005; EVT-ADM-016 BedStateChanged.

16. Open Questions / Assumptions

  • Isolation is an attribute that coexists with the bed state, with room constraints and a terminal-clean step at turnover (DEC-ADM-005, resolved 2026-11-17). ADM-012 lists isolation among the bed states; this requirement meets it through the attribute.
  • FLOW-004 includes "equipment availability". Domain 1 holds availability of equipment as a bed or room attribute and as a schedulable resource; equipment asset and maintenance records are outside this domain (ASM-ADM-006).
  • Housekeeping staff work cleaning tasks in the HIS work list on a handheld, and the bed board embeds the same task list. An external housekeeping system, if the hospital uses one, reports through the same bed turnover transaction (EXT-ADM-007; GAP-ADM-004, closed 17 Nov 2026).

Requirement FR-ADM-BED-002: Conflict-free bed reservation and allocation

Attribute Description
Requirement ID FR-ADM-BED-002
Requirement Name Conflict-free bed reservation and allocation
Requirement Type Functional
Module Bed, ward, room and location management
Functional Area FA-ADM-014 Bed reservation and allocation
Priority Must
Criticality Critical
Requirement Status Draft
Source FLOW-004, ADM-012; SAFE-004 (contributes)
Related Business Rule BR-ADM-013, BR-ADM-014
Related Workflow WF-ADM-004, WF-ADM-005

1. Requirement Statement

The system shall prevent a bed from being allocated while it is blocked, occupied or under cleaning, shall prevent conflicting allocations of the same bed, and shall respect isolation and resource constraints when a bed is reserved or allocated.

2. Business Rationale

Double allocation and placement of a patient in an unsuitable bed (for example a patient requiring isolation in a shared room) are operational and safety failures.

3. Actors and Permissions

Actor Permission Conditions
Bed manager / patient flow coordinator Create, Update, Delete (reservation); allocate All units in scope
Ward nurse / charge nurse Create (reservation), allocate Own unit
Registration supervisor Approve (constraint override) Reason mandatory; hard state rules cannot be overridden

4. Preconditions - An admission or transfer request exists for the encounter.

5. Trigger - A bed search, reservation, release or allocation request.

6. Functional Behaviour

  1. Bed search returns beds whose state is Available, whose isolation attribute and room constraints are compatible with the isolation need of the encounter, and which satisfy the request's constraints: unit or service, bed type, isolation requirement, required equipment and any locally configured restrictions.
  2. Beds failing a soft constraint are listed separately with the unmet constraint, so that an authorized user may override with a reason. State rules (blocked, occupied, cleaning, out-of-service, reserved for another encounter) are hard and cannot be overridden.
  3. Reservation sets the bed to Reserved for one encounter atomically; a concurrent request for the same bed fails with a conflict.
  4. A reservation has an expiry; on expiry the bed returns to Available and the bed manager is notified.
  5. Allocation (occupancy) is performed only as part of an admission or transfer transaction and only for the encounter holding the reservation, or for an Available bed in a single reserve-and-occupy step.
  6. An encounter occupies at most one bed at a time; allocation of a new bed vacates the previous one in the same transaction.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Encounter CIN Yes Open encounter Beneficiary
Bed requirements Coded set Yes Value sets Unit, type, isolation, equipment
Bed Location reference Yes (reserve / allocate) Hard and soft rules Target bed
Reservation expiry Date-time Yes (default from configuration) In the future Hold limit
Override reason Code / text Conditional Mandatory for a soft-constraint override Justification

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-BED-002-1 Concurrent reservations of one bed Exactly one succeeds
PR-BED-002-2 Isolation need does not match the bed or room Hard failure where configured as hard; otherwise soft with override
PR-BED-002-3 Reserved bed becomes Blocked or Out of service Reservation invalidated; request returns to awaiting bed; notification raised
PR-BED-002-4 Repeated request with the same idempotency key Original result returned
PR-BED-002-5 Bed in a shared room where isolation is in force on another bed Not offered while "Blocked · isolation"; offered for cohort placement only to an encounter with the same precaution type where the room is limited to cohort placement

9. Output Requirements

Output Format Recipient Description
Eligible bed list Screen / API Bed manager, ward With unmet soft constraints shown
Reservation Stored record; BedReserved event Boards, consumers Bed, encounter, expiry

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Bed blocked, occupied, cleaning or out of service BR-ADM-013 Reject "Bed cannot be allocated: (current state)."
Concurrent conflict BR-ADM-014 Reject the later request "Bed was just reserved by another user. List refreshed."
Soft constraint unmet without override Constraint check Reject Unmet constraint listed; override option for authorized users

11. State and Lifecycle Behaviour

Drives bed transitions Available to Reserved, Reserved to Occupied and Reserved to Available.

12. Audit Requirements

Reservations, releases, expiries, allocations and overrides are audited with actor, encounter, bed, reason and time.

13. Security and Privacy Requirements

Override is a distinct privilege. The eligible-bed list does not expose other patients' identities beyond what the role permits.

14. Acceptance Criteria

  • AC-01: Given a bed that is blocked, occupied or under cleaning, when allocation is attempted, then it is refused.
  • AC-02: Given two users reserving the same Available bed at the same moment, when both submit, then one reservation exists and the other user receives a conflict.
  • AC-03: Given an encounter with an isolation requirement, when beds are searched, then beds that do not satisfy the requirement are not offered as eligible.
  • AC-04: Given a reservation past its expiry, when the expiry time passes, then the bed is Available and the bed manager is notified.
  • AC-05: Given a shared room with isolation in force on one bed, when beds are searched, then the other beds of the room are not offered, except for cohort placement with the same precaution type where configured.

15. Dependencies and Integration

16. Open Questions / Assumptions

  • The constraint catalogue and which constraints are hard or soft are configuration to be approved by operations and clinical governance (CFG-ADM-014). REF-004 mentions gender and age restrictions where locally applicable and staffing constraints; these are treated as optional local constraints.
  • The default reservation expiry is not given in the sources; the default is 2 hours (CFG-ADM-013).

← 5.5 Module Specification: Admission, Discharge and Transfer (ADT) | Contents | Identifier index | 5.7 Module Specification: Appointment Scheduling, Resource Calendars and Waitlists →