A working revenue-cycle workbench for an outpatient behavioral-health group. Every claim is an
append-only event log โ ClaimDrafted โ ClaimScrubbed โ ClaimSubmitted (837P) โ
ClaimAcknowledged (277CA) โ RemittanceReceived (835) โ and claim state is a left fold over
that log, so the audit trail is free and any claim can be replayed to a prior state. Denials are
triaged by expected recoverable dollars rather than raw balance, then split into a
deterministic lane a machine can clear and a lane that genuinely needs a human.