Guide

EHR Integration Without an API: 4 AI Methods

An AI agent gets results into an EHR in one of four ways. If the EHR offers a FHIR or vendor API that accepts writes, the agent uses it. If the practice already runs an HL7 v2 interface, results can travel as HL7 messages through the interface engine. Where neither exists, or the API is read-only or priced out of reach, a browser agent works in the EHR's web application under its own user login, the way a staff member does. For installed desktop software or a remote desktop session, a desktop agent works that application's screens. Whatever the route, three things decide whether it holds up in production. The agent needs its own credentials and MFA, a log of every action with screenshots, and an agreed place in the chart for each result, such as the insurance tab, a patient note, or an attached document.

Can AI integrate with an EHR that has no API?

Yes. Many EHRs do have an API, but it often does not do what the workflow needs. ONC certification requires a standardized FHIR API for patient and population services. The ONC test method says those services support "read" access and "specifically exclude 'write' capabilities" (ASTP/ONC). So an EHR can be certified, have a FHIR API, and still offer no supported way for a third party to write an eligibility result or a call note. Vendor APIs that accept writes are often limited to a partner program, priced per interface, or restricted to certain data. Several practices told us on calls that API access from their EHR vendor was expensive or not offered for the data they needed. That leaves four routes: a write-capable API, an HL7 interface, a browser agent, or a desktop agent. Choose the route per workflow and per facility, not per vendor.

Want this mapped against your own call and claim volume? Book a 30-minute audit

What is the difference between FHIR, HL7 and a vendor API?

FHIR is a web API standard that exchanges resources such as Patient, Coverage and DocumentReference. HL7 v2 is the older message standard that moves events between systems through an interface engine: admissions, scheduling, results, documents and charges. A vendor API is the EHR company's own interface, which sometimes uses FHIR and usually carries its own partner terms. HL7 v2 is still the default plumbing, and HL7 International reports that "95% of US healthcare organizations use HL7 V2.x" (HL7 International). For write-back, the practical difference is cost and scope. An inbound HL7 results or document feed can file a PDF or a result into the chart, if the EHR accepts that feed and the practice pays for the interface. FHIR write support depends entirely on the vendor. Ask which resource types accept a write, what the partner program costs, and how long approval takes. If the answer is months, a browser agent covers the same workflow sooner.

How does a browser agent work inside a web-based EHR?

A browser agent logs into the EHR's web application with its own user account, opens the patient, reads or enters data in the same fields staff use, and saves. The account is the part to get right. The HIPAA Security Rule requires covered entities to "assign a unique name and/or number for identifying and tracking user identity" (45 CFR 164.312). An agent must never share a staff member's login. Give it a role with only the permissions its workflow needs, such as reading the schedule and writing insurance fields and notes, with no ordering or prescribing rights. Buyers ask us this most about eClinicalWorks, athenahealth, Tebra, PointClickCare, WellSky, gGastro and SIS. Wherever the EHR runs in a browser, the mechanics are the same. The screens, field names, templates and save behavior differ, so the agent is configured per EHR and per facility.

For a web-based EHR, Flexbone builds the integration for each facility. Forward-deployed engineers map the screens and fields that facility uses and set up the agent's own login with its IT team. Each payer website check leaves a screenshot, attached to the chart where the EHR allows it. The method is described on the browser agents page. EHR-specific notes are on the pages for eClinicalWorks, athenahealth, Tebra, PointClickCare, WellSky, gGastro and SIS.

When does an AI agent need a desktop agent instead of a browser agent?

An AI agent needs a desktop agent when the step lives in installed software, a thin client, or a remote desktop session that a browser cannot reach. Legacy client-server EHRs, on-premise practice management systems, and some billing modules run this way, and some cloud EHRs keep specific functions in a desktop application. A desktop agent runs on a virtual machine with the application installed. It reads the screen and uses the keyboard and mouse the way a user does. It is slower than an API and more sensitive to screen layout changes, so it fits workflows where no faster route exists. The controls do not change: the agent needs its own login, the least privilege that does the job, and a full log. The question to settle first is where the step actually happens. Ask whether the work you want automated runs in the browser, in an installed application, or inside a remote session, because each answer points to a different agent.

See what AI can run at your facility. In a 30-minute audit we map the calls, eligibility, and follow-ups Flexbone can take off your team first.

Book an audit

How does an AI agent handle multi-factor authentication?

An AI agent handles MFA the way a remote employee does, with a factor the practice controls. Workable options are an authenticator app secret enrolled for the agent's account and held in an encrypted vault, or an SMS or voice code sent to a phone number provisioned to the agent. An email code to a mailbox the agent reads also works, as does single sign-on through the practice's identity provider. A push approval sent to a staff member's phone does not work for unattended runs, because nobody is there to tap it. The current Security Rule requires procedures "to verify that a person or entity seeking access to electronic protected health information is the one claimed" (45 CFR 164.312). HHS proposed in December 2024 to require MFA outright, with limited exceptions, and it remains a proposal as of this writing (HHS). Payer websites that the agent uses during the same workflow need the same setup, and there are usually several. In a March 2026 MGMA Stat poll, 61% of practices said their staff access seven or more payer portals a week, and leaders named multiple logins and repeated sign-ins among the main complaints (MGMA). Agree on the factor, who owns it, and how it is reset before go-live.

How do you audit what an AI agent did in your EHR?

Audit an AI agent with two records. The first is the EHR's own audit log, which attributes each change to the agent's user account. The second is the agent's log: the timestamp, patient, screen, fields read or changed, the value written, and a screenshot of each check. The Security Rule requires "hardware, software, and/or procedural mechanisms that record and examine activity in information systems that contain or use electronic protected health information" (45 CFR 164.312(b)). A unique account makes the EHR log useful, because it separates agent actions from staff actions without extra work. Screenshots matter in disputes. A dated screenshot of an eligibility page shows what the payer reported on the day of the check. During the first month, review a sample of agent actions against both records each week. After that, review exceptions and a smaller random sample.

Where do AI results get written in the EHR?

AI results belong in the field your staff already read for that decision. Eligibility goes to the insurance or eligibility section, with a short patient note when something needs attention. A prior authorization result goes on the order or referral: the authorization number, units or visits approved, and valid dates. A call outcome goes into a telephone encounter or patient message, and a payer document goes into the patient's documents folder under the right category. Anything that needs a person goes to the staff work queue or task inbox. Decide three things per workflow: structured field, note, or document; who sees it; and a naming convention staff can search. This is where earlier tools broke down for buyers. An ASC told us a previous payer-call vendor returned results on a spreadsheet, and staff keyed the notes into the EHR by hand. Adoption is broad enough that the design question matters: the 2025 CAQH Index found that one-quarter of providers use AI, with use focused on administrative tasks such as eligibility checks, note-taking and patient communications (2025 CAQH Index).

Do you need your EHR vendor's permission to use an AI agent?

For an API connection, yes. API access runs through the vendor's developer or partner program, and the vendor sets the terms. For a browser or desktop agent working under an account your practice issues, the practice grants access to its own system. Read your license agreement for terms on user seats, shared accounts and automated access, and notify the vendor if the contract requires it. Separately, the AI vendor is a business associate once it handles patient data in your EHR. HHS requires the covered entity to obtain "satisfactory assurances" from a business associate, in writing, before it shares protected health information (HHS). In practice that means a signed BAA before the agent's account is created. For the broader question of how agents operate across EHR screens, see how AI agents work inside your EHR.

If your EHR has no API for the work you want automated, the next step is to map each workflow to a route. Flexbone runs a complimentary workflow audit that lists each step, the system it happens in, and whether an API, a browser agent, or a desktop agent fits. Request a complimentary workflow audit.

FT
Flexbone Team

Frequently asked questions

Can an AI agent write to an EHR without an API?

Yes. Where the EHR runs in a web browser, a browser agent logs in with its own user account and enters results in the same fields staff use. Where the work happens in installed software or a remote desktop, a desktop agent operates that application's screens. Both routes need a unique login, MFA, and a log of every action.

Does a FHIR API let you write data into the EHR?

Not by default. ONC certification requires a standardized FHIR API for read access to patient and population data, and the certification test method states that those services exclude write capabilities. Some EHR vendors accept writes through their own APIs or partner programs, but that depends on the vendor, the data type, and the contract.

How does an AI agent handle multi-factor authentication?

The agent uses a factor the practice controls, such as an authenticator app secret held in an encrypted vault, a phone number provisioned to the agent, or single sign-on through the practice's identity provider. A push approval sent to a staff member's phone does not work for unattended runs. Agree on the factor, who owns it, and the reset process before go-live.

How do you audit what an AI agent did in your EHR?

Use two records. The EHR's own audit log attributes each change to the agent's user account, which is why the agent needs its own login. The agent's log adds the timestamp, patient, screen, fields read or changed, the value written, and a screenshot of each check. Review a sample of both every week during the first month.

Do I need my EHR vendor's permission to use an AI agent?

For an API connection, yes, because access runs through the vendor's developer or partner program. For a browser or desktop agent working under an account your practice issues, check your license agreement for terms on user seats and automated access. In both cases the AI vendor needs a signed business associate agreement with your practice before it touches patient data.

Start with an audit.

We'll study your operations and show you exactly where AI fits.

Book an Audit