A REDCap Module to search another project for data to populate data into the current form. This module embeds REDCap's Search Query functionality into a data entry page to allow searches of another project to populate fields in the current data entry page.
- REDCap >= 9.7.8
- Obtain this module from the Consortium REDCap Repo from the control center.
- Clone this repo into
<redcap-root>/modules/search_and_populate_data_from_another_project_v0.0.0
. - Go to Control Center > External Modules and enable Search and Populate Data From Another Project.
- For each project you want to use this module, go to the project home page, click on Manage External Modules link, and then enable Search and Populate Data From Another Project for that project.
Access Manage External Modules section of your project, click on Search and Populate Data From Another Project's configure button, and save settings in order to specify the forms where the query box should be visible and provide the field mapping for each of those forms.
- Project you wish to search: The source project you will be searching and pulling values from.
- Note: You may only select source projects to which you have access, but user permissions are not checked while the module is used; by defining a source project you are granting access to the data contained in its mapped fields for everyone with access to the target project, even for users without access to the source project.
- Enabled forms
- Show in this form: The instrument the following mapping will be applied to.
- JSON mapping source:target: JSON which maps
source_field_names
from the source project totarget_field_names
in your current project.