With all other pieces of functionality in place, we can finally write a script to create the DB once and for all. This bash script (or python, or whatever other DB creation language the dev who picks this up chooses) should be run after the flyway table creation migration is performed. It should pull down the whole eRSD as a FHIR bundle, then iterate through it and perform any and all necessary insertions. When a value set or group of data is finished, the sanity check function should be called to verify that all data was added, and any pieces that weren't properly inserted should be repeated at the end of the script.
With all other pieces of functionality in place, we can finally write a script to create the DB once and for all. This bash script (or python, or whatever other DB creation language the dev who picks this up chooses) should be run after the flyway table creation migration is performed. It should pull down the whole eRSD as a FHIR bundle, then iterate through it and perform any and all necessary insertions. When a value set or group of data is finished, the sanity check function should be called to verify that all data was added, and any pieces that weren't properly inserted should be repeated at the end of the script.