Load Sample Data
Prerequisites
Before loading sample data, ensure you have the following:
- A running instance of Haste Health (refer to the Quick Start guide if needed).
haste-healthCLI tool installed. You can find installation instructions in the setting up cli tutorial.
Download Sample FHIR Data
You can download sample FHIR data files from the Synthia project. Download R4 data files from here.
Load Sample Data into Haste Health
for file in ~/my-synthia-data-fhir/*
do
haste-health api transaction --file $file
done
Verify Data Load
After loading the data, you can verify that the data has been successfully imported by accessing the Haste Health admin interface or by querying the FHIR API directly.
Issues
- If you encounter issue related to bundle size (413 http) errors, consider increasing the
MAX_REQUEST_BODY_SIZEenvironment variable in your Docker setup. For example, setMAX_REQUEST_BODY_SIZE=8388608for 8mb.