Page History
...
- Log in as described in Logging In.
Download the form import template. (Start with a fresh template for each import.)
When opening your copy of the template, select Enable Macros.
Populate your file with information about the forms that you want to import. Paste content into the template starting in the 3rd row, column E. The following table provides instructions for each column in the form import template:
REDCap Column Name caDSR Column Name Instructions DO NOT USE DO NOT USE TBD Batch User Batch User Enter a Batch User Batch Name Batch Name Enter a Batch Name Seq ID Seq ID ensure that each row has a unique "Seq Id" Variable / Field Name Question Short Name Enter a short name in the Variable / Field Name, this can be used for matching to an existing CDE. Form Name Form Name TBD Section Header Module TBD Field Type Question Type TBD Field Label Question Text TBD Choices, Calculations, OR Slider Labels VV, VM TBD Field Note Question Instruction TBD Text Validation Type OR Show Slider Number N/A TBD Text Validation Min N/A TBD Text Validation Max N/A TBD Identifier? N/A TBD Branching Logic (Show field only if...) N/A TBD Required Field? isMandatory? TBD Custom Alignment N/A TBD Question Number (surveys only) N/A TBD Matrix Group Name N/A TBD Matrix Ranking? N/A TBD Field Annotation CDE ID and Version TBD Protocol Short Name TBD TBD Comments TBD TBD Module Instruction TBD TBD As you populate your file, you can use your Delete key to clear the contents of one or more individual cells, but do not delete entire rows or columns. REDCap does not have a column for Context.
- Run one or more macros:
- At a minimum you must run the Macro "Standardize" as described in TBD.
- If importing a PhenX REDCap Data Dictionary, you must run "Standardize", then "PhenxStandarize", as described in TBD.
- To automate copying form content into the template from one or more REDCap dictionary csv files, run "CombineZip", as described in TBD.
- Save the file as CSV.
- Import the file, as described in TBD. Context for all the forms in the templates is selected after importing the template into caDSR.
- Run Form Import from Manage>>Manage Data (or your bookmarked Favorites)
- Select "Import" from the toolbar, then "Conceptual Data Object" from the drop-down
- Select the checkbox next to "Form Import RedCAP v1" and select "Import" option from the toolbar (Between "Add New Mapping" and "Go To Data Manager")
- Select the "Choose File" and select the Form Import Template from our desktop that you have prepared for loading
- Change the last row in the table "Start at Row" from 2 → 3
- Select "Import" at the bottom of the Table
- After "Success" message, Select "Go to Data Manager" or Manage>>Manage Data>> Form Import (or from your bookmarked Favorites)
- Use the filter to search for your form, Click "Apply Filter"
- Select "Edit" for your form
- Select a "Context" from the dropdown
- Save
- Select "Parse Form"
- If successful, select "Validate Form"
- Review the results
- After successful Validate, Select "Create Form"
- Copy the Public Id and choose "Forms" from Manage>>Manage Data (or your bookmarked Favorites) to view the newly created form in caDSR
The Macro run key sequence can be viewed by selecting "Tools" from the Excel menu bar, then "Macro".
Macro Name | Description | Execute macro |
---|---|---|
CombineZip | This macro allows the user to import one or more forms in REDCap Data Dictionary format into the Form Template from a desktop folder. This allows the user to run Form Import on a file containing multiple forms instead of one form import at a time. After choosing the keys as indicated in Execute Macro, select a Folder from your desktop and select the forms that you want to combine and import into the spreadsheet. Then run the "Standardize" macro, instructions below. | Choose "Option" + "Command" + "w" |
Standardize | Each row must have a Section Header and a few other details. This macro transforms content from REDCap structure into the structure suitable for caDSR Form Import. | Choose "Control" + "Shift" + "x" |
PhenxStandardize | Files sent to us by PhenX team contained a row with Question Text "Record ID", and the Protocol ID was inserted into the Field Note Column. This macro removes the extra row for "Record ID", and clears the "Field Note" column | Choose "Control" + "Shift" + "t" |
Related topics:
...