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 API Guide provides guidance on exchanging supporting clinical information through the CDex API, including unsolicited attachment submission, the pre-signed URL mechanism for attachments, request processing, and response handling. It also includes the API details needed to get started, such as base URLs, supported scopes, resources, and required request headers.

Clinical Data Exchange API
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

Supported Profiles

The CDex API supports the following profiles.

datasetCDex Parameters Submit AttachmentdatasetDocument Reference
http

Request Headers

The following headers must be included in requests made using any supported CDex API request profiles.

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

Sample Requests & Responses

The CDex API is available at one IG version, 2.1.0. The identifiers used to submit PAS requests give you a PA tracking ID, which you then use as the TrackingId in CDex requests.

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