Asynchronous validation of uploaded resources & references
Human readable validation errors
Can process Aidbox & FHIR format
RPC methods
aidbox.bulk/import-start
Starts aidbox.bulk import.
Object with the following structure:
format input resources format, fhir or aidbox (default: fhir)
meta meta data that will be attached to each of the imported resources
on-conflict action to resolve id uniqueness constraint violation, update or override
input array of objects
url string with input source url
Returns input params object with following attributes added:
statusin-progress, finished, failed
count overall number of imported resources
time import execution time
input the import status of each specific input
statusloaded, validated, failed
count number of loaded resources
errors number of validation errors
time input execution time
message"There is running import - wait until it finish or cancel it with aidbox.bulk/import-cancel"
import object identical to result object
Resource requirements for aidbox.bulk/import-start:
Operation
id
resourceType
aidbox.bulk/import-start
Required
Required
Example
POST /rpccontent-type:text/yamlaccept:text/yamlmethod:aidbox.bulk/import-startparams:on-conflict:updateid_prefix:app1format:fhirmeta: {source:app1}input: - {url:'https://storage.googleapis.com/aidbox-public/synthea/100/corrupted-patient.ndjson.gz'}