Search



Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is possible to import an existing map in one of two ways:

  1. During the map creation process
  2. From the view screen of an existing map

This page explains the expected map file format, and the two import approaches.

Import Map File Format

An existing mapping file used to import a map into Snap2SNOMED must:

After logging in, follow the same process as explained in 2.1 Create a new map, using the 'Import existing map' button before saving.

First create a new map by clicking the "Create map" button.

Image Removed 

Then fill in all the mandatory (*) fields in the dialogue box that appears (e.g. title, version, source, target, etc)

Image Removed

And before you save the new map, click on the "Import existing map" button that appears (just above the project roles section).

Image Removed

...

  • Be a CSV or TSV file
  • Have a header row
  • Be in one of the following formats

    • source_code, target_code, target_display, relationship_type
    • source_code, source_display, target_code, target_display, relationship_type
    _code

Image Removed

      • Note: This second format is the same as Snap2SNOMED's Export file format

Relationship type values in the map import file must be one of the following codes (from the first column of the table below):

Relationship Type CodesDescription
TARGET_EQUIVALENTTarget is equivalent to source
TARGET_INEXACTTarget is inexact to source
TARGET_BROADERTarget is broader than source
TARGET_NARROWERTarget is narrower than source

Import during map creation

You can import an existing map using the "Create map" dialogue. The "Import existing map" button will appear after uploading and/or selecting your source file.

Image Added

Note: Large maps can take long to import, please do not refresh your browser while the import is running.

If there is an error in your imported map file, the import will fail, but a map with only the source code will be created. After correcting any errors, you can attempt to re-import your map file from within the new map (see 'Import into an existing map' below.

Import into an existing map

To import a map file into a map that has already been created in Snap2SNOMED, open/view the map, and click the IMPORT button near the top of the page (see screen shot below).


Image AddedFinally click the "Save" button to import your map.