Skip to content

Domain specifications / D05-FIN / 7. Domain Data Requirements

7. Domain Data Requirements

7.1 Data Ownership

Data Entity Ownership System of Record Consuming Domains
Patient account and receivable ledger Owned MOD-FIN-003 7 (statements), 8
Coverage, eligibility check, authorization Owned MOD-FIN-005 1 (verification status at registration), 3 (authorization status, informational), 8
Tariff, price list, package, pricing rule Owned MOD-FIN-002 8
Charge item Owned MOD-FIN-001 6 (billing readiness coordination), 8
Invoice, credit note, adjustment Owned MOD-FIN-003 7, 8
Claim, claim response, remittance Owned MOD-FIN-004 6 (denials related to coding), 8
Payment, receipt, refund, cashier session Owned MOD-FIN-006 7 (payment status), 8
Finance posting batch and mapping Owned MOD-FIN-007 8; external finance system
Inventory item (stock-control attributes), stock location Owned MOD-FIN-008 3, 4, 8
Lot, stock movement, stock balance Owned MOD-FIN-008 3 (dispensing checks, availability), 4 (theatre, diagnostics availability), 8
Requisition, purchase order, goods receipt Owned MOD-FIN-009 3, 4 (procurement status), 8; external procurement system
Stocktake, replenishment parameters and proposals Owned MOD-FIN-008, MOD-FIN-010 8
Exception item, reconciliation result Owned MOD-FIN-011 8
Patient identity, identifiers, merge links Consumed Domain 1 (ADM) —
Encounter, ADT state, location, payer references captured at registration Consumed Domain 1 (ADM) —
Orders, medication dispense and administration records Consumed Domain 3 (CLI) —
Diagnostic, procedure, theatre, ICU and therapy fulfilment records Consumed Domain 4 (ANC) —
Coding record, chart-completion status Consumed Domain 6 (HIM) —
Payer, organization, practitioner, service, medication and device master data; code systems and value sets Consumed Domain 10 (ESS) —
Consent directive and policy decision; audit events; workflow tasks; notifications Consumed / produced via service Domain 10 (ESS) —

7.2 Data Entity Catalogue

Entity names align with REF-003 section 6.2 ("Revenue and inventory: Account, ChargeItem, Invoice, Claim, Payment, Adjustment, StockItem, Lot, StockMovement, PurchaseOrder") and PRS section 7.3 ("Financial transaction").

Entity ID Entity Name Description Primary Key Data Owner
DE-FIN-001 Account Financial account for a patient's encounter or encounters Account ID Revenue cycle
DE-FIN-002 Ledger Entry Append-only posting on an account (charge, payment, deposit, adjustment, refund, reversal) Ledger entry ID Revenue cycle
DE-FIN-003 Coverage A payer coverage for a patient with layer, subscriber and validity Coverage ID (with version) Payer coordination
DE-FIN-004 Eligibility Check A dated eligibility request and response Eligibility check ID Payer coordination
DE-FIN-005 Authorization Payer authorization for services Authorization ID Payer coordination
DE-FIN-006 Tariff Version Published, effective-dated set of prices and rules Tariff version ID Tariff administration
DE-FIN-007 Chargeable Service / Price Charge master entry and its price in a price list Service code + price list + tariff version Tariff administration
DE-FIN-008 Pricing Rule Bundling, exclusion, package, contract, co-payment, discount or tax rule Rule ID + version Tariff administration
DE-FIN-009 Charge Item Priced record of a billable event Charge item ID Revenue cycle
DE-FIN-010 Invoice Bill to a patient or payer, with lines Invoice number Revenue cycle
DE-FIN-011 Credit Note / Adjustment Correction document and its ledger effect Credit note number / adjustment ID Revenue cycle
DE-FIN-012 Claim Claim to a payer for an encounter, with lines and submission history Claim ID Claims
DE-FIN-013 Claim Response / Remittance Payer adjudication and payment advice Response ID / remittance reference per payer Claims
DE-FIN-014 Payment Money received, with method and allocation Payment ID Cashiering
DE-FIN-015 Receipt Numbered proof of payment Receipt number Cashiering
DE-FIN-016 Refund Approved return of money linked to a payment Refund ID Cashiering
DE-FIN-017 Cashier Session A cashier's period of activity at a cash point Session ID Cashiering
DE-FIN-018 Finance Posting Batch Balanced set of postings sent to the finance system Batch ID Finance
DE-FIN-019 Inventory Item Stock-control record for an item Item code Supply chain / pharmacy
DE-FIN-020 Stock Location Place where stock is held Location ID Supply chain / pharmacy
DE-FIN-021 Lot Lot or batch of an item with expiry and status Item code + lot number Supply chain / pharmacy
DE-FIN-022 Stock Movement Append-only record of a stock change Movement ID Supply chain / pharmacy
DE-FIN-023 Stock Balance Derived quantity by item, location and lot Item + location + lot Supply chain / pharmacy
DE-FIN-024 Requisition Request for stock Requisition ID Supply chain
DE-FIN-025 Purchase Order Order to a supplier Purchase order number Procurement
DE-FIN-026 Goods Receipt Record of delivery against an order Goods receipt ID Supply chain
DE-FIN-027 Stocktake Count event with lines and variances Stocktake ID Supply chain / pharmacy
DE-FIN-028 Exception Item Unresolved financial or supply-chain transaction Exception ID Owning queue
DE-FIN-030 Online Payment Order A payment started from the portal and completed on the payment provider's hosted page Order reference Cashiering
DE-FIN-029 Approval Request A request that reduces or returns money, or otherwise needs a second person, waiting for or decided by an approver Approval request ID Revenue cycle

7.3 Entity Attributes

Attribute lists give the minimum content required by the sources; data types are logical.

Entity DE-FIN-009: Charge Item

Attribute Data Type Required Constraints Description
charge_item_id Identifier Yes Unique; immutable Primary key
source_event_id Identifier Yes Unique per charge outcome Source clinical or consumption event (RCM-004)
source_event_type Code Yes Supported type Kind of source
patient_id Identifier Yes Enterprise person identifier from Domain 1 Patient
encounter_id (CIN) Identifier Yes Encounter from Domain 1 Encounter (ADM-002)
facility_id Reference Yes Valid facility Facility context
service_code Code Yes In charge master Chargeable service
performer_id Reference Where supplied Practitioner or organization Performer (RCM-004)
tariff_version_id Identifier Yes Published version Pricing basis
applied_rules Structured list Yes (may be empty) Rule ID and version Rule outcomes
quantity, unit Decimal, code Yes Quantity greater than zero Quantity
unit_price, amount, currency Decimal, decimal, code Yes Amount consistent with price and rules Price
posting_status Code Yes Posted, Invoiced, Reversed Lifecycle
reverses_charge_item_id Identifier No Existing charge item Link for reversal
event_time, recorded_time, posted_time Timestamp Yes UTC stored Temporal dimensions (DAT-004)
downtime_form_no Text No Unique when present Downtime provenance

Entity DE-FIN-001: Account

Attribute Data Type Required Constraints Description
account_id Identifier Yes Unique Primary key
patient_id Identifier Yes Domain 1 identifier; original identifiers retained after merge Account holder
encounter_ids Identifier list Yes At least one Linked encounters
status Code Yes Active, Billed, Closed, Collections (proposed) Account status
collections_status Code No Configured values Collections state
currency Code Yes Configured currency Account currency
opened_time, closed_time Timestamp Yes / No Closed only at zero balance and no open claim Lifecycle

The account balance is not a stored editable attribute; it is derived from DE-FIN-002 Ledger Entry.

Entity DE-FIN-003: Coverage

Attribute Data Type Required Constraints Description
coverage_id, version Identifier, integer Yes Versions append-only Primary key
patient_id Identifier Yes Domain 1 Beneficiary
payer_id, plan_id Reference Yes Active in master data Payer and plan
member_id Identifier Yes Payer format rule Member or subscriber identifier
subscriber_relationship Code Yes Value set Relationship to subscriber
policy_start, policy_end Date Yes / No Start not after end Validity
layer Code Yes Primary, secondary, tertiary Order (RCM-002)
benefit_summary Structured / text No — Benefits
verification_status, verified_time Code, timestamp Yes Recorded, Pending verification, Verified, Not eligible, Inactive (section 4.3) Status (RCM-001); the one set of verification states, which registration maps onto its own words
verification_method, verification_source, verification_reference Code, code, text Yes when Verified Method interface or manual; source guarantee letter, administrator's portal or telephone for a manual verification How it was verified (FR-FIN-PAY-001 part 6.6)
evidence_document_ref Reference Yes for a manual verification Resolves to a stored document Guarantee letter or portal record
last_check_time Timestamp (derived) System From the latest eligibility check (DE-FIN-004) Drives the flag "Old · [check date]" past the validity of CFG-FIN-011; not a state
effective_from, effective_to, author Timestamp, timestamp, reference Yes — Version metadata

Entity DE-FIN-005: Authorization

Attribute Data Type Required Constraints Description
authorization_id, version Identifier, integer Yes Versions append-only; an extension is a new version Primary key
coverage_id, encounter_id Identifiers Yes Existing coverage; Domain 1 encounter Context
services, authorized_quantities Coded list, decimals Yes / No Valid chargeable services Authorized scope
payer_reference Text When approved Not empty Payer's authorization or guarantee letter number
valid_from, valid_to Date When approved From not after to Validity
guaranteed_amount, currency Decimal, code No Greater than zero Ceiling stated in the guarantee letter; payer-liable charges above it are flagged
status Code Yes Requested, Approved, Partially approved, Denied, Expired, Cancelled Lifecycle (section 4.3)
decision_reason, cancel_reason Text When Denied or Cancelled — Payer's reason; reason for cancellation
evidence_document_ref Reference When recorded by hand Resolves to a stored document Guarantee letter or portal record; recorded once, here (EXT-FIN-002)
requested_time, decided_time, author Timestamps, reference Yes / when decided / Yes — Provenance

Entity DE-FIN-012: Claim

Attribute Data Type Required Constraints Description
claim_id Identifier Yes Unique Primary key
original_claim_id Identifier No Existing claim Link for resubmission
patient_id, encounter_id Identifiers Yes Domain 1 Context
coverage_id, coverage_version Identifier, integer Yes In force at service date Payer coverage
invoice_id Identifier Where invoiced Existing invoice Link to invoice
lines List Yes Each references charge items Claim lines
diagnosis_codes, procedure_codes, code_set_version Coded lists Per payer rule From Domain 6 coding record Classification codes
authorization_ids Identifier list Per payer rule Valid Authorizations
total_claimed, currency Decimal, code Yes Sum of lines Amount
status Code Yes States in section 4.3 Lifecycle
payer_claim_reference Text After acknowledgement — Payer's reference
validation_rule_versions List Yes after validation — Reproducibility
adapter_id, mapping_version Identifiers After submission — Lineage

Entity DE-FIN-011: Credit Note / Adjustment

Attribute Data Type Required Constraints Description
credit_note_no / adjustment_id Text / identifier Yes Credit note number unique and never reused, from the sequence of CFG-FIN-007; assigned on issue Primary key
type Code Yes Credit note, reversal, adjustment, write-off, contractual adjustment Kind
invoice_id, credited_lines Identifier, list For credit notes Existing issued invoice; value not above the un-credited value What is credited
original_entry_id Identifier For reversals and adjustments Posted, not already reversed What is corrected
amount, currency Decimal, code Yes Shown with a minus sign for a credit Value
reason_code, reason_text Code, text Yes From the configured list; text not empty Accountability
for_reinvoicing Boolean For credit notes — Credited charges return to uninvoiced
status Code Yes Credit note: Awaiting approval, Issued, Rejected. Other types: posted when approved or within the limit Lifecycle (section 4.3)
approval_request_id Identifier When approval applies Existing DE-FIN-029 Approval
requested_by, issued_time Reference, timestamp Yes / on issue — Provenance

Entity DE-FIN-013: Claim Response / Remittance

Attribute Data Type Required Constraints Description
remittance_id, payer_id, remittance_reference Identifier, reference, text Yes Reference unique per payer Primary key and de-duplication
payment_date Date Yes — Date of the transfer
bank_transfer_reference Text Yes for an entered remittance Not empty The bank transfer that carried the money (EXT-FIN-004)
source Code Yes Entered, imported, payer file How it was recorded
import_file_ref Reference When imported Stored settlement statement Provenance; validation report kept with it
total, currency Decimal, code Yes Equals the sum of the lines Control total
lines List Yes Claim reference, paid amount, adjustment amounts and reason codes; line status Unmatched, Matched, Posted, Moved to remainder Detail
unapplied_amount Decimal System Money not yet applied to a matched, posted line Unapplied payer cash, held off patient accounts
status Code Yes Received, Matched, Posted, Exception Lifecycle (section 4.3)
received_time, recorded_by Timestamp, reference Yes — Provenance

A claim response (acknowledgement, status or adjudication) is held with the claim it answers (DE-FIN-012), with payer message identifier, per-line allowed, paid, adjusted and denied amounts and reason codes.

Entity DE-FIN-014: Payment

Attribute Data Type Required Constraints Description
payment_id Identifier Yes Unique Primary key
idempotency_key Identifier Yes Unique Duplicate prevention
account_id Identifier Yes Existing account Target
payer_type Code Yes Patient, payer, other Who paid
type Code Yes Payment, deposit, co-payment, remittance Kind
amount, currency Decimal, code Yes Greater than zero Value
method, method_reference Code, text Yes / per method A guarantee letter is not a payment method: it is recorded on the authorization (DE-FIN-005) and no payment is posted for it Tender
allocations List No Sum not above amount Invoice allocations
receipt_no Text For cashier payments Unique Receipt
session_id Identifier For cashier payments Open at posting Cashier session
status Code Yes Posted, Allocated, Reversed Lifecycle
posted_time, cashier_id Timestamp, reference Yes — Provenance

Entity DE-FIN-018: Finance Posting Batch

Attribute Data Type Required Constraints Description
batch_id, idempotency_id Identifiers Yes Unique Primary key; redelivery is not double-posted
period_from, period_to Timestamps Yes Not in the future Scope
posting_types, mapping_versions Lists Yes Published mappings of CFG-FIN-013 Lineage
journal_lines List Yes Account, dimensions, debit or credit, amount, reconciliation identifiers Content
total_debit, total_credit Decimal Yes Equal (BR-FIN-024) Control totals
source_entry_ids Identifier list Yes Each entry in at most one accepted batch Source ledger entries and stock movements
status Code Yes Built, Sent, Acknowledged, Rejected Lifecycle (section 4.3)
waiting_to_send Boolean System True while the finance system is unavailable Shown "Built · waiting to send"
finance_reference, rejection_reason Text On acknowledgement / rejection — Shown "Posted to general ledger · [journal reference]"
repost_status, reposted_as_batch_id Code, identifier For a rejected batch Re-post awaiting approval, Re-posted Re-post approved by a finance supervisor other than the requester
built_time, sent_time, acknowledged_time, built_by Timestamps, reference Yes / as reached — Provenance

Entity DE-FIN-019: Inventory Item

Attribute Data Type Required Constraints Description
item_code Code Yes Unique Primary key
description, category Text, code Yes — Identity
master_data_ref Reference For medications and devices Domain 10 entry Link to governed product
product_identifiers List No Unique (for example GTIN per pack level) Scan identifiers
stock_unit, unit_conversions Code, list Yes Effective-dated Units
lot_controlled, expiry_controlled Boolean Yes — Control flags
controlled_substance Boolean Yes — Controlled stock
chargeable, service_code Boolean, code Yes / if chargeable Service in charge master Link to charging
storage_requirements Code / text No — Storage conditions
status, effective_from, effective_to Code, date, date Yes Draft, In use, Inactive, Retired Lifecycle

Entity DE-FIN-021: Lot

Attribute Data Type Required Constraints Description
item_code, lot_number Code, text Yes Unique together Primary key
expiry_date Date For expiry-controlled items Valid date Expiry
status Code Yes Available, On hold, Expired Lot status; On hold is the quarantine state
hold_reason Code, text When On hold, and at release Configured list, including recall Reason
released_by, release_reason Reference, text When released from hold Inventory controller; pharmacist for pharmacy stock Accountability
first_received_time, supplier_id Timestamp, reference Yes / No — Provenance

Entity DE-FIN-022: Stock Movement

Attribute Data Type Required Constraints Description
movement_id Identifier Yes Unique; immutable Primary key
type Code Yes Receipt, issue, transfer out, transfer in, return, adjustment, consumption, disposal, reversal Kind
item_code, lot_number Code, text Yes / for lot-controlled Existing Item and lot
unit_identifier Text For blood products, implants and reagents The unit, serial or lot identifier used by Domain 4 custody Custody reconciliation key (DEC-ANC-005)
quantity, unit Decimal, code Yes Greater than zero; direction given by type Quantity
from_location_id, to_location_id Reference Per type Locations in use Locations
origin_ref, origin_type Identifier, code Yes Unique for event-sourced movements Requisition, order, receipt, source event, stocktake
patient_id, encounter_id Identifiers For patient-level consumption Domain 1 Patient link
reverses_movement_id Identifier No Existing movement Reversal link
reason Code, text For return, adjustment, disposal, reversal — Reason
event_time, recorded_time, actor_id Timestamp, timestamp, reference Yes — Provenance
witness_id Reference For movements of controlled items Not the actor Second person, recorded by name
downtime_form_number Text For downtime entries Unique Shown with the tag "Downtime"
transfer_status Code For transfers where in-transit is configured In transit, Received Transfer receipt at the destination
migrated Boolean Yes True only for legacy transactions loaded by MIG-FIN-008 Shown as "Migrated"; read-only

Entity DE-FIN-025: Purchase Order

Attribute Data Type Required Constraints Description
po_number Text Yes Unique Primary key
supplier_id Reference Yes Active organization Supplier
lines List Yes Item, quantity, unit, expected price, requisition line reference Order lines
status Code Yes Draft, Awaiting approval, Approved, Issued, Partially received, Received, Cancelled, Closed short Lifecycle
expected_delivery_date Date No — Expected arrival
external_ref Text No — Reference in external procurement system
created_by, approved_by, issued_time References, timestamp Yes Creator and approver differ Provenance

Entity DE-FIN-030: Online Payment Order

Attribute Data Type Required Constraints Description
order_reference, idempotency_key Identifiers Yes Unique; at most one open order per statement Primary key; a repeated start returns the same order
account_id, statement_ref, invoice_ids Identifiers Yes Issued statement with a balance What is paid
patient_id, requested_by Identifier, reference Yes Domain 1 patient; portal user (patient or representative) Subject and requester
amount, currency Decimal, code Yes Equals the outstanding balance at start; no partial payment Value
method Code Yes QRIS, virtual account, card, as enabled for the facility Tender chosen
provider_id, provider_order_ref, provider_transaction_ref Reference, text, text Yes / Yes / when Paid Contracted provider (EXT-FIN-010); transaction reference unique Provider references only; no card data or bank credential
status Code Yes Created, Awaiting payment, Paid, Failed, Expired Lifecycle (section 4.3)
expires_time Timestamp Yes From CFG-FIN-027 Order expiry
result_verified_time, status_query_time Timestamps When a result arrives Signature checked; confirmed by status query Verification evidence
payment_id Identifier When Paid Existing DE-FIN-014 payment Posted payment
settlement_date, settlement_fee, settlement_status Date, decimal, code After settlement Matched, Not matched Settlement reconciliation

Entity DE-FIN-029: Approval Request

Attribute Data Type Required Constraints Description
approval_request_id, idempotency_key Identifiers Yes Unique Primary key; a retried decision posts once
type Code Yes Refund, credit note, reversal, adjustment, write-off, discount above limit, manual charge above threshold, contractual adjustment, denied claim closure, remainder closure, cashier session variance Kind (CFG-FIN-006)
subject_ref Reference Yes Account, invoice, charge, claim, remittance line or cashier session What the request changes
patient_id Identifier Where the subject is patient-level Domain 1 Patient context
amount, currency Decimal, code Yes Greater than zero Value used for routing by limit (CFG-FIN-025)
reason_code, reason_text Code, text Yes From the configured list Accountability
requested_by, requested_time Reference, timestamp Yes — Requester
status Code Yes Awaiting approval, Approved, Rejected Lifecycle (section 4.3); a refund request keeps its own states and is shown "Awaiting approval" while Requested
decided_by, decided_time, rejection_reason Reference, timestamp, text When decided Approver is not the requester and is within their limit; reason required to reject Decision
posted_entry_ids Identifier list When Approved — Entries posted on approval

7.4 Entity Relationships

  • An Account belongs to one patient and links to one or more encounters; it has many Ledger Entries. Each Ledger Entry references exactly one originating record (Charge Item, Payment, Refund, Credit Note / Adjustment or Claim Response line).
  • A Charge Item references one source event, one encounter, one Chargeable Service and one Tariff Version. A reversing Charge Item references the one it reverses.
  • An Invoice has many lines; each line references one or more Charge Items. A Charge Item is on at most one un-credited invoice per liable share. A Credit Note references one Invoice.
  • A Claim references one Coverage version, one encounter and, where invoiced, one Invoice; its lines reference Charge Items. A resubmitted Claim references its original. A Claim has many Claim Responses; a Remittance has many lines, each referencing one Claim.
  • A Coverage belongs to one patient and is linked to many encounters with an order; it has many Eligibility Checks and Authorizations.
  • An Approval Request references the one record it would change (account, invoice, charge, claim, remittance line or cashier session) and, when Approved, the entries it posted. A Credit Note that needs approval references its Approval Request.
  • A Remittance holds unapplied payer cash until its lines are matched and posted; unapplied cash belongs to no patient account.
  • A Payment belongs to one Account, one Cashier Session (for cashier payments) and has many allocations to Invoices; a Refund references one Payment.
  • A Finance Posting Batch references many Ledger Entries and Stock Movements; each of those is in at most one accepted batch.
  • An Inventory Item has many Lots; a Stock Movement references one item, optionally one Lot and one or two Stock Locations. A Stock Balance is derived per item, location and lot.
  • A Requisition has many lines; a Purchase Order line may reference a requisition line; a Goods Receipt references one Purchase Order and creates Stock Movements and Lots.
  • Relationships with enterprise master data: patient and encounter (Domain 1); payer, plan, supplier (organizations), practitioner, facility, location, service, medication product and device (Domain 10). These are held as references; this domain does not copy and maintain them.
  • Referential integrity: references to records in other domains are by stable identifier and are validated at write time through the owning domain's API or a governed reference projection; they are not database foreign keys across domains. Within the domain, ledger entries and movements cannot be deleted, so referential integrity is preserved by construction.
  • Lifecycle constraints: an Account cannot close with a non-zero balance or open claim; an Inventory Item or Stock Location cannot retire with stock on hand or open orders; a Tariff Version cannot be altered after publication.
erDiagram
    ACCOUNT ||--o{ LEDGER_ENTRY : has
    ACCOUNT }o--|| PATIENT_REF : "belongs to (Domain 1)"
    ACCOUNT }o--o{ ENCOUNTER_REF : "covers (Domain 1)"
    CHARGE_ITEM ||--|| LEDGER_ENTRY : "posted as"
    CHARGE_ITEM }o--|| TARIFF_VERSION : "priced by"
    CHARGE_ITEM }o--|| ENCOUNTER_REF : "for"
    INVOICE ||--o{ INVOICE_LINE : contains
    INVOICE_LINE }o--o{ CHARGE_ITEM : bills
    CREDIT_NOTE }o--|| INVOICE : corrects
    COVERAGE ||--o{ ELIGIBILITY_CHECK : "verified by"
    COVERAGE ||--o{ AUTHORIZATION : has
    CLAIM }o--|| COVERAGE : "claims under"
    CLAIM }o--o| INVOICE : "relates to"
    CLAIM ||--o{ CLAIM_LINE : contains
    CLAIM_LINE }o--o{ CHARGE_ITEM : claims
    CLAIM ||--o{ CLAIM_RESPONSE : receives
    REMITTANCE ||--o{ CLAIM_RESPONSE : "pays via"
    PAYMENT }o--|| ACCOUNT : "credits"
    PAYMENT ||--o{ PAYMENT_ALLOCATION : "allocated by"
    PAYMENT_ALLOCATION }o--|| INVOICE : settles
    REFUND }o--|| PAYMENT : refunds
    CASHIER_SESSION ||--o{ PAYMENT : contains
    FINANCE_POSTING_BATCH ||--o{ LEDGER_ENTRY : posts
    INVENTORY_ITEM ||--o{ LOT : has
    INVENTORY_ITEM ||--o{ STOCK_MOVEMENT : "moved in"
    LOT ||--o{ STOCK_MOVEMENT : "moved in"
    STOCK_LOCATION ||--o{ STOCK_MOVEMENT : "source or destination"
    REQUISITION ||--o{ REQUISITION_LINE : contains
    PURCHASE_ORDER ||--o{ PO_LINE : contains
    PO_LINE }o--o| REQUISITION_LINE : fulfils
    GOODS_RECEIPT }o--|| PURCHASE_ORDER : "received against"
    GOODS_RECEIPT ||--o{ STOCK_MOVEMENT : creates
    STOCKTAKE ||--o{ STOCK_MOVEMENT : "adjusts via"

7.5 Data Quality Requirements

Requirement ID Quality Dimension Requirement Validation
DQ-FIN-001 Accuracy Every posted charge shall be recomputable to the same price from its recorded tariff version and rule outcomes Scheduled recomputation on a sample; differences reported (FIN-002, RCM-006)
DQ-FIN-002 Completeness Every clinical billable source event shall have a charge outcome (charged, non-chargeable or exceptioned) Source-to-charge reconciliation (PRS section 27; FR-FIN-EXC-001)
DQ-FIN-003 Consistency Each account balance shall equal the sum of its ledger entries; each stock balance shall equal the sum of its movements Automated integrity check; zero tolerance (RCM-011, FIN-005)
DQ-FIN-004 Consistency Finance posting batches shall balance and reconcile to source ledger entries Batch control totals and reconciliation report (FIN-003)
DQ-FIN-005 Validity Mandatory fields, code systems, units, identifiers, referential integrity and temporal consistency shall be validated at entry and ingestion; invalid data is rejected or quarantined with actionable detail Validation tests per interface and screen (DAT-002)
DQ-FIN-006 Timeliness Event time, recorded time, effective time and ingestion time shall be stored distinctly for financial and stock transactions Schema inspection; temporal query tests (DAT-004)
DQ-FIN-007 Uniqueness Invoice numbers, receipt numbers, claim identifiers, movement identifiers and lot keys shall be unique and never reused; one business effect per source event Uniqueness constraints; duplicate delivery tests (INT-004)
DQ-FIN-008 Lineage A reported financial or stock value shall be traceable to source event, transformation and mapping version Sample trace from a Domain 8 report value to ledger entry and source event (DAT-003, ANA-004)
DQ-FIN-009 Reconcilability Dispense records shall reconcile to stock movements; claims shall reconcile to charges, invoice and account Reconciliation reports with zero unexplained items (MED-005, RCM-009)

7.6 Data Lifecycle and Retention

  • Creation. Financial and stock records are created by this domain's services from validated events, user transactions or interface messages. Each record carries author or service identity, source and the four temporal dimensions of DAT-004 where applicable.
  • Modification. Posted ledger entries, issued invoices, receipts, submitted claim payloads, published tariff versions and stock movements are immutable. Mutable records (draft invoices, draft claims, draft tariff versions, requisitions before submission, exception items) keep a change history.
  • Correction. Corrections are reversing and adjusting entries, credit notes, linked resubmissions and reversing movements (FIN-007, RCM-005). Identity corrections follow Domain 1 merge and unmerge events and retain original identifiers (ADM-007).
  • Archiving. Closed accounts, settled claims and aged movements move to the read-only archive tier 2 years after the end of the fiscal year in which they closed, and stay retrievable and included in reconciliation and audit queries (settled 17 Nov 2026, GAP-FIN-009). An open account, an unsettled claim, an open receivable and stock still on hand are never archived.
  • Retention. Periods come from the enterprise retention baseline, applied through the retention mechanism owned by Domain 6 (HIM-002), and preserve immutable financial records as NFR-014 requires (GAP-FIN-009):
Record class Minimum retention Trigger Online
Accounts, ledger entries, invoices, credit notes, receipts, payments, deposits, refunds, adjustments and write-offs 10 years End of the fiscal year of the record 2 years
Claims, claim responses, remittances and authorizations (guarantee letters) 10 years End of the fiscal year in which the claim closed 2 years
Finance posting batches and their acknowledgements 10 years End of the fiscal year of the batch 2 years
Stock movements, lots, stocktakes, requisitions, purchase orders and goods receipts 10 years End of the fiscal year of the record 2 years
Tariff versions, pricing rules, account mappings and other configuration versions While a retained record references them, and at least 10 years after retirement Retirement Until retirement plus 2 years
Exception items and approval requests 10 years Closure 2 years
Online payment orders and provider settlement reports 10 years End of the fiscal year 2 years
Clinical documents of a claim package (such as the discharge summary) As medical record content, 25 years Patient's last visit Per the baseline

The basis for financial and stock records is UU 8/1997 on company documents and UU KUP article 28. Controlled-substance stock records under Permenkes 5/2023 keep the same 10 years. A local rule may lengthen a period; it may not shorten one. - Disposal or deletion. Disposal occurs only through the approved, logged retention process; there is no ad hoc deletion of financial or stock records. Data subject request handling (SEC-012) for financial records follows UU 27/2022 (PDP): access and correction requests are answered within 3 x 24 hours, and erasure is refused while the 10-year retention applies. - Legal hold. Records under legal hold (Domain 6) are excluded from archiving-related disposal; this domain honours hold flags supplied through the Domain 6 or Domain 10 contract. - Export. All financial and stock data, with identifiers, relationships, provenance, timestamps, status and version history, shall be exportable in documented machine-readable formats (PRS section 15.2; ACC-008).

7.7 Data Migration Requirements

PRS section 16.2 requires mapping and reconciliation rules for financial records, preservation of source-system identifiers and provenance, trial migrations with financial reconciliation and exception queues, and finance sign-off before final migration.

Migration ID Source Target Data Scope Validation
MIG-FIN-001 Legacy billing system MOD-FIN-002 Charge master, price lists, payer fee schedules, packages, tax rules in force and those needed to reprice open encounters Row counts; price comparison on sampled services; tariff administrator and finance sign-off
MIG-FIN-002 Legacy billing system MOD-FIN-003 Open accounts and open receivables (patient and payer) as opening balances with source identifiers Total receivable by payer and ageing bucket equals legacy; account-level sampling
MIG-FIN-003 Legacy billing / cashiering MOD-FIN-006 Deposits held and unallocated credits Totals equal legacy; sampling
MIG-FIN-004 Legacy claims system MOD-FIN-004 Open claims with status, payer reference and outstanding amount Counts and totals by payer and status; sampled lifecycle continuation test
MIG-FIN-005 Legacy registration / billing MOD-FIN-005 Active coverages with layer and validity for active patients and open encounters Counts; sampling against payer cards or eligibility re-check
MIG-FIN-006 Legacy inventory and pharmacy stock systems MOD-FIN-008 Item master; stock locations; opening balances by item, location, lot and expiry Quantity and value totals by location equal legacy or a cutover stocktake; lot sampling; duplicate-item resolution
MIG-FIN-007 Legacy procurement system MOD-FIN-009 Open requisitions and purchase orders with outstanding quantities Counts and outstanding quantities; supplier mapping check
MIG-FIN-008 Legacy systems Archive / read-only access Closed historical financial and stock transactions needed for audit or retention Archive with read access, subject to retention rules (DEC-FIN-012); completeness check against legacy period totals

Closed historical stock transactions loaded by MIG-FIN-008 are read-only and shown as "Migrated" wherever they are listed (DEC-FIN-012).

Rules applying to all migration items: source-system identifiers and provenance are preserved; conflicts are not silently overwritten; opening balances are posted as identifiable migration entries so that they remain distinguishable from native transactions; trial migrations use row counts, checksums, financial reconciliation and exception queues; cutover, rollback, freeze windows and parallel run are defined before final migration.


← 6. User Interface and Interaction Requirements | Contents | Identifier index | 8. Integration and Interoperability Requirements →