NIH | National Cancer Institute | NCI Wiki  

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 »


  1. Log in as described in Logging In.
  2. Download the CDE match template. The filetype should be XLSM. (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 CDEs that you want to match.

    1. Prepare data for loading in the Source tab:
      1. Row 1: Enter the text in each column to be used for matching to existing CDEs in CDE Match. 

      2. Rows 2-N: Enter the permissible values or the value label, one per row below the column heading for each enumerated value. If the data element is non-enumerated the rows below Row 1 for that Column will be null. If the permissible value is a local code (such as “1” or “2184”), enter the label/term for the code instead (such as “male”). 

      3. After filling in your column headings and permissible values, press Ctrl+t to transform content into the correct format for CDE Match. The macro creates a new Transform sheet containing one row for each unique combination of heading and permissible value. Columns with no rows beneath the header row on the Source sheet will only have one row on the Transform sheet. 
    2. Review and update the transformed data for loading. The following table provides instructions for each column in the Transform tab:

      Column NameInstructions
      Batch UserEnter a batch user name in each row. You can provide any text in this column. The system does not validate this column. 
      Batch NameEnter a batch name in each row. The combination of Batch User and Batch Name must be unique.
      Batch SequenceThe macro specifies a unique sequence ID for each column from the Source sheet.
      EntityThe macro specifies the name of the column from the Source sheet.
      Perm ValThe macro specifies the permissible value from the Source sheet.
      User TipEnter a term or a phrase for the Column. CDE Match will use this term or phrase INSTEAD of the Column Heading. The whole phrase is used, the system does not parse the words. This is useful if the Column heading is abbreviated or unclear.  The User Tip only needs to be entered on the 1st row for the Column that has multiple permissible values.
      ContextsEnter a Context name to restrict the search for CDEs to only that Context.
      Preferred CDE IDIf you already know which CDE you prefer to use for this column, enter the CDE Public ID and Version on the 1st row for the column. If the Preferred CDE is entered, the system does not try to match to other CDEs.
      Preferred CDE VersionIf you already know which CDE you prefer to use for this column, enter the CDE Public ID and Version on the 1st row for the column. If the Preferred CDE is entered, the system does not try to match to other CDEs.
      CommentsIgnore. 

      As you populate your file, keep in mind the following points:

      • You may add additional columns to your file for taking/keeping notes after the last template column, but the column names must be unique.
      • You can use your Delete key to clear the contents of one or more individual cells, but do not delete entire rows or columns. 

  5. Use the Microsoft Excel "Save As" feature to save the Transform sheet as CSV. You will get a warning that the file cannot be saved because there is more than one worksheet, please ignore the warning and Click "OK". 
  6. In OneData:
    1. From the Manage menu, select Manage Data. The Manage Data page appears. Select CDE Match. The CDE Match page appears. (For instructions on adding this page to your favorites, refer to Managing Favorites.)
    2. From the Import menu, select Conceptual Object Import
    3. Select the DS Import row and click Import (between Add New Mapping and Go To Data Manager). 
    4. Under Source Information, in the Import from File row, click Choose File. Navigate to and select your CSV file from your desktop. 
    5. Click Import at the bottom of the page. 
  7. TBD
  8. CDE Match has a command "Run DEC Match". This will run the match algorithm on the imported files using just the CDE names, ignoring the permissible values. Click the "Matched DEC" node to see results.

Related topics:


  • No labels