Skip to content

Fix RPMS missing codes being skipped on REDCap imports #132

@dheshanm

Description

@dheshanm

We noticed subject JE94766 had chrscid_a27 and chrscid_a28 as -3 on RPMS CSVs, but had '3' on REDCap.

Here is what we believe happened:

  1. JE94766 had 3 filled in for chrscid_a27 and chrscid_a28 originally, but was later changed to -3
  2. rpms_to_redcap.py script skips/ignores missing codes on fields marked @nomissing when uploading to REDCap.
  3. So, this updated value is not reflected on REDCap.

We had discussed 2 potential solutions to this issue:

  1. Scheduled wiping on add 'PRESCIENT' REDCap records to clean such values
  2. Switching to a more restrictive overwriteBehavior on REDCap API:
    • This should overwrite overwrite blank/empty fields as well

https://redcap.partners.org/redcap/api/help/?content=imp_records
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions