Get file URLs to download the exported resources
get
/bulk-export/files/{File_ID}
Note: The FHIR API endpoints described below are currently pending production deployment for electronic health record (EHR) environments. Developers are welcome and encouraged to develop against the specifications in anticipation of production availability, which will be announced at a later date.
Once an export is complete, the status request returns file URLs that you can use to download the exported resources. See the x-complete example response for the bulk export operation.
GET <File URL from status response>
Note:
- An exported ndjson file contains only a single resource type and the same resource type can have multiple files.
- Files expire after 30 days.
Retrieval of Attachments
Request
Path Parameters
-
File_ID(required):
The logical resource ID.
Header Parameters
-
Accept(required):
The media type to be requested. Refer to what the resource's operation produces for what is supported.
Example:
application/fhir+json -
Authorization(required):
Contains the credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
There's no request body for this operation.
Back to TopResponse
Default Response
Example Request:
GET https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/bulk-export/files/<File_ID>
Example Response:
Status: 307 Temporary Redirect
Location: https://cerner-opensvc-bulkfhir-processed.s3.us-west-2.amazonaws.com
Headers
-
Location: string
Indicates the redirect URL that must be followed to download the files.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-request-id, if present.