All EHR integrations
Native FHIR + write-back

athenahealth integration

MedScrub connects to athenahealth’s published FHIR R4 endpoint using a 2-legged OAuth flow with JWK-based client authentication. The athenahealth global FHIR endpoint serves patient data across practices, and Changed Data Subscriptions support incremental sync into MedScrub’s clinical data repository.

athenahealth developer program
athenahealth Developer Portal

Integration model

How athenahealth and MedScrub connect

OAuth 2.0 client_credentials with an RS384-signed JWT assertion, validated against MedScrub’s published JWK Set. MedScrub supports both the Preview and Production environments. Patient data flows into the customer-hosted proxy; PHI is de-identified before any request to a large language model.

Capabilities

What MedScrub does with athenahealth

Pre-visit planning

MedScrub pulls the patient record from the EHR before the appointment and surfaces care gaps, screening recommendations, and overdue chronic-disease milestones for the loaded patient.

SOAP note generation with write-back

Drafts a structured SOAP note from the patient chart, with ICD-10 coding and E/M level analysis. After physician review and sign-off, the note writes back to the EHR as a FHIR DocumentReference.

Population screening gap analysis

Runs HEDIS / USPSTF / MIPS quality-measure gap analysis across patient panels — breast, cervical, colorectal, diabetes, blood pressure, and depression screening.

Daily Briefing across the schedule

Batch pre-visit intelligence for the full clinic day, run overnight against the CDR, with delivery to mobile.

HEDIS season medical-record review

Automates payer chart-request response by searching the longitudinal record for measure-specific evidence.

Prior authorization drafting and appeals

Drafts prior-auth requests and denial appeals grounded in the patient chart, including evidence pulled from prior diagnostic reports and procedures.

CCM documentation

Monthly chronic care management documentation for CPT 99490 / 99491 billing, generated from the longitudinal record.

Coding optimization

2021-AMA MDM framework analysis flags under-coding opportunities with revenue-at-risk surfaced in the UI.

Data scope

FHIR R4 resources retrieved

  • Patient
  • Condition
  • MedicationRequest
  • Observation
  • AllergyIntolerance
  • Procedure
  • DiagnosticReport
  • DocumentReference
  • Encounter
  • Immunization
  • CarePlan
  • FamilyMemberHistory
  • Changed Data Subscriptions (appointments, patients, problems, lab results, medications) for incremental sync

Setup

How a athenahealth customer onboards

01

App registration on athenahealth Marketplace

Register MedScrub on the athenahealth developer portal and obtain a Client ID for the Preview environment.

02

JWK Set hosting

MedScrub publishes a JWK Set URL (JWKS URI). athenahealth fetches the public key for JWT validation during the OAuth flow.

03

Scope approval

Required FHIR scopes (Patient.read, Condition.read, Observation.read, Procedure.read, Encounter.read, and additional scopes when available) are approved by athenahealth for the production tenant.

04

Changed Data Subscriptions

For high-volume practices, MedScrub configures Changed Data Subscriptions for incremental sync — appointments, patients, problems, lab results, and medications.

Ready to connect athenahealth?

MedScrub onboards athenahealth customers sales-led, with deployment engineering, EHR registration, and compliance review running in parallel. Most deployments are live in four to eight weeks.