[ Case Study 02 · Claims Operations Platform ]

RPA Pulls the Data. AI Accelerates the Work. The Platform Makes It Defensible

Claims operations at 314,392 claims a month, across 93 client accounts, twelve practice management systems and an 85-person AR floor. We build the platform that puts RPA, agentic AI workflows and audit-grade tracking into one operating layer, so the team argues with payers instead of logging into portals.

12 PMs
Practice Management Systems
The importer set the platform ingests, taken from a client's own written system list.
314,392
Claims a Month, Current Book
93 client accounts, 85 people on AR. The scale the platform is built and cost-modeled for.
47 → 38
A/R Days Outstanding
Nine days off DSO, three quarters after go-live, on the engagement that proved the model.
Download as PDF
02 / Introduction

Twelve Practice Management Systems. 93 Client Accounts. One Platform

Two sets of numbers appear in this case study and it is worth saying which is which before you read them. The scale is current: the platform is being deployed into a book of 93 client accounts, twelve practice management systems and 314,392 claims a month, worked by an 85-person AR floor. The outcomes in section 10 are measured, and they come from the earlier engagement that proved the model: fifteen healthcare groups, twenty analysts, about 150,000 claims a year.

We do not restate that engagement's results against the larger book. Multiplying a measured nine-day DSO improvement by a book twenty-five times the size would be a projection wearing the clothes of a measurement, and a number we cannot defend costs more than a smaller one we can. The result is what it was measured to be; the scale is what the platform runs at now.

The problem is the same at both sizes: a team logging into a different practice management system per client to pull aging reports, copying CSVs into spreadsheets, parceling out claims by hand, while denial follow-up and appeals wait at the bottom of the queue. It gets worse with scale, not better.

We built the claims operations platform: a multi-tenant claims-operations platform with RPA-driven practice-management-system retrieval, agentic AI workflows embedded in the workspace (Bedrock-powered note transformation, RAG-grounded code suggestions, AI root-cause analysis on denial patterns), an eleven-state claims workflow, automatic priority routing, QA audit with rebuttal escalation, and an ERA-driven payment-posting layer. Production-deployed on AWS. This case study walks the platform and the result.

How to Read This Case Study
P. 3
The Pain
One system per client. Manual everything.
P. 4-6
The Build
Architecture, database security, claim states.
P. 7-9
The Screens
RPA log, worklist, claim workspace.
P. 10
The Impact
Throughput, DSO, denial rate.
P. 11
Voices
CEO, CFO, VP of Operations.
P. 12
Next Step
A 30-minute call to walk one workflow.
03 / Before

Twenty People. Fifteen Clients. Five Practice Management Systems. Every Morning, the Same Routine

The bottleneck wasn't talent. It was that the highest-paid AR analysts started every day logging into other people's software to pull the same reports they pulled yesterday.

Daily · Portal Logins
Five Portals. Fifteen Clients. Repeat
Every morning a senior AR analyst logged into eCW, athenahealth, AdvancedMD, NextGen, DrChrono across each client's tenant credentials. Pulled aging reports. Saved CSVs. Renamed files. Uploaded to a shared drive. ~90 minutes a day, gone before claims work started. Across fifteen client groups, this added up fast.
Daily · Manual Assignment
Spreadsheet Round-Robin
The AR lead opened the master spreadsheet, sorted by aging × balance, and parceled claims out to twenty analysts by hand. No capacity check. No skill match. No audit of who got what. Claims with high recovery odds sometimes landed with the analyst least equipped to work them.
Weekly · QA Review
QA Happened in Excel. Or Didn't
A two-person QA team randomly audited 5% of worked claims. Findings went into a Word document. Rebuttal happened in email threads. Patterns nobody could see in aggregate. OIG-style compliance? Aspirational.
Monthly · ERA Posting
Payments Posted by Line, by Hand
ERA 835 files arrived from clearinghouses. A finance staffer opened each one in a parser tool, matched line items to claims by hand, posted payments one at a time. Write-offs documented in notes nobody read.
The Real Cost
“My most experienced AR people were spending their first 90 minutes a day in browser tabs.”
A twenty-person team that on paper was supposed to drive collections, follow up on denials, work appeals, audit coding. In reality, they were a portal-login service for the first 90 minutes of every workday.
04 / What We Built

A Multi-Tenant Claims Platform. RPA at the Edges. Agentic AI Inside

A headless browser logs into each practice management system on a schedule, exports the aging reports, drops them in cloud storage. A claims engine ingests, ranks, and routes the work. A QA layer audits the output. The team handles the conversations that close the dollars.

1
RPA Worker
Firefox headless on EC2. Solves Turnstile CAPTCHA. Exports claims CSV.
2
S3 + Queue
CSVs landed in S3, jobs queued in Redis, Celery picks them up.
3
Ingest + Route
Column-mapping per PM, dedup, priority score, auto-assign every 4 hrs.
4
Workspace
Eleven-state claim workflow. Action log. @mention notes. Audit trail.
5
QA + Payment
Rebuttal-aware audit. ERA 835 posting with line-item allocation.
Agentic AI Workflows
Bedrock-powered note transformation in the claim workspace. RAG-grounded code suggestions (Claude + ICD-10/CPT RAG, no hallucinated codes). AI root-cause analysis on denial patterns, and automated report generation for the financial report card and weekly KPIs. All HIPAA-grade.
Multi-Tenant + Audit-Grade
Five levels, each owning the one below it: platform, billing company, provider organization, users, claims. Row-level security enforces that separation in the database, not in application code, with fifteen client groups isolated. Eleven-state claim workflow, every action timestamped. Detail in sections 05 and 06.
Priority Routing + Observability
Auto-assignment runs every 4 hours, ranked by aging × balance × capacity. Twenty analysts get queues matched to their skill level. RPA runs capture screenshots, failures surface in the dashboard, retry is one click.
Cloud-Native Runtime
AWS ECS Fargate + RDS PostgreSQL + ElastiCache Redis + S3 + Bedrock. Scales with claim volume, not headcount. Field-level AES-256 PHI encryption. Cloud infrastructure cost: very minimal.
Practice Management System Coverage
The RPA architecture is production-deployed for eCW, and the same pattern extends to the other major US practice management systems at roughly 2-3 days of tuning each.
▸ eCW · Live▸ athenahealth▸ AdvancedMD▸ NextGen▸ DrChrono
05 / How It Is Built

Security in the Database, Not the Application

The usual way to keep one client's data away from another is a filter written into application code. Every query has to remember it, and the day one query forgets is the day a client sees somebody else's claims. We moved that rule into the database, where forgetting is not possible.

86 Tables, 137 Rules
86 tables carry row-level security, enforced by 137 policies. The database decides which rows a session may see before the application gets a say. A developer who forgets a filter still cannot return another client's data. The query comes back empty instead of wrong.
Forced on 70 of Them
A table's owner is normally exempt from its own security rules, which quietly undoes the protection for the account the application connects as. On 70 tables we switch that exemption off. The application is subject to the same rules as everybody else.
The Tenant Comes From the Login
Which client a session belongs to is read out of the signed-in token and set on the database connection. Nothing in a request can change it. When it is not set, the default matches no client at all, so a session that skipped sign-in returns nothing rather than everything.
11 Encrypted Fields
Patient name, date of birth, phone and subscriber ID are encrypted in the database itself, so a copy of the database is not a copy of the patient data. The same treatment covers the credentials our bots sign into payer portals with, and your own staff's contact details. The list is computed from the data model rather than maintained by hand, so it cannot silently fall out of date.
The Audit Trail, and What “Immutable” Actually Means Here
Every write that touches patient data leaves an audit entry. That entry cannot be deleted, and its identity, its owner and its timestamp cannot be changed. Database triggers refuse the attempt. This is not a policy somebody is trusted to follow, and it is not a code review that might miss one. It is the database saying no. When a payer or an auditor asks who touched a claim and when, the answer is not reconstructed from memory.
06 / How It Is Built

A Claim Cannot Skip a Step

A claim moves through eleven named states. Every move is checked against a map of what is allowed from where, so a claim cannot jump from untouched to closed because somebody was in a hurry. When a client asks why a claim sat for three weeks, the platform answers with the path it took, not with an explanation.

1
Pending
Landed from the aging report. Nobody has touched it.
2
Worked
An analyst called, appealed or corrected, and logged what happened.
3
In Audit
Sampled for QA. Approved, or sent back with a reason.
4
Pending Follow-Up
Waiting on the payer. It comes back to a queue, not to a memory.
5
Resolved, Closed
Paid or written off. Reopens if a takeback lands later.
The Allow-Map
Each state lists the states it is permitted to move to, and the platform checks every transition against that list. An audit rejection sends the claim back to be worked. A closed claim can only be reopened. There is no path that reaches closed without the work being logged first.
Who Owns It Is a Separate Question
Assignment is tracked apart from workflow state, which sounds like a detail and is not. A manager can reassign a claim mid-flight without disturbing where it is in the process, so somebody going on leave does not reset three weeks of follow-up.
Escalation Is a State, Not an Email
A rejected audit can escalate to a manager, and the claim carries that fact. It is visible in the queue rather than sitting in somebody's inbox, which is where escalations normally go to die.
Payments Move the State Too
Posting a remittance that clears the balance resolves the claim on its own. Voiding a batch or accepting a takeback puts it back into the work queue, so money coming back out is treated as seriously as money coming in.
The Eleven States, in Full
Naming them matters more than it sounds. A state nobody named is a status somebody types into a notes field, and a status in a notes field cannot be counted, routed or reported on.
PendingIn ProgressWorkedIn AuditAudit ApprovedAudit RejectedPending Follow-UpEscalatedResolvedClosedReopened
07 / Screen 1 · RPA Execution Log

The Bot's Diary. Every Login, Every Export, Every Retry

app.gravitashc.com/settings/rpa
Claims Operations Platform
Claims
Coding
Payments
Portfolio
Settings
ops@gravitashc.comSign Out
Settings › RPA › Execution Log
RPA Settings
Credentials · Jobs · Execution Log
▾ All PM Systems
Run Now
↻ Refresh
Execution History
● Active
TriggerPM SystemStartedDurationStatusErrorDownload
▸ScheduledeCWSep 17, 2:00 AM3m 41sSuccess-⤓ CSV
▸ScheduledeCWSep 16, 2:00 AM4m 02sSuccess-⤓ CSV
▸ManualeCWSep 15, 4:18 PM3m 28sSuccess-⤓ CSV
▾ScheduledeCWSep 15, 2:00 AM1m 12sFailedTurnstile timeout · retry-
▸ScheduledeCWSep 15, 2:14 AM3m 56sSuccess-⤓ CSV
▸ScheduledeCWSep 14, 2:00 AM3m 34sSuccess-⤓ CSV
Why this screen matters. RPA without observability is a black box. This page is the receipt: every nightly login, every export, every retry. When something breaks (and it does, because practice management systems push UI changes and CAPTCHAs evolve), the failure surfaces with a one-click manual retry. The bot has a paper trail.
08 / Screen 2 · Claims Worklist

The Queue an Analyst Sees Monday Morning, Ranked by What Pays

app.gravitashc.com/claims
Claims Operations Platform
Claims
Coding
Payments
Portfolio
Settings
analyst@gravitashc.comSign Out
Claims › Worklist
Claims Worklist
Your assigned claims · 47 active
▾ All Payers
▾ 90+ Days Aging
+ Add Claim
⤓ Export CSV
●
Total Claims
247
$
Total Balance
$1,234,567
▲
Follow-Ups Today
12
!
High Priority
8
Claim #PatientService DatePayerBalanceAgingStatusAssignedFollow-Up
☐CLM-89241Patient #4521Jun 16, 2026BCBS · TX$2,840.5094dAppealedM. LopezSep 21
☐CLM-89238Patient #3987Jun 18, 2026UHC$1,920.0092dDeniedM. LopezSep 20
☐CLM-89197Patient #5102Jun 23, 2026Aetna$1,640.7587dIn ProgressM. LopezSep 20
☐CLM-89154Patient #2841Jun 28, 2026Cigna$1,210.3082dM. LopezSep 22
☐CLM-89102Patient #1923Jul 7, 2026BCBS · CA IPA$980.0073dIn ProgressM. LopezSep 23
☐CLM-89087Patient #4108Jul 11, 2026Medicare$720.4069dM. Lopez-
This is the page that ate the spreadsheet. Forty-seven claims, sorted by recoverability × dollars × payer behavior. The top of the list is the right work for today. Color-coded aging buckets, payer-specific status, follow-up dates that the analyst sees the moment they log in. No spreadsheet. No manager handing out work. The queue arrives ranked.
09 / Screen 3 · Claim Workspace

Everything the Analyst Needs on One Page. Everything the Auditor Needs in the Log

app.gravitashc.com/claims/CLM-89241
Claims Operations Platform
Claims
Coding
Payments
Portfolio
Settings
analyst@gravitashc.comSign Out
Claims › Worklist › CLM-89241
Claim Workspace
Working on claim CLM-89241 · BCBS Texas
⏱ 04:21● High Priority
Patient
Patient #4521
Service Date
Jun 16, 2026
Total Charges
$3,420.00
Current Balance
$2,840.50
Aging
94 days
Workflow Status
Appealed
Assigned To
M. Lopez
Follow-Up
Sep 21, 2026
📋 Work Claim
🛡 Quality
🕒 History
Action Type
Appeal Submitted
Status Code
CARC-50 Med. Necessity
Sub-Status
Awaiting Payer Response
Follow-Up Date
Sep 21, 2026 📅
Notes (Required)
Submitted Level 1 appeal with medical-necessity documentation from rendering provider. Referenced 3 sibling claims (CLM-87102, CLM-87445, CLM-88019) that paid on the same CPT × payer combination. Expecting determination within 30 days.
Save Action ⌃SSave & Next ⌃↵
Action History
Sep 16, 9:14 AM · M. Lopez
Appeal Drafted
Pulled reference cohort, drafted Level 1 letter against payer policy citation.
Sep 14, 3:42 PM · M. Lopez
Payer Called
Confirmed denial reason code (CARC 50). Rep stated appeal route is medical necessity.
Sep 12, 11:08 AM · System
Denial Received
ERA 835 posted denial. CARC 50, RARC N700. Balance updated.
Every action timestamped. Every change versioned. Every claim, timed. See the timer at the top-right of the workspace (“⏱ 04:21”)? Every analyst's time on every claim is captured automatically. That's not surveillance, it's accountability data: coaching opportunities surface, time-per-claim becomes a real KPI, and managers stop guessing how their team spends the day. Combined with the action log, the workspace produces an audit trail no spreadsheet can match.
10 / After · Three Quarters In

~4 FTE Saved. DSO Down 9 Days. ~$6.6M Annual Financial Impact

Measured on the engagement in section 03: ~150,000 claims a year on a $127M A/R book. Deliberately not rescaled to the larger book on the cover.

FTE Saved
~4
~$260K/year in loaded labor cost, returned to higher-value work.
DSO Improvement
47 → 38
9 days off A/R = ~$3.13M working capital unlocked.
Collections Lift
+$3.19M
Denial rate dropped 8% → 5.5%. ~3,750 claims rescued/year.
Combined Annual Impact
~$6.6M
Labor + working capital + collections, on an ~$127M A/R book.
⏱ Per-Claim Time
Accountability the spreadsheet couldn't deliver. Every analyst's time on every claim is captured by the workspace timer. Average time-per-claim by team, analyst, payer and denial type, all queryable. Underperformers can't hide; overperformers get the credit they earned.
How We Got There · The Math
Inputs from that engagement's profile + industry-standard loaded costs.
1.5 hrs/day saved per analyst (portal logins + manual assignment, eliminated)
× 20 analysts × 22 days
= Monthly hours returned to the team
~660 hrs / month
= FTE equivalent (at 160 hrs / FTE / month)
~4 FTE
× Loaded cost per US AR analyst ($65K / yr)
= ~$260K / yr labor recovered
DSO drop: 9 days × ($127M A/R book ÷ 365)
= ~$3.13M working capital unlocked
Denial rate: 150K claims × 2.5 pts × $850 avg balance
= ~$3.19M additional collections / yr
Agentic AI workflows: note transformation cuts action-note time ~60%; RAG code suggestions cut medical-necessity denials at coding.
drives the +40% throughput
Combined Annual Financial Impact
~$6.6M
Calculate Yours · Plug in Your Numbers
For an RCM operation your size: your annual claim volume × your avg claim balance × 2.5 pts denial reduction = your annual collections lift. Add your DSO improvement (days) × your A/R book ÷ 365 = working capital unlocked. Plus your saved FTE × $65K loaded cost in labor recovered. The math scales linearly with your book.
11 / Voices

In Their Own Words

Three executive vantage points on the same engagement. The CEO who signed the contract. The CFO who watched the cash-flow math move. The VP of Operations who carried the rollout.

From the CEO
“The number that closes me at the board meeting is the $6.6M. The number that keeps my contracts is the audit trail. When a client asks why a $2,800 claim sat for nine days, I don't say ‘let me check’ anymore. I pull up the action log and walk them through every touch, every decision, every payer callback. That's a totally different relationship. The automation paid for itself in working capital alone. The trust I bought with the audit trail, I can't put a number on.”
Chief Executive OfficerRegional medical billing services · 15-client book
From the CFO
“Nine days off DSO on a $127M book is roughly $3M in working capital. That's not a soft KPI. That's a credit-line conversation with my bank that I don't have to have anymore. Add the labor and the denial recovery, and the engagement was net-positive inside the first quarter. I built the ROI model in an afternoon and the math holds.”
Chief Financial OfficerRegional billing services · 15-client book
From the VP of Operations
“I've rolled out three platforms in my career and this one is the only one my team didn't push back on. Why? Because it took the worst part of their job, the portal-login routine, and just deleted it. The first morning the bot ran successfully, I had analysts coming up asking what else we could automate. That's not the reaction you get to a typical rollout.”
VP, OperationsOwns RCM delivery · 20-analyst team
Names and practice identities withheld at the request of our client. Live customer references available for qualified discovery conversations.
[ next step ]

Pick the Practice Management System That Costs Your Team the Most Mornings. We'll Automate the Login

A 30-minute call to walk one workflow. If the build math works, we scope the sprint. If it doesn't, you've spent 30 minutes and you understand your own portal-login tax better than you did this morning.

Book a Working Session
Vivek Manoharan
Co-founder, CEO & CFO
vivek@gravitashc.com
Karthik Ramesh
Co-founder, COO & CTO
karthikramesh@gravitashc.com
We build software for any workflow in your revenue cycle.