MOD FIN 010 REP
Domain specifications / D05-FIN / 5. Detailed Functional Requirements / 5.10 Module Specification: Departmental Consumption and Replenishment
5.10 Module Specification: Departmental Consumption and Replenishment¶
5.10.1 Module Overview¶
Module ID: MOD-FIN-010 (code REP)
Purpose:
Record departmental issue, transfer, return and consumption of stock, trigger replenishment, and give consuming departments a reliable view of stock availability and procurement status.
Business Capabilities: - CAP-FIN-010 Departmental consumption and replenishment
Primary Actors: - Department requester (ACT-FIN-010), inventory controller (ACT-FIN-008), pharmacy stores staff (ACT-FIN-009), clinical event source (ACT-FIN-015)
Dependencies: - MOD-FIN-008, MOD-FIN-009, MOD-FIN-001 - Domain 3 and 4 consumption events; Domain 10 notification
5.10.2 Functional Areas¶
Functional Area ID: FA-FIN-023 Departmental issue and consumption
Description:
Movement of stock to and within departments and capture of what is consumed, including patient-chargeable supplies.
Scope: - Included: issue to department, inter-department transfer, return, patient-level and department-level consumption. - Excluded: recording of implants, counts and procedure detail in the clinical record (Domain 4).
Functional Area ID: FA-FIN-024 Replenishment and availability
Description:
Reorder evaluation and publication of availability and procurement status.
Scope: - Included: reorder parameters, triggers, proposals; availability read model. - Excluded: demand forecasting analytics (Domain 8).
5.10.3 Detailed Requirements¶
Requirement FR-FIN-REP-001: Departmental issue, transfer, return and consumption capture¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-FIN-REP-001 |
| Requirement Name | Departmental issue, transfer, return and consumption capture |
| Requirement Type | Functional |
| Module | Departmental Consumption and Replenishment |
| Functional Area | FA-FIN-023 Departmental issue and consumption |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | FIN-005 (issue, transfer, return), FIN-001 (charge capture from supplies); contributes to SPEC-002 |
| Related Business Rule | BR-FIN-014, BR-FIN-015, BR-FIN-016 |
| Related Workflow | WF-FIN-007, WF-FIN-001 |
1. Requirement Statement
The system shall support issue of stock to departments, transfer between locations, return to store, and capture of consumption at department or patient level, posting each to the stock ledger and passing patient-chargeable consumption to charge capture.
2. Business Rationale
FIN-005 requires issue, transfer and return. FIN-001 requires charges from supplies. REF-002 requires that Domain 4 procedure, theatre, ICU and therapy activity feeds charge capture and that departments do not keep their own ledgers.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Inventory controller / pharmacy stores staff | Issue and transfer from assigned stores; reverse a consumption entry at any time, with reason | — |
| Department requester | Record consumption and returns for own department stock; transfer to another department; confirm receipt of a transfer In transit to own department | Own department locations |
| Recording user; department head | Reverse a consumption entry | Within 24 hours of recording; later only the inventory controller, with reason |
| Consumption service identity (Domain 4 procedure / theatre consumption) | Post consumption with patient and encounter reference | Scoped |
4. Preconditions - For an issue or transfer, stock is available at the source location. Consumption for a patient does not depend on the recorded balance.
5. Trigger - Approved requisition for transfer; departmental consumption entry or scan; a consumption event from Domain 3 or 4.
6. Functional Behaviour
- The system issues stock to a department location against a requisition, with lot selection under FR-FIN-INV-003.
- The system records consumption from department stock either as department-level usage (cost centre) or as patient-level usage with patient and encounter reference.
- The system accepts patient-level consumption events from Domain 4 (for example consumables and implants used in a procedure) with item, lot, quantity, patient, encounter and performer, and posts them idempotently.
- For items flagged chargeable, the system emits a chargeable consumption event to charge capture carrying the stock movement reference as the source event.
- The system records returns from department to store with reason and condition, and transfers between departments as paired movements.
- The system provides consumption history by department, item and period, and for patient-level consumption by encounter.
- The system posts a consumption for a patient that has physically happened even when it exceeds the recorded balance; the balance may go negative and a negative-balance stock exception is raised for reconciliation on UI-FIN-018, or on UI-FIN-017 for pharmacy locations (FR-FIN-INV-002 PR-INV-002-03). Issues and transfers are still refused above the available quantity.
- For a controlled item held in department stock, a second person confirms each consumption, return and transfer (BR-FIN-018).
- In downtime entry mode, the system accepts consumption and returns from downtime forms on UI-FIN-016, tagged "Downtime" (FR-FIN-EXC-002).
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Source and destination location | Reference | Per movement type | In use; item permitted | Where |
| Item, lot, quantity | Reference, reference, decimal | Yes (lot where controlled) | Issuable lot; quantity available for issues and transfers; a consumption for a patient is not limited by the recorded balance | What |
| Patient and encounter | Identifiers | For patient-level consumption | Encounter valid | For charging and traceability |
| Performer / recording user | Reference | Yes | Valid | Accountability |
| Requisition or source event reference | Identifier | Yes | Resolves; unique for events | Origin |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-REP-001-01 | Patient-level consumption of a chargeable item produces exactly one chargeable event | No missed or duplicate supply charge |
| PR-REP-001-02 | Department-level consumption produces no patient charge and is attributed to the cost centre | Correct cost attribution |
| PR-REP-001-03 | A consumption entry is reversed by the recording user or the department head within 24 hours of recording; after 24 hours only by the inventory controller, with reason | Controlled correction |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Stock movements | Ledger records | Stock ledger | Issue, transfer, return, consumption |
| Chargeable consumption event | Internal event | MOD-FIN-001 | Supply charge source |
| Consumption history | Screen / report / feed | Department, supply chain, Domain 8 | Usage by department, item, encounter |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Barcode cannot be read | Parse | Reject scan | "Barcode not readable" |
| Expired lot scanned for consumption (interactive) | Lot status | Reject; hard stop | "Product expired · [date]" |
| Lot On hold scanned for consumption | Lot status | Reject; hard stop | "Lot quarantined" |
| Recalled lot scanned for consumption | Lot status and hold reason | Reject; hard stop | "Lot recalled" |
| Scanned GTIN not in the item master | Lookup | Reject scan | "Not a recognized product" |
| Consumption for a patient above the recorded balance | Balance check | Post; raise a negative-balance stock exception | "Recorded. Stock balance is below zero and has been sent for reconciliation" |
| Reversal after 24 hours by a user other than the inventory controller | Time and role check | Reject | "After 24 hours only the inventory controller can reverse this entry" |
| Patient-level entry without encounter | Mandatory check | Reject | "Encounter is required for patient consumption" |
| Consumption event with unknown item | Reference check | Exception item | "Consumed item not in item master" |
11. State and Lifecycle Behaviour
Movements are Posted and corrected only by reversal. A reversed patient-level consumption triggers reversal of its charge. A transfer to a department is In transit until the department confirms receipt, where configured.
12. Audit Requirements
The system shall audit issues, transfers, returns, consumption entries and their reversals with user, location, the second person for controlled items and, for patient-level entries, patient and encounter reference.
13. Security and Privacy Requirements
Patient-level consumption links supplies to a patient and is Confidential; department users see patient-level consumption only for patients in their care context.
14. Acceptance Criteria
- AC-01: Given an approved requisition, when stock is issued to a ward, then paired movements reduce the store and increase the ward location.
- AC-02: Given a chargeable implant consumed in a theatre case and reported by Domain 4, when processed, then one consumption movement with lot exists and one supply charge is posted to the encounter, traceable to the movement.
- AC-03: Given a non-chargeable consumable used at department level, when recorded, then stock is reduced, the cost centre is recorded and no patient charge exists.
- AC-04: Given a consumption entry reversed, when processed, then stock is restored by a reversing movement and the related charge is reversed.
- AC-05: Given a ward location whose recorded balance of an item is zero, when a nurse records use of one unit for a patient, then the consumption is posted, the balance shows minus one, the charge is passed to charge capture and a negative-balance stock exception is raised.
- AC-06: Given a consumption entry recorded 25 hours ago, when the recording user tries to reverse it, then it is rejected, and the inventory controller can reverse it with a reason.
15. Dependencies and Integration
- Upstream dependencies: MOD-FIN-008, MOD-FIN-009; Domain 4 and Domain 3 consumption events.
- Downstream dependencies: MOD-FIN-001; Domain 8.
- Required events or APIs: IF-FIN-010; EVT-FIN-007 StockIssued.
16. Open Questions / Assumptions
- Which supplies are patient-chargeable and which are absorbed in a procedure or accommodation tariff is tariff policy (CFG-FIN-003).
Requirement FR-FIN-REP-002: Replenishment triggers and stock availability for consuming departments¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-FIN-REP-002 |
| Requirement Name | Replenishment triggers and stock availability for consuming departments |
| Requirement Type | Functional |
| Module | Departmental Consumption and Replenishment |
| Functional Area | FA-FIN-024 Replenishment and availability |
| Priority | Should |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS section 5 (capability map: inventory, procurement); FIN-005 (location, requisition); REF-002 Domain 5 modules "Departmental consumption and replenishment" and interaction "Provides stock availability and procurement status to pharmacy, diagnostics, theatre and other consuming departments"; REF-003 section 4.2 (ReorderTriggered) |
| Related Business Rule | BR-FIN-015 |
| Related Workflow | WF-FIN-007, WF-FIN-006 |
1. Requirement Statement
The system shall evaluate stock against configurable replenishment parameters by item and location, raise a reorder trigger and replenishment proposal when a parameter is reached, and provide current stock availability and procurement status to pharmacy, diagnostics, theatre and other consuming departments.
2. Business Rationale
REF-002 assigns replenishment and availability publication to this domain. Stock-out of a medication or critical consumable is a risk to care (section 11). The PRS gives no dedicated requirement identifier for replenishment. The requirement is traced to PRS section 5, FIN-005 and REF-002, and its priority is Should (confirmed 17 Nov 2026, GAP-FIN-004); no PRS change is needed. It is delivered with the inventory core in slice BC-6.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Inventory controller / pharmacy stores staff | Maintain replenishment parameters (draft); review proposals on UI-FIN-014: accept or cancel with reason | Assigned locations; a parameter change takes effect only after approval by a different user |
| Inventory approver (ACT-FIN-019) | Approve replenishment parameter changes | Not the author of the change, as for item-location settings in FR-FIN-INV-001 |
| Department users, pharmacists, clinicians (through Domain 3 and 4 workspaces) | Read availability and procurement status | Read-only |
4. Preconditions - Item-location settings include replenishment parameters.
5. Trigger - A balance change; a scheduled evaluation; an availability query.
6. Functional Behaviour
- The system holds, per item and location, replenishment parameters such as minimum level, reorder point, maximum or par level and supplying location.
- The system evaluates available stock against the parameters, counting stock already on open transfer or order, and publishes ReorderTriggered when the reorder point is reached.
- The system creates a replenishment proposal as a transfer request from the supplying location or a requisition for purchase, for review on UI-FIN-014 or automatic submission as configured.
- The system flags stock-out and below-minimum conditions for items marked critical and notifies the responsible roles through the Domain 10 notification service.
- The system provides an availability API and read model returning, by item and location, available quantity, nearest-expiry information and expected replenishment (open orders with expected dates), with the time the data was last updated.
- The system indicates when availability data is stale so that consumers do not rely on it as current.
- The system applies the approval workflow and effective dates of item-location settings to changes of replenishment parameters (FR-FIN-INV-001 part 6.6).
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Item and location | References | Yes | Item permitted at location | Scope |
| Minimum, reorder point, maximum / par | Decimal | Reorder point required | Minimum not above reorder point; reorder point not above maximum | Parameters |
| Supplying location or purchase route | Reference / code | Yes | Valid | Source of resupply |
| Critical-item flag | Boolean | No | — | Drives notification |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-REP-002-01 | A second trigger is not raised while an open proposal, transfer or order covers the shortfall | No duplicate replenishment |
| PR-REP-002-02 | Availability excludes expired lots and lots On hold | Consumers see usable stock only |
| PR-REP-002-03 | Availability responses carry an "as at" timestamp | Freshness visible (SAFE-003 principle) |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| ReorderTriggered | Domain event | MOD-FIN-009; Domain 8 | Reorder point reached |
| Replenishment proposal | Worklist item | Inventory controller | Transfer or requisition proposal |
| Availability and procurement status | API / read model | Domains 3 and 4 workspaces; departments | Stock and expected resupply |
| Stock-out / below-minimum alert | Notification | Responsible roles | Critical items |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Inconsistent parameters | Range check | Reject | "Reorder point must lie between minimum and maximum" |
| Supplying location has no stock | Availability check | Convert proposal to purchase requisition | "No stock at supplying location; requisition proposed" |
| Availability data older than freshness limit | Timestamp check | Mark stale | "Stock information may be out of date" |
11. State and Lifecycle Behaviour
Replenishment proposal: Proposed, Submitted (as transfer request or requisition), Cancelled (section 4.3). A parameter change is a new version of the item-location settings, in force once approved and effective.
12. Audit Requirements
The system shall audit parameter changes with author and approver, and proposal acceptance or cancellation.
13. Security and Privacy Requirements
Availability data contains no patient data and is Internal. The availability API is read-only for other domains.
14. Acceptance Criteria
- AC-01: Given an item at its reorder point with no open order, when a further issue is posted, then ReorderTriggered is published once and a proposal is created.
- AC-02: Given an open purchase order covering the shortfall, when stock falls further, then no duplicate proposal is created.
- AC-03: Given a pharmacist viewing an item, when availability is requested, then available quantity by location, expected resupply and the "as at" time are returned, excluding expired lots and lots On hold.
- AC-04: Given a critical item at zero available stock, when the balance is updated, then a stock-out alert reaches the configured roles.
15. Dependencies and Integration
- Upstream dependencies: MOD-FIN-008, MOD-FIN-009.
- Downstream dependencies: Domains 3 and 4 (availability consumers); Domain 10 notification; Domain 8.
- Required events or APIs: IF-FIN-009; EVT-FIN-008 ReorderTriggered.
16. Open Questions / Assumptions
- Replenishment methods beyond minimum/reorder-point/par (for example consumption-based forecasting) are not specified by the sources and are out of this draft.
← 5.9 Module Specification: Requisition, Purchasing and Procurement | Contents | Identifier index | 5.11 Module Specification: Financial and Supply-Chain Exception Handling →