ChartVoyant Developers
Markdown

Core Guides

From sandbox to production: our onboarding process

Production integrations touch real medical records. Every go-live follows a clear sequence with explicit ownership between your engineering team, the sponsoring medical practice, and ChartVoyant.

Track 1: Production ChartVoyant API key & Practice MCP

For practice systems, custom integrations, and AI agents using https://chartvoyant.com/api/v1 or /api/v1/mcp. Production requests are reviewed by a person, usually within two business days.

StepWhat you doWhat the practice / ChartVoyant does
1. Prototype in sandboxRequest a 14-day synthetic sandbox key and validate every route or MCP tool against synthetic records.Automated provisioning in ~1 minute under the Sandbox Terms.
2. Execute practice BAASign a Business Associate Agreement directly with the sponsoring practice (and, if using an AI agent, ensure your Model Provider BAA covers MCP/tool traffic with zero training).The practice (covered entity) executes its BAA with you and approves the integration scope.
3. Submit requestEmail info@chartvoyant.com naming the practice, integration purpose, required endpoints, access level (read_only or full), and technical contact.ChartVoyant confirms directly with the practice administrator that they requested the connection.
4. Sign API Use AgreementComplete and sign the API Use Agreement (v1.2) online at e-sign.chartvoyant.com/apiuseagreement.ChartVoyant countersigns, emails you the executed PDF, and attaches it to the key record.
5. Credential delivery & go-liveStore the cvk_… key in your secrets manager, send a test GET /context call, and verify error handling.ChartVoyant delivers the key out-of-band to the named technical contact and monitors initial traffic.

Track 2: SMART on FHIR apps & Backend Services (no fee)

For patient standalone apps, clinician launch apps, and system-to-system Bulk Data / FHIR integrations. Zero fees and zero revenue share apply. Complete eligible requests are registered within five business days.

StepWhat you doWhat ChartVoyant / the practice does
1. Read discovery & buildInspect SMART on FHIR-4 guide, service-base-urls.json, and .well-known/smart-configuration. Implement PKCE S256 or private_key_jwt (RS384/ES384).Public documentation and discovery require no account, fee, or agreement.
2. Request app registrationEmail info@chartvoyant.com or use ChartVoyant Support with app name, contact, client type (none, client_secret_basic, or private_key_jwt), exact redirect URIs, optional EHR launch URL, requested scopes, practice, and public JWKS / HTTPS jwks_uri. Send no secrets or PHI.ChartVoyant applies objective identity and configuration checks equally to every developer and enables complete eligible apps within 5 business days. (Apps created via dynamic registration at /oauth/register start disabled until enabled here.)
3. Authorize & connectLaunch against the practice's discovered authorization/token endpoints and honor the returned scopes and revocation.For patient apps, the patient consents in the portal. For clinician or Backend Services apps, the clinician or practice administrator authorizes access.

Track 3: HL7 v2 interfaces (labs, radiology & hospitals)

  1. Scope the feed

    Email info@chartvoyant.com with the practice, sender, message types (ORU^R01, supported ADT), HL7 version, MSH-3/MSH-4, PID-3 assigning authority, expected volume, and any intermediary HIE or engine. Send no patient data.

  2. Execute the HL7 Interface Agreement & BAAs

    Sign the 12-month HL7 v2 Interface Agreement at e-sign.chartvoyant.com plus BAAs covering the practice and any intermediary.

  3. Validate against a sandbox interface (MSH-11 = T)

    Send synthetic ER7 messages to a dedicated sandbox interfaceId until every message type returns MSA|AA.

  4. Turn on the practice interface

    Once agreements, independent security testing, and the practice's go-ahead are on file, ChartVoyant activates the production interfaceId. See HL7 v2 Interfaces.

Track 4: Outbound FHIR destinations

Outbound FHIR write (ChartVoyant as a FHIR R4 client) runs in synthetic mode in production today against ChartVoyant test servers. Real-data sending per destination will open in a later release after an executed destination agreement, public JWKS registration, and independent security testing.

PHI, BAAs & practice audit visibility

Every production read and write is visible to the practice

The medical practice is the HIPAA covered entity; ChartVoyant and your production integration act as business associates (except where a patient directs their own access via SMART standalone or Patient MCP). Every API key call, MCP tool call, SMART read/write, and HL7 delivery is recorded in the practice's append-only, hash-chained audit trail with correlation IDs.