NIH | National Cancer Institute | NCI Wiki  

WIKI MAINTENANCE NOTICE

Please be advised that NCI Wiki will be undergoing maintenance Monday, July 22nd between 1700 ET and 1800 ET and will be unavailable during this period.
Please ensure all work is saved before said time.

If you have any questions or concerns, please contact the CBIIT Atlassian Management Team.

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

You can import forms from REDCap Data Dictionary format. This has been tested for use only on a Windows PC platform, not Mac laptops.

  1. Log in as described in Logging In.
  2. Download the form import template. (Start with a fresh template for each import.) 

  3. When opening your copy of the template, select Enable Macros.

  4. Populate your file with information about the forms that you want to import. Paste content from REDCap into your copy of the template starting in the 3rd row, column E. Refer to additional instructions for each column in the following table:

    REDCap Column NamecaDSR Column NameInstructions
    DO NOT USEDO NOT USETBD
    Batch UserBatch UserEnter a Batch User.
    Batch NameBatch NameEnter a Batch Name.
    Seq IDSeq IDEnsure that each row has a unique sequence ID. 
    Variable / Field NameQuestion Short NameEnter a short name. This can be used for matching to an existing CDE.
    Form NameForm NameTBD
    Section HeaderModuleTBD
    Field TypeQuestion TypeTBD
    Field LabelQuestion TextTBD
    Choices, Calculations, OR Slider LabelsVV, VMTBD
    Field NoteQuestion InstructionTBD
    Text Validation Type OR Show Slider NumberN/ATBD
    Text Validation MinN/ATBD
    Text Validation MaxN/ATBD
    Identifier?N/ATBD
    Branching Logic (Show field only if...)N/ATBD
    Required Field?isMandatory?TBD
    Custom AlignmentN/ATBD
    Question Number (surveys only)N/ATBD
    Matrix Group NameN/ATBD
    Matrix Ranking?N/ATBD
    Field AnnotationCDE ID and VersionTBD
    Protocol Short NameTBDTBD
    CommentsTBDTBD
    Module InstructionTBDTBD
  5. As you populate your file, keep in mind the following points:

    • 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. 

  6. Run one or more macros:
    1. To automate copying form content into the template from one or more REDCap dictionary csv files, run CombineZip.
    2. At a minimum, you must run Standardize.
    3. If importing a PhenX REDCap Data Dictionary, you must also run PhenxStandardize.
  7. Save the file as CSV. 
  8. From the Manage menu, select Manage Data. The Manage Data page appears. Select Form Import. The Form Import page appears. (For instructions on adding this page to your favorites, refer to Managing Favorites.)
  9. From the Import menu, select Data Object Import
  10. From the toolbar (between Add New Mapping and Go To Data Manager), click Import. The Interchange Mapping page appears. As you complete this page, keep in mind the following points:
    1. In the Import from file row, click Choose File. Navigate to and select the CSV file that you have prepared. 
    2. In the Delimiter row, select Comma
    3. In the last row, change Start at Row from 2 to 3.
  11. Click Next
  12. After "Success" message, Select "Go to Data Manager" or Manage>>Manage Data>> Form Import (or from your bookmarked Favorites)
  13. Use the filter to search for your form, Click "Apply Filter"
  14. Select "Edit" for your form
  15. Select a "Context" from the dropdown
  16. Save
  17. Select "Parse Form"
  18. If successful, select "Validate Form"
  19. Review the results
  20. After successful Validate, Select "Create Form"
  21. Copy the Public Id and choose "Forms" from Manage>>Manage Data (or your bookmarked Favorites) to view the newly created form in caDSR

To view the shortcut key for each macro, refer to Microsoft Excel online help. 

Macro NameDescriptionExecute macro
CombineZipThis macro allows you to import one or more forms in REDCap Data Dictionary format into your copy of the form template from a desktop folder. This allows you 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, as described below.Ctrl+w
StandardizeEach 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.Ctrl+Shift+T 
PhenxStandardizeFiles sent to us by the 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.Ctrl+Shift+X

Related topics:


  • No labels