FHIRBulkUtils
The FHIRBulkUtils
module is meant to assist with making Bulk Export requests.
getRetryAfterInSeconds
Given a retryAfter
value, returns the value as a numeric value in seconds
let numSeconds = getRetryAfterInSeconds("60");
let numSeconds = getRetryAfterInSeconds("Wed Apr 05 2023 21:41:57 GMT-0500 (Central Daylight Time)")
getBulkRequestStatus
Gets the status of an ongoing bulk $export request
getBulkExportStatusDisplay
Gets a human-friendly display string for the status on an ongoing bulk $export request
getExportParamsAsBody
Converts the IExportParams
to a format that should be used for the body of the $export POST reques