Domain specifications / D05-FIN / 6. User Interface and Interaction Requirements
6. User Interface and Interaction Requirements¶
6.1 User Experience Principles¶
The domain follows the PRS user interface architecture (section 8.3) and human factors requirements (section 11.3), applied to financial and supply-chain work as follows.
- Role-based workspaces. Billing, cashiering, claims, payer coordination, tariff administration, stores, pharmacy stores, procurement and finance posting each have a task-oriented workspace inside the shared application shell (the "HIM/finance consoles" and departmental workbenches of REF-003).
- Persistent patient and encounter context. Any screen that shows or changes patient financial data shows the patient name and at least one additional approved identifier in a consistent location, together with the encounter (SAFE-002 applied to financial workspaces, so that a payment or charge is not posted to the wrong patient).
- Explicit, irreversible-action clarity. Posting a payment, issuing an invoice, releasing a claim, approving a refund and posting a stock adjustment are explicit actions with confirmation and a visible resulting state. The interface never offers "edit" or "delete" on a posted entry; it offers "reverse" or "adjust".
- Duplicate prevention. Submit controls are protected against double submission and interrupted work is restored without re-posting (PRS section 11.3; SAFE-004).
- Status and freshness visibility. Verification status of coverage, claim status, posting status, pending synchronization and the "as at" time of stock availability are always shown. Pending, failed and stale items are distinguishable from confirmed ones.
- Worklist-driven exception handling. Exceptions are presented as queues with reason, age, value and owner rather than as transient error messages.
- Scan-first stock handling. Stores and pharmacy stores screens accept barcode scanning for item, lot and location and show the parsed result before posting.
- Accessibility and localization. Keyboard operation, assistive technology support, scalable text and contrast as in NFR-011; language, currency, number, date and time formats as in NFR-012 without changing stored canonical values.
- Clinical screens are not cluttered with billing. Financial information shown in clinical workspaces (for example authorization status or stock availability) is informational and never interruptive of a clinical action.
6.2 User Interface Catalogue¶
| UI ID | Screen / Workspace | Module | User Role | Purpose |
|---|---|---|---|---|
| UI-FIN-001 | Patient account workspace | MOD-FIN-003 | Billing officer, cashier, finance supervisor | View account, charges, invoices, payments, adjustments and balances; prepare billing estimates for planned care; record a guarantor; propose and follow payment plans (FR-FIN-BIL-004, FR-FIN-BIL-005) |
| UI-FIN-002 | Charge review and charge exception queue | MOD-FIN-001, MOD-FIN-011 | Billing officer | Review charges, trace to source, resolve charge exceptions; enter manual charges and charges from downtime forms, tagged "Downtime" |
| UI-FIN-003 | Tariff and pricing rule administration | MOD-FIN-002 | Tariff administrator, finance supervisor | Author, simulate, approve and publish tariff versions and rules; import prices in bulk into a draft version; maintain the mapping of event types to chargeable services |
| UI-FIN-004 | Invoice and credit note workspace | MOD-FIN-003 | Billing officer, finance supervisor | Generate, issue and correct invoices; request credit notes; work interim billing and re-billing tasks; report gaps in the invoice, credit note and receipt number sequences |
| UI-FIN-005 | Cashier workspace | MOD-FIN-006 | Cashier | Take payments and deposits, issue receipts, pay refunds, open and close session |
| UI-FIN-006 | Refund and adjustment approval queue | MOD-FIN-006, MOD-FIN-003 | Finance supervisor | The one queue for approving or rejecting refunds, credit notes, reversals, adjustments and write-offs, discounts above the role limit, manual charges above the threshold, contractual adjustments, closures of denied claims and unpaid remainders, transfers of accounts to collections, payment plans, cashier session closes and cashier session variances, each within the approver's limit |
| UI-FIN-007 | Coverage, eligibility and authorization workspace | MOD-FIN-005 | Insurance verification officer; embedded panel for registration clerk | Verify eligibility (in the first release as a verification task for the officer), maintain coverage layers, manage authorizations and their extensions; record each guarantee letter once, as coverage and authorization evidence |
| UI-FIN-008 | Claims workbench | MOD-FIN-004 | Claims officer | Prepare, validate, release and track claims; work rejection and denial queues |
| UI-FIN-009 | Remittance reconciliation workspace | MOD-FIN-004 | Claims officer, finance accountant | Enter remittance or import the payer's settlement statement; match and post; move remainders to the next liable party; hold unapplied payer cash; resolve unmatched lines |
| UI-FIN-010 | Finance posting and reconciliation console | MOD-FIN-007 | Finance accountant, finance supervisor | Review batches, acknowledgements and reconciliation; edit and approve account mappings; request and approve re-posting |
| UI-FIN-011 | Item master and stock location administration | MOD-FIN-008 | Inventory controller, pharmacy stores staff, inventory approver | Maintain items, locations and item-location settings, including replenishment parameters; approve changes made by another user (FR-FIN-INV-001; FR-FIN-REP-002 part 3) |
| UI-FIN-012 | Stock workspace (balances, movements, lots, expiry) | MOD-FIN-008 | Inventory controller, pharmacy stores staff | Issue, transfer, return, place a lot on hold and release it; view balances and lot trace |
| UI-FIN-013 | Stocktake workspace | MOD-FIN-008 | Inventory controller, pharmacy stores staff, stores manager, finance supervisor | Open, count (blind where configured), recount, review, approve and cancel stocktakes (FR-FIN-INV-004) |
| UI-FIN-014 | Requisition and purchase order workspace | MOD-FIN-009 | Department requester, approver, procurement officer, inventory controller | Raise, approve and track requisitions and orders; review replenishment proposals (FR-FIN-REP-002); resolve receipt discrepancies (FR-FIN-PRC-002 part 3) |
| UI-FIN-015 | Goods receipt screen | MOD-FIN-009 | Inventory controller, pharmacy stores staff | Receive against order with lot and expiry, placing a lot on hold where needed; enter receipts from downtime forms, tagged "Downtime" (FR-FIN-EXC-002) |
| UI-FIN-016 | Department stock and consumption screen | MOD-FIN-010 | Department requester | Record consumption and returns; confirm transfers received; view availability and procurement status; enter consumption from downtime forms, tagged "Downtime" (FR-FIN-REP-001; FR-FIN-EXC-002) |
| UI-FIN-017 | Pharmacy and controlled stock reconciliation | MOD-FIN-008 | Pharmacy stores staff, authorized pharmacist; medication safety officer (read); blood bank and perioperative roles (custody report, read) | Review dispense-to-stock and controlled-substance discrepancies and negative balances at pharmacy locations; read-only custody reconciliation report for blood products, implants and reagents (FR-FIN-INV-005 parts 6.8 and 6.9) |
| UI-FIN-018 | Exception and reconciliation console | MOD-FIN-011 | Supervisors, queue owners | Queue overview, ageing, reconciliation completeness, downtime reconciliation; unmatched procurement messages (FR-FIN-PRC-002 part 6.6); negative balances outside pharmacy; online payment settlement exceptions and late online payments |
6.3 Screen-Level Requirements¶
Screen UI-FIN-001: Patient account workspace¶
Purpose: Give a complete, reconcilable view of an account.
Primary User: Billing officer; cashier and finance supervisor; auditor (read-only)
Components: - Patient identity zone and encounter selector. - Account state in the words of glossary 10: "Open", "Billed", "Settled", "In collections · [date]". - Balance summary: patient receivable, payer receivable per coverage layer, deposits held, unallocated credit. - Ledger entry list with type, amount, references, status, and linked reversal or adjustment. - Ledger lines with a pending request show "Awaiting approval" with a link to the approval queue (UI-FIN-006) (OV-89). - Coverage panel with verification status and timestamp, in the full set of OV-87 (Recorded, Pending verification, Verified, Not eligible, Inactive; "Old · [check date]" past the validity). - Open exceptions for the account. - Estimates panel at patient level (FR-FIN-BIL-004; DG-04 of the specification gap design follow-up): each billing estimate with its number EST/[facility code]/[YYYY]/[7-digit number], planned services or package, room class and length of stay, low and high value, payer share and patient share, proposed deposit, and state ("Draft", "Issued · valid until [date]", "Linked to [encounter]", "Expired · re-price"). The panel header reads "Estimate · not an invoice"; estimate figures never appear in the balance summary or the ledger entry list. A line with no price shows "No price for [service] in class [class]" and the estimate is marked "Incomplete". - Estimate against actual, on an encounter with a linked estimate: estimated low and high value beside the actual charges to date, by service group. - Guarantor panel (FR-FIN-BIL-005): name, NIK, relationship, address and telephone of the responsible person, and the signed statement of responsibility (surat pernyataan penanggung jawab) as a document link. With a guarantor, patient invoices and statements read "Addressed to [guarantor] · for [patient]". - Payment plan panel (FR-FIN-BIL-005): down payment and instalments with amount, due date and paid state; plan state in the words of glossary 10 ("Awaiting approval", "Payment plan · [n] of [m] paid", "Overdue · [duration]", "Completed", "Ended by [name] · [reason] · full balance due", "Rejected").
Actions: - Trace a charge to its source; request reversal or adjustment; generate invoice; open claim; "Request transfer to collections", with any write-off of the account, which is approved on the approval queue and shown "Awaiting approval" with a link until then (OV-129). - "Create estimate" (billing officer, cashier): prices the planned services through the pricing API with the tariff and rule versions of the planned date and the coverage on record; "Re-price estimate" for a Draft or Expired estimate; "Issue estimate" prints it with the validity of 30 days and the statement "This is an estimate, not an invoice. The final bill is based on the services given." The cashier may change the proposed deposit within the role limit. An estimate posts nothing. - "Record guarantor" and "Change guarantor" (billing officer): the statement of responsibility must be attached before saving; a change keeps the earlier guarantor in the history. - "Propose payment plan" (billing officer), for an issued invoice with an outstanding patient balance: down payment, 1 to 12 instalments, each with amount and due date, no interest. The plan goes to the approval queue (UI-FIN-006) as a "Payment plan" item and the panel shows "Awaiting approval" with a link. "Print plan agreement" for an approved plan, for the patient or guarantor to sign. - "End payment plan" (billing officer), from 30 days overdue only, with a reason; the full balance is then due.
Validation and Interaction Rules: - No in-place editing of posted entries. - Balance shown is computed from the listed entries; filters do not change totals without stating so. - The auditor sees the account read-only, with no action controls. - "Propose payment plan" refuses a schedule whose down payment and instalments do not equal the patient balance: "Instalments do not equal the balance". The proposer cannot approve the plan ("Approval requires a different user"). - An approved plan does not change the receivable. A credit note or adjustment on the invoice reduces the last instalments first, and the panel shows the new amounts. - An instalment unpaid 7 days after its due date sets the plan to "Overdue · [duration]" and creates a task for the billing officer in the work list (UI-ESS-010), which opens this panel. - Release 1 payers only (PH-19): the estimate payer share and the plan apply to self-pay, private insurers and corporate guarantors; no JKN field appears. Collections agency hand-over is not offered.
Screen states: - Loading, with the patient context zone before any detail; empty ("No entries on this account yet."); error with the reason; read-only (auditor, or a settled account); no permission; not found or moved (a merged patient opens the surviving record with the merge notice); finance posting unavailable does not block the screen (Tier 3); downtime and session ended from the shell.
Navigation: - Entry point: patient search, encounter context, exception queue, cashier workspace. - Exit point: invoice workspace, claims workbench, cashier workspace.
Related Requirements: - FR-FIN-BIL-001, FR-FIN-BIL-003, FR-FIN-CHG-002; FR-FIN-BIL-004 and FR-FIN-BIL-005 (estimates, guarantor and payment plans)
Screen UI-FIN-005: Cashier workspace¶
Purpose: Take and receipt payments quickly and safely.
Primary User: Cashier
Components: - Session banner: cashier, cash point, session state ("Open", "Closed · awaiting acceptance", "Accepted") and running totals by method. - Patient identity zone; amount due by invoice; deposits held. - "Confirm patient" step: name and date of birth confirmed with the payer before the payment panel unlocks (CUX-04). - Payment entry panel with method, amount, reference and allocation. A card or QRIS attempt shows "Waiting for terminal", "Approved · [reference]", "Declined by terminal" or "QR code expired". - Receipt preview and print or send control. "Send" places the receipt in the patient's portal (Billing and Documents); the notification says only "Something new is available in your portal" (PH-18, CUX-65). No receipt with amounts goes by email, SMS or WhatsApp. - Customer display, where fitted: amount, method and facility only (CUX-48). - Deposit at admission: where an estimate is linked or issued for the planned care, the deposit field starts from its proposed deposit with "From estimate [number]" (FR-FIN-BIL-004). The cashier may change it within the role limit. - Payment plan line, where the invoice has an approved plan: "Payment plan · [n] of [m] paid", the next instalment with amount and due date, and "Overdue · [duration]" for a late one (FR-FIN-BIL-005). An instalment is taken as a normal payment against the invoice; the plan updates when it is posted. - With a guarantor on the account, the receipt names the guarantor as payer and the patient as the person treated.
Actions: - Open or close session; take payment or deposit; allocate; issue or reprint receipt; pay an approved refund.
Validation and Interaction Rules: - A confirmation step shows payer, amount and method before posting. - Opening a patient from a queue ticket or patient search shows the patient context zone and the "Confirm patient" step first; the payment panel stays locked until it is done. - The submit control is disabled after first submission until the result is known; a retry returns the original receipt. - When the bank terminal or QRIS provider does not answer within the wait of CFG-FIN-021, the panel shows "Checking whether this was paid" and queries the terminal or provider before any retry is offered (CUX-36). The QRIS code lifetime is set in CFG-FIN-021. - Reprints are watermarked as copies. - The "guarantee letter" method shows the payer share covered by the letter recorded on the coverage workspace, with a link to it; it posts no money, and the cashier collects only the patient share. - Every session close goes to the approval queue as a "Cashier session close" item: a zero-variance close is accepted in one step, and a variance keeps its approval. Until then the banner shows "Closed · awaiting acceptance", and a variance shows "Awaiting approval" with a link.
Screen states: - Loading; no open session ("Open a session to take payments"); empty (nothing due for this patient); error with the reason; bank terminal unavailable ("Card payment is not available at this cash point. Use another method."); read-only after close; no permission; not found or moved (a merged patient opens the surviving record with the merge notice); Tier 3 outage of finance posting does not stop the cashier (PH-19); downtime and session ended from the shell.
Navigation: - Entry point: patient search, queue ticket, account workspace. - Exit point: account workspace, session close report.
Related Requirements: - FR-FIN-CSH-001, FR-FIN-CSH-002, FR-FIN-CSH-003
Screen UI-FIN-008: Claims workbench¶
Purpose: Move claims from preparation to settlement and work exceptions by reason.
Primary User: Claims officer
Components: - Queues are filters over the claim states of section 4.3, in the words of glossary 10: "Draft · waiting for [readiness condition]" (from CFG-FIN-008), "Validation failed", "Ready", "Submitted · pending transmission", "Submitted" (with stale flag), "Rejected", "Denied" (by reason), "Awaiting remittance" (Acknowledged or Adjudicated) and "Cancelled". - Claim detail: lines with charge and invoice links, coverage, codes with code-set version, authorizations, validation results, submission history.
Actions: - Validate; correct; release; resubmit; cancel a Submitted or Acknowledged claim where the payer contract permits, with reason ("Cancelled by [name] · [reason]"); record manual status with evidence; request closure of a denied claim or of an unpaid remainder, which is approved on the approval queue (UI-FIN-006) and shown "Awaiting approval" until then. "Refer to coding" on a Rejected or Denied claim sends it to Domain 6 for recoding (FR-FIN-CLM-002 part 6.11); a submitted claim whose coding was revised carries the task "Coding revised after submission · version [n]".
Validation and Interaction Rules: - Release is available only for Ready claims. - A resubmission requires a correction note and shows the link to the original. - Manual status may record only the transitions that come from the payer (Acknowledged, Rejected, Denied, Adjudicated), each with evidence.
Screen states: - Loading; empty queue ("No claims in this queue"); error with the reason; payer interface unavailable (submissions queued as "Submitted · pending transmission", other work not blocked); read-only for closed claims; no permission; not found or moved (a merged patient opens the surviving record with the merge notice); downtime and session ended from the shell.
Navigation: - Entry point: account workspace, queue counts, notifications. - Exit point: remittance reconciliation, account workspace.
Related Requirements: - FR-FIN-CLM-001, FR-FIN-CLM-002, FR-FIN-CLM-003
Screen UI-FIN-012: Stock workspace¶
Purpose: Operate stock at a location with lot and expiry control.
Primary User: Inventory controller, pharmacy stores staff
Components: - Location selector; balances by item and lot with status ("Available", "On hold · [reason]", "Expired · [date]") and expiry. A negative balance is shown with its minus sign and an open stock exception. - Near-expiry list (horizon CFG-FIN-016, 90 days by default) and expired list; below-minimum list, where an item with no minimum shows "Minimum not set", never "0" (CFG-FIN-017). - Movement history with source references; legacy rows show "Migrated" (PH-16). - Incoming transfers to this store, "In transit". - Scan input.
Actions: - Issue; transfer; "Confirm transfer received" for a transfer to this store; return; place a lot on hold and release it, with reason; dispose; reverse a movement; view lot trace.
Validation and Interaction Rules: - Expired lots and lots on hold are visibly marked and not selectable for issue. - A scanned code is parsed and displayed (item, lot, expiry) before the movement is confirmed. A rejected scan uses the shared scan messages ("Barcode not readable", "Product expired · [date]", "Lot quarantined", "Lot recalled", "Not a recognized product", "Product code does not match item", "Remaining shelf life below minimum") as an amber warning, because no patient is at risk at this point. - "Confirm transfer received" records the received quantity; a difference from the sent quantity raises a stock exception. - A movement of a controlled item asks for a second person, who authenticates on the same screen; both names are recorded. - An issue or transfer above the available quantity is refused with the available quantity. - Movements show "reverse" and never "edit". A movement is reversed by the recording user within 24 hours, then only by the inventory controller with a reason (PR-REP-001-03 applied to all movements). Reversing a controlled item needs a witness. Reversing a receipt whose lot has already been issued is refused.
Screen states: loading; empty ("No stock at this location"); error; stale ("As at [time]"); read-only; no permission; downtime from the banner only; session ended.
Navigation: - Entry point: stores menu, requisition fulfilment, exception queue. - Exit point: goods receipt, stocktake, requisition workspace.
Related Requirements: - FR-FIN-INV-002, FR-FIN-INV-003, FR-FIN-REP-001
Screen UI-FIN-018: Exception and reconciliation console¶
Purpose: Show whether the domain is reconciled and where it is not.
Primary User: Finance supervisor, stores manager, procurement officer, and the queue owners of the types worked here
Components: - Queue summary by type with counts, value, oldest age and escalations, each figure with "As at [time]" (CUX-53). Types with an owning screen are counts that open it (OV-127): charge exceptions on UI-FIN-002, pharmacy stock discrepancies on UI-FIN-017, claim and remittance exceptions on UI-FIN-008 and UI-FIN-009. - Source-to-charge completeness by period and event type, with the unaccounted source-event list (OV-95 of the fourth batch). When source counts are unavailable the figure shows "Not reconciled" with "Source counts unavailable for [event type]". - Posting, claim, remittance and stock reconciliation status. - Stock exceptions outside pharmacy locations: negative balances, transfer differences and unknown items or lots. - Unmatched procurement message worklist for the procurement officer: messages from the external procurement system that match no requisition, order or receipt. - Downtime reconciliation panel for all Domain 5 downtime entry types: charges (UI-FIN-002), payments and manual receipts (UI-FIN-005), receipts from UI-FIN-015 and consumption from UI-FIN-016. A form-number range view shows each form number as entered, void or missing. The reconciliation shows "Reconciliation in progress" (glossary 6) while open; items show "Unreconciled", "Reconciled" or "Exception" (glossary 8). - Exception item states shown as "Open", "Assigned · [name]", "Resolved" and "Closed · [reason]" (glossary 10).
Actions: - For the types worked here (non-pharmacy stock exceptions, unmatched procurement messages, unaccounted source events, downtime reconciliation): assign; escalate; reprocess; close with reason. For every type: drill to items or to the owning screen; run reconciliation. Finance supervisor or stores manager: open and "Close downtime reconciliation".
Validation and Interaction Rules: - Closing without correction requires a reason and, above the value threshold of CFG-FIN-006, supervisor approval. - An item is escalated to the queue supervisor after 3 working days, or 1 day for a stock exception (CFG-FIN-018). - "Close downtime reconciliation" is enabled only when every form number in the range is entered, void or excepted, and nothing is missing.
Screen states: loading; empty ("No open exceptions"); error; stale ("Not updated for [n] minutes"); incomplete ("Source counts unavailable for [event type]"); read-only; no permission; downtime from the banner only; session ended.
Navigation: - Entry point: workspace home, alerts. - Exit point: the owning workspace of each exception.
Related Requirements: - FR-FIN-EXC-001, FR-FIN-EXC-002
6.4 Accessibility and Usability¶
| Requirement ID | Requirement | Acceptance Criteria |
|---|---|---|
| UX-FIN-001 | Financial and stock workspaces shall conform to the recognized accessibility standard adopted for the product (PRS NFR-011 names WCAG 2.2 AA where applicable) | Keyboard and assistive-technology paths tested for UI-FIN-001, 005, 008 and 012 |
| UX-FIN-002 | Patient identity (name and one additional approved identifier) and encounter shall be visible on every patient-financial screen | Usability test shows patient context is clear during task switching (SAFE-002) |
| UX-FIN-003 | Critical administrative workflows (take payment, issue invoice, release claim, receive goods, issue stock) shall pass task-based usability tests with representative users | Agreed task success criteria met before release (NFR-010, SAFE-006) |
| UX-FIN-004 | Posted, pending, failed, reversed and stale states shall be distinguishable by text or icon and not by colour alone | Inspection and accessibility test |
| UX-FIN-005 | Amounts, dates and quantities shall display in the configured locale, currency and units without altering stored values. Stock quantities are shown with their unit, without a thousands separator below 10000 and with a thin space above ("12 500 tablets"); a dot or comma never groups thousands in a quantity, as for clinical values (design system section 7). Money keeps the locale grouping | Localization round-trip test (NFR-012) |
| UX-FIN-006 | Interrupted work (for example a part-entered payment or receipt) shall be recoverable without duplicate submission | Interruption test produces one posting |
| UX-FIN-007 | Scanning workflows shall give immediate visible confirmation or rejection next to the scan field. The application plays no sound; the scanner's own beep is the audible confirmation, because sound is reserved for bedside alerts, failed bedside verification and critical results (clinical UX safety rule CUX-63) | Scan tests with valid, malformed, expired, on-hold and recalled codes |
← 5.11 Module Specification: Financial and Supply-Chain Exception Handling | Contents | Identifier index | 7. Domain Data Requirements →