MOD FIN 009 PRC
Domain specifications / D05-FIN / 5. Detailed Functional Requirements / 5.9 Module Specification: Requisition, Purchasing and Procurement
5.9 Module Specification: Requisition, Purchasing and Procurement¶
5.9.1 Module Overview¶
Module ID: MOD-FIN-009 (code PRC)
Purpose:
Manage the requisition, approval, purchase order and goods receipt process and its exchange with external procurement and finance systems.
Business Capabilities: - CAP-FIN-009 Procurement
Primary Actors: - Department requester (ACT-FIN-010), requisition / purchase approver (ACT-FIN-012), procurement officer (ACT-FIN-011), inventory controller and pharmacy stores staff
Dependencies: - MOD-FIN-008, MOD-FIN-010, MOD-FIN-007 - Domain 10 workflow, notification and organization registry (suppliers as organizations); Domain 2 procurement / ERP adapter
5.9.2 Functional Areas¶
Functional Area ID: FA-FIN-021 Requisition and purchasing
Description:
Requisition, approval and purchase order lifecycle.
Scope: - Included: requisition; approval routing; purchase order; status visibility to requesters. - Excluded: supplier sourcing, tendering, contract management and supplier payment (external procurement and finance functions).
Functional Area ID: FA-FIN-022 Goods receipt and procurement integration
Description:
Receipt of goods against orders and exchange of requisition, order, receipt and status data with external systems.
Scope: - Included: receipt with lot and expiry; discrepancy handling; documented open interface. - Excluded: supplier invoice matching and accounts payable (external finance system).
5.9.3 Detailed Requirements¶
Requirement FR-FIN-PRC-001: Requisition and purchasing workflow¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-FIN-PRC-001 |
| Requirement Name | Requisition and purchasing workflow |
| Requirement Type | Functional |
| Module | Requisition, Purchasing and Procurement |
| Functional Area | FA-FIN-021 Requisition and purchasing |
| Priority | Must (requisition, FIN-005); Should (purchasing and procurement, FIN-006) |
| Criticality | Medium |
| Requirement Status | Draft |
| Source | FIN-005 (requisition), FIN-006 (procurement); REF-003 section 4.2 (Inventory & Procurement: purchase requests/orders) |
| Related Business Rule | BR-FIN-015 |
| Related Workflow | WF-FIN-006 |
1. Requirement Statement
The system shall support stock requisitions with configurable approval, their fulfilment by internal transfer or by purchase order, and visibility of requisition and procurement status to the requesting department.
2. Business Rationale
FIN-005 requires requisition; FIN-006 requires procurement support. REF-002 requires this domain to provide procurement status to pharmacy, diagnostics, theatre and other consuming departments.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Department requester | Create, submit, cancel own requisitions; read status | Own department locations; cancel only while no line is fulfilled or ordered |
| Requisition / purchase approver | Approve or reject requisitions and purchase orders | Within approval limit; not own requisition; not the creator of the order; reason mandatory for rejection |
| Procurement officer | Create purchase orders and submit them for approval; issue approved orders; send approved requisitions to the external procurement system; update status; close lines short | — |
| Inventory controller | Fulfil requisition by transfer; review replenishment proposals; close lines short | Source location assigned |
4. Preconditions - Items are In use and permitted at the requesting location.
5. Trigger - Department need; ReorderTriggered from MOD-FIN-010.
6. Functional Behaviour
- The system records a requisition with requesting location, items, quantities, required date, urgency and justification.
- The system routes the requisition for approval using configurable rules (for example by value, item category or department) through the Domain 10 workflow capability.
- The system shows availability of each requested item in supplying locations so that the requisition can be fulfilled by transfer where stock exists.
- The system creates a purchase order from approved requisition lines, with supplier, items, quantities, expected price and expected delivery date, or passes the approved requisition to the external procurement system where purchasing is performed there (DEC-FIN-002 option b); the requisition then shows "Sent to external procurement". Only the steps of the configured purchasing model are offered.
- The system tracks purchase order status including partial receipt and expected delivery date changes. A purchase order is submitted for approval and approved by a user other than its creator before it can be issued.
- The system exposes requisition and purchase order status to the requester and to consuming departments.
- The system supports cancellation and short-closing of requisitions and orders with reason. A requisition line can be partly fulfilled; its fulfilled and outstanding quantities are shown, and the remainder can be closed short.
- The system lists replenishment proposals (FR-FIN-REP-002) on UI-FIN-014 for the inventory controller or pharmacy stores staff to accept or cancel; an accepted proposal becomes a requisition or a transfer request.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Requesting location / department | Reference | Yes | In use; requester assigned | Who needs stock |
| Item and quantity | Reference, decimal | Yes | Item in use; quantity greater than zero | What |
| Required date and urgency | Date, code | Yes / No | Date not in the past; urgency Urgent or Routine, default Routine | When |
| Justification | Text | No | — | Why |
| Supplier (purchase order) | Reference | Yes for orders | Active organization | From whom |
| Expected price (purchase order) | Decimal | No | Non-negative | For approval limit and finance mapping |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-PRC-001-01 | A requisition line is fulfilled by transfer, by order, or cancelled; fulfilled quantity cannot exceed approved quantity | No untracked demand |
| PR-PRC-001-02 | Approver differs from requester; the approver of a purchase order differs from its creator | Segregation of duties |
| PR-PRC-001-03 | Urgent requisitions are flagged and routed by the configured urgent path | Faster handling of care-critical demand |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Requisition and purchase order | Record / document | Approver, procurement, supplier | Demand and order |
| Status view | Screen / API | Requester, consuming departments | Procurement status |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Inactive item | Item status | Reject line | "Item is inactive" |
| Order creator approves own order | Segregation | Reject | "You cannot approve an order you created" |
| Order above approver limit | Limit check | Route to next approver | "Requires approval by higher authority" |
| Self-approval | Segregation | Reject | "You cannot approve your own requisition" |
11. State and Lifecycle Behaviour
Requisition, requisition line and purchase order states as in section 4.3. Requisition: Draft, Submitted, Approved, Rejected, Cancelled, Sent to external procurement, Fulfilled, Ordered, Short-closed; a line may be Partially fulfilled or Closed short. Purchase order: Draft, Awaiting approval, Approved, Issued, Partially received, Received, Cancelled, Closed short.
12. Audit Requirements
The system shall audit creation, submission, approval, rejection, change, cancellation and status changes of requisitions and purchase orders.
13. Security and Privacy Requirements
No patient data is held. Supplier prices are Confidential and visible to procurement and finance roles.
14. Acceptance Criteria
- AC-01: Given a submitted requisition, when it is approved by an authorized approver, then it can be fulfilled by transfer or converted to a purchase order and the requester sees each status change.
- AC-02: Given a requisition for an item available in the main store, when it is reviewed, then availability is shown and fulfilment by transfer creates the stock movements and closes the line.
- AC-03: Given a requester who is also an approver, when they try to approve their own requisition, then it is rejected.
- AC-04: Given a purchase order in Draft, when its creator tries to issue it, then it cannot be issued until another user has approved it.
15. Dependencies and Integration
- Upstream dependencies: MOD-FIN-010 (reorder triggers), MOD-FIN-008 (items, availability).
- Downstream dependencies: FR-FIN-PRC-002; Domain 10 workflow and notification.
- Required events or APIs: IF-FIN-011 procurement interface; PurchaseOrderIssued event (EVT-FIN-015, proposed).
16. Open Questions / Assumptions
- Whether purchase orders are authored in the HIS or in an external procurement system is a deployment decision (DEC-FIN-002).
Requirement FR-FIN-PRC-002: Goods receipt and procurement-system integration¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-FIN-PRC-002 |
| Requirement Name | Goods receipt and procurement-system integration |
| Requirement Type | Functional |
| Module | Requisition, Purchasing and Procurement |
| Functional Area | FA-FIN-022 Goods receipt and procurement integration |
| Priority | Should (integration, FIN-006); Must (receipt into stock, FIN-005) |
| Criticality | High |
| Requirement Status | Draft |
| Source | FIN-006, FIN-005; contributes to DEP-001, DEP-007, INT-005 |
| Related Business Rule | BR-FIN-014, BR-FIN-016 |
| Related Workflow | WF-FIN-006 |
1. Requirement Statement
The system shall record receipt of goods against purchase orders into the stock ledger with lot, batch and expiry, and shall exchange requisition, purchase order, receipt and status data with external procurement and finance systems through a documented interface with documented inventory mappings, without requiring a proprietary ERP.
2. Business Rationale
FIN-006 requires procurement and finance-system integration without a proprietary ERP, with interfaces that support documented accounting and inventory mappings. Receipt is the entry point of stock into the ledger (FIN-005).
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Inventory controller / pharmacy stores staff | Record goods receipt; place a lot on hold at receipt; reverse a posted receipt line with reason | Receiving location assigned; receiver is not the order approver; a second person confirms receipt of a controlled item |
| Procurement officer | Resolve receipt discrepancies on UI-FIN-014; resolve unmatched procurement messages on UI-FIN-018 | Reason mandatory |
| Procurement adapter service identity | Exchange messages with external system | Scoped service identity |
4. Preconditions - A purchase order exists, or receipt without order is permitted by configuration (for example donations or consignment) with reason.
5. Trigger - Delivery of goods; a message from the external procurement system.
6. Functional Behaviour
- The system records a goods receipt with purchase order reference, supplier delivery reference, items, received quantities, lot or batch, expiry and receiving location.
- The system posts receipt movements (FR-FIN-INV-002), creates lots (FR-FIN-INV-003) and publishes StockReceived.
- The system updates the purchase order to partially received or received and records over-, under- and wrong-item deliveries and price differences as receipt discrepancies. The procurement officer resolves each with reason on UI-FIN-014.
- The system applies the minimum-shelf-life rule at receipt.
- The system sends requisitions or purchase orders and receipts to the external system, and receives order confirmations and status, in a documented open format with mapping of items, units, locations and suppliers.
- The system reconciles sent, acknowledged and rejected messages against requisitions, orders and receipts and lists unmatched or stale items on the unmatched procurement message worklist on UI-FIN-018.
- The system continues internal requisition, receipt and stock control when the external system is unavailable.
- In downtime entry mode, the system accepts goods receipts from downtime forms on UI-FIN-015, tagged "Downtime" (FR-FIN-EXC-002).
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Purchase order reference | Identifier | Yes unless receipt without order is permitted | Order issued, not closed | What was ordered |
| Item, received quantity, unit | Reference, decimal, code | Yes | Item on order or flagged as wrong item | What arrived |
| Lot / batch and expiry | Text, date | For controlled items | Per FR-FIN-INV-003 | Lot data |
| Supplier delivery reference | Text | Yes | Not empty | Delivery note |
| Receiving location | Reference | Yes | Item permitted | Where received |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-PRC-002-01 | Cumulative received quantity above ordered quantity plus tolerance raises a discrepancy | Over-delivery controlled |
| PR-PRC-002-02 | The same supplier delivery reference for the same order cannot be received twice | No duplicate receipt |
| PR-PRC-002-03 | External messages carry reconciliation identifiers and are idempotent | Safe retry |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Goods receipt record | Record / document | Stores, procurement | Proof of receipt |
| Receipt and order messages | Documented open format | External procurement / finance system | Via Domain 2 |
| Interface mapping documentation | Document | Integration, finance | Inventory mappings |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Duplicate delivery reference | Uniqueness | Reject | "Delivery already received" |
| Expired lot delivered | Expiry check | Block or place On hold per configuration | "Product expired · [date]" |
| Receiver approved the order | Segregation | Reject posting | "The order approver cannot receive this order" |
| External system rejects message | Acknowledgement | Exception item | "Procurement message rejected: reason" |
11. State and Lifecycle Behaviour
Purchase order moves to Partially received or Received. Goods receipt: Draft, Posted, Reversed (section 4.3); a posted receipt is corrected only by reversal movements, line by line, and the reversal restores the outstanding quantity on the order. Receipt discrepancy: Open, Resolved with reason.
12. Audit Requirements
The system shall audit goods receipt, discrepancies, receipt without order, and each interface message with correlation identifier and outcome.
13. Security and Privacy Requirements
System-to-system connectivity is authenticated and encrypted via Domain 2. No patient data is exchanged with procurement systems.
14. Acceptance Criteria
- AC-01: Given an issued purchase order, when a partial delivery is received with lot and expiry, then stock is in the ledger by lot at the receiving location, StockReceived is published and the order is Partially received.
- AC-02: Given the external procurement system is unavailable, when a receipt is recorded, then stock is available internally and the outbound message is delivered after recovery exactly once.
- AC-03: Given the documented interface specification, when an independent party builds a conforming endpoint, then orders and receipts are exchanged without proprietary ERP components.
- AC-04: Given a delivery reference already received, when entered again, then it is rejected.
15. Dependencies and Integration
- Upstream dependencies: FR-FIN-PRC-001.
- Downstream dependencies: MOD-FIN-008, MOD-FIN-007; Domain 2 procurement adapter; external systems.
- Required events or APIs: IF-FIN-011; EVT-FIN-006 StockReceived.
16. Open Questions / Assumptions
- Where purchasing is external (DEC-FIN-002), requisitions, orders, order status and goods receipts are exchanged with the hospital's procurement system as JSON through its REST API, or as CSV files over SFTP, in the published layouts of IF-FIN-011. The reference target, where the hospital has none, is the buying module of ERPNext (Material Request, Purchase Order, Purchase Receipt) (settled 17 Nov 2026, GAP-FIN-006).
← 5.8 Module Specification: Inventory Item Master and Stock Ledger | Contents | Identifier index | 5.10 Module Specification: Departmental Consumption and Replenishment →