Imports image form data from the REDCap Image Submission EDC project back into Flywheel, verifying consistency between the two systems.
When triggered on a session (or an acquisition within a session), the gear:
record_id from Flywheel custom info.redcap-image-form-importer-PASS or redcap-image-form-importer-FAIL.| Input | Base | Description |
|---|---|---|
api-key |
api-key | Flywheel API key with read/write access to sessions. |
Gear configs are defined in manifest.json.
| Parameter | Type | Default | Description |
|---|---|---|---|
dry_run |
boolean | false |
Collect data without modifying Flywheel tags or writing output. |
parameter_path |
string | /redcap/aws/image-submission-edc |
AWS SSM parameter path for REDCap API credentials. |
The gear reads from the Image Submission EDC REDCap project. Connection credentials are read from AWS SSM Parameter Store at the configured parameter_path.
| Scenario | Behavior |
|---|---|
Session missing record_id in custom info |
Gear fails, session tagged FAIL |
| Flywheel metadata doesn’t match REDCap record | Gear fails, session tagged FAIL |
| REDCap record not permitted for import | Gear fails, session tagged FAIL |
| Dry run mode | Data collected and logged, no modifications made |