I have lost count of how many teams come in saying they need a FHIR interface when what they really need is a decision about workflow ownership. That is the first mistake. The second mistake is assuming the interface engine is the product. It is not. The interface is only the transport layer. The operational contract is the product.
When we build around Epic, Oracle Health, athenahealth, PointClickCare, or a homegrown EMR, the same pattern comes back every time: the interface passes validation in lower environments, everyone gets excited, and then production punishes the assumptions. The feed is fine until a patient is merged. The claim is fine until an encounter is reopened. The order is fine until the source system sends an update in a sequence nobody planned for. That is where AST spends most of its time — not on the vocabulary, but on the mess around the vocabulary.
I learned that the hard way on a project where the message looked perfect in the sandbox and still created duplicate patients in production. The payload was valid. The facility workflow was not. The registration team was correcting demographics in one screen while downstream systems kept treating the original record as authoritative. We did not have a data problem. We had a governance problem disguised as an integration problem.
That is why I stop teams early and ask uncomfortable questions:
- Who is the system of record for each clinical and administrative object?
- What happens when the source system sends a correction versus a replacement?
- Who owns merge logic, and who approves the merge?
- What is the retry policy when the downstream endpoint is down?
- What is the operational fallback when the interface is delayed by minutes or hours?
If those answers are fuzzy, the integration is not ready. It does not matter how clean the FHIR R4 resources look or how neatly the HL7v2 segments are documented. Production does not care.
At AST, we build the integration layer with the assumption that messy events will happen every day. A patient gets merged. A provider changes location. A facility changes its billing workflow after go-live. A vendor pushes a sudden API behavior change with no useful warning. So we design the interface around failure modes, not around the happy path.
That means a few things in practice. First, we separate transport from business logic. Second, we log enough context to reconstruct why a record moved, not just that it moved. Third, we define idempotency rules so a resend does not create garbage. Fourth, we decide what gets paused, what gets retried, and what gets escalated to a human. This is boring work. It is also the work that keeps the clinic from drowning in cleanup.
There is another trap I see constantly: teams want to standardize everything on FHIR because it feels modern. I like FHIR R4. We use it internally where it makes sense. But I do not pretend that FHIR eradicates edge cases. It does not. Real healthcare still runs on HL7v2, vendor APIs, flat files, proprietary scheduling behaviors, and clearinghouse realities that refuse to be elegant. The edge is where the work lives.
So when a client asks whether they should rip out all legacy feeds and rebuild on FHIR, my answer is simple: not unless the operational change is worth the risk. You do not earn reliability by rewriting every interface into a newer format. You earn reliability by choosing the right contract, the right rollback path, and the right ownership model. Sometimes that means FHIR. Sometimes it means keeping HL7v2 on the rails and fixing the upstream data discipline instead.
This is also where AST’s integrated pod model matters. We do not throw an interface spec over the wall and hope operations magically align. We stay in the delivery loop with the people who own clinical workflow, infrastructure, and validation. That is how you avoid the classic split where engineering says the interface is done and operations says the clinic cannot actually use it. We have seen that fracture too many times to respect it.
We also keep the conversation close to the real systems. If the target is Epic, the conversation is not just about the API endpoint. It is about what the scheduling team does when an appointment update arrives late. If the target is Oracle Health, the question is how the downstream clinical view handles event ordering. If the target is PointClickCare or athenahealth, the behavior of the vendor edge matters as much as the canonical data model. The platform name does not save you from workflow design.
How I design an integration that survives production
When we start an EHR integration at AST, I use the same sequence no matter which vendor is on the other side. It is not glamorous, but it prevents the expensive mistakes.
- Define the ownership map List every object you will move — patient, encounter, appointment, order, claim-related payload, document, result, or consent — and assign a source of truth for each one. If two systems think they own the same object, the interface will eventually become a fight.
- Write the failure rules first Decide what happens when the message is late, duplicated, cancelled, partially delivered, or rejected. Do not leave these decisions for production day.
- Choose the edge contract Use FHIR R4 where it gives you clean semantics, HL7v2 where the vendor stack demands it, and vendor APIs where there is no better path. Standardization is a tool, not a religion.
- Instrument for reconstruction Store the source event, target action, correlation ID, and transformation decision so you can explain what happened after the fact. Debugging without traceability is just storytelling.
- Run ugly tests Test patient merges, retractions, repeated resends, downtime, and sequence drift. If the test plan only covers the perfect case, it is not a test plan.
- Train the operator, not just the super-user The person handling exceptions on a Tuesday afternoon matters more than the committee that approved the interface.
That last point is where most teams miss. They train the champions and ignore the people who will actually clean up the failures. Then they act surprised when production support gets noisy. The person processing the exception needs to know whether to retry, reject, merge, or escalate. If that is not written down, the alleged automation becomes an inbox problem.
We see this same pattern in clinical AI and documentation work too, which is why AST built integration workflows and operational controls around real care settings, not just technical demos. The system has to survive the clinic, not just the architecture review.
| Approach | What it gets right | Where it breaks |
|---|---|---|
| FHIR-first everywhere | Cleaner resource model, easier modern API design | Does not remove workflow edge cases, vendor quirks, or downstream ownership issues |
| HL7v2 with strong governance | Works with legacy clinical operations and many vendor feeds | Can become brittle if nobody owns mapping discipline and exception handling |
| Vendor API only | Direct access to platform-specific capabilities | Locks you into vendor behavior and often leaves you exposed to undocumented changes |
| Hybrid contract with clear ownership | Fits real-world healthcare systems and phased modernization | Requires discipline, documentation, and operational accountability |
The hybrid approach wins more often than teams want to admit. Not because it is trendy, but because healthcare is messy. I would rather have a boring interface that can explain itself than a beautiful one that dies the first time the source system blinks.
The teams that succeed with integration make peace with the fact that the first go-live is not the finish line. It is the moment the real behavior starts. That is why AST designs for observation, rollback, and operational clarity from day one. We have spent too many years cleaning up interface work that looked elegant on paper and was impossible to run in a clinic.
If you want the integration to last, stop treating it like a mapping exercise. Treat it like a living clinical workflow with a technical spine.
Build integrations that survive real clinic behavior
If your current interface plan assumes perfect data, perfect timing, and perfect vendor behavior, it is already behind. I can help you design around the failures that show up after go-live, not before.





Comments
Comments are warming up. Live, no-sign-in discussion will appear here shortly.
Have a question now? Email info@allstartech.net.