ctsit / redcap_oncore_client

REDCap OnCore Client external module provides integration with Forte Research's OnCore
Other
4 stars 7 forks source link

add modal table of SA record rejects and reason #62

Closed ChemiKyle closed 4 years ago

ChemiKyle commented 4 years ago

Adds a column to the table of Summary Accrual upload logs on the "Upload Summary Accrual" page (which needs a renaming). If any records were rejected a "review rejects" button appears, clicking it reveals a modal dialog containing a table of record_ids and the reason(s) the OnCore API gave for rejection. The record_id links to the DataEntry page for the record.

image

To test:

  1. Open any project which has at least one summary accrual attempt, preferably with rejected records.
  2. Navigate to the "Upload Summary Accrual" page
  3. Observe the new column and click any "View rejects" button
  4. Confirm that the ID links to the correct location

I would like to update this table to allow the "Error Cause" field to link directly to the erroneous field, but I need to allow custom mapping of OnCore fields to REDCap fields first.