Versions Compared

Key

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

SHRINE uses a mappings file that to convert network queries to queries with terms that match your local i2b2 CRC. This mappings file maps each term in the SHRINE Demo ontology to a term in the i2b2 ontology. This can be a "one-to-one" mapping, where everything maps to something, or a "many-to-one" mapping, where multiple terms are mapped to the same term.

Find the AdapterMappings.csv distributed with your network ontology. You should place it in the /opt/shrine/tomcat/lib directory on the SHRINE host. 

Info
titleNote

You should ensure that your SHRINE host is using an ontology mappings file that is specific to the network that you are working with.

Typically a single node will create a starter adapter mappings file for a network's ontology, then share it with the rest of the network as a starting point. The AdapterMappings.csv file for the demo ontology can be download downloaded from the link below:https://shrine-ontologies.s3.amazonaws.com/demo/releases/AdapterMappings-DEMO-SHRINE-34.20.0.csv .

Depending on the details of your i2b2, you may need to edit AdapterMappings.csv to match the terms used in your local i2b2. 

If you change the name of the ontology file from the default name AdapterMappings.csv, you will need to configure SHRINE to use this file by setting the adapterMappingsFileName value to the name of that file in shrine.conf's adapter section:

Code Block
languagebash
themeRDark
titleshrine.conf
shrine { 
...
  adapter {
...
    adapterMappingsFileName = "RenamedAdapterMappings.csv"
...
  }
...
} 
Info
titleNote
You should ensure that your SHRINE host is using an ontology mappings file that is specific to the network that you are working with.