One intake hub for clinical data arriving as HL7v2, C-CDA, FHIR, and flat files from HIEs, providers, and delegated vendors — normalized to a canonical FHIR model and distributed to care management, the warehouse, and analytics.
Payer Interoperability and Data Exchange
Objective: Clinical data reaches the plan from HIEs, provider groups, delegated vendors, and labs — as HL7v2, C-CDA, FHIR, and flat files, over every transport anyone has ever asked for. Each intake was built once, for one partner, by whoever was available, so onboarding partner forty takes as long as partner one and no two feeds normalize the same way. This plan builds a single intake and normalization hub: one canonical model, one terminology layer, one distribution path, and partner onboarding as configuration.
What's Getting Built
- Clinical Data Intake (System API) — terminates every partner transport behind one intake contract and enqueues idempotently per source message ID ·
MLLP LISTEN ORU^R01, POST /intake, SFTP POLL /dropbox, GET /partners/{id}/health
- Format Converters (System API) — converts HL7v2, C-CDA, and flat file to canonical US Core FHIR at the edge while preserving the original payload ·
POST /convert/hl7v2, POST /convert/ccda, POST /convert/flatfile
- Normalize, Attribute and Distribute (Process API) — maps terminology, attributes to member and provider by service-date coverage, deduplicates, quarantines failures, and publishes the canonical stream ·
POST /normalize, POST /publish, POST /reprocess, GET /quarantine
- partner-config-and-dedup (Object Store) — holds per-partner configuration as data plus clinical-identity dedup and source-message idempotency keys ·
GET /{key}, PUT /{key}, DELETE /{key}
- Canonical Encounter Stream (target) — single published Kafka or JMS topic of normalized FHIR events with replay from a point in time ·
PUBLISH encounter.normalized, SUBSCRIBE encounter.normalized, REPLAY --from={timestamp}
- Care Management, EDW and Analytics (target) — downstream consumers each subscribing to a consumer-shaped view off the one canonical stream ·
SUBSCRIBE encounter.normalized, CONSUME adt.admit
The regulatory FHIR APIs the plan must expose — Patient Access, Provider Directory, and payer-to-payer — are covered by CMS Interoperability and Patient Access. National network query is covered by Qualified Health Information Network Integration. This plan is the internal exchange fabric those sit on top of.
Prerequisites
- Anypoint Platform org with a CloudHub, Runtime Fabric, or hybrid deployment target and an event backbone (Kafka or JMS) available.
- MuleSoft Accelerator for Healthcare HL7v2, C-CDA, and FHIR converter assets imported from Exchange.
- Connectivity to the HIEs, provider groups, and delegated vendors in scope, with their formats and transports documented.
- A terminology service or value-set source for ICD-10, CPT, LOINC, RxNorm, and SNOMED mapping.
- The downstream consumers agreed up front — care management, the enterprise warehouse, and analytics — so the canonical model is shaped by real demand.
Choose your path
- Batch normalization — Choose when partners deliver files on a schedule and consumers work in daily cycles. Simpler operationally, easier to reprocess, and adequate for analytics and reporting. Not adequate when care management needs to act on an admission today.
- Streaming event fabric — Choose when clinical events must reach care management and utilization review while they still matter — an ADT admit is worth far more on the day it happens. Normalize once onto a Kafka or JMS topic and let consumers subscribe.
Architecture
1. Business requirements
- Accept clinical data in whatever format and transport a partner can send, without a bespoke build per partner.
- Normalize to one canonical model so downstream consumers integrate once rather than once per source.
- Attribute every record to a member and a provider, and quarantine what cannot be attributed rather than dropping it.
- Deliver time-sensitive events — admissions, discharges, transfers — while they are still actionable.
- Onboard a new partner as configuration and mapping, measured in days rather than quarters.
2. Canonical model and format normalization
- Adopt US Core FHIR as the canonical model rather than inventing one; the converters, profiles, and validators already exist and your consumers will eventually want FHIR anyway.
- Convert at the edge — HL7v2 to FHIR, C-CDA to FHIR, flat file to FHIR — and keep conversion separate from partner-specific quirk handling so the quirks stay isolated.
- Preserve the original payload alongside the normalized output. Every mapping question is answered by the source, and reprocessing needs it.
- Version the canonical model and support consumers on more than one version during a migration; a breaking change across forty feeds at once will not happen.
3. Partner onboarding and transport
- Support the transports partners actually use — SFTP, MLLP, REST, and gateway-fronted endpoints — behind one intake contract, so transport choice does not change downstream processing.
- Hold per-partner configuration as data: transport, format, schedule, identifiers, quirks, and mapping overrides.
- Give every partner an onboarding path with a test corpus and a validation report they can act on, rather than a series of emails.
- Track per-partner health — volume, rejection rate, latency, and last-received — because a feed that quietly stops is the most common failure and the least noticed.
4. Terminology and data quality
- Map codes through a terminology service, not through inline lookup tables copied between flows.
- Report unmapped codes as a measured rate per partner and per code system, and treat a rising rate as a defect rather than as noise.
- Validate against the profile and route failures to quarantine with the reason attached; never let invalid data reach consumers because it was easier to pass it through.
- Deduplicate across sources on clinical identity, because the same encounter will arrive from the HIE and the provider group.
5. Distribution to consumers
- Publish normalized events once and let consumers subscribe, rather than building a delivery path per consumer.
- Shape consumer-specific views in the Process layer so care management, the warehouse, and analytics each get what they need from one canonical stream.
- Support replay from a point in time, because a consumer will eventually need to rebuild and you do not want to re-ask forty partners.
- Publish a freshness and completeness contract per consumer so downstream reporting knows what it is standing on.
6. Error handling and operations
- Make intake idempotent per partner and source message identifier; partners resend, and duplicates in clinical data are expensive to unpick.
- Quarantine rather than drop, always, with the raw payload retained and a reason a human can act on.
- Alert on feed silence against expected schedule, unmapped code rate, quarantine depth, and attribution failure rate.
- Reprocess from the retained original after a mapping fix rather than asking the partner to resend.
7. Security and compliance
- Encrypt PHI in transit and at rest.
- Audit-log every access to and modification of patient data.
- Enforce minimum-necessary access for integration operators and support users.
For additional HIPAA controls, API policies, and reference security patterns, see the MuleSoft Accelerator for Healthcare on Anypoint Exchange.
Sample payload — Normalized encounter event (canonical output to consumers)
{
"eventId": "intk-2026-02-11-0099213",
"source": { "partnerId": "HIE-STATEWIDE", "format": "hl7v2", "messageId": "MSG00001" },
"receivedAt": "2026-02-11T04:12:55Z",
"attribution": {
"enterpriseMemberId": "EMI-88401277",
"confidence": "high",
"providerNpi": "1234567893"
},
"resource": {
"resourceType": "Encounter",
"status": "in-progress",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "IMP",
"display": "inpatient encounter"
},
"type": [{ "coding": [{ "system": "http://snomed.info/sct", "code": "32485007" }] }],
"period": { "start": "2026-02-11T03:58:00Z" },
"serviceProvider": { "reference": "Organization/north-medical-group" }
},
"terminology": { "unmappedCodes": [] }
}
Testing and validation
- Send the same clinical encounter as HL7v2 from the HIE and as C-CDA from the provider group; confirm both normalize to one canonical record and deduplicate.
- Send a message for a member who cannot be attributed and confirm it quarantines with a reason rather than disappearing.
- Introduce an unmapped diagnosis code and confirm it surfaces on the partner's unmapped rate rather than passing through silently.
- Stop a partner feed past its expected window and confirm the silence alert fires without anyone noticing manually.
- Fix a mapping and reprocess from retained originals; confirm consumers receive corrected records without a partner resend.
Phased rollout
Phase 1 — Connect
- Stand up the intake contract and one transport with a single partner; prove conversion to canonical FHIR against their real test corpus.
- Connect the terminology service and publish the canonical stream with no consumers attached.
Phase 2 — Map and test
- Onboard a second partner in a different format to prove the configuration-driven path actually is configuration-driven.
- Attach the first consumer — care management for ADT events — and validate attribution and timeliness against expectation.
Phase 3 — Production
- Migrate remaining feeds in waves by volume, retiring the bespoke intakes as each partner moves.
- Hand feed-health monitoring, quarantine triage, and terminology mapping requests to operations with named owners.
Success metrics
- New partner onboarded in days rather than months, measured from test corpus received to production feed live.
- Attribution success ≥ 98% of inbound clinical records, with the remainder quarantined and worked rather than lost.
- Unmapped terminology rate below threshold per partner, trending down as mappings are added.
- ADT events delivered to care management inside the actionable window, measured from partner send time rather than from intake.
Configuration checklist
Before first sandbox deploy, complete the shared Healthcare integration configuration checklist — secure property keys, TLS, OAuth, and credential naming conventions are documented once for all Exchange use cases.
8. Implementation starting point
Import the HL7v2 to FHIR and C-CDA to FHIR converter assets from the MuleSoft Accelerator for Healthcare on Anypoint Exchange rather than writing converters.
Adopt US Core as the canonical model on day one. A bespoke internal model looks simpler for the first two feeds and costs you every feed after that.
Build quarantine and reprocessing before the second partner. Mapping will be wrong, and the ability to fix and replay from retained originals is what keeps that cheap.
Hold partner configuration as data from the first partner, so onboarding the fortieth is the same work as onboarding the second.
Troubleshooting
- Duplicate encounters from two sources — Likely cause: the same clinical event arrived from the HIE and the provider group with different message identifiers. Fix: Deduplicate on clinical identity — patient, encounter time, and facility — rather than on source message ID.
- A partner feed stopped and nobody noticed — Likely cause: monitoring watched for errors rather than for expected arrivals. Fix: Alert on absence against each partner's expected schedule; silence is the failure mode that error monitoring cannot see.
- Records rejected for a member who is clearly enrolled — Likely cause: attribution matching against current coverage rather than coverage as of the service date. Fix: Attribute using date-bounded coverage resolved at the encounter date, and quarantine with the attempted match detail.
- Consumer breaks after a canonical model change — Likely cause: the model was changed in place with no version negotiation. Fix: Version the canonical model and run consumers on overlapping versions through the migration window.
Deliverable: A configuration-driven intake hub normalizing HL7v2, C-CDA, FHIR, and flat files to canonical US Core FHIR, with attribution, terminology mapping, quarantine and replay, and one published stream serving care management, the warehouse, and analytics.