Unified.to
All articles

How to Build a Provider Directory from EHRs and Practice Management Systems with Unified.to's Healthcare API

·

Your product can read a practice's clinicians (name, title, qualifications, identifiers such as NPI and languages, plus specialties and practice locations where the integration returns them) and its locations (addresses, phone numbers, coordinates and department hierarchy) from the healthcare integrations that support practitioners and locations, including Epic, Oracle Health, athenahealth, NextGen Healthcare, Cliniko, Jane, Halaxy and Open Dental (as of 26 October 2026).

sdk.healthcare.listHealthcarePractitioners and sdk.healthcare.listHealthcareLocations return the same Practitioner and Location objects wherever the integration supports listing. Every request is executed directly against the practice's system, so the directory reflects who practises where today.

Why build a provider directory from the practice's system?

The practice's EHR or practice management system already holds the list of clinicians, specialties and sites, because it schedules those clinicians at those locations; a list maintained by hand goes stale the week someone joins or leaves. Find-a-doctor pages, referral networks, booking flows and credentialing tools all need that list.

Unified.to's Healthcare API returns clinicians and sites as a Practitioner object and a Location object. On integrations that return location_ids, each practitioner links to the locations where they work.

What are the steps to build a provider directory?

  1. Authorize the practice's system and store one connection ID
  2. List locations, and build the site and department tree
  3. List the clinicians at each location
  4. Show specialties, credentials and languages, and filter on them
  5. Keep the directory current

List locations

import { UnifiedTo } from '@unified-api/typescript-sdk';

const sdk = new UnifiedTo({
  security: { jwt: process.env.UNIFIED_API_KEY },
});

const locations = await sdk.healthcare.listHealthcareLocations({ connectionId, limit: 100 });

name, address, telephones and emails are what a patient needs; latitude and longitude put the location on a map where the system records them. parent_id points at the location this one belongs to (a department within a hospital), so build the tree from it and show patients the top level. is_active tells you whether the site is still in use; hide inactive ones.

List clinicians at a location

const practitioners = await sdk.healthcare.listHealthcarePractitioners({
  connectionId,
  locationId,
});

The location_id filter works on AlayaCare, Cliniko, Dentally, Docplanner and Open Dental. Elsewhere, use each practitioner's location_ids where the integration returns them (AlayaCare, Dentally, Docplanner, EMIS, Kipu Health, WellSky Personal Care), or work out who practises where from the practitioner_ids and location_id on appointments.

What does each Practitioner field mean?

name, first_name, last_name and title (Dr., NP) make the card; image_url is their photo where the system has one.

specialties and qualifications are codings (each with system, code and display) for what they practise and their degrees, certifications and licences. Filter on code and show display.

identifiers includes the clinician's NPI in the US, the key for credentialing and payer directories.

languages lists the language codes they can consult in, a filter patients use.

is_active is whether the clinician is still practising there.

What if a system doesn't return practitioners or locations?

Render what returns. Names are near-universal; photos, specialties, coordinates and practitioner locations depend on the integration and on what the practice records.

Check support before you scope. On athenahealth, practitioners and locations are fetched by ID rather than listed, so read them from the IDs on appointments and encounters (as of 24 October 2026). Filters per integration are on the Supported Integrations page.

The directory is read-only. Staff and sites are managed in the practice's system.

How do I keep the directory current?

WellSky Personal Care sends native webhooks for practitioner changes. Unified.to's virtual webhooks detect changes and deliver events, and updatedGte returns only what changed, on these integrations (as of 26 October 2026):

ObjectIntegrations
Practitioner1upHealth, Aidbox, AWS HealthLake, Azure Health Data Services, Canvas Medical, Cliniko, Dentally, Halaxy, Jane, Medplum, Open Dental, Semble, SMART on FHIR, TietoEVRY Lifecare, TruBridge, Veradigm, WellSky Personal Care, Zanda
Location1upHealth, Aetna, Aidbox, AWS HealthLake, Azure Health Data Services, Canvas Medical, Cliniko, Elevance Health, Halaxy, Jane, Medplum, SMART on FHIR, TietoEVRY Lifecare, Veradigm, Zanda
Elsewhere, refresh the directory daily; it changes slowly.

→ Start your 30-day free trial → Book a demo

Frequently asked questions

Should I cache the directory?

Yes. A directory is staff and site data rather than patient records, and it changes slowly. Refresh it from the webhooks above or on a daily schedule.

Can I show which clinicians are accepting bookings?

Where the integration supports slots, read their open slots (see How to Build Online Appointment Booking). A clinician with free slots in the next few weeks is bookable.

All articles