Key Takeaways
Ambulatory care runs on eClinicalWorks and athenahealth.
If your product touches independent primary care, specialty groups, or community health centers, you will eventually need to put data into, or pull data out of, one of these two EHRs.
Most teams start by asking, “Do they have a FHIR API?”
Both do. But that is the wrong first question.
The better question is: which integration channel fits the workflow we need to support? For many products, especially anything that delivers results to a physician, the answer is still HL7 v2.
This article walks through how integration works on each platform, where HL7 v2 and FHIR each fit, and what to define before your engineers write a line of code.
Two Channels, Not One
Both vendors expose two integration channels that serve different purposes.
eClinicalWorks publishes HL7 specifications for lab orders and lab results, in both v2.3 and v2.5.1, along with radiology and departmental report interfaces using ORU and MDM messages. eclinicalworks Its FHIR program is separate and is used for applications.
athenahealth describes HL7 and C-CDA interfaces for clinical data exchange alongside more than 800 API endpoints, a Marketplace Partners program, and a SQL-based data view. athenahealth
| Workflow | Typical channel | Why |
|---|---|---|
| Deliver lab or diagnostic results | HL7 v2 ORU | Both EHRs file inbound results through interface engines built around ORU messages. |
| Receive orders from the EHR | HL7 v2 ORM (or OML) | Order interfaces are configured per lab or vendor. |
| Send reports or PDFs to the chart | HL7 v2 ORU or MDM | Report interfaces attach documents to the patient record. |
| Launch an app from the chart | SMART on FHIR (EHR launch) | Provides user and patient context to your app. |
| Read standardized clinical data | Certified FHIR R4 / US Core | Portable across certified EHRs. |
| System-to-system data access | SMART Backend Services | No user session; uses system scopes. |
| Scheduling, documents, practice workflows | Vendor-specific APIs | Often outside the certified FHIR surface. |
This is a planning guide, not a rule set. Each practice’s configuration, licensing, and interface agreements determine what is actually available.
Results Delivery: Where HL7 v2 Still Wins
If your product produces results that a physician needs to see, plan for an inbound HL7 v2 results interface.
eClinicalWorks states that its incoming results interface supports both solicited and unsolicited results, which attach automatically to the patient’s record. eclinicalworks
athenahealth describes interface results appearing in the chart in real time, with a separate document created for each test performed rather than a single faxed bundle. athenahealth When results arrive, athenaOne attempts to map them automatically to an order placed in athenaClinicals. athenahealth
That last point matters. “The message arrived” and “the result filed against the right order, for the right patient, in front of the right physician” are different outcomes.
Know which result you are sending
There are two common patterns:
- Solicited results. The order originated in the EHR, so the result can link back to it.
- Unsolicited results. The order originated elsewhere, for example a patient-initiated test or a copy sent to a second physician. There is no EHR order to match.
Unsolicited results are where most surprises happen. Confirm how the receiving practice wants them routed, which inbox they land in, and who is responsible for reviewing them.
Get the identifiers right
HL7 v2 gives you fields for this. Using them correctly is the work.
- Patient identity (PID). Decide what you can reliably send: demographics, the practice’s medical record number, or both. Ask how the interface matches patients and what happens on a partial match.
- Ordering provider (OBR-16). The physician who ordered the test.
- Result copies to (OBR-28). Additional physicians who should receive the result. HL7 defines OBR-28 as “Result copies to.” hl7.org.au Confirm which provider identifier each EHR expects in the field, such as an NPI or a practice-specific ID.
- Result status (OBR-25 / OBX-11). Preliminary, final, and corrected results must update the chart, not duplicate it.
Each vendor publishes its own required and optional fields. Build to the vendor’s specification, not a generic one. eClinicalWorks, for example, publishes separate lab results specifications for v2.3 and v2.5.1. eclinicalworks
Plan for acknowledgments and failures
An interface should tell you when a message was rejected. Agree on:
- How acknowledgments (ACK messages) are returned.
- Who monitors rejected or unmatched messages, on your side and the practice’s side.
- How corrections are resent.
- What the fallback is, such as fax or a portal, if the interface is down.
athenahealth gives practices an interface message queue to search inbound and outbound messages, including by the accession ID sent in the result. athenahealth Ask the practice who actually looks at it.
FHIR on eClinicalWorks and athenahealth
FHIR is the right channel for applications: launching from the chart, reading a patient’s clinical data, or running a background service that retrieves data on a schedule.
SMART on FHIR basics that apply to both
The SMART App Launch specification defines two ways an app can start: from inside an existing EHR session (EHR launch) or on its own (standalone launch). hl7 Before a SMART app can run against an EHR, it must be registered with that EHR’s authorization service. hl7
Permissions are expressed as scopes. SMART v2 changed the syntax, so v1 .read maps to v2 .rs and v1 .write maps to v2 .cud. hl7 Confirm which version each EHR supports before you write your authorization code.
For system-to-system access, US Core requires servers supporting backend services to support asymmetric client authentication and system scopes. hl7
eClinicalWorks
eClinicalWorks runs its developer program across two portals: the eClinicalWorks developer portal at fhir.eclinicalworks.com for provider-facing apps, EHR launch, and backend services, and the healow developer portal at connect4.healow.com for patient-facing apps. Choose the portal that matches your app type before you register.
Register in the sandbox first, confirm the scopes your use case needs, and then plan for each practice to enable your app in production.
athenahealth
athenahealth publishes separate preview and production FHIR R4 base URLs. github Its certified FHIR APIs cover standardized US Core data. Capabilities outside that set, such as its FHIR Subscription APIs for event notifications, are documented as not part of the certified US Core endpoints. github
Much of the practice workflow, including scheduling and document posting, is handled through athenahealth’s proprietary athenaOne APIs. Access terms, programs, and any fees for those APIs differ from the certified FHIR APIs. Confirm current terms directly with athenahealth before you scope the work.
Read is not write
On both platforms, plan as if the certified FHIR surface is mainly for reading. If your workflow requires creating or updating data in the chart, identify the exact operation and destination, then confirm it is supported for the practice you are working with.
Do not promise “bidirectional integration” until you have.
Bridging HL7 v2 and FHIR
Most real products use both. A common pattern is to receive or generate data in FHIR internally, then translate it to HL7 v2 for results delivery.
HL7 publishes official v2-to-FHIR mappings to help, but they are not complete. In the mapping from the OBR segment to the FHIR ServiceRequest resource, OBR-28 (Result Copies To) is marked as deferred to a future iteration. hl7
In practice, that means your team has to make and document its own mapping decisions for fields like copy-to recipients. Write them down. They become part of your integration specification.
Testing Without Real Patient Data
You can do a great deal of work before you have access to a real practice.
| Tool | What it helps you test | Limitation |
|---|---|---|
| Synthea | Realistic synthetic patients in FHIR and C-CDA formats. | Synthetic records will not reflect a specific practice’s data quality. |
| SMART App Launcher | EHR launch and standalone launch flows against a simulated EHR. | Does not reproduce vendor-specific behavior. |
| ONC Inferno test kits | Conformance against the certification API criterion and US Core. | Demonstration environment; not for PHI. |
| Vendor sandboxes | Authorization, endpoints, and vendor-specific responses. | Often shared, with limited data and features. |
| Interface engine simulator | Building and validating HL7 v2 messages against vendor specs. | Cannot confirm a practice’s matching and routing rules. |
Synthea is an open-source synthetic patient generator; its data is free of cost, privacy, and security restrictions. ecqi.healthit The SMART App Launcher at launch.smarthealthit.org lets you test an EHR-embedded app against a public test FHIR server using a simulated EHR. greenwayhealth ONC’s Inferno site hosts the (g)(10) Standardized API Test Kit and states that it is not approved for sensitive data or PHI. fhir.healthit
Sandboxes are not production
A sandbox proves that your code works. It does not prove that a specific practice will accept your messages.
athenahealth also offers Preview environments that copy specific customer contexts from production on demand, created and refreshed through athenahealth’s customer, onboarding, or interface teams. athenahealth That is a different, practice-specific step from the shared developer sandbox, and it typically requires the practice’s involvement.
Build a practice-level validation step into your plan: real provider identifiers, the practice’s order catalog, its inbox routing, and a test patient agreed with the practice.
Your Integration Specification
Before building for either EHR, write a one-page specification for each workflow. It should answer:
- Channel. HL7 v2 interface, certified FHIR API, or vendor-specific API?
- Message or resource. ORU^R01, MDM, a specific FHIR resource and operation?
- Version. HL7 v2.3 or v2.5.1? SMART v1 or v2 scopes? Which US Core version?
- Identifiers. How the patient is matched, and how ordering and copy-to providers are identified.
- Destination. Where the data appears in the chart and who reviews it.
- Status handling. How preliminary, final, and corrected results are processed.
- Acknowledgments and errors. Who monitors rejections and how they are resolved.
- Enablement. What the practice must license, configure, or approve.
- Test plan. Sandbox tests, practice-level tests, and acceptance criteria.
Give the same document to your engineers, the vendor, and the practice. It prevents three different understandings of “integrated.”
How The Faulkner Group Helps
The Faulkner Group helps health technology companies turn “we integrate with eClinicalWorks and athenahealth” into a plan a practice can approve and an engineering team can build.
That means choosing the right channel for each workflow, writing the integration specification, mapping HL7 v2 and FHIR, and defining the tests that prove a result reaches the right patient’s chart.
Your product does not need every API either vendor offers.
It needs the right connection for the work, documented clearly enough that everyone agrees on what done looks like.


