Integration CRM EHR

How to Integrate a CRM With an EHR That Has No Open API

DA

Daniel Ashcraft

Founder, Orisan Clinical Systems

Updated 12 min read

To integrate CRM with EHR data when the EHR has no open API, pick from six paths: the vendor's partner API, the certified FHIR API under 45 CFR 170.315(g)(10), an HL7 v2 feed, scheduled report exports, screen scraping, or a managed sync service. The choice depends on whether you need appointments, how fresh, and whether you must write back.

This guide is for practice operators, healthcare marketing agencies, and SaaS or patient-engagement vendors who have been told "we don't have an API for that." The CRM use cases are usually recalls, reactivation, no-show follow-up, and referral tracking, and almost all of them depend on appointment data. Below: what federal certification rules require of an EHR, what each workaround costs in upkeep and compliance exposure, and what an HL7 scheduling feed looks like when it reaches your CRM.

What does "no open API" usually mean?

Usually the EHR has interfaces. What it lacks is a self-service, documented API that a third party can sign up for and call, so the useful interfaces sit behind a contract, a review, or a practice-level setup step.

The three ambulatory systems we work with most show the range. AdvancedMD says developers must sign a Certified API Developer Agreement, which includes licensing and support fees, and that production credentials, including a unique appname, come only after a successful demonstration to its Interoperability team. Tebra's API is a SOAP-based web service, and to use it a practice's System Administrator submits a Customer Care case and then views the account's customer key. athenahealth publishes certified FHIR endpoints and also runs a Marketplace partner program for broader integrations.

So the practical question is which interface this specific practice can authorize, for which data, under which agreement. If you are working with Tebra, our Tebra and Kareo CRM integration guide covers the customer key setup in detail.

Does the Cures Act force an EHR to give my CRM an API?

Partly. Health IT certified to the relevant criteria must offer a standardized FHIR API with required read capabilities and an EHI export, and its developer is subject to information blocking rules. Neither requirement gives you a scheduling API or write access.

Certification applies to specific products and versions, so first confirm what your practice's EHR is actually certified to in the Certified Health IT Product List.

The (g)(10) FHIR API requires reads of USCDI data

The criterion at 45 CFR 170.315(g)(10), "standardized API for patient and population services," requires certified health IT to answer single-patient requests using HL7 FHIR Release 4.0.1 and US Core, and multi-patient requests using FHIR Bulk Data Access, with authorization based on SMART App Launch 2.0.0. An unattended CRM sync would use the SMART Backend Services flow, where a pre-authorized client gets tokens with no user present. ONC's companion guide says these required services "specifically exclude 'write' capabilities." A vendor may offer writes on top, but certification does not require them.

The required data is the United States Core Data for Interoperability. USCDI v3, the baseline for (g)(10), has 19 data classes. Patient Demographics/Information includes phone number, phone number type, and email address. There is an Encounter Information class, but no Appointment class, so future bookings are outside the required scope. Some vendors expose the FHIR Appointment, Schedule, and Slot resources anyway; their (g)(10) documentation has to be public, so check it before assuming either way.

The (b)(10) EHI export is a snapshot

The EHI export criterion at 170.315(b)(10) requires a single-patient export an authorized user can run without developer help, plus a patient population export, in a computable format with a public link to the format documentation. It exists for patient requests and system switching. The format is vendor-defined, so a population export can seed a CRM once after real transformation work, but it will not keep the CRM current.

Information blocking rules affect what you can ask for

The regulations at 45 CFR Part 171 apply to health care providers, developers of certified health IT, and health information networks and exchanges. Under the Manner Exception at 171.301, an actor generally fulfills a request in the manner asked unless it is technically unable or cannot reach agreeable terms; only then may it move through alternatives in order, starting with certified health IT the requestor specifies, then published content and transport standards the requestor specifies, then an agreed machine-readable format. The Fees Exception at 171.302 allows fees that include a reasonable profit, but they must be cost-based and uniformly applied, and cannot depend on whether the requestor is a competitor or on the value the requestor gets from the data. It also does not cover certain fees for EHI export.

For a CRM project, that means a vendor can charge a cost-based fee for an interface, and if it cannot meet the request as asked, it can offer a standards-based alternative such as its certified API. A flat refusal to provide any electronic route for the practice's own data is a different situation, and whether a specific refusal counts as information blocking depends on the facts. That is a question for counsel.

The HTI-5 final rule was published in the Federal Register on October 28, 2026 and takes effect December 28, 2026, with some provisions starting January 1, 2027. It removes 14 certification criteria and revises 7. Neither (g)(10) nor (b)(10) is on that list, and ONC did not finalize its proposed Part 171 changes, so the current information blocking rules still apply. The HTI-5 page on HealthIT.gov frames the rule as groundwork for future FHIR-based API requirements.

Which integration paths work when there is no open API?

Six paths come up in practice. In our projects, working setups usually pair two of them, such as a certified or partner API for demographics with a feed or export for scheduling.

1. The vendor's partner program

This is the vendor-approved route to the proprietary API, which is where scheduling endpoints and write-back usually live. Expect an agreement, fees, a sandbox, a review or demonstration before production credentials, and authorization from each practice. The overhead pays off for a vendor serving many practices on one EHR. For an agency with one client practice, it is usually more process than the project can carry.

2. The certified FHIR API

A good fit for demographics, contact details, and other USCDI data, with standard OAuth-based authorization. Required capabilities are reads, and appointments are not a required data class. The athenahealth API guide shows how a certified FHIR surface and a proprietary API sit side by side on one platform.

3. An HL7 v2 feed through an interface engine

EHRs without a public REST API often support HL7 v2 interfaces, typically set up per practice and often for a fee. For a CRM, the useful families are ADT for demographics (A04 register a patient, A08 update patient information, A40 merge) and SIU for scheduling. An interface engine receives each message, returns an acknowledgment, transforms it, and calls the CRM's API. Updates arrive within seconds of the change. Outbound SIU is one-way; some EHRs also accept inbound SRM scheduling requests such as S01 (request new appointment booking), but that is a separate interface to ask about.

4. Scheduled report exports

The practice saves a report (appointments, new patients, recalls), schedules it to export as CSV where the EHR supports unattended delivery, and a job loads the file from SFTP into the CRM. It is the cheapest place to start, and it breaks quietly when someone edits the report, renames a column, or the person who owns the schedule leaves. Data is only as fresh as the schedule.

5. RPA or screen scraping

A bot logs into the EHR's web interface and copies data out or types it in. It works until the UI changes. Vendor terms of use may prohibit automated access, so read them first. If the bot runs on a staff member's login, it undercuts the HIPAA Security Rule's unique user identification and audit control standards at 164.312, because the audit log shows a person doing work a script did. A dedicated, attributable bot account is better, but it does not fix fragility. We treat scraping as a last resort, with the vendor's written permission.

6. A managed sync service

Someone else holds the vendor agreements, maintains the connectors, and delivers normalized data to your CRM under a BAA. Under the hood it uses one of the paths above. You trade build effort for a subscription and a dependency on that provider. Orisan Connect is one example, with live integrations for AdvancedMD, athenahealth (through its FHIR R4 and REST APIs), and Tebra, plus an export-only Google Calendar sync with PHI redacted. Its CRM connectors for Salesforce, HubSpot, and GoHighLevel are in early access and send contacts and appointment times only, after a BAA attestation. Connect is not FHIR-native and does not integrate with Epic.

How do the six options compare?

Feeds and exports are the fastest way to get scheduling data into a CRM. Write-back usually requires a partner API or a vendor-supported inbound interface. Scraping is the hardest to maintain and to defend in an audit.

PathData freshnessWrite-back to EHRBuild effortOngoing maintenanceMain compliance and contract questions
Vendor partner programNear real time or pollingOften availableHigh: agreement, review, buildMedium: API version changesDeveloper agreement terms, BAA, per-practice authorization
Certified (g)(10) FHIR APIOn request or bulk exportNot required by the criterionMediumLow to mediumScopes requested, token storage, BAA with the CRM
HL7 v2 ADT and SIU feedSeconds after the changeOnly via a separate inbound interfaceMedium: engine plus mappingMedium: mapping drift, queue monitoringEncrypting the connection (VPN or TLS), engine host BAA
Scheduled CSV or SFTP exportHours to a dayNoLowHigh: silent report changesEncryption and retention of files at rest, who can edit the report
RPA or screen scrapingMinutes to hoursPossible but fragileMediumHigh: UI changesTerms of use, bot identity, audit attribution
Managed sync serviceDepends on the connectorDepends on the connectorLow for youLow for youBAA and subcontractor chain, exit plan

What does an HL7 SIU scheduling feed look like?

SIU messages announce appointment changes. The trigger event says what happened, and the SCH, PID, and AIS, AIL, and AIP segments carry the details your CRM needs.

HL7 v2 Chapter 10 defines the SIU trigger events. A CRM cares about S12 (new appointment booking), S13 (rescheduling), S14 (modification), S15 (cancellation), S17 (deletion of an appointment entered in error), and S26 (patient did not show up). The v2.3 SIU^S12 structure is MSH, SCH, optional NTE, an optional patient group (PID with optional PV1, PV2, OBX, DG1), then one or more resource groups that start with RGS and carry optional AIS (service), AIG (general resource), AIL (location), and AIP (personnel) segments.

Here is an illustrative v2.3 SIU^S12 with fake data, filling the fields the v2.3 SCH definition marks required. Real feeds vary by vendor, so the vendor's interface specification is the source of truth.

MSH|^~\&|PMSYSTEM|CLINIC01|CRMBRIDGE|CLINIC01|20261116093000||SIU^S12|MSG00001|P|2.3
SCH|A123456^PMSYSTEM|A123456^PMSYSTEM||||NEW^New booking|ROUTINE^Routine follow-up|FOLLOWUP^Follow-up visit|30|min|^^^20261120140000^20261120143000|||||1001^DOE^JANE||||2002^CLERK^FRONT|||||Booked
PID|1||123456^^^CLINIC01^MR||TEST^PATIENT||19800101|F|||123 MAIN ST^^SPRINGFIELD^IL^62701||^PRN^PH^^^217^5550100~^NET^Internet^test.patient@example.com
RGS|1|A
AIS|1|A|FOLLOWUP^Follow-up visit|20261120140000
AIL|1|A|MAIN^^^CLINIC01|||20261120140000
AIP|1|A|1001^DOE^JANE|PROV^Provider||20261120140000

This map uses v2.3 field names to show where each typical CRM field comes from.

CRM fieldHL7 v2.3 locationNotes
External appointment IDSCH-2 Filler Appointment IDUpsert key, scoped by practice, so S13, S14, and S15 update the same record
Appointment statusMSH-9 trigger event, SCH-25 Filler Status CodeKeep S15 and S26 as separate CRM statuses; they drive different outreach
Start and end timeSCH-11 components 4 and 5, AIS-4Later versions move timing to a TQ1 segment; confirm time zone handling
Visit typeSCH-8 Appointment Type, AIS-3Store the code as well as the label
ProviderAIP-3 Personnel Resource IDMap to a CRM owner field
LocationAIL-3 Location Resource IDNeeded for multi-site routing
Patient match keyPID-3 Patient Identifier ListMRN plus assigning authority, in a restricted field
Name, date of birthPID-5, PID-7Only if the workflow needs them
Phone and emailPID-13 Phone Number - HomeEmail arrives in the NET/Internet repetition

The map leaves out DG1 diagnoses and OBX observations. A scheduling message can carry them, but a reminder or recall workflow rarely needs them, so this example drops them. For background on the two standards, see HL7 vs FHIR.

What breaks after go-live?

The usual failure points are patient identity and message order: duplicate patients, merged records, and messages processed out of sequence. Design for them before the first message arrives.

  • Match patients on MRN plus assigning authority, never on name alone, and decide what the CRM does when an ADT A40 merge arrives: re-point the surviving record's appointments and history, then retire the old contact.
  • Treat A08 updates as frequent and noisy. Compare against the stored record and skip writes that change nothing.
  • Store the message control ID (MSH-10) and timestamp, discard duplicates, and do not let an older S13 overwrite a newer S15.
  • Queue messages the CRM rejects, alert on the queue, and keep enough history to replay after CRM downtime.
  • Write down which system owns each field. If the CRM can edit a phone number and the EHR sends the old one in the next A08, someone has to win.
  • Reconcile weekly against an EHR appointment report so drift shows up before a patient gets a reminder for a cancelled visit.

What HIPAA rules apply once EHR data is in a CRM?

The CRM vendor is a business associate and needs a BAA, the data you send should be limited to what the workflow needs, and communications that meet HIPAA's marketing definition need patient authorization.

Under 45 CFR 164.502(e), a covered entity may let a business associate create, receive, maintain, or transmit PHI only with satisfactory assurances documented in a written agreement meeting 164.504(e). The practice signs with the vendors it contracts directly, such as the CRM, an agency, or an interface host it hires; a business associate obtains the same assurances from its own subcontractors. The minimum necessary standard at 164.502(b) requires reasonable efforts to limit PHI to the intended purpose, which is why the field map above stops at scheduling and contact data. The BAA sets contractual duties; encryption, access control, and logging still have to be configured in each system.

HIPAA's definition of marketing at 164.501 covers communications encouraging the recipient to buy or use a product or service. It excludes communications for treatment, care coordination, and describing the practice's own health-related services, unless the practice is paid by a third party to send them. Where a message is marketing, 164.508(a)(3) requires a signed authorization, with narrow exceptions for face-to-face communications and promotional gifts of nominal value. Reminders and recalls for a patient's own care generally fall outside the definition. A sponsored campaign for a third party's product does not.

Consent to text or call is a separate question. Automated calls and texts fall under the TCPA, and the FCC's 2015 ruling on health care calls created a conditional exemption for some treatment messages such as appointment reminders. Track channel consent and opt-outs in the CRM. Our HIPAA-compliant data synchronization guide covers encryption, audit logging, and BAA scope.

How do you choose a path?

Start from the fields you need and whether anything must flow back, then pick the least fragile path that delivers them.

  1. List each CRM field and tag it demographic, contact, scheduling, or clinical. If nothing is scheduling, start with the certified FHIR API.
  2. Decide whether anything must be written into the EHR. If yes, ask about partner API access and inbound HL7 scheduling interfaces.
  3. Set a freshness target. Same-day reminders need a feed or API; a monthly reactivation campaign can run on a nightly export.
  4. Confirm the CRM side: it signs a BAA, has an API or import path, and can model patients and appointments without stuffing PHI into free-text notes.
  5. Ask the EHR vendor in writing for: the interfaces available (partner API, outbound ADT and SIU, inbound SRM, scheduled exports), the interface specification, a test environment, the fee schedule, and the typical setup time.
  6. Name the owner of the mapping and the error queue. Every path except a managed service puts that on you or your agency.

What to check first

Pull three things before choosing a tool: the EHR's published (g)(10) API documentation, the vendor's list of available HL7 interfaces, and one week of the appointment report the front desk already runs. Together they show what data exists, how it can leave the system, and which fields the CRM needs. For a custom HL7 or FHIR build, our HL7, FHIR, and EDI integration service does that work, and if the practice runs AdvancedMD, athenahealth, or Tebra, a Connect demo shows the managed route.

Frequently asked questions

Can I integrate a CRM with an EHR that has no API?

Yes. Most EHRs without a public API still offer a partner API, HL7 v2 ADT and SIU feeds, or scheduled report exports, and health IT certified to 45 CFR 170.315(g)(10) must offer a FHIR API with required read capabilities. Choose based on whether you need appointment data, how fresh it must be, and whether anything must be written back into the EHR.

Does the 21st Century Cures Act require EHRs to provide a CRM API?

Not directly. Health IT certified to 170.315(g)(10) must offer a standardized FHIR API, but the required capabilities are reads of USCDI data, which has no appointment class. Information blocking rules at 45 CFR Part 171 limit unreasonable refusals and fees, but vendors can still charge cost-based fees and, when they cannot meet a request as asked, offer standards-based alternatives.

Which HL7 messages does a CRM need from an EHR?

Usually ADT messages for demographics (A04 register, A08 update, A40 merge) and SIU messages for scheduling: S12 new booking, S13 rescheduling, S14 modification, S15 cancellation, S17 deletion, and S26 no-show. Use the filler appointment ID in SCH-2 as the upsert key so updates land on the same CRM record.

Is screen scraping an EHR legal or HIPAA compliant?

It carries real risk. Vendor terms of use may prohibit automated access, and a bot running on a staff login undercuts the HIPAA Security Rule's unique user identification and audit control standards at 45 CFR 164.312, because the audit log attributes script activity to a person. If you must scrape, use a dedicated bot account and get the vendor's written permission first.

Do I need a BAA with my CRM vendor?

Yes, if the CRM will create, receive, maintain, or transmit PHI for the practice. 45 CFR 164.502(e) requires satisfactory assurances documented in a written agreement meeting 164.504(e). The practice signs with vendors it contracts directly, business associates obtain assurances from their own subcontractors, and the minimum necessary standard still limits which fields you send.

DA

Daniel Ashcraft

Founder of Orisan Clinical Systems. Building healthcare data infrastructure that connects clinical systems without compromising on compliance or reliability.

Get in touch