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 14 Next »


  1. Download the CDE match template. The filetype should be XLSM. (Start with a fresh template for each import.) 
  2. When opening your copy of the template, select Enable Macros

  3. 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, leave blank the cells below Row 1 for that column. 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 the transformed data and revise for loading, if necessary. 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. 

  4. Use the Microsoft Excel "Save As" feature to save the Transform sheet as CSV. A message appears indicating that the CSV file type does not support multiple sheets. Click OK to save only the active sheet.  
  5. Import the file into OneData:
    1. Log in as described in Logging In.
    2. 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.)
    3. From the Import menu, select Conceptual Object Import
    4. Select the DS Import row and click Import (between Add New Mapping and Go To Data Manager). 
    5. Under Source Information, in the Import from File row, click Choose File. Navigate to and select your CSV file from your desktop. 
    6. Click Import at the bottom of the page. The system displays a message with the status of your import. 
  6. Review CDEs that match your file:
    1. From the Manage menu, select Manage Data. The Manage Data page appears. Select CDE Match. The CDE Match page appears.
    2. Specify search criteria, such as all or part of your Batch Name. The format for the Date Last Modified field is MM/DD/YY (such as 03/05/22). 
    3. Click Apply Filter. Search results appear. 
    4. Select the checkbox for the rows you want to match. Select Run CDE Match. The system starts checking all the input columns from your transform sheet against the caDSR CDEs for possible matches including comparing the values from your transform sheet with permitted values for the CDEs. The process can take a while to run. The system begins to fill in the number of PVs and the number of matched CDEs for each column in the input file. 
    5. You can navigate away from CDE Match and come back later to check whether it’s finished running. You can refresh the list of results by clicking Display Values.
    6. TBD
  7. 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