What Software a US Healthcare Clinic Should Build First
Published by CodeNicely, the product studio founded by Meghal Agrawal and Ujjwal Agrawal in 2017For: COO or owner of a multi-location US outpatient clinic group or regional hospital — running 3–15 sites, dependent on a legacy EHR, losing margin to no-shows, manual billing reconciliation, and referral leakage, and now being asked by the board to show an AI or automation roadmap
In this guide
- The three operational problems that actually cost you money
- Build #1: Eligibility and prior-authorization automation wired into your EHR
- Build #2: No-show reduction system
- Build #3: Referral capture and conversion
- What you should not build yet
- The sequence, and why order matters
- A note on HIPAA, security, and build-vs-buy
- Frequently Asked Questions
If you run a 3–15 site outpatient group and the board wants an AI roadmap, build a HIPAA-compliant eligibility and prior-authorization layer on top of your existing EHR first. Not a portal. Not a triage chatbot. Not an EHR replacement. The reason is unglamorous: denied and delayed claims are quietly bleeding most clinic groups six to seven figures a year, and no off-the-shelf RCM vendor will encode your specific payer contract rules for you. Fix that, then go after no-shows, then plug referral leakage. In that order.
This post lays out why those three are the real fights, what each build actually looks like, what it takes to ship, and what you should not build yet even though every vendor wants to sell it to you.
The three operational problems that actually cost you money
Before anyone writes code, agree on which numbers you are trying to move. For a US outpatient group running 3–15 sites, three line items dominate the margin conversation:
- Claims denials and prior authorization overhead. The all-payer initial denial rate hit 11.8% in 2024, up from 10.2% in 2020. The cost to rework a single denied claim rose to $57.23 in 2023, from $43.84 the year before. Prior authorization alone costs providers roughly $34,000 and 700 staff hours per provider per year, per CMS estimates.
- No-shows. Outpatient clinics average 23–33% no-show rates, with each missed visit costing roughly $200 in lost revenue.
- Referral leakage. Health systems lose 10–30% of revenue to referral leakage, and 45% of faxed referrals never result in a scheduled appointment. Over 75% of North American providers still rely on fax for referrals.
All three are solvable with narrow, well-scoped software that sits on top of your existing EHR via HL7 FHIR. None require you to rip and replace anything. If your board is being told otherwise, they are being sold a platform, not a solution.
Build #1: Eligibility and prior-authorization automation wired into your EHR
This is almost always the highest-ROI first build, and almost nobody picks it first because it is unsexy. Here is the math that should decide it for you.

A 10-provider group running at the industry-average 11.8% initial denial rate, with rework costs in the mid-$50s per claim and a non-trivial share of denials that never get re-filed, loses meaningful six-figure revenue every year to denials alone — and that is before the prior-auth labor burden stacked on top. A fully electronic PA transaction costs $5.38 versus $12.88 for a manual one, per the 2024 CAQH Index. Multiply that by your PA volume and the labor savings alone usually justify the build in year one.
And this is before you count the clinical cost: 93% of physicians say PA delays patient care and 95% report PA-related burnout, per the AMA's 2024 survey. Burnout drives attrition. Attrition is the most expensive line item nobody tracks.
What you actually build
- A FHIR integration layer against your EHR (Epic, Athena, eClinicalWorks, NextGen, etc.). 70% of US hospitals and 64% of outpatient settings now enable FHIR app access, so the pipes exist.
- Real-time eligibility checks against payer APIs (Availity, Change Healthcare, Waystar, or direct where available), triggered at scheduling and again 48 hours pre-visit.
- A rules engine that encodes your specific payer contracts — which CPT codes require PA with which payers, what documentation they want, which modifiers trip denials. This is the part no SaaS vendor builds for you, because your contracts are yours.
- An AI-assisted PA submission workflow that drafts the authorization request from chart notes, flags missing documentation before submission, and tracks status without staff refreshing portals.
- A denial-analytics dashboard that tells you, by payer and by CPT, where your money is going and which rules to change.
What changes once it ships
Denial rates fall because eligibility problems and missing auths — the two largest preventable denial categories — get caught before the claim goes out. PA turnaround drops from days to hours for the straightforward cases, which directly reduces scheduling delays and patient drop-off. Billing staff stop doing data entry and start doing exception handling.
What it takes
The honest cost and timeline model: a build like this is driven by four variables — how many EHRs you need to integrate with (one is dramatically easier than three), how many payer connections you need on day one versus later, how complex your payer contract rule set is (a specialty group with 40 contracts is a different animal than a primary care group with 8), and whether you need HITRUST certification on top of baseline HIPAA controls. Shops that quote a flat number before asking those four questions are guessing.
The shape of it: this is a multi-month engineering effort, not a weekend project and not a two-year transformation. The things that would turn a range into a real number are your EHR vendor and version, your current clearinghouse setup, and a list of the top 10 payers by volume with their PA requirements. That is a scoping conversation, not a blog post.
Build #2: No-show reduction system
Second priority because the ROI is clean, the build is smaller, and the data to measure it already lives in your EHR.
At a 25% no-show rate and $200 per missed visit (industry-reported figures), a 10-provider group doing 150 visits per provider per week is leaving a lot on the table — and every slot a no-show burns is a slot a waiting patient did not get. Cutting no-shows from 25% to 15% is realistic with the right system and compounds across every site.
What you actually build
- A risk-scored reminder system, not a blast-SMS tool. The model uses prior no-show history, appointment type, lead time, weather, distance, insurance type, and time of day to flag which appointments need which intervention.
- Multi-channel outreach (SMS, voice, email, patient-preferred) with two-way confirm/reschedule — the reschedule link matters more than the reminder.
- Automated waitlist fill that offers freed slots to patients on the waitlist within minutes, not days.
- A copay-at-booking or card-on-file flow for high-risk appointment types, where your patient population and specialty allow it.
What it is bad at
This system will not fix structural no-show drivers — transportation deserts, Medicaid patient populations with unstable phone numbers, specialties where patients book out of desperation and cancel when the pain subsides. Set expectations with the board: you are moving the number, not eliminating the problem. And do not let the vendor who promises you a 5% no-show rate anywhere near the RFP.
What it takes
Smaller and faster than build #1. The main variables are how many communication channels you want on day one, whether your EHR exposes scheduling via FHIR or you need an older HL7 v2 interface, and whether you want the ML risk model trained on your own historical data (better, slower) or start with heuristics (faster, upgrade later). Again — the specifics turn a range into a quote.
Build #3: Referral capture and conversion
Third, because the problem is bigger than most COOs realize but the fix is operationally harder than it looks on a slide.

If 45% of faxed referrals never convert to a scheduled appointment and 55–65% of downstream revenue leaks out-of-network, and you still receive referrals by fax (you do — 75%+ of North American providers still do), then every week you delay you are losing patients to competitors who happened to pick up the phone first.
What you actually build
- A referral intake system that ingests faxes (OCR + LLM extraction), portal submissions, and direct messages into one queue with structured fields.
- Automated patient outreach within 24 hours of referral receipt — this one SLA alone recovers a significant share of the lost 45%.
- Referring-provider feedback loops (did the patient show, what was the outcome) because the referrers who feel in the loop send more patients.
- A leakage dashboard showing which referrals went out-of-network and why, so the service line leads can act on it.
Why this is third, not first
Referral conversion is partly a software problem and partly a staffing and service-line problem. If you do not have the scheduling capacity to see referred patients within 10 days, no intake system saves you. Fix capacity and billing economics first; then the referral build has something to feed.
What you should not build yet
Most clinic groups are being pitched at least three things that look exciting and should wait:
- A new patient portal. If your EHR's portal is mediocre, it is still probably not your biggest margin leak. Portals are a retention play, not a revenue-recovery play. Defer unless patient experience scores are actively costing you contracts.
- AI clinical triage or symptom checkers. Regulatory exposure is real, liability is murky, and the clinical benefit over existing nurse triage lines is unproven at scale. Let the FDA-cleared vendors mature for another cycle.
- Full EHR replacement. Unless your current EHR is end-of-life or your vendor is exiting the market, replacement is a 2–4 year distraction that will dominate every leadership meeting and freeze every other initiative. Build on top via FHIR instead.
- Ambient scribing, for most groups. The tech works, but if you are losing $600K a year to denials and $400K to no-shows, scribing is the wrong first bet. Revisit in 12 months.
The sequence, and why order matters
Build eligibility and PA automation first because it funds everything else. The cash it recovers and the staff hours it frees are what you redeploy into the no-show system. Build no-show reduction second because it is a fast win that proves to clinical leadership that software can move operational numbers without disrupting the EHR. Build referral capture third because by then you have the scheduling capacity and the billing cleanliness to actually convert the patients you recover.
Run all three on the same FHIR integration layer you built for #1. That is the real architectural decision — you are not building three separate products, you are building one operational data layer with three use cases on top of it. The second and third builds are 40–60% cheaper because the integration work is already done.
A note on HIPAA, security, and build-vs-buy
Everything above sits inside HIPAA scope. That means BAAs with every subprocessor, audit logging on every PHI access, encryption at rest and in transit, least-privilege IAM, and a documented incident response plan before you go live — not after. If you are using any LLM in the PA or referral workflows, it must be a BAA-covered deployment (Azure OpenAI with a signed BAA, AWS Bedrock with HIPAA eligibility, or a self-hosted model). ChatGPT consumer is not an option.
Build-vs-buy: eligibility checks, clearinghouse connections, and fax OCR are commodities — buy them. The rules engine encoding your payer contracts, the risk model for no-shows, and the referral workflow logic are your competitive edge — build those. A good partner for this kind of work, whether it is us or someone else, will tell you where to buy and only build what actually differentiates. If it is useful, our healthcare case study and our US healthcare and AI engineering practice describe how we approach these builds, and the broader digital transformation hub covers the legacy-modernization patterns these integrations lean on.
Frequently Asked Questions
How much does a HIPAA-compliant eligibility and prior-auth system cost to build?
The honest answer is that the cost is driven by four things: how many EHRs it integrates with, how many payers on day one, how complex your payer contract rule set is, and whether you need HITRUST on top of HIPAA. A single-EHR, 10-payer build with a moderate rule set is a very different number than a three-EHR, 40-payer build with HITRUST. To turn a range into a real quote, a vendor needs your EHR vendor and version, your clearinghouse, and your top payers with their PA requirements — that is a scoping conversation, not a website number.
How long does custom EHR integration for a small hospital or clinic group take?
Most of the timeline is not the code — it is getting FHIR API access provisioned by your EHR vendor, running through their app review or sandbox process, and coordinating testing windows with your clinical operations team. The build itself for a focused use case (eligibility + PA) is a multi-month effort; the surrounding vendor and governance steps often add weeks. Timelines compress significantly if your EHR already has modern FHIR endpoints enabled and your IT team can give the project priority access.
Should we replace our EHR or build on top of it?
Build on top, in almost every case. EHR replacement is a 2–4 year initiative that absorbs clinical leadership attention and typically delivers worse operational ROI than targeted FHIR-based builds on your existing system. Replace only if your vendor is sunsetting the product, you are being forced off by an acquisition, or the system genuinely cannot support FHIR — which, given 70% of US hospitals now run FHIR-enabled apps, is increasingly rare.
Is an AI-powered patient portal a good first build?
Usually no. Portals affect patient experience and retention but rarely move the big margin levers — denials, no-shows, and referral leakage. If patient experience scores are actively costing you contracts or Medicare Advantage ratings, a portal rebuild moves up the list. Otherwise, fix the revenue-side leaks first and revisit the portal in year two with the budget those fixes freed up.
What does HIPAA compliance actually require for custom healthcare software?
At minimum: signed BAAs with every vendor that touches PHI, encryption at rest and in transit, audit logs on every PHI access, role-based access control, an incident response plan, workforce training, and a risk assessment on file. If you use LLMs in any workflow, they must run under a BAA (Azure OpenAI, AWS Bedrock HIPAA-eligible services, or self-hosted). Have your healthcare counsel and compliance officer review the specific controls for your state and payer mix — this post is not legal advice, and state laws (especially California, New York, and Texas) add requirements on top of federal HIPAA.
Sources & further reading
- Experian Health State of Claims 2025 (via azebratech.com summary)
- Medical Billing & Denial Statistics 2026: 70 Sourced Stats (Bilnow, citing Kodiak Solutions, Premier, KFF)
- Claims Denials and Appeals in ACA Marketplace Plans in 2024 — KFF
- The True Cost of Prior Authorization: Data-Driven Analysis with CMS, AMA, and CAQH Numbers (Nirmitee.io)
- Prior Authorization Delays: Impact on Healthcare Revenue — CAQH 2024 Index data (MedBillingRCM)
- Prior Authorization Outsourcing: Cost, Turnaround & Denials — CMS estimate cited (ClaimMaxRCM)
- Patient No-Show Statistics — DialogHealth (50+ sourced stats)
- The Referral Is Broken: Why Healthcare's Last Bottleneck Still Lacks Innovation — MedCity News
Get one practical guide a week
Costs, AI tools, partner selection — written for people who make the decision. No spam, unsubscribe anytime.
Thanks — you're on the list. One practical guide a week, nothing else.
That didn't work — please check the email address and try again.
Building something in Healthcare?
CodeNicely partners with founders and tech teams to ship AI-native products that move metrics. Tell us about the problem you're solving.
Talk to our team Book a 30-min call_1751731246795-BygAaJJK.png)