Healthcare data / Salesforce architecture
Epic placement data in Salesforce: what I’d change with MuleSoft, Data 360 and Health Cloud
A pipeline delivered at Aegentra.
Three designs to evaluate.
The baseline implementation is delivered work. The broader observations draw on five years of consulting. The MuleSoft, Data 360 and Health Cloud alternatives have not been implemented or benchmarked for this workflow.
The premise: the data does not get smaller because the budget did
At Aegentra, I built a pipeline to ingest a health system’s Epic placement data into Salesforce for payment-dispute work. The hospital-account record alone had 127 columns, with charges, payments and adjustments beneath it.
Placement data, in this context, is the account and transaction information a health system sends to a firm working those accounts. A hospital account record, or HAR, identifies the billing account. In this build, a Salesforce Case represents work associated with that account. The Case and the HAR have different roles.
The reader had to turn the extract into records an analyst could review. It also had to know when to refuse a file, how to handle a rerun, and where the analyst’s judgment was still required before an account moved forward.
Across five years of consulting, I have seen three recurring situations:
- The small revenue-cycle firm. Epic data arrives as placement files. Salesforce provides the analyst workbench, but the conversation stays focused on seats, Cases and screens. Integration and data architecture may never be explicitly evaluated.
- The established healthcare company. Cases and custom objects have grown around a nightly file or an HL7 feed carried by an existing interface engine. There is a working system, and a new platform has to justify the disruption.
- The health system with industry licenses it barely uses. Health Cloud is present, but the work still runs through Cases, custom objects and custom flows. Other licensed integration and data capabilities may also be lightly used.
These are firsthand observations across engagements, rather than a market survey. They explain the question behind this paper: what would I change if the same workload had access to MuleSoft, Data 360 or Health Cloud?
The base-platform pipeline described below is what I built at Aegentra. I have not rebuilt or benchmarked this workflow using those three alternatives. Those sections describe designs I would evaluate, informed by the implementation and my consulting experience.
Salesforce now calls Data Cloud Data 360; I use the current name here. The three products address different layers: integration, data harmonization and activation, and industry models and workflows. They can be combined. [1]
The baseline: one reader on the base platform
The receiving business was a revenue-cycle firm working a large health system’s disputes.
Every cell arrived as text. Dates used two formats across the files. Money carried separators. Column labels repeated. The extract omitted a transaction ID. Reversals were flagged only on payment and adjustment rows, and identical rows could legitimately occur. The file itself carried the available layout documentation.
This was the hospital’s custom shape. It should not be mistaken for a universal Epic placement format or an off-the-shelf Epic connector.
The build had six parts.
1. The layout is data, not code
The reader uses a configuration record for each tenant, file kind and version. A changed layout becomes a new configuration record, with explicit validation of the expected shape.
That makes the source contract visible. It also gives the reader a reason to stop when the file no longer matches what it expects.
2. One canonical model, with source mappings
I used Epic’s published EHI terminology, including HSP_ACCOUNT and HSP_TRANSACTIONS, to anchor the canonical model rather than adopting one hospital’s column labels. Epic’s specifications document the hospital-account identifier and the transaction identifier; the latter was absent from this extract. [2]
A second hospital can reuse the model where the meanings agree. Where they do not, the model or mapping needs to change. A layout record solves a different column arrangement; it does not settle a different interpretation of a payment or adjustment.
3. Read in slices through the existing Box connection
The reader runs inside Salesforce using byte-range downloads and a self-chaining queueable. This implementation caps each execution at 20 callouts and 6,000 parsed rows.
Those are choices made for this reader and org. They are not universal Salesforce limits or a throughput benchmark.
4. Parse before store
The reader parses each slice as it arrives and does not persist the raw file text. A refusal removes the parsed records staged by that import.
Parsed ledger records still reside in Salesforce. They still require appropriate access controls, retention and storage management. Avoiding a stored raw file does not remove those responsibilities.
5. Repeatable imports need explicit identity
Accounts are matched by HAR. Transactions use a composite key plus an ordinal because the extract omits Epic’s TX_ID. Reruns use upserts.
That approach has a boundary: the ordinal must be assigned consistently for the replay being handled. A replay of the same file and an update containing corrections or reversals are different identity problems. A composite key does not recreate a missing source transaction ID.
For an extension to additional sources, I would explicitly namespace identifiers by tenant and source system, and document the handling of duplicate occurrences, corrections and reversals.
6. Pace work against the org’s existing automation
Case creation is paced at about 20 every five minutes to accommodate the existing Box-folder flow. An analyst initiates it through a list view and a button. File ingestion does not independently authorize the next step in the dispute workflow.
The reader is serial and sliced, with file processing measured in minutes in this build. The org also becomes a store of sensitive ledger rows, carrying the storage, retention, security and reporting burden of those custom objects.
That was the baseline. Moving the reader is one possible response to those constraints. Moving the model is another.
Alternative 1: MuleSoft — move the reader, preserve the meaning
With MuleSoft, I would evaluate moving the reader outside Salesforce while keeping the canonical contract, analyst screen and approval step.
Read and normalize outside Apex. A flow could receive files from Box or SFTP and use DataWeave to parse the record types, normalize formats and apply the layout checks. Mule supports streaming and batch processing, but the configuration still needs to account for memory, persistent queues and concurrency. A very large record still deserves its own test; moving out of Apex does not make processing unconstrained. [3]
Make acceptance a separate step from delivery. I would validate and reconcile a file before releasing its records for Salesforce writes. A rejected file would be quarantined with a useful error: the record type, the column where applicable, and the reason it failed.
That separation is a control I would build. Mule’s batch module does not automatically create an all-or-nothing transaction across a whole file and Salesforce.
Deliver through an explicit API contract. Accepted records could reach the staging objects through Bulk API upserts using the agreed external IDs. Successful, failed and unprocessed results would need reconciliation before the import was considered complete. [4]
Evaluate additional interfaces individually. The integration layer could also support acknowledgements or feed another consumer, such as a warehouse or portal. A return interface to Epic would still need an agreed endpoint, mappings and testing. X12 835 and 837 handling would require the appropriate connector and licensing; MuleSoft documents its X12 EDI connector as premium. [5]
The analyst’s approval stays in Salesforce. So does pacing against the org’s automation.
I would make the case for an integration platform when several hospitals or systems contribute data, when other systems need the same normalized feed, or when interface reuse and operational monitoring justify another platform. For one manageable file and one consumer, I would compare those benefits with the cost and responsibility of running it.
Alternative 2: Data 360 — move the ledger model, keep Salesforce focused on work
With Data 360, I would evaluate keeping detailed ledger data outside the core Salesforce org and bringing back the account summary, screening result and work item the analyst needs.
The first question is the available source. In Epic environments, I would distinguish three routes:
- Files and extracts. Custom reports, placement extracts and EHI exports can expose different information and identifiers. This build’s stacked CSV is one example, not a definition of all Epic exports.
- Clarity or Caboodle data. A health system may make reporting or warehouse data available through an agreed access path, including an existing warehouse such as Snowflake. Availability, refresh schedules and permissions have to be established for that organization.
- FHIR APIs. The available resources and operations need to be checked against Epic’s catalog and the health system’s configuration. Epic lists an Account API for Premium Billing, but the presence of an Account resource does not establish access to this hospital’s complete placement ledger. [6]
Map the data deliberately
I would first separate the mixed record types into suitable inputs, then explicitly map fields and relationships into the chosen model. For FHIR input, nested arrays and resource references also require mapping decisions.
Data 360’s healthcare data model provides relevant objects, including claims-related objects, but it is not an automatic one-to-one FHIR resource store. Salesforce’s healthcare DMO documentation specifies Health Cloud and Data 360, so I would verify the actual entitlements before choosing that model. [7]
Where the billing ledger does not fit, I would preserve its source meaning in an extension or warehouse model. I would not make the ledger less accurate to make the diagram look cleaner.
Identity resolution can link patient records across sources using configured rules. I would validate the matches and retain the source identifiers. An MRN needs its issuing context; it is not a universal identity.
I would also ask whether cross-source patient matching changes a decision for this desk. An account-based dispute workflow does not automatically need every patient-unification capability.
Keep calculations and activation explicit
Calculated insights or warehouse queries could perform aggregate ledger calculations. I would specify which calculation runs where, how fresh its inputs must be, and how its output is reconciled against an independent expected result.
A deadline calculation needs the relevant dates and governed rules. I would treat it as a screening input for the analyst rather than an automatic legal determination.
Data actions and Data 360-triggered flows can connect data changes with work in the core org. The precise access and activation path matters, especially for external data. [8]
Separate live federation from acceleration
If the ledger is already in Snowflake, Data 360 can use supported live federation to query it in place. Acceleration creates a local cache. Salesforce also documents acceleration for external objects used in flows or data actions. Unified profiles and calculated outputs can introduce additional stored results. [8][9]
I would therefore describe the chosen design in terms of what is queried live, what is cached, what is derived, and how each is refreshed. “Zero-copy” alone does not describe the whole workflow.
The workspace also needs design. Salesforce’s standard related-list enrichment targets include Account, Contact, Lead and Transform; direct-DMO related-list enrichment also supports Case when an appropriate direct relationship is configured. I would validate that path against the ledger model, access controls and target org before choosing it. [10]
For this workload, my proposed division would be: the warehouse or data layer holds the detail; Salesforce holds the work; the integration between them exposes the information the analyst actually needs.
Data 360 would have to earn its place through useful harmonization, matching or activation. If a warehouse and a simpler supported Salesforce integration already meet the need, I would evaluate that route too.
Alternative 3: Health Cloud — make the industry capabilities earn their place
One pattern I have seen is a health system with Health Cloud whose day-to-day work still runs through Cases, custom objects and custom flows. The reasons can be sensible: the team knows Case, adopting a new model looks disruptive, and the license may have arrived as part of a broader purchase.
My question would be direct: which licensed capabilities are earning their place in this workflow?
For a dispute desk on Health Cloud, I would evaluate four changes.
1. Reuse the relevant industry model
That might mean a patient represented through a Person Account, insurance coverage through MemberPlan, and facilities through the relevant healthcare objects. FHIR Coverage would need an explicit mapping into the core model. Claim objects would depend on the available product and entitlements. [11]
FHIR alignment is useful, but core Salesforce objects, Data 360 DMOs and FHIR resources remain different models. Their identifiers and relationships still need to be mapped.
2. Put screening rules into a governed rule process
Payer type, adjustment status, balance and the applicable time window are candidates for Business Rules Engine decision tables or matrices.
I would make rule ownership, permissions, testing, activation, versioning and effective dates explicit. Moving logic into a table changes how it is maintained; it does not remove the need to control a rule change. [12]
3. Evaluate OmniStudio for the workspace
OmniStudio could provide tools for the analyst’s notice workflow. The team would need to own that skill set. A small team already effective in Lightning Web Components may have a sound reason to keep its existing approach. [13]
4. Keep the analyst’s authority and the operational pacing
The rule output supports the decision. The analyst still supplies information missing from the file and authorizes the next step. Case creation still has to respect what the org runs when a Case is created.
For a claims-only desk, I would compare the reusable capabilities with the migration and operating costs. If Health Cloud is already licensed but lightly used, the next step is an entitlement and dependency review, followed by a comparison of adoption and licensing options. An unused feature list alone is not enough to make that decision.
What stays the same
Six controls belong in every version of this architecture:
- A versioned data contract. The expected layout is explicit, and a mismatch produces a useful refusal.
- A documented canonical model. Source mappings and provenance survive even if the model’s location or vocabulary changes.
- A repeatable import strategy. Identifiers have a source context. Duplicate occurrences, reruns, corrections and reversals have defined behavior.
- One accountable calculation path. Financial arithmetic is checked against independently established expected results, with rounding and sign conventions made explicit.
- An analyst’s approval before consequential action. A screening result does not independently authorize an open negotiation notice.
- Pacing against the systems that receive the work. Creating a Case also invokes the org’s existing behavior.
How I would choose
One hospital, one manageable file and a small team: evaluate the base platform first. Confirm that the reader fits the limits and that storing the ledger in Salesforce is acceptable. Include maintenance and recovery in the decision.
Several sources, multiple consumers or substantial interface work: evaluate MuleSoft or another integration engine. The case rests on reuse, monitoring and delivery controls, alongside the cost of operating it.
A warehouse already holds the ledger, and cross-source harmonization or activation has a clear use: evaluate Data 360 alongside the existing warehouse. Make the live-query, cache, refresh and consumption choices explicit.
Care coordination, provider networks, member services or utilization-management workflows sit alongside the dispute work: evaluate Health Cloud’s relevant models and workflows against the custom work they could replace.
Industry licenses are already present but lightly used: review the actual capabilities and dependencies before deciding whether to adopt more of them or change the licensing arrangement.
These are conditions to evaluate. A program may combine all three products, use another platform at one layer, or remain on the base platform.
The decision I would insist on making early is who owns the meaning of the file, who owns the exceptions, and who decides that the data is ready to become work.
If you own an Epic-to-Salesforce feed, where does exception handling live—and who makes that decision in your organization?
Technical note: a HAR ledger is not a one-to-one FHIR mapping
FHIR represents related information through resources and references. For example, Encounter.subject can identify the patient, and Claim.insurance.coverage references Coverage. Those relationships can inform a target model, but they do not define a complete import for this placement file. [14]
FHIR R4 Account is a financial organizing resource. It does not contain the charges, payments and adjustments as an embedded ledger. ChargeItem supports billing inputs and is explicitly distinguished from an actual financial transaction. PaymentReconciliation describes payment allocation across financial items; it is not a universal substitute for each Epic hospital-billing payment row. [15]
I would preserve the HAR as a source-qualified business identifier, retain the transaction detail and reversal semantics, and map only what the source actually supports. A FHIR Account resource also needs to be distinguished from the Salesforce Account object.
The same discipline applies to Epic’s EHI documentation: its published names are a useful reference for the canonical model, but this hospital’s custom extract still needs its own mapping. The EHI specification, a local reporting schema and a delivered file should not be assumed to be identical.
References
Product documentation reviewed October 22, 2026. These sources support the capability descriptions; they do not independently verify the Aegentra implementation or validate the proposed alternatives.
- Salesforce, Data 360 Glossary of Terms.
- Epic, EHI Export Specification: HSP_ACCOUNT and HSP_TRANSACTIONS.
- MuleSoft, Batch Processing and Streaming in DataWeave.
- Salesforce, Bulk API 2.0 Ingest.
- MuleSoft, X12 EDI Connector.
- Epic, Epic on FHIR: resource catalog.
- Salesforce, Data Model Objects for Health Cloud.
- Salesforce, Trigger Flows with Data 360 Data and Create a Data Action in Data 360.
- Salesforce, Zero Copy Data Federation.
- Salesforce, Enrichment Considerations.
- Salesforce, MemberPlan Object Reference and Explore the Clinical Data Model.
- Salesforce, Build Decisions with Lookup Tables and Decision Tables.
- Salesforce, OmniStudio for Health Cloud.
- HL7, FHIR R4 Claim and Encounter.
- HL7, FHIR R4 Account, ChargeItem and PaymentReconciliation.
Disclaimers and attributions
Implementation and scope. This paper describes a pipeline I built at Aegentra and patterns I have observed across five years of consulting. Customer and health-system names and identifiers are omitted, and no source patient records are reproduced. The consulting observations are not a representative market study. The MuleSoft, Data 360 and Health Cloud alternatives have not been implemented or benchmarked for this workflow. They are proposed designs requiring their own entitlement checks, detailed engineering and validation.
Figures and product behavior. The file dimensions, reader settings, pacing and timing descriptions relate to one build in one org in October 2026. Configuration caps are identified as such; the operational observations are not general performance benchmarks. Product capabilities, licensing and documentation can change. Verify them against the intended environment and current vendor documentation before relying on a design.
Workflow scope. References to payment disputes, open negotiation and the No Surprises Act describe the workflow context. This paper does not provide legal advice or establish eligibility, deadlines or compliance for any particular dispute.
Trademarks and endorsement. Product and company names belong to their respective owners. References to Salesforce, Data 360, Health Cloud, MuleSoft, Epic, Clarity, Caboodle, Snowflake, Box, HL7 and FHIR identify the technologies discussed. Nothing in this paper claims vendor certification, a formal partnership, sponsorship or endorsement of Aegentra or this implementation.
AI assistance. Several AI tools were used to review multiple drafts of this paper and suggest revisions. The implementation experience and consulting observations are my own, and I remain responsible for the final content.