Acentra Health · Interoperability SolutionSandbox Environment
Da Vinci · Attachments

Clinical Data Exchange (CDex)

Unsolicited exchange of clinical data - FHIR resources, C-CDA documents, PDFs and more - proactively sent from providers to payer systems.

Implementation GuideDa Vinci CDex
SecuritySMART on FHIR
Base Path/priorauth/api/v1
upload_file

Overview

The Clinical Data Exchange (CDex) API is a FHIR-based interoperability API that enables an unsolicited data-exchange flow, where a provider proactively sends relevant clinical data to payer systems without a prior explicit request, based on a known business or clinical need.

It enables the exchange of a wide range of clinical data formats, including FHIR resources and Bundles, C-CDA documents, PDFs, and other file types.

To enable efficient exchange of large clinical documents, the CDex API supports a PreSigned URL-based attachment workflow. Clients obtain a secure, time-limited PreSigned URL to upload documents and then reference the uploaded content during CDex submission. This approach improves performance, reduces payload size, and provides a secure and scalable mechanism for exchanging large clinical attachments.

New to the CDex API? The CDex API user guide (PDF) opens in a new tab explains how unsolicited attachments are sent, using the pre-signed URL mechanism.

Clinical Data Exchange API
menu_book

User Guide

CDex API User Guide
How attachments are submitted and processed: the pre-signed URL mechanism, request processing and the attachment response, plus base URLs, scopes, resources and request headers.
PDF · 20 pages · 1.1 MB
What’s inside
AttachmentsPre-signed URLsRequest ProcessingSupported ScopesRequest Headers
fact_check

Capability Statement

Developers can access the Acentra Health FHIR server capabilities for the CDex API using the CapabilityStatement endpoint:

METAhttps://sb.fhir.mhbapp.com/priorauth/api/v1/metadata
View JSON

The CapabilityStatement describes the supported profiles, interactions, and authorization and token endpoints.

login

API Access Setup

settings_suggestFHIR SMART Configuration

Clients can retrieve SMART configuration details by invoking the SMART configuration endpoint at /.well-known/smart-configuration, appended to the FHIR Base URL.

vpn_key
The FHIR Base URL is provided upon successful App Registration approval.
key

Getting an Access Token

The CDex API uses SMART Backend Services (system-to-system) authorization. Authenticate with a signed JWT client_assertion, signed with the private key that matches the public key you registered. No secret is sent over the wire. Request the token with the client_credentials grant.

POSTToken Endpointhttps://sb.fhir.mhbapp.com/sof/oauth2/token
HTTP Headers
HeaderValue
content-typeapplication/x-www-form-urlencoded
acceptapplication/json
HTTP Body
ParameterValue
grant_typeclient_credentials
scope{scopes} (space-separated; only scopes approved for your registration)
client_assertion_typeurn:ietf:params:oauth:client-assertion-type:jwt-bearer
client_assertion{signed_jwt}
Client Assertion (JWT) Claims
ClaimValue
iss{client_id}
sub{client_id}
audhttps://sb.fhir.mhbapp.com/sof/oauth2/token
iatIssue time (current time, in seconds since epoch)
expExpiry; keep it short, for example 5 minutes after iat
jtiUnique ID. Each assertion can be used once; a repeated jti is rejected.
info
Sign the JWT with the algorithm you selected at registration, and register the matching public key or JWKS. Use the returned access_token as the Bearer token on API requests. The sandbox also accepts client_id with client_secret for quick testing, but client_assertion is the recommended method.
terminal

Operations

The CDex API supports the following operations.

POST$submit-attachmenthttps://sb.fhir.mhbapp.com/priorauth/api/v1/$submit-attachment
POST$generate-presigned-urlshttps://sb.fhir.mhbapp.com/priorauth/api/v1/$generate-presigned-urls
POST$regenerate-presigned-urlshttps://sb.fhir.mhbapp.com/priorauth/api/v1/$regenerate-presigned-urls
dataset

Profiles

The CDex API supports the following profiles.

datasetCDex Parameters Submit AttachmentdatasetDocument Reference
http

Request Headers

All requests for CDex API profiles require the following headers:

HeaderValue
content-typeapplication/json
acceptapplication/json
authorizationBearer {access_token}
science

Sample Responses & Data

Synthetic test data is provided for PAS API. The identifiers provided to submit PAS requests can be used to obtain a PA tracking ID, which can then be used for CDex interactions. No separate test data is provided for CDex.

gpp_good

Important Information for EHR Systems

TopicReference
Privacy, Security and HIPAAhealthit.gov - Privacy, Security and HIPAA
ONC Model Privacy Noticehealthit.gov - Model Privacy Notice
check