Build one golden record for providers, practices, and locations from the EHR, credentialing, HR, and MDM — then publish it to find-a-doctor search, payer directories, and referral routing through a single API.
Provider and Directory Management
Objective: Provider data is maintained separately in the EHR, the credentialing system, the HR system, and the marketing website, so no two directories agree on who practices where. Patients see phone numbers that ring an office the physician left a year ago, payers hold you to No Surprises Act directory accuracy, and referral coordinators route to closed clinics. This plan builds a golden provider record from those sources and publishes it once, to every consumer, through an API.
What's Getting Built
- EHR Provider Master (System API) — thin read wrapper over the EHR provider, department, and service-area master files ·
GET /Practitioner/{id}, GET /PractitionerRole
- Credentialing, HR and NPPES (System API) — per-source thin wrappers supplying licensure, employment truth, and NPI validation ·
GET /credential/{npi}, GET /worker/{id}, GET /nppes/{npi}
- Provider Golden Record (Process API) — identity resolution, per-field survivorship, and enrichment as the sole writer to the golden record ·
POST /providers/resolve, PUT /providers/{enterpriseId}, POST /providers/events
- Find-a-Doctor Search (Experience API) — consumer-shaped search over the attested golden provider record ·
GET /providers/search, GET /providers/{enterpriseId}
- Da Vinci PDEX Plan-Net (Experience API) — FHIR payer directory endpoint plus bulk extract for directory file submissions ·
GET /PractitionerRole, GET /Practitioner/{id}, POST /$export
- Attestation Cycle (Scheduler) — periodic attestation run that stamps lastAttested and suppresses stale records from patient-facing search ·
SCHEDULER attestation cycle, PATCH /providers/{enterpriseId}/attest
Prerequisites
- Anypoint Platform org with a CloudHub, Runtime Fabric, or hybrid deployment target.
- MuleSoft Accelerator for Healthcare API-led project structure imported from Exchange as the starting layout.
- Read access to the EHR provider master (Epic SER, Cerner code value set) and the credentialing system of record.
- An MDM platform if you are mastering physically — Verato, Reltio, Semarchy, or Informatica — plus its match-rule configuration.
- NPPES NPI registry access for external validation, and the Salesforce Health Cloud org that consumes the directory.
Choose your path
- MDM-mastered — Choose when provider data is genuinely conflicting across four or more sources and someone owns stewardship. The MDM platform holds the golden record and MuleSoft moves data in and publishes it out — best accuracy, longest runway.
- API-composed (virtual golden record) — Choose when one system is already close to authoritative and the others only enrich it. MuleSoft composes the record at read time from a declared source-of-truth-per-field table — live in weeks, but it cannot resolve genuine conflicts.
EHR vendor notes
Epic
- The provider master is the SER record; service-area and department affiliations live in separate master files — extract all three or the location data will be wrong.
- FHIR R4: read Practitioner and PractitionerRole from
https://{hostname}/api/FHIR/R4; Epic exposes a provider's departments through PractitionerRole.location.
- Epic provider IDs are not NPIs — carry both, and never match on name plus specialty alone.
Cerner (Oracle Health)
- Millennium personnel records and position codes drive provider identity; location affiliation comes from the organization and location registries, which are configured per tenant.
- FHIR R4:
https://fhir-{tenant}.cerner.com/r4/{tenant-id}/ exposes Practitioner and PractitionerRole; the Millennium person ID system URI must be mapped explicitly.
- Cerner and Epic model "practices at" differently — normalize to PractitionerRole before comparing the two.
Architecture
1. Business requirements
- Publish one accurate provider, practice, and location record to every consumer — patient search, payer directory files, referral routing, and the contact center.
- Reflect a provider joining, moving location, or leaving within one business day of the source system change.
- Track licensure, board certification, and network participation with expiry dates, not just current status.
- Retain the attestation evidence regulators ask for: what was published, when, and from which source.
2. Source systems and survivorship
- Declare a source of truth per field, not per record — HR owns employment status, credentialing owns licensure, the EHR owns clinical scheduling location, marketing owns the biography and photo.
- Write the survivorship rules into an externalized table so a data steward can change precedence without a redeploy.
- Keep the source system, timestamp, and confidence on every surviving field. When the directory is wrong, the first question is always which system said so.
- Never let a nightly refresh blank a populated field because the lower-precedence source returned null.
3. Identity resolution and matching
- Match on NPI first, then on a weighted set of name, date of birth, license number, and taxonomy — never on name alone, because health systems employ multiple providers with the same name.
- Validate NPI against NPPES and flag deactivated or reassigned numbers rather than trusting the local record.
- Route probable matches to a stewardship queue. An auto-merge of two real physicians is far more expensive to unwind than a queue item.
- Assign a stable enterprise provider ID that survives merges, and keep the cross-reference to every source key.
4. API design
- System APIs: one thin wrapper per source — EHR provider master, credentialing, HR, MDM, NPPES.
- Process API: identity resolution, survivorship, and enrichment; the only writer to the golden record.
- Experience APIs: shaped per consumer — a search API for find-a-doctor, a Da Vinci PDEX Plan-Net FHIR endpoint for payers, and a bulk extract for directory file submissions.
- Publish change events (provider added, moved, terminated) so consumers stay current without polling.
5. Directory accuracy and attestation
- Drive a periodic attestation cycle: notify each provider or practice manager, capture the response, and stamp
lastAttested on the record.
- Suppress from patient-facing search anything not attested inside your policy window rather than showing data you cannot stand behind.
- Reconcile against payer-returned directory files and treat mismatches as defects with an owner.
- Report accuracy as a measured number, because under the No Surprises Act you may have to show it.
6. Error handling and operations
- Treat a source extract that arrives short (a fraction of the expected record count) as a failure, not as terminations — this is the single most common cause of a directory outage.
- Retry transient source and MDM failures with bounded backoff; route unresolvable records to a DLQ with the raw payload.
- Alert when the stewardship queue exceeds its threshold or ages past the SLA.
- Version every published directory snapshot so you can answer what was live on a given date.
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 — FHIR PractitionerRole (published golden record)
{
"resourceType": "PractitionerRole",
"id": "prole-1093-cardiology-north",
"active": true,
"practitioner": {
"reference": "Practitioner/1093",
"identifier": { "system": "http://hl7.org/fhir/sid/us-npi", "value": "1234567893" }
},
"organization": { "reference": "Organization/north-medical-group" },
"code": [{
"coding": [{
"system": "http://nucc.org/provider-taxonomy",
"code": "207RC0000X",
"display": "Cardiovascular Disease"
}]
}],
"location": [{ "reference": "Location/north-clinic-3f" }],
"telecom": [{ "system": "phone", "value": "555-0142", "use": "work" }],
"availableTime": [{
"daysOfWeek": ["mon", "wed"],
"availableStartTime": "08:00:00",
"availableEndTime": "16:30:00"
}],
"meta": {
"source": "credentialing-system",
"lastUpdated": "2026-01-15T09:12:00Z"
}
}
Testing and validation
- Move a test provider to a new location in the source of truth and confirm the change appears in find-a-doctor search and the payer extract within the agreed window.
- Feed two records for physicians with the same name and different NPIs; confirm they stay separate and neither auto-merges.
- Return null for a biography from a lower-precedence source and confirm the populated marketing value survives.
- Deliver a truncated source extract and confirm the run aborts with an alert rather than terminating every provider missing from the file.
- Expire a license date and confirm the provider is suppressed from patient-facing search on the expiry date, not the next full refresh.
Phased rollout
Phase 1 — Connect
- Stand up System APIs over the EHR provider master, credentialing, and HR; prove extracts against a non-production environment.
- Load the survivorship precedence table and enterprise provider ID cross-reference for one specialty or region.
Phase 2 — Map and test
- Resolve identity across sources for the pilot cohort and work the stewardship queue to empty at least once.
- Publish the search Experience API to a staging find-a-doctor page and reconcile against a manual audit of the same cohort.
Phase 3 — Production
- Expand to all specialties, enable the payer Plan-Net endpoint and directory extracts, and start the attestation cycle.
- Hand stewardship, accuracy reporting, and extract-failure escalation to operations before cutover.
Success metrics
- Directory accuracy ≥ 95% on a sampled manual audit of provider name, location, phone, and accepting-new-patients status.
- Provider location or termination change reflected in every published consumer within one business day.
- Stewardship queue resolved within SLA (target: 90% within 5 business days) with no auto-merges of distinct NPIs.
- Attestation coverage ≥ 98% of active providers inside the policy window.
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
There is no packaged Exchange template for provider mastering — build on the accelerator's API-led layering instead of an empty project:
Start from the MuleSoft Accelerator for Healthcare project structure on Anypoint Exchange and keep the Experience, Process, and System API separation.
Build the System APIs first, one per source, and prove each extract independently before any matching logic exists.
Externalize the survivorship precedence table and match weights — these change far more often than the flows do.
Expose the payer-facing endpoint as Da Vinci PDEX Plan-Net rather than a bespoke schema; payers already consume it.
Troubleshooting
- Mass provider terminations after a nightly run — Likely cause: a source extract arrived truncated and absence was read as termination. Fix: Add a record-count floor per source and abort the run below it; make termination an explicit event, never an inference from absence.
- Two records for the same physician — Likely cause: a name or license change broke the match without an NPI to anchor it. Fix: Anchor on NPI plus the enterprise cross-reference; send unresolved pairs to stewardship instead of creating a new golden record.
- Payer rejects the directory file — Likely cause: Plan-Net profile validation failure, usually a missing network reference or taxonomy code. Fix: Validate against the Plan-Net profiles in CI before submission and fail the build, not the payer deadline.
- Find-a-doctor shows a provider who left — Likely cause: HR termination not propagated because the search index refreshes on its own schedule. Fix: Publish a termination event and have the search index consume it; do not rely on the next full reindex.
Deliverable: A golden provider record assembled from the EHR, credentialing, and HR systems, published through a search API, a Da Vinci Plan-Net endpoint, and directory extracts — with attestation evidence and a measured accuracy number.