Developer Hub

Adherix Developer Hub

Integration documentation, API references, and compliance resources for healthcare technology partners.

Practice Fusion EHR Integration

Phase 1 — Available Now

Current Integration

  • Appointment report CSV import with automatic patient matching
  • Missed-visit detection from PF appointment export
  • Chart note drafts formatted for Practice Fusion copy-paste
Phase 2 — FHIR API Roadmap

Planned FHIR Integration

  • OAuth 2.0 / SMART on FHIR authorization
  • Patient demographics pull (Patient resource)
  • Appointment history (Appointment resource)
  • Encounter documentation write-back (DocumentReference)
  • Medication-related fields where available
FHIR Version: R4 (FHIR 4.0.1)
Authorization: SMART App Launch Framework
fhir-patient-fetch.ts
// Example: Fetch patient from Practice Fusion FHIR R4 endpoint
const response = await fetch(
  `${PF_FHIR_BASE_URL}/Patient?identifier=${patientId}`,
  {
    headers: {
      'Authorization': `Bearer ${accessToken}`,
      'Accept': 'application/fhir+json'
    }
  }
)
const patient = await response.json()

Data Handling

What Adherix Stores

  • Patient display name (not full legal name in demo mode)
  • Internal practice ID (e.g. PF-10294)
  • Treatment protocol and schedule
  • Treatment event history (completed, missed, rescheduled)
  • Outreach task records
  • Audit log entries

What Adherix Never Stores

  • Social Security Numbers
  • Full insurance details
  • Psychotherapy notes (42 CFR Part 2 protected)
  • Payment information
Data Residency: United States (AWS / Railway)
Encryption in Transit: TLS 1.2+
Encryption at Rest: AES-256

HIPAA & Compliance Summary

  • Designed for HIPAA Security Rule compliance
  • Business Associate Agreement (BAA) available
  • Append-only audit logging on all PHI access
  • Role-based access control (Admin / Provider / Staff)
  • AI features: PHI never sent to AI without explicit BAA-covered configuration
  • 42 CFR Part 2 (SUD records): staff-guided workflows, no automated disclosure

Open Source Core

Adherix is developed openly on GitHub. Our core platform is available for review, audit, and contribution.

GitHub: github.com/sergeevaleeza/adherix
License: MIT
Stack: Next.js 15, TypeScript, Prisma, PostgreSQL, Tailwind
View on GitHub

Requesting API / Integration Access

If you are a Practice Fusion developer relations contact reviewing this application:

CompanyAdherix
ProductPsychiatric Treatment Continuity Platform
Use CaseRead patient demographics and appointment history; write encounter documentation and outreach notes
FHIR VersionR4
AuthSMART on FHIR / OAuth 2.0
PHI HandlingBAA required; PHI isolated from AI by default
Contacthello@adherixhealth.app