Download Export

 

The Download export retrieves the data of the Group members. Use it for the initial load of a provider system, or to refresh its data.

The Download export supports patient, _type, _since, _until and _typeFilter. When _type is absent, all resource types in the Patient compartment are exported.

After the export is started, each selected member of the Group is updated with the time of the export (or _until, if it is in the past), the requested _type and the requested _typeFilter. A later Delta Export uses this time to export only the changes.

Export All Members

 

Sample 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-download"
    }
  ]
}

Export Selected Resource Types in a Date Range

 

Sample 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-download"
    },
    {
      "name": "_since",
      "valueInstant": "2025-09-01T00:00:00Z"
    },
    {
      "name": "_until",
      "valueInstant": "2025-10-01T00:00:00Z"
    },
    {
      "name": "_type",
      "valueString": "Encounter,Coverage"
    }
  ]
}

Notes

  • Only resources last updated between _since and _until are exported. Both are optional.
  • _type takes a comma-separated list of resource types.
  • To export the data of specific members only, add one patient parameter per member, for example { "name": "patient", "valueReference": { "reference": "Patient/1553" } }.