Medplum HIE integration with Health Gorilla Patient 360 and Zus

Pulling outside records into Medplum from Health Gorilla Patient 360 and Zus Health: the integration prerequisites, configuration sequence, data mapping, reconciliation rules and the failure points that delay go-live.

On this page

How a Medplum HIE integration brings outside records in

If your clinical or product team needs outside records, ADT events or longitudinal data inside Medplum, the starting point is the network each feed comes from. Medplum's integration catalog lists Health Gorilla Patient 360 for integrated records and ADT data, and Zus Health for longitudinal care data. The exact transport, authentication and data format for each must be confirmed with the network and with Medplum's integration documentation before design begins, because the catalog entry alone does not describe how the data arrives.

In plain terms, the two feeds answer different questions. Patient 360 is aimed at a snapshot of a patient's records from many sources and at admission, discharge and transfer events, so it fits workflows that need to know who is in care now and what their recent history looks like. Zus is aimed at longitudinal care data across time and across providers, so it fits analytics, care coordination and population views. Ask each network which of these data types you will actually receive, how often updates arrive, and whether events or full documents are delivered.

This page does not assume a connector, protocol or API that the sources do not document. It does not state a specific endpoint, message type, authentication flow or file format for either network. Where a design choice depends on one of these details, such as whether a Bot or the Medplum Agent receives the data, treat it as an open question to confirm in writing with the network and your Medplum contact before you commit to a build.

What a Medplum HIE integration needs before build starts

An HIE connection into Medplum depends on five things settled before any build work: the Medplum deployment, the network and legal agreements, the data scope, the transport, and the identity used for server-to-server calls. Each card below is a decision or check that the build team cannot defer, and each should be confirmed against the Medplum pricing page and the onboarding requirements of Health Gorilla and Zus.

Medplum version and deployment model

Decide whether the integration runs on Medplum Cloud or on a self-hosted deployment, because the plan and feature set differ between them. The latest release at research time was 5.2.5, published October 15, 2026. Self-hosted servers must be upgraded through each minor version in sequence, and skipping versions causes startup failures, so the upgrade path should be mapped before the integration is scheduled. Confirm the plan that includes the HIE features you need on the Medplum pricing page.

Medplum pricing

HIE network agreements and BAA terms

Health Gorilla and Zus each set their own onboarding, contracting and participation terms, which must be confirmed directly with each vendor. Your organization also needs a business associate contract that requires the business associate to follow the Security Rule, flow the same terms to subcontractors that handle ePHI, and report security incidents to you. Ask whether the vendor will sign that contract and whether Medplum's standard BAA covers the hosting layer you use.

45 CFR 164.314 text

Signed-off data use scope

Write down which record types, date ranges, patient populations and ADT event feeds will be pulled from each network, and which will be ignored. Zus is positioned for longitudinal care data and Health Gorilla Patient 360 for integrated records and ADT data, so the two feeds overlap and need explicit ownership. The scope should also state who approves each new data category, how patients are matched, and what happens to records that fall outside the agreed scope.

Network and certificate requirements

Map every inbound and outbound connection before the build starts: which endpoints Medplum calls, which endpoints call Medplum, and where any on-premises interface sits. Where a connection is outbound from your network, confirm firewall rules and allowed egress with the vendor. Where traffic terminates on your infrastructure, identify the TLS certificates, their issuers, renewal owners and the trust store Medplum must use. Ask each vendor which IP ranges, certificate authorities and mutual TLS options it supports.

Server-to-server identity setup

Medplum supports client credentials for server-to-server access, so the integration can run without a user signing in. Decide which ClientApplication or client identity owns the HIE calls, which access policy limits it, and how its secret or key is stored and rotated. Confirm with each vendor which token method it accepts and the token lifetimes it requires. Keep the identity separate from clinician accounts so that audit trails show which automated process read or wrote each record.

Medplum authentication docs

How to configure the Health Gorilla and Zus feeds in sequence

This sequence takes a Medplum project from vendor agreement to live inbound HIE data, with a checkpoint at each step so that outside records arrive under known identifiers before any clinical user sees them. Each step has one owner and one proof that it is complete.

  1. Confirm vendor onboarding and access method in writing

    Before any build work, the integration lead asks Health Gorilla and Zus, in writing, how each network onboards a new client, which access method applies (such as the transport, credential type and data scope), and which Medplum integration path each one uses. Medplum's integration catalog lists both as HIE integrations, but the exact onboarding steps, feed types and endpoints belong to each vendor, so take them from their documentation and account teams, not from this page. Done is a written onboarding summary that names the feed for each network, the data it delivers (integrated records and ADT data for Health Gorilla Patient 360, longitudinal care data for Zus) and the contact who approves access.

  2. Sign the required agreements before any data moves

    Legal and compliance sign each agreement the vendors require before credentials are issued. If your organization is a covered entity or business associate, confirm that the agreements meet the business associate contract terms in 45 CFR 164.314(a)(2)(i), including Security Rule compliance, flow-down to subcontractors that handle ePHI and incident reporting. Ask Medplum for its current BAA and MSA terms if you use Medplum Cloud, and confirm which party is responsible for which controls in a self-hosted deployment. Done is a filed copy of each signed agreement, reviewed against your data flow diagram, with no feed enabled until the signatures are on file.

  3. Set up the Medplum project and client credentials

    The platform team creates a dedicated Medplum project for the HIE feeds, separate from clinical production data and from any test project, and registers a client application with client credentials for the server-to-server calls. Assign the minimum access policy the integration needs, and store the client secret in your secrets manager, never in source control. Medplum's authentication documentation covers client credentials, and its access control documentation covers projects and access policies. Done is a project containing only the integration client, with a recorded list of its permissions and a test token that succeeds only for the intended scope.

  4. Configure the inbound path into Medplum

    The integration engineer configures how each network's data reaches Medplum, using the exact values and transport settings from each vendor's documentation and Medplum's integration documentation. Record every endpoint, credential reference and schedule in configuration under version control, and confirm that inbound traffic is restricted to the networks and addresses the vendors specify. Do not copy example values from third-party tutorials. Done is a successful connection test from the non-production project, with the connection logged and no records yet written to any clinical resource type.

  5. Map incoming records to FHIR resources

    Build a mapping for each feed that states which incoming segments, resources or fields become Patient, Encounter, DocumentReference, Observation or other FHIR resources, and which fields are kept as source identifiers. Keep the source system, the network and the sender's record identifier on every imported resource so that each record can be traced back to its origin and a later update can be matched correctly. Have a clinical informaticist review the mapping for ADT events and longitudinal data separately. Done is an approved mapping document with a worked example for each feed, reviewed by both the integration and clinical teams.

  6. Run reconciliation in a non-production project

    Load a set of test patients supplied or approved by each vendor into the non-production project and run the reconciliation logic that decides whether an incoming record creates a new patient, updates an existing one or goes to manual review. Test duplicates, name and date-of-birth variants, merged records and records that arrive out of order. Compare the results against the expected outcomes in the mapping document. Done is a signed test report showing that a test patient arrived with its source identifiers intact, that duplicates were flagged rather than silently merged, and that every exception has a documented owner.

  7. Enable live data only after sign-off

    Once the test report is approved by the integration, clinical, security and compliance owners, enable the live feeds for one network at a time, starting with a limited patient list or a monitored window agreed in advance. Watch for failed loads, unexpected duplicates and missing source identifiers, and keep the ability to disable each feed independently. Confirm that audit logging captures the import events and that the reconciliation exception queue is staffed. Done is a dated go-live record for each feed, and a spot check in which a live patient's imported records match their source identifiers and appear only in the project and roles approved for them.

How records move from the HIE networks into Medplum

The flow starts with two external networks, Health Gorilla Patient 360 and Zus Health, which sit outside the client's trust boundary. Records leave each network by a delivery method the vendor sets, and the transport and authentication step must be confirmed with each vendor before build. Inside the boundary, Medplum's server stores the incoming data in its repository, and Bots or subscription handlers transform and reconcile it. Records that cannot be matched to a patient go to a review queue, and only then do clinicians and downstream apps read the data from Medplum under the client's own access policies.

Records flow from two external HIE networks through the client's boundary into Medplum.

Which incoming data lands in which Medplum resources

This table pairs each category of incoming HIE data with the FHIR R4 resource it should usually populate in Medplum, the matching key that ties it to an existing record, and the owner who confirms the mapping. Read the resource column as a starting point for design, since the fields each vendor delivers and the matching rules still need to be checked against the vendor's documentation and sample files. Rows marked for confirmation depend on vendor details that have not yet been verified.

Incoming data categoryTarget FHIR R4 resource (to confirm)Matching keyOwner who confirms
Patient demographics and identifiersPatient, with identifier entries for external IDsMedical record number plus name, date of birth and sex, checked against the local master patient index; confirm vendor identifier system URIsIntegration lead with the health information management team
ADT eventsEncounter status updates and Patient linkage; confirm whether ADT arrives as HL7 v2 or as a vendor-normalized feedPatient match first, then the visit identifier from the source event; confirm the vendor's event types and whether A08 updates are includedInterface analyst with the clinical operations lead
Encounters and visitsEncounter, with location and participant references where the vendor supplies themSource facility and visit number combined with the Patient reference; confirm whether the vendor provides a stable encounter IDClinical informatics lead
Clinical documentsDocumentReference pointing to a Binary, or a converted resource such as Composition; confirm which format the vendor deliversPatient reference, document type, and source document ID to avoid duplicate imports; confirm vendor document identifiersPrivacy officer with the medical records lead
Longitudinal care summariesBundle or set of resources such as Condition, MedicationStatement, AllergyIntolerance and Observation; confirm the delivered content and coding systemsPatient reference plus source system and effective date; confirm whether the vendor supplies coded entries or narrative text onlyClinical informatics lead with the clinical safety reviewer

How imported records are reconciled without creating duplicate patients

The core reconciliation problem is that the same patient rarely arrives with the same identifiers twice. A Health Gorilla Patient 360 record, a Zus Health longitudinal record and an ADT event from a hospital feed can each carry a different MRN, a different spelling of the name, a different date of birth format or an address from another year. An ADT event can also arrive before the record it relates to, or hours after it. Before go-live, your team must decide the patient match rules and thresholds: which identifiers count as strong (for example, an issuer-scoped MRN or a payer member ID), which combinations of demographics count as weak, and what score moves a candidate into automatic matching, review or a new Patient. Those rules belong in code, not in an operator's head, and they should be tested against your own feed samples.

Next, decide whether unmatched or ambiguous records wait in a review queue or create a provisional Patient. A common design holds ambiguous imports in a staging area, using a Bot to write a Task or a flagged resource for a named data steward, rather than writing a second Patient that clinicians will later have to find and merge. Keep source identity on every imported resource, including the source system, the feed message control ID and the time received, so an auditor can trace any Patient back to the originating message. Medplum's Subscription resources can trigger Bots when an import lands, which is also where ordering problems surface: a Bot that handles an ADT event must decide what to do when no Patient exists yet. Decide in writing who may approve a merge and how a merge is reversed, because a wrong merge is harder to unwind than a delayed one.

Finally, define how a later feed overwrites or supplements earlier data. Demographics from the most recent authoritative source usually win, but clinical content from Zus should typically be added alongside prior entries, not replace them. Confirm with Health Gorilla and Zus what each feed guarantees about ordering, retransmission and deletion, since their documentation governs what your Bots can assume. Then test duplicate handling end to end: replay out-of-order ADT sequences, resend the same record, and check that the reconciliation result is identical each time. Medplum's own integration documentation lists these two HIE connections, and it is the right place to confirm current feed behavior before you write the match logic.

Security settings for HIE data in Medplum

Outside records from Health Gorilla and Zus carry the same HIPAA obligations as any ePHI your organization holds, so the import path needs controls before the first record lands. The cards below cover the contracts, identities, deployment settings and records rules that connect those obligations to what you configure in Medplum.

Business associate agreements and subcontractors

Confirm which party is your business associate for each HIE connection and what it signs with you. Under 45 CFR 164.314, a business associate contract must require Security Rule compliance, flow the same terms down to any subcontractor that handles ePHI, and require reporting of security incidents. Ask Medplum for its BAA and MSA terms for your plan, and ask any hosting provider or managed service partner in your deployment for the same flow-down language.

Section 164.314 text

Least-privilege integration identity

Give the import process its own identity rather than an administrator login. Medplum supports client credentials for server-to-server access, so create a ClientApplication for the HIE connector and scope it with access policies that allow only the resource types it writes, such as Patient, Encounter and DocumentReference. Review the policy whenever you add a new HIE feed, and confirm that the identity cannot read unrelated patient data.

Medplum auth docs

MFA for human administrators

Human users who configure HIE connections, edit Bots or review merged records need multi-factor authentication. Medplum supports its own MFA alongside external identity providers and domain-level corporate identity providers, so decide which method your administrators use and enforce it for every account with administrative rights. Test the sign-in path for break-glass accounts, since a lockout during an incident can stop imports from being reviewed.

Encryption in transit and at rest

Terminate TLS for every connection to Health Gorilla and Zus, and for every connection between the Medplum server, its PostgreSQL database and Redis cache. Encrypt the database volumes, backups and any object storage that holds binary documents, such as C-CDA files or scanned outside records. Encryption is an addressable implementation specification under 45 CFR 164.312, so document the decision and the reason for any gap, and confirm the settings in your own cloud or data center.

Audit logging of imports and merges

Every import, update and merge of an outside record should leave a trace that shows the source, the time, the actor or Bot, and the Patient it touched. Enable Medplum's audit event logging on the self-hosted server and forward those logs to a store your team controls. Test that a merge can be traced back to the original payload, because reviewers will ask for that trail during an investigation or an assessment.

Retention and access rules for outside records

Decide how long records from Health Gorilla and Zus stay in Medplum, which roles can view them, and when a record is removed or restricted. Outside data may carry consent or use limits from the source network, so check those terms before you copy records into longitudinal storage. Document the rules in your policy set, configure access policies to match, and confirm that deletion and retention behavior works on the self-hosted server.

Common HIE integration failures and how to fix them

This table pairs common symptoms in a Medplum HIE feed with their likely causes and fixes, so teams can triage faster. Read each row as a starting hypothesis, and confirm exact error messages against the Health Gorilla, Zus and Medplum documentation before changing configuration. The main takeaway is that most failures trace back to identity matching, credential handling, upgrade sequence and consent checks rather than the transport itself.

SymptomLikely causeFix
Same patient appears under two or more Medplum Patient recordsMatching on name and date of birth alone, with no second identifier checkedRequire a strong identifier match before creating a Patient, route near matches to a manual review queue, and merge only with an audit trail
Discharge arrives before the admit, or an update lands on a missing EncounterADT events delivered out of order or replayed by the source or HIEProcess events by message control ID and event timestamp, hold dependent updates until the referenced Encounter exists, and log sequence gaps
Imported resources cannot be traced back to the source systemSource identifiers were not stored in identifier or meta fields during mappingWrite the HIE record identifier, source organization and retrieval date to each resource before saving, and confirm the mapping with the vendor's documentation
Feed stops with authentication failures after a credential changeClient secret or key rotated on the HIE side without updating Medplum, or an expired token not refreshedStore credentials as ClientApplication secrets, record expiry dates, rotate in a planned window, and alert before expiry
Feed stops after a self-hosted Medplum upgradeThe upgrade skipped a minor version, which the upgrading guide says causes startup failuresRoll back to the last working version, then upgrade through each minor version in sequence as the Medplum upgrading guide describes
Imports are delayed for hours or days after an upgradeA post-deploy data migration is still running on a large datasetCheck migration status before resuming the feed, queue incoming messages during the run, and plan the window with the upgrade runbook
Feed connects but no data is returned, or go-live is blockedVendor agreement unsigned, incomplete or not yet linked to the Medplum projectConfirm the signed agreement and enabled data scope with each vendor before go-live, and ask Medplum which plan terms cover your deployment
Records appear in the chart that a clinician should not seeImports written without a consent, permission or care relationship checkGate ingestion on consent status and access policies, restrict visibility by project and role, and test with non-production patients before go-live

What buyers ask before they hire help for an HIE integration

What drives the cost of an HIE integration with Medplum?

The cost has three separate parts: the Medplum plan, the health information exchange network fees, and the implementation work. Medplum's pricing page lists Production at $2,000 per month and Premium at $6,000 per month for hosted plans, and self-hosting is a free Community option or custom-priced Enterprise Self-Hosted. Health Gorilla and Zus set their own terms, so ask each vendor for its network and onboarding fees in writing. DeployOpen's quote follows from the written scope, which lists the feeds, matching rules, reconciliation review and vendor onboarding you need. Ask whether each figure is one-time or recurring.

How long does an HIE integration take to build?

Duration depends on the number of feeds, the patient matching rules, the depth of reconciliation review and how long each vendor takes to onboard you. Vendor onboarding often runs on the vendor's schedule, not yours, so it is usually the item to check first. Each feed you add multiplies the mapping and test work, and matching rules need validation against realistic records before go-live. No duration applies to every organization, so ask for a timeline built from your feed list and the vendor onboarding steps you confirm with each network.

What does our team need to provide before the work starts?

You need to provide three things: signed agreements with the HIE vendors, representative test data, and named decision owners. The vendor agreements determine which feeds you can access and under what terms. Test data should include the message types and record shapes you expect, so mapping and matching can be checked before production. Decision owners, usually from clinical operations, privacy and integration teams, must sign off on matching thresholds, which records are imported and how conflicts are resolved. Confirm these items with each vendor during scoping.

Can our own team build this integration without outside help?

Yes, if your team already knows Medplum and FHIR, has access to the vendor sandboxes and has time to own reconciliation after launch. A team without that experience can still succeed, but it should plan for a longer learning curve and more rework in mapping and matching. The main trade-off is who carries the knowledge of the matching rules and reconciliation logic after go-live. Outside help can shorten the build and document the decisions, while your team keeps ownership of the data and the operating process.

Does self-hosting Medplum change the HIE integration work?

Yes, it changes the deployment and operations work more than the mapping work. A self-hosted Medplum keeps the server, database and network paths in your infrastructure, so you must configure outbound connectivity to each vendor, secure credentials and monitor the pipelines yourself. Medplum's self-hosting docs describe several deployment options, and the upgrade guide requires stepping through each minor version in sequence. Confirm with Medplum whether the Health Gorilla integration requires a specific plan for self-hosted deployments, since the integration catalog and pricing page describe plan terms that you should verify before you commit.

Does DeployOpen certify that our HIE integration is HIPAA compliant?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares systems, controls and evidence for compliance assessments, and independent auditors make the determinations. HIPAA has no certification either: HHS states that no Security Rule standard requires certifying compliance, and private certifications do not stop HHS from later finding a violation. Your HIE integration should be reviewed against the Security Rule, your business associate agreements and the vendor terms, and your compliance team should own that review.

Who is responsible for the data that comes in from the HIE networks?

Your organization stays responsible for the records it imports and how it uses them. Medplum's compliance documentation describes compliance as a shared responsibility between Medplum and its customers. Under the HIPAA Security Rule, business associate contracts must require the business associate to comply with the rule, flow the same terms to subcontractors and report security incidents. Ask each HIE vendor for its contract terms and incident reporting commitments, and document how your team reviews imported records before they are used in care.

How DeployOpen scopes and delivers the Medplum HIE integration

DeployOpen plans, builds, tests and documents the connection between a self-hosted Medplum deployment and Health Gorilla Patient 360 and Zus inside infrastructure you control. Each engagement starts from a written scope that names the feeds, the Medplum resources they populate, the reconciliation rules and the evidence your compliance and security teams will review.

How we scope

  • Confirm which Health Gorilla Patient 360 ADT and integrated record feeds and which Zus longitudinal data sets your organization is entitled to receive
  • Map each inbound record type to Medplum FHIR resources and document the identifiers used for patient matching
  • Agree in writing how duplicate patients, conflicting records and source attribution will be reconciled before any data is loaded
  • Confirm your Medplum edition and whether the Health Gorilla integration requires an Enterprise plan for your deployment

How we build

  • Configure the Medplum side in a non-production project, including client credentials, Bots and Subscriptions for inbound data
  • Build reconciliation logic as versioned Bots so every merge, skip or flag decision can be reviewed and reproduced
  • Test with the network's sandbox or test data where available, and with synthetic records that cover mismatched demographics and partial histories
  • Verify access policies so imported outside records are visible only to the care teams and roles approved in the scope

How we hand over

  • Deliver a runbook covering feed onboarding, credential rotation, error handling and how to replay a failed import
  • Document the mapping tables, reconciliation rules and audit trail fields so your compliance team can review them without reading code
  • Provide a validation record showing test cases, results and open items, with a retest after fixes
  • Walk your engineers and clinical informatics staff through operation and escalation before cutover

How we support

  • Support is available as a retainer for monitoring feed health, applying Medplum upgrades and retesting reconciliation rules after changes
  • Retainers can cover continuous testing of the integration path as part of your security program
  • Changes to feed scope, network contracts or Medplum versions are handled as written change requests with updated documentation
  • Ask any partner to confirm the business associate terms and data handling responsibilities that apply to each network before go-live

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.