FAQ : How to map calculated fields from REDCap in OpenSpecimen
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

FAQ : How to map calculated fields from REDCap in OpenSpecimen

Calculated fields in REDCap cannot be mapped because they are not stored in the database.

As a workaround, you can map the individual fields used in the calculation to corresponding participant or visit fields, which can then be configured in OpenSpecimen.

Example:
If a REDCap calculated field is defined as:
patient_id = concat(patient_group_short, record_id)
and the requirement is to map this to PPID:

  • Map patient_group_short=externalSubjectId

  • Map record_id=participant.extensionDetail.attrsMap.recordID

Then, in OpenSpecimen, configure the CP PPID format to use these mapped fields to achieve the same result.

 

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com