Skip to content

MOD FIN 011 EXC

Domain specifications / D05-FIN / 5. Detailed Functional Requirements / 5.11 Module Specification: Financial and Supply-Chain Exception Handling

5.11 Module Specification: Financial and Supply-Chain Exception Handling

5.11.1 Module Overview

Module ID: MOD-FIN-011 (code EXC)

Purpose:
Make every financial and supply-chain transaction that could not complete normally visible, owned and resolved, and prove that source activity and ledgers reconcile, including after downtime.

Business Capabilities: - CAP-FIN-011 Exception handling and reconciliation

Primary Actors: - Billing officer, claims officer, inventory controller, pharmacy stores staff, finance accountant, finance supervisor

Dependencies: - All FIN modules; Domain 10 workflow and notification; Domain 2 interface reconciliation, replay and source event counts for events from Domains 1, 3 and 4

5.11.2 Functional Areas

Functional Area ID: FA-FIN-025 Exception workqueues and reconciliation

Description:
Exception items, their assignment, escalation and resolution, and reconciliation of source events to charges.

Scope: - Included: charge, claim, remittance, posting, stock and procurement exceptions; source-event-to-charge reconciliation. - Excluded: interface transport dead-letter handling and replay tooling (Domain 2); enterprise stewardship queues for master data (Domain 10).

Functional Area ID: FA-FIN-026 Downtime reconciliation

Description:
Controlled entry and reconciliation of downtime transactions.

Scope: - Included: downtime charges, payments, receipts and stock movements. - Excluded: clinical downtime documentation (owning clinical domains) and downtime technical enablement (Domain 2).

5.11.3 Detailed Requirements

Requirement FR-FIN-EXC-001: Exception workqueues and source-to-ledger reconciliation

Attribute Description
Requirement ID FR-FIN-EXC-001
Requirement Name Exception workqueues and source-to-ledger reconciliation
Requirement Type Functional
Module Financial and Supply-Chain Exception Handling
Functional Area FA-FIN-025 Exception workqueues and reconciliation
Priority Must
Criticality High
Requirement Status Draft
Source RCM-003, RCM-004, RCM-009; PRS section 27 (Financial event reconciliation); contributes to DAT-005, INT-005, INF-003
Related Business Rule BR-FIN-020, BR-FIN-001
Related Workflow WF-FIN-001, WF-FIN-004, WF-FIN-007

1. Requirement Statement

The system shall place every financial or supply-chain transaction that fails validation, mapping, pricing, posting, matching or reconciliation on a workqueue with reason, owner and age, and shall reconcile clinical billable source events to charge items so that every event is accounted for as charged, non-chargeable or explicitly exceptioned.

2. Business Rationale

RCM-003 requires all events to be replayed and reconciled after an outage; RCM-004 requires each charge to be reconcilable to its source event; PRS section 27 proposes that 100% of clinical billable events are accounted for or explicitly exceptioned. DAT-005 requires stewardship queues for failed reconciliations.

3. Actors and Permissions

Actor Permission Conditions
Billing officer, claims officer, inventory controller, pharmacy stores staff, procurement officer, finance accountant Read, take, resolve exception items in their queues Queue membership
Finance supervisor / stores manager (ACT-FIN-020) Reassign, escalate, approve closure without correction Reason mandatory
Reconciliation service identity Run reconciliation; create exception items Scheduled

4. Preconditions - Source domains provide event identifiers and counts, or the event backbone provides a retained record, sufficient to compare with processed events.

5. Trigger - A processing failure in any FIN module; a scheduled reconciliation; recovery from an outage.

6. Functional Behaviour

  1. The system creates an exception item for each failed transaction with type, reason, affected references (patient, encounter, claim, item, location), financial or stock value where known, and creation time.
  2. The system routes items to workqueues by type and organizational scope, supports assignment, and escalates items older than a configurable age.
  3. The system lets an authorized user correct the cause and reprocess the original transaction idempotently, or close the item with a reason (for example confirmed non-chargeable).
  4. The system reconciles, per period and source event type, the events published by source domains against charge outcomes and lists every event with no outcome.
  5. The system reconciles stock-affecting source events against stock movements in the same way. Stock discrepancies found by pharmacy and controlled-substance reconciliation (FR-FIN-INV-005) are held as one item per item, location and period and worked on UI-FIN-017; negative-balance stock exceptions at other locations, transfer differences and unmatched procurement messages (FR-FIN-PRC-002) are worked on UI-FIN-018.
  6. The system reports queue volumes, ageing, resolution reasons and the reconciliation completeness percentage, and provides the data to Domain 8.
  7. The system never resolves an exception by altering the source clinical record; a source correction is requested from the owning domain.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Exception type and reason Code, text Yes Configured types Classification
Affected references Identifiers Yes At least one resolvable reference Context
Resolution action and reason Code, text Yes at resolution Configured list Outcome
Reconciliation period and event types Date range, codes Yes for a run Period closed for late events per configured lag Scope

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-EXC-001-01 Completeness equals (charged plus non-chargeable plus exceptioned events) divided by source events for the period Target 100% (PRS section 27, proposed)
PR-EXC-001-02 Reprocessing uses the original event identifier No duplicate effect
PR-EXC-001-03 An item cannot be closed without a resolution reason Accountable closure

9. Output Requirements

Output Format Recipient Description
Exception workqueues Worklist Queue owners Items with reason, age, value
Source-to-charge reconciliation report Report Billing, finance Events versus outcomes; unaccounted list
Exception and reconciliation measures Events / extract Domain 8 For dashboards and KPIs

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Source event count unavailable Data availability Mark reconciliation incomplete; alert "Source counts unavailable for EVENT TYPE"
Reprocess fails again Processing outcome Item stays open with updated reason "Reprocessing failed: reason"
Close without reason Mandatory check Reject "A resolution reason is required"

11. State and Lifecycle Behaviour

Exception item: Open, Assigned, Resolved (reprocessed), Closed with reason; Escalated is a flag on open items. A stock discrepancy uses the states Open, Under review and Resolved with reason instead, with the same Escalated flag (section 4.3). Screens show the exception item states as "Open", "Assigned · [name]", "Resolved" and "Closed · [reason]" (design glossary 10).

12. Audit Requirements

The system shall audit creation, assignment, escalation, reprocessing and closure of exception items and each reconciliation run with its result.

13. Security and Privacy Requirements

Exception items may reference patients and encounters; queue access is limited to members and scoped by facility. Items show identifiers and the minimum descriptive data needed to resolve them.

14. Acceptance Criteria

  • AC-01: Given an event with no charge mapping, when processed, then an exception item appears on the charge exception queue with reason, and after the mapping is added and the item reprocessed, then one charge exists and the item is Resolved.
  • AC-02: Given a period with 1,000 billable source events of which 990 are charged, 6 non-chargeable and 4 exceptioned, when reconciliation runs, then completeness is 100% and the 4 exceptions are listed.
  • AC-03: Given one source event with no outcome, when reconciliation runs, then it is listed as unaccounted and an exception item is created.
  • AC-04: Given an exception older than the configured age, when the escalation check runs, then it is escalated to the supervisor.

15. Dependencies and Integration

  • Upstream dependencies: all FIN modules; Domains 1, 3 and 4 (event identifiers); Domain 2 (subscription counts, retained events, replay).
  • Downstream dependencies: Domain 8; Domain 10 notification.
  • Required events or APIs: IF-FIN-001, IF-FIN-010; FinancialExceptionRaised event (EVT-FIN-016, proposed).

16. Open Questions / Assumptions

  • Source event counts come from the Domain 2 backbone subscription counts and the domain event archive, by event type, facility and day; a day is reconciled once 24 hours have passed after it ends, so that late events are counted (IF-FIN-001; settled 17 Nov 2026, GAP-FIN-001).

Requirement FR-FIN-EXC-002: Downtime entry and reconciliation of charges, payments and stock

Attribute Description
Requirement ID FR-FIN-EXC-002
Requirement Name Downtime entry and reconciliation of charges, payments and stock
Requirement Type Functional
Module Financial and Supply-Chain Exception Handling
Functional Area FA-FIN-026 Downtime reconciliation
Priority Must
Criticality High
Requirement Status Draft
Source PRS section 14.2 (reconcile charges on restoration); contributes to BCP-005, BCP-006, BCP-007, SAFE-005, DAT-004
Related Business Rule BR-FIN-003, BR-FIN-012
Related Workflow WF-FIN-009

1. Requirement Statement

The system shall support controlled entry of charges, payments, receipts and stock movements recorded on downtime forms, preserving the downtime form number, actual event time, recorded time and author, shall prevent duplicates, and shall report reconciliation of all downtime forms after restoration.

2. Business Rationale

PRS section 14.2 requires that on restoration charges are reconciled with source and time attribution and that duplicates and unresolved discrepancies are identified. BCP-006 requires controlled reconciliation of downtime entries including duplicate prevention and provenance.

3. Actors and Permissions

Actor Permission Conditions
Billing officer, cashier, inventory controller, pharmacy stores staff, department requester Create downtime entries; charges on UI-FIN-002, payments and receipts on UI-FIN-005, stock entries on UI-FIN-015 (receipts) and UI-FIN-016 (consumption and returns) Downtime entry mode enabled for the incident
Finance supervisor / stores manager Open and close a downtime reconciliation; approve late or overridden entries —

4. Preconditions - A downtime incident is recorded with start and end time. - Downtime forms and manual receipts are uniquely numbered (PRS section 14.2).

5. Trigger - Service restoration.

6. Functional Behaviour

  1. The system opens a downtime reconciliation for the incident and the affected cash points, stores and departments.
  2. The system accepts back-dated entries only in downtime entry mode, each with form number, actual event time and author, and marks them as downtime entries, shown with the tag "Downtime" in every list. Entries are made on the normal transaction screens: charges on the charge review screen UI-FIN-002, payments and manual receipts on the cashier workspace UI-FIN-005, goods receipts on UI-FIN-015, consumption and returns on UI-FIN-016.
  3. The system checks each entry for a likely duplicate (same patient or location, item or service, quantity or amount and time window, or same form number) and requires explicit confirmation or rejection.
  4. The system processes queued and replayed events idempotently before or alongside manual entry and matches manual entries to events where both exist.
  5. The system prices downtime charges by actual event time.
  6. The system records the range of downtime form and manual receipt numbers issued, and reports which are entered, void or missing.
  7. The system raises exception items for unresolved discrepancies and closes the reconciliation only when all forms are accounted for or formally excepted.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Downtime incident Reference Yes Open reconciliation Context
Form / manual receipt number Text Yes Unique; within issued range Provenance
Actual event time Timestamp Yes Within incident window, or approved exception When it happened
Transaction data As for the normal transaction Yes Normal validation rules Charge, payment or movement

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-EXC-002-01 A form number can be entered once No duplicate entry
PR-EXC-002-02 Event time and recorded time are stored separately and both shown Correct provenance (DAT-004)
PR-EXC-002-03 A manual entry matched to a replayed event produces one business effect No duplicate charge, payment or movement

9. Output Requirements

Output Format Recipient Description
Downtime reconciliation report Report Finance, stores, incident command Forms issued, entered, void, missing; discrepancies
Downtime-flagged transactions Ledger records All FIN modules Marked with provenance

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Duplicate form number Uniqueness Reject "Form N has already been entered"
Likely duplicate of existing transaction Similarity check Require confirm or reject "Possible duplicate of transaction X"
Event time outside incident window Window check Require approval "Outside downtime window; approval required"

11. State and Lifecycle Behaviour

Downtime reconciliation: Open, In progress, Closed (section 4.3). Screens show Open and In progress as "Reconciliation in progress" and Closed as "Reconciled"; entries show "Unreconciled", "Reconciled" or "Exception" (design glossary 6 and 8). Downtime entries follow the normal lifecycle of their transaction type.

12. Audit Requirements

The system shall audit enabling of downtime entry mode, every downtime entry, duplicate decisions, approvals and reconciliation closure.

13. Security and Privacy Requirements

Downtime entry mode is enabled only for a recorded incident and for authorized roles. Paper forms remain under the chain-of-custody procedure defined by the hospital.

14. Acceptance Criteria

  • AC-01: Given manual receipts issued during a downtime, when they are entered after restoration, then each payment carries the receipt number, actual time and author and the cashier session reconciles.
  • AC-02: Given a downtime charge that also arrives as a replayed event, when both are processed, then one charge exists.
  • AC-03: Given issued form numbers 101 to 120 with 118 not entered, when the reconciliation report is run, then 118 is listed as missing and the reconciliation cannot be closed without a recorded disposition.
  • AC-04: Given a downtime stock issue entered with an event time before a tariff or lot status change, when processed, then the event time is used for pricing and for the movement history.

15. Dependencies and Integration

  • Upstream dependencies: Domain 2 (replay under controlled procedure, downtime technical enablement); source domains' downtime reconciliation.
  • Downstream dependencies: all FIN modules.
  • Required events or APIs: IF-FIN-001, IF-FIN-010.

16. Open Questions / Assumptions

  • Downtime forms for cashiering, stores and pharmacy stores are hospital-owned documents to be approved before go-live (BCP-005); their design is outside this specification.

← 5.10 Module Specification: Departmental Consumption and Replenishment | Contents | Identifier index | 6. User Interface and Interaction Requirements →