Where financial data belongs
AmyTerm owns codes, ValueSets and mappings; it must not store prices. openEHR compositions own the longitudinal clinical facts. Product and service catalogues identify what was ordered or performed. Inventory owns quantities, batches, expiry and movements. Finance owns charge definitions, effective-dated tariffs, immutable pricing snapshots, accounts, invoices, allocations, claims and financial reports.
Every charge keeps its clinical or operational source type and source identifier. Source-event capture is idempotent: retrying a successful clinical event must not create a duplicate charge.
Currency and payment defaults
Configure the facility currency and default payment method in Facility Registry → Platform defaults. Currency is stored as an ISO 4217 code; the symbol and minor-unit precision are display metadata, never the accounting identifier. The finance workspace preselects those defaults for tariffs, patient accounts and receipts and still permits another active governed value where policy allows it.
Currency and payment-method rows are tenant-scoped governed catalogues. Historical invoices and payments retain their original currency and price snapshots when an administrator later changes a facility default. AmyTerm may identify the procedure, laboratory test, medicine or consumable that caused a charge, but tariff amounts and price history remain in Finance.
Workspace and roles
Open Operations → Billing & Finance. Use the patient context for patient accounts and coverage; use catalogue/tariff views for configuration; use invoices/payments for revenue-cycle work; use reporting for reconciliation. Catalogue and tariff authoring is restricted to super administrators. Operational routes require an approved finance role such as finance_admin, billing_operator, cashier or claims_officer.
| Object | Purpose | Important control |
|---|---|---|
| Cost centre | Financial attribution for a facility, department or service. | Use stable codes and deactivate rather than reusing meaning. |
| Charge definition | Declares a billable procedure, laboratory service, medication dispense/administration, consumable, accommodation or activity. | source_type and source_code must match the emitting workflow. |
| Tariff and item | Effective-dated currency, price and tax rules. | Never overwrite historical price snapshots. |
| Patient account | Connects patient, encounter and optional coverage to financial activity. | Verify patient identity and coverage before capture. |
| Billable event/charge | Prices the performed or supplied item and records its source. | Emit on performance/supply, not merely on order. |
| Invoice/payment | Groups charges, controls issue/cancel state, records receipts and allocations. | Issued invoices are controlled records; correct through defined transitions. |
| Claim/authorization | Tracks payer submission, response and prior authorization. | Preserve payer references, status history and evidence. |
Mother, newborn and dependent responsibility
AMCDR links the mother and each newborn clinically through the birth event and patient-relationship records. Finance remains patient-specific: the mother, Twin A and Twin B each have their own financial account, charges, invoice and claim. For insured newborns, create a separate coverage record for each child and reuse the governed payer, plan, policy number, subscriber number, subscriber name and guarantor that apply to the mother's policy. Set each child's relationship to the subscriber to the locally governed dependent value and verify eligibility separately for each newborn.
| Capability | Current support | Operating rule |
|---|---|---|
| Mother-newborn clinical relationship | Supported | Use the birth event and patient relationship; do not infer the relationship from an invoice. |
| Dependent insurance coverage | Supported as a separate coverage record per patient | Reuse the applicable subscriber, policy and guarantor metadata and record the child's relationship to the subscriber. |
| Separate patient accounts, invoices and claims | Supported | Post every charge and claim to the patient who received the care. |
| Formal family/master account and consolidated family statement | Not currently implemented | Use the clinical relationship plus matching coverage and guarantor metadata for traceability; do not describe that as a financial group account. |
| One insurer remittance across different patient accounts | Supported through payer remittance posting | Each claim and line is matched to its patient-specific invoice; unapplied cash and exceptions remain explicit. Ordinary counter payments remain account-scoped. |
Revenue-cycle workflow
- Create cost centres, active charge definitions and effective tariff items for the required currency and payer class.
- Open an active patient account connected to the correct encounter and coverage.
- Capture a billable event when a procedure is completed, a laboratory service is performed, a medicine is dispensed/administered, a consumable is supplied or an accommodation/activity occurs.
- Reconcile unpriced and failed captures. A billing failure must not roll back a completed clinical act.
- Create a draft invoice, verify charge inclusion, issue it, record payments and allocations, then close or correct it using controlled status transitions.
- Where insurance applies, verify coverage, record authorization and create the patient-specific claim handoff. Import or create the payer remittance, resolve claim/line exceptions, post the validated batch and reconcile invoice balances, adjustments, patient responsibility and unapplied cash.
Insurance remittance and adjudication
A payer remittance batch records claim- and line-level adjudication, submitted, allowed and paid amounts, adjustments, denial and remark codes, patient responsibility, matching exceptions, invoice posting, unapplied cash, and reversals. Import FHIR R4 PaymentReconciliation directly; X12 835, EDIFACT, and local formats require a certified adapter that preserves the original file.
Use Remittance & organisational costing to review a batch. Ambiguous claims or lines remain in exception and cannot post. A finance administrator posts only a validated batch. Corrections use reversal, retaining the original postings and restoring affected balances. Configure payer transport using HTTPS and deployment secret references; never place credentials in the endpoint record.
Billable-source contract
| Source | Capture point | Example linkage |
|---|---|---|
| Clinical procedure | Procedure performed/completed | Procedure composition or workflow event ID |
| Laboratory | Specimen/service performed according to local charging policy | Order/service/result workflow ID |
| Medication | Dispense or administration | Medication product code and dispense/administration ID |
| Consumable | Stock issued or consumed | Inventory movement ID and item code |
| Accommodation/activity | Verified bed-day, theatre, consultation or configured activity | Encounter/movement/activity ID |
API surface
The authenticated /finance API exposes cost centres, charge definitions, tariffs and items, accounts, billable events, charges, invoices, payments, coverage verification, authorizations, claims, payer endpoints/exchanges, remittances, adjudication resolution, posting/reversal, cost drivers/pools/rules/runs/budgets/entries, /reports/revenue-cycle and /reports/fully-loaded-cost. Use live OpenAPI for the current schemas.
Reporting and reconciliation
- The current Overall costing report calculates captured charge count, gross charges, internal cost from immutable unit-cost snapshots, gross margin, non-cancelled invoiced total, received payments, outstanding invoice balance, revenue by cost centre, revenue by category and claims by status.
- The report API supports governed scope plus date, facility and currency filters. Payer, department, service-line, clinician and family-group analysis requires additional reporting dimensions unless represented by the existing cost-centre/category scope.
- Track unpriced/failed captures, draft aging, payment exceptions, claim state and authorization expiry.
- Reconcile totals to source workflows and payment channels; never derive audited financial totals from UI state alone.
- Restrict patient-level exports and keep audit evidence for create, price, issue, cancel, payment, allocation and claim transitions.
Organisational costing and year-end boundary
Use AMCDR to report the costs and revenue associated with care: procedure, laboratory, medication, consumable, bed-day, and activity charges; direct cost; gross margin; receipts; balances; and claim status. Reports can break these down by cost centre and service category and trace each charge to its source event and price snapshot.
AMCDR adds posted/reversed operational cost entries, budgets, cost drivers, approved period pools, allocation rules/runs, variance and fully loaded cost reporting. It remains a healthcare operational subledger and management-costing system, not the statutory general ledger. Payroll, accounts payable, balanced journals, fixed assets/depreciation, bank reconciliation, accruals, tax, period close, consolidated profit-and-loss, balance sheet and cash flow remain authoritative in the approved ERP/GL and must reconcile to AMCDR exports.
| Reporting need | System of record |
|---|---|
| Patient/service revenue, direct charge cost, margin, receivables, receipts and claims | AMCDR Finance |
| Clinical-to-charge audit and cost-centre/service-category operational analysis | AMCDR Finance |
| Payroll, suppliers, assets, depreciation, accruals, tax, journals and bank reconciliation | External accounting/ERP system |
| Statutory year-end statements and organisational consolidation | External accounting/ERP system, reconciled to AMCDR subledger exports |
Acceptance test
- Create a charge definition, tariff item and patient account using synthetic data.
- Capture one procedure and retry the same source event; verify exactly one priced charge with an immutable snapshot.
- Generate and issue an invoice, record a partial payment, pay the balance and reconcile the revenue-cycle report.
- Create separate mother and newborn accounts and separate dependent coverage records that share the applicable payer, policy, subscriber and guarantor metadata; verify each patient is billed independently.
- Verify a counter payment can allocate only to its own account. Import one insurer remittance spanning mother and newborn accounts, resolve an intentionally ambiguous line, post it, reconcile both balances and then reverse it.
- Create and approve a shared cost pool, allocate it with governed drivers and prove source total equals allocated total plus explicit variance.
- Reconcile gross charges, unit-snapshot internal cost, gross margin, invoices, payments, outstanding balances, cost centres, categories and claim status for a test period, then reconcile the controlled subledger export to the external accounting test ledger.
- Force missing tariff configuration; verify the clinical action succeeds while the failed capture is visible for correction.
- Verify unauthorized clinical users cannot author tariffs, issue invoices or open unrestricted patient-level reports.