Patient payments and ledger

Ledger, payments, refunds, statements, payment plans and credits.

Each guarantor account has an append-only ledger. Payments are allocated to charges, and a mistake is fixed with a reversal or an approved adjustment, never an edit. Refunds over the approval threshold need a second person. Statements are generated and hashed, then sent or held, and a patient can pay one online at /pay/[code].

Pages

PageRouteWhat it shows
Patient payments/dashboard/platform/paymentsRefunds, statements and credits on patient accounts.

Lifecycles

ListStatuses
Paymentinitiated, requires_action, succeeded, failed, unknown, partially_refunded, refunded
Refundrequested, approved, executing, completed, failed, unknown, rejected
Statementgenerated, sent, paid, partially_paid, overdue, payment_plan, collections_hold, suppressed
PaymentPlanproposed, active, delinquent, completed, cancelled
CreditBalanceopen, refund_requested, refunded, applied, transferred, escheat_pending, escheat_reported
AdjustmentRequestrequested, approved, posted, rejected

Commands

Named mutations for this area. Each checks permissions on the server, takes an idempotency key and writes an audit event.

requestAdjustment, reverseLedgerEntry, takePayment, requestRefund, recordRefundPaid, correctLedgerNote, generateStatements, sendStatement, holdStatements, proposePaymentPlan, activatePaymentPlan, cancelPaymentPlan, rebuildAccountBalance.

On this page