Search and Populate Data From Another Project
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.
Limitations
This module does not support source projects which have multiple arms. All queries of the source project will be against arm 1 of the source project.
Prerequisites
Easy Installation
- Obtain this module from the Consortium REDCap Repo from the control center.
Manual Installation
- 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.
Configuration
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.
- Limit fields to search: Require selection of a single field to search from the source project.
- Improves performance with large source projects
- 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 to target_field_names
in your current project.