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

Compare with Current View Page History

« Previous Version 3 Next »

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.

Note

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 downloaded from https://shrine-ontologies.s3.amazonaws.com/demo/releases/AdapterMappings-DEMO-SHRINE-4.0.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:

shrine.conf
shrine { 
...
  adapter {
...
    adapterMappingsFileName = "RenamedAdapterMappings.csv"
...
  }
...
} 
  • No labels