Uploading Sample Data
Last updated
Was this helpful?
Last updated
Was this helpful?
Aidbox endpoint for bundles will be the base URL of your Box: /
in Aidbox REST Console and [base]
(https://<YOUR-BOX>.aidbox.app
) in any other external client (Postman for example). Alternatively, /fhir
and [base]/fhir
can be used, read more about /fhir endpoints.
According to the , a bundle is a container for a collection of resources for transport and persistence purposes. Below is an example of a request to create two patients:
Every transaction bundle MUST have the type field where value can be a transaction or batch, each element ofentry
field MUST have a method and an url fields in the request
.
Bundles must be sent via POST method to BASE_URL which is the URL of your Box for external clients and /
or /fhir
for REST Console (actually hostname exists in REST Console, but it is hidden).
Access your Box in Aidbox.Cloud.
Open REST Console.
Type in POST /
or POST /fhir
. (read about the difference between Aidbox and FHIR)
Leave next line empty.
Paste your bundle.
Press Ctrl+Enter or click the Send button.
Generating the population one at a time...
...you should see few files with names similar to those:
Make sure that you usePOST /fhir
for synthea bundles, not just POST /
Copy the content of the first file to REST Console, use POST /fhir
to upload the FHIR transaction bundle. Everything else is the same as in the previous step. After that, upload the content of the second file into Aidbox. That's all, you are awesome!
says that a bundle should look like this:
This is a brief description of how to work with transactions and batches in . More interesting information coming soon, stay tuned!
Here's how we can install Synthea — .
Read more about Synthea generator - .