Once the provider system is registered, the DaVinci Data Exchange module is enabled, Organization and Group resources are created, and consent is properly configured, the provider system can perform a $davinci-data-export to retrieve member data.
patient/*.read or user/*.read).[FHIR base]/Group/[id]/$davinci-data-export
[FHIR base]: base URL of the payer's FHIR server[id]: ID of the Group resource representing the provider's attributed membersexportType (required): e.g., hl7.fhir.us.davinci-pdex#provider-download_since (optional, valueInstant): include only resources updated after this time_until (optional, valueInstant): include only resources updated before this timepatient (optional, multiple): filter by specific patient(s)_type (optional, comma-separated): filter by resource type_typeFilter (optional, multiple): filter resources with a FHIR search query_outputFormat (optional): desired format, e.g., NDJSON_since, _type and _typeFilter, and the ATR export requires _type.POST202 Accepted indicates the export job has been successfully initiated.Content-Location: https://api.payer.com/fhir/$export-poll-status?_jobId=67890Sample Request
POST https://api.payer.com/fhir/Group/12345/$davinci-data-export
Authorization: Bearer <access_token>
Content-Type: application/fhir+json
Accept: application/fhir+json
Prefer: respond-async
{
"resourceType": "Parameters",
"parameter": [
{
"name": "exportType",
"valueString": "hl7.fhir.us.davinci-pdex#provider-delta"
},
{
"name": "patient",
"valueReference": { "reference": "Patient/1553" }
},
{
"name": "_outputFormat",
"valueString": "application/fhir+ndjson"
}
]
}
Sample Response
HTTP/1.1 202 Accepted
Content-Location: https://api.payer.com/fhir/$export-poll-status?_jobId=67890
X-Request-ID: abc123
Notes:
You are about to leave the Smile Digital Health documentation and navigate to the Open Source HAPI-FHIR Documentation.