Salesforce EHR Integration for AdvancedMD, athenahealth and Tebra
Orisan Connect exports active patients from AdvancedMD, athenahealth or Tebra into Salesforce as Contacts (or Person Accounts) and their appointments as Events. Salesforce gets names, one email, one phone, appointment times and status. Dates of birth, addresses, visit reasons, notes and diagnoses stay in the EHR.
The Salesforce connector is in early access and enabled per customer; it requires an Enterprise, Unlimited or Performance edition org and a signed Salesforce BAA covering the services you use.
Technical Overview
- Authentication
- OAuth 2.0 web server flow with PKCE
- Salesforce objects
- Contact or Person Account, Event
- Source EHRs
- AdvancedMD, athenahealth, Tebra
- Org editions
- Enterprise, Unlimited, Performance
- Inbound changes
- Optional, polled every 15 minutes
- Security
- TLS in transit, AES-256-GCM at rest, audit logs
Data Types
What syncs to Salesforce, and what never does
-
Contacts
First name, last name, email and one phone in E.164
-
Person Accounts
Used instead of Contacts when your org has them enabled
-
Events
Start, end, owner and status (custom field), with the subject "Visit"
-
Orisan IDs
Orisan patient and appointment IDs in custom fields, never EHR IDs
-
Tags
Lifecycle tags like upcoming, no-show or lapsed 90 days
-
Contact updates back
Optional: email and phone edits in Salesforce written to the EHR
Never sent to Salesforce
- Date of birth
- Address
- Gender
- Social Security number
- Appointment type
- Visit reason
- Clinical notes
- Location
- Diagnosis
- Insurance
- EHR record IDs
How It Works
Three steps to connect Salesforce
-
1
Authorize your org
Your Salesforce admin, or a user who can create fields and permission sets, installs the connection with OAuth (api and refresh_token scopes) on a production or sandbox org. Connect creates its custom fields and an Orisan_Connect permission set for the connecting user.
-
2
Attest the BAA and map providers
An owner or admin attests that the org is covered by your Salesforce BAA and retypes the org ID. Then you map EHR providers to the Salesforce users who will own the Events.
-
3
Review, verify and enable
You review the settings, then Connect verifies the org edition and checks that its fields exist and are editable. Routes start paused, so nothing is sent until you turn them on.
Key Features
Built for PHI, not bolted on
Minimum necessary on every send
Before each Salesforce call, Connect drops every field that is not on a fixed allow list, at every level of the record. It then checks the remaining values against that patient's birth date, address, visit reason, notes and appointment type. You cannot switch it off.
Matching and duplicate review
Connect matches on an existing link, then Orisan patient ID, then exact email, then exact phone if email found nothing. One clean match is adopted. Two possible matches, or a Contact already linked to another patient, go to a review queue and nothing is written.
A BAA gate on every send
Without a current BAA attestation, nothing leaves Connect. If an admin revokes the attestation or a technical check fails, sending stops. Connect reports which of its fields Shield Platform Encryption covers, but configuring Shield is your team's job.
API rate limits
Connect sends at most 20 requests per second and stops before it uses the last 15% of your org's 24-hour API allocation, which leaves room for your other integrations and automations.
What you need on the Salesforce side
- A Salesforce org on Enterprise, Unlimited or Performance edition (Professional and Developer are refused). On a current plan such as Core, Advanced or Max, we confirm the edition your org reports before enabling
- A signed Salesforce BAA that covers the Salesforce services you use with patient data
- A Salesforce admin, or a user who can create custom fields and permission sets, to complete the OAuth install
- An AdvancedMD, athenahealth or Tebra account already connected to Orisan Connect
- A BAA with Orisan Clinical Systems
Salesforce integration questions
Which patients end up in Salesforce?
Active patients 18 or older who had an appointment in the last 24 months, have one upcoming, or had one created after you enabled the connection. Inactive and deceased patients and minors are excluded. Connect writes them as Contacts, or as Person Accounts if your org uses them, and adds an Event for each appointment.
Is Salesforce HIPAA compliant for patient contact data?
Salesforce lists Sales Cloud and Lightning Platform among its HIPAA Covered Services, and its terms require the customer and Salesforce to sign a BAA that includes the covered service. The same terms make the customer responsible for encrypting PHI it sends through those services, and PHI stored in them where the customer controls that. Coverage depends on your contract, so confirm it with Salesforce. Connect sends nothing until an admin attests that the BAA covers the org.
How often does the sync run, and what comes back from Salesforce?
Exports from the EHR to Salesforce run on a schedule. The Salesforce to EHR direction is optional and off by default; Connect polls for it every 15 minutes because the connector does not use webhooks. Email and phone edits are written back. Name and appointment-time changes become conflicts a person resolves. Deleting a Salesforce record never deletes anything in the EHR, and cancelled appointments are updated on the Event.
What differs between AdvancedMD, athenahealth and Tebra?
Patient and appointment exports and the optional email and phone write-back work the same for all three. Bookings differ. With AdvancedMD, bookings flagged with the Book in EHR field (Orisan_Book__c) are written to AdvancedMD, provided a booking appointment type is configured. With athenahealth or Tebra, Salesforce bookings go to a review queue for a person to handle. Each Salesforce connection is fed by one EHR, and contacts with no matching patient are never created in the EHR.
Does it sync Leads, Opportunities or custom objects?
No. The connector writes Contacts or Person Accounts and Events only. Leads, Opportunities, ServiceAppointment, Health Cloud clinical objects, custom objects and custom field mapping are not supported. The custom fields Connect needs, such as Orisan_Patient_Id__c and Orisan_Tags__c, are created for you during setup, and Connect only touches tags that start with orisan:.
Related guides
Other integrations
-
AdvancedMD integration
Patients, appointments, providers, charges, and documents via the AdvancedMD API.
-
athenahealth API integration
Department-aware sync over athenahealth's FHIR R4 and REST APIs.
-
Tebra (Kareo) integration
Date-range sync over the Tebra SOAP 2.1 API, rate limits handled for you.
-
EHR to Google Calendar sync
Push appointments to Google Calendar with PHI stripped before anything leaves.
-
HubSpot EHR integration
Contacts and HubSpot appointments with sensitive properties. Early access.
-
GoHighLevel EHR integration
Contacts, tags, and calendar appointments with notifications off. Early access.
See all EHR and practice management integrations, security controls, or how we meet HIPAA requirements.
Sync patient contacts to Salesforce without clinical data
The Salesforce connector is in early access. Book a demo and we will check your org edition, BAA coverage and EHR before turning it on.