← All projects
T4BrowserOperations and back officeHealthcare practicesHeavy codeTeams 6 to 8

Prior Authorization Desk

Every order checked against payer rules, the packet built and submitted, status and deadlines tracked, and denials appealed with a coordinator approving

WHO HAS THIS PROBLEM
Prior authorization coordinators, front office leads and revenue cycle managers at US specialty groups (orthopedics, imaging, cardiology), durable medical equipment suppliers and home health agencies

WHAT YOUR TEAM WILL HAVE BUILT

A prior authorization desk that checks every order against payer rules, builds the packet from the EHR and the desktop office system, submits on payer portals after a coordinator approves, tracks status and deadlines, and drafts appeals.

THE OPEN SOURCE TOOLS IT RUNS ON
BrowserGlass MCP

Gives the agents a real Chrome to read orders and notes in the mock EHR and to fill, attach and submit on each mock payer portal.

bgls mcp with bg_navigate, bg_page_map, bg_read_page, bg_fill, bg_select, bg_click, bg_set_input_files, bg_wait_for_text and bg_screenshot.
BrowserGlass Python client, lease and recording

Runs the intake and status queues from the server, several browsers at once, hands the tab to a coordinator for approval or judgement, and records every portal session.

AutomationClient with pageMap(), BrowserSwarm for parallel status checks, yield_control() and wait_for_resume() for the handoff, startRecording and stopRecording with bgls record export, and bg_control for agents over MCP.
DeskVNC

Reads schedules and scanned referrals out of the Windows desktop office system that has no API.

dvv mcp tools dvv_limbs, dvv_open, dvv_screen, dvv_click, dvv_type, dvv_key and dvv_wait to find the document, and dvv_files to fetch the exported file, on a VM the team owns.
THE FINISHED PRODUCT

Prior Authorization Desk

A specialty group, DME supplier or home health agency installs the desk on its own server, loads its payers and rules, and connects it to its EHR and office system. Each morning new orders are checked, packets are built and waiting for approval, open cases are checked for status, and deadline alerts sit at the top of the queue. Coordinators approve submissions and appeals, and the revenue cycle manager reads turnaround and denial rates by payer every week.

Proves: Before: about [25] minutes of coordinator time per order, [3] missing documents per 20 packets and every status checked by hand. After: under 6 minutes per order with approval, 97% of rule calls right, every deadline tracked and a payer report in seconds, on the synthetic data set.

THE BUSINESS PROBLEM

Before an MRI, a knee replacement, a power wheelchair or a home health episode can go ahead, someone has to find out whether the patient's plan wants prior authorization, pull the right notes and reports out of the EHR and the office system, and submit them on that payer's portal. Each payer has its own code lists and its own portal, so coordinators spend the day reading rules, retyping, uploading and then checking back for status. The AMA's physician survey reports dozens of prior authorizations per physician each week and more than a full working day of physician and staff time to handle them, and most physicians say care gets delayed. Missed deadlines and incomplete packets turn into denials, rescheduled procedures and write offs.

STUDY THE BUSINESS FIRST: NO CONTACTS NEEDED

Where to find the evidence

  • CMS Interoperability and Prior Authorization final rule (CMS-0057-F, January 2024) and the CMS fact sheet on its decision deadlines and Prior Authorization API
  • AMA prior authorization physician survey (latest annual edition) on request volume, staff hours and care delays
  • CMS DMEPOS Required Prior Authorization List and the Home Health Review Choice Demonstration operational guide
  • X12 278 request and response and the HL7 Da Vinci CRD, DTR and PAS implementation guides
  • Prior authorization code lists and medical policies that large commercial and Medicare Advantage plans publish on their provider websites
  • O*NET pages and job posts for prior authorization coordinator and patient access roles at specialty groups, DME suppliers and home health agencies
  • G2, Capterra and Reddit r/medicalbilling reviews of Availity, Infinx, Experian Authorizations and the authorization features of athenahealth and ModMed
  • Synthea synthetic patient generator documentation, for realistic US synthetic records

Your demo environment: A mock web EHR with orders, notes, imaging reports and signatures, a mock Windows desktop office system in a VM that holds scheduling and scanned referrals, and three mock payer portals in different styles with rule lookup, submission, status and appeal pages. 400 synthetic patients from Synthea with US addresses and commercial, Medicare Advantage and Medicaid plans, a rule library modeled on published payer code lists, and a truth file of the right decision and packet for every order.

How to do the research →
WHAT YOU BUILD

A prior authorization desk with a work queue at its centre. New orders from a mock EHR are checked against a payer rule library by plan, CPT or HCPCS code, diagnosis and site of service, and each one that needs authorization opens a case with its due dates. An agent gathers the clinical notes, imaging reports and signed orders from the web EHR through BrowserGlass and the scanned referrals from a Windows desktop office system through DeskVNC, builds the packet against the payer's checklist, and fills the mock payer portal, then stops until a coordinator approves before it presses submit. After that it checks status on a schedule, turns requests for more information into tasks with the missing items named, keeps peer to peer scheduling notes, and drafts appeal letters from the denial reason that a coordinator edits and approves. Reports show turnaround by payer, approval and denial rates, and authorizations close to expiry.

TOOLS AND APIS YOU USE
BrowserGlass MCP and Python clientBrowserGlass control lease handoff and recordingBrowserSwarm for parallel status checksDeskVNC dvv MCP for the desktop office system

See every API on the tools page.

THE WHOLE PRODUCT

8 modules that together do the whole job.

Each person on the team owns one or two modules. All of them ship in version 1.0.

  1. 1Order intake and rule check

    Reads new orders from the mock EHR and checks each one against the payer rule library by plan, code, diagnosis and site of service.

  2. 2Clinical packet builder

    Gathers notes, imaging reports, orders and scanned referrals from the web EHR and the desktop office system and matches them to the payer's checklist.

  3. 3Portal submission

    Fills the payer portal in BrowserGlass, attaches the packet and submits only after a coordinator approves, with a recording of every session.

  4. 4Status and deadline tracker

    Checks every open case on a schedule and counts down to payer decision deadlines, service dates and authorization expiry.

  5. 5More information and peer to peer

    Turns payer requests for information into tasks with the missing items named, and keeps peer to peer scheduling notes for the physician.

  6. 6Appeals

    Drafts appeal letters from the denial reason, the payer's public policy and the chart, for a coordinator to edit and approve.

  7. 7Reports and admin

    Turnaround by payer, approval and denial rates and workload per coordinator, plus payers, rules, deadlines, roles, retention and the audit log.

  8. 8Launch kit

    A landing page, an ROI calculator from the baseline, the 2 minute demo video, a case study from the demo environment run and a US market sizing from Census data.

WHO SIGNS IN  Prior authorization coordinatorFront office leadOrdering physicianRevenue cycle managerAdmin

THE PERSONA PANEL

Four people your product has to convince.

Build each one from public evidence, interview them with AI, and expect your mentors to play them at the gates.

DAILY USER

Prior authorization coordinator at a 9 surgeon orthopedic group

A queue that says which orders need auth today, a packet already built against the payer checklist, and no more retyping into portals.

MANAGER

Revenue cycle manager at a regional imaging center network

Turnaround and denial rate per payer every week, and proof that no scan went ahead without an authorization on file.

BUYER

Owner of a DME supplier or administrator of a home health agency

More cases per coordinator without hiring, fewer delayed starts of care, and a setup the office can run within a week.

IT AND SECURITY

HIPAA security officer for a multi site specialty group

Access by role, only the documents the payer needs in each packet, an audit trail of every view and submission, and synthetic data in every demo.

THE PRODUCTION BAR

Finished means all of this.

  • Sign in, user roles and a workspace per company
  • An audit log of who did what, including the AI
  • A person approves anything risky the AI does
  • One command install on a clean machine, under 15 minutes
  • A demo mode with synthetic data
  • Automated tests for every acceptance criterion, run in CI on every pull request
  • Admin settings that change behaviour without code
  • Data export and backups
  • Security review: no secrets in code, input checks, dependency scan, OWASP top 10
  • Works on a laptop and a phone, accessible forms
  • Admin guide, user guide, API docs and HANDOVER.md
PLAY IT LEVEL BY LEVEL

Seven levels, from a day one demo to launch.

Each level has one goal, the checks a mentor will look for, a prompt to give your AI agent and a post to share when you clear it. Tick the checks as your team meets them. The next level opens when this one is cleared.

PRIOR AUTHORIZATION DESK

Level 1 of 7: Day one demo

0 / 1800 XP
  1. Day one demoDay 1 · G0
  2. Working sliceWeek 1
  3. UsableWeek 2 · G1
  4. CompleteWeeks 3 to 4
  5. At volumeWeeks 5 to 6 · G2
  6. Production readyWeeks 7 to 8 · G3
  7. LaunchWeeks 9 to 10 · G4
  8. Boss levelstretch
LEVEL 1 · DAY 1 · +100 XP · GATE G0

Day one demo

Ship on the first day. Your agent builds a mock portal with synthetic data, then BrowserGlass or DeskVNC does one real job in it end to end while you record it. Demo it to the room before lunch.

YOUR GOALBy lunch on day 1, BrowserGlass reads a synthetic order from a mock EHR, finds that it needs authorization, fills and submits the request on a mock payer portal after a person approves, and the run is recorded and posted.

DONE WHEN
ASK YOUR AGENT

Paste this into Antigravity, opencode or Gemini CLI. Read its plan before you let it build.

Build a demo that works in 2 hours. Plan in 5 lines, then build in small steps. 1. mock/: one Next.js and TypeScript app with an EHR order list, an order page with a printable order PDF, and a payer portal with sign in, a prior authorization form (member id, CPT code, diagnosis, site of service, attachment), a review screen with an Approve button and a status page that shows a case number. 2. mock/seed.ts: 50 synthetic US patients with plans and orders for MRI, knee replacement and echocardiogram; no real people. 3. rules.yaml: 5 rules saying which codes need authorization on which plan, each with a source link field. 4. workers/day1.py: with pnpm bgls serve running, use the BrowserGlass Python AutomationClient and pageMap() to read an order, check rules.yaml, fill the form, upload the PDF, wait for Approve, submit and print the case number. Test: 3 orders in a row with no typing. Then help me record 60 seconds of it.
Your name
Intern, Ripeflow Spark
in

Day one of @Ripeflow Spark and our agent already did a real job. In [3] hours we built a mock EHR and a mock payer portal with [50] synthetic patients, and BrowserGlass read an MRI order, worked out that the plan needs prior authorization, filled the request, attached the order and waited. I pressed Approve, it submitted and read back the case number. Coordinators do this by hand dozens of times a week. #RipeflowSpark #BrowserGlass

ADD The 60 second recording of the agent doing the job, posted the same day
POST IT WHEN THE LEVEL IS CLEARED
  1. Fill in the [numbers] with your team's real results.
  2. Tag @Ripeflow and your teammates. Keep #RipeflowSpark.
  3. Post on LinkedIn. Put the clip on your WhatsApp status and as an Instagram reel.
  4. Add the post link to your team tracker. It counts for points.

Progress is saved in this browser. Your mentor checks the real evidence on Saturdays.

DAY 1 PROMPT

The first thing to ask your agent.

Before level 1, give this to your coding agent so it sets up the repo and learns the tools with you.

Run one agent per person, each in its own psmux pane. The agent drafts, you check. If you cannot explain what it wrote, it does not go in.

How to work with agents →
You are the lead engineer on a Prior Authorization Desk for US specialty groups, DME suppliers and home health agencies. Today's goal is a working demo by lunch, recorded and posted. Stack: Next.js and TypeScript with Better Auth and Postgres through Drizzle, Python workers that take jobs from a queue, Vitest, Playwright and pytest in GitHub Actions, in a monorepo with apps/web, workers/, packages/shared, mock/ and docker-compose.yml. Build mock/ as a small Next.js app with an EHR order list and a payer portal that has a prior authorization form with a file upload, a review screen with an Approve button and a status page, seeded with 50 synthetic US patients and orders. Then write workers/day1.py with the BrowserGlass Python client: start the gateway with pnpm bgls serve, read one order with pageMap(), check rules.yaml, fill the form, attach the order PDF, wait for Approve, submit and read the case number back. Read the BrowserGlass README.md, docs/quickstart.md, docs/page-map.md and clients/python/README.md. Give a 5 line plan, then build. Acceptance test: 3 orders with no typing except the approval.
RESULT TO PROVE

Before: about [25] minutes of coordinator time per order, [3] missing documents per 20 packets and every status checked by hand. After: under 6 minutes per order with approval, 97% of rule calls right, every deadline tracked and a payer report in seconds, on the synthetic data set.

BASELINEThursday of week 1: by hand on the demo environment, time 20 orders from rule check to submitted, 20 status checks and 5 appeal letters, counting missing documents and wrong rule calls.
WHAT YOU LEARN

US prior authorization rules, healthcare documents and privacy, browser and desktop agents, deadline tracking, reporting.

GIVE BACK UPSTREAM

BrowserGlass recipes for a portal submission with file uploads and for a scheduled status check on fake data, fixes to the control lease or recording found while running them, and DeskVNC docs or fixes found while driving a desktop office system.

THE TEAM

Outcome owners

Everyone builds with AI agents. Each person owns one outcome and answers for it.

  1. 1Product owner: rules.yaml with sources, deadline rules, the backlog and the buyer panel
  2. 2Agent lead: packet builder, portal agents in BrowserGlass and the DeskVNC desktop agent
  3. 3Integration lead: mock EHR, desktop system and payer portals, the X12 278 and Da Vinci PAS design, upstream pull requests
  4. 4Quality lead: truth file, rule accuracy, turnaround numbers, tests and the security review
  5. 5Story lead: appeals and report screens, guides and the launch kit
START HERE

First tasks

Do these in the first week, before anything else.

1Run pnpm bgls serve and read docs/quickstart.md and docs/page-map.md
2Have the agent build the mock EHR and payer portal with 50 synthetic patients
3Record the agent submitting its first request and post it