The FTSnext Test Patient Uploader is a tool to populate the clinical domain of the FTSnext setup with test patients.
Therefore, it uses the output of Synthea-MII-KDS to generate and upload consent to gICS and upload FHIR resources to CD-HDS of fts-next.
upload_test_patients --data-dir PATH/TO/Synthea-MII-KDS/output/1000_Patients --docker-compose PATH/TO/fts-next/.github/test/compose.yaml --consent-template PATH/TO/fts-next/.github/scripts/consent.tmpl.json
or
cargo run -- --data-dir PATH/TO/Synthea-MII-KDS/output/1000_Patients --docker-compose PATH/TO/fts-next/.github/test/compose.yaml --consent-template PATH/TO/fts-next/.github/scripts/consent.tmpl.json
-n Upload N patients
--ids upload specific IDs