Skip to content

API reference

SunCharts EHR API

Every SunCharts EHR installation serves this API from its own address. There is no shared SunCharts host for it: the practice that runs the EHR registers your application and its staff approve access.

The API is a preview and changes with the product. Authentication is OAuth 2.0 authorization code with PKCE; FHIR is a bounded R4 surface. See Getting started and FHIR support.

EHR API as of 26.11.11.41 (API 0.34.0, commit 33049adb4b6a) Download openapi.json ↓

Base URLs

  • https://<your-ehr-address> The current SunCharts EHR installation

Scopes

Scope Allows
billing.read Read insurance and local billing records
billing.write Update insurance and record local accounting activity
clinical.read Read staff clinical records
clinical.write Write within the delegated staff role
events.read Read tenant change notices
migration.manage Owner-only staging, reconciliation and import
offline_access Receive rotating refresh tokens
scheduling.read Read tenant scheduling locations, providers, services, availability, partner-created appointments and webhook subscriptions
scheduling.write Create holds and appointments, reschedule or cancel partner-created appointments, and manage scheduling webhooks within the delegated role

How to obtain a token is covered in Authentication.

Endpoints

FHIR R4 46

Patients and charts 28

Claims and clearinghouse 47

Documents 18

Integrations 43

Patient billing and payments 66

Workflows and automation 31

What is left out

This reference lists the operations an outside application can call with an OAuth access token, plus the OAuth and public booking endpoints. Operations used only by the signed-in web app, the patient portal and provider callbacks are not listed here. The downloadable document is the complete, unmodified file from the repository.