flywheel-gear-extensions

Gather-Submission-Status Gear

This gear takes a CSV file containing a list of participants and generates a CSV file that depending on the configuration either contains the status of form submissions for the participants, or the errors for the form submissions.

Input file

The input file should have the following columns:

An input file would look like

"adcid","ptid"
0,"123456"
0,"654321"

Note: use the identifier-lookup gear to perform a “reverse” lookup if your source data only has NACCIDs.

Gear configuration

The gear manifest config includes the following parameters:

Output file

Both output files contain a row for each file that the participant has with the columns

The status output file also contains the column

File Metadata and Tagging

After processing, the gear updates the input CSV file with the following metadata. See the QC Conventions reference for details on the data models and conventions used.

  1. QC Result: A validation QC result is added to the file’s file.info.qc metadata with:
    • name: "validation"
    • state: "PASS" or "FAIL" depending on whether the status/error gathering succeeded
    • data: List of FileError objects with error details if any errors occurred
  2. File Tag: The gear name (e.g., "gather-submission-status") is added as a simple tag to the input file, indicating the file has been processed by this gear.

Error Report Output

The error report output file contains the columns