SHRINE's ontology utilizes a mapping file that "maps" the ontology terms to the patient data set that is in your database. This mapping file basically maps each term in the SHRINE ontology to a term in the i2b2 ontology so that everything is accounted for. In certain networks, this can be a "one-to-one" mapping, where everything maps to something, or a "many-to-one" mapping concept, where multiple terms are mapped to a particular term.


For AdapterMappings file for the i2b2 Demo Data set, please download the sample file from Harvard Catalyst's SubVersion (SVN) host:

https://open.med.harvard.edu/svn/shrine-ontology/SHRINE_Demo_Downloads/trunk/AdapterMappings_i2b2_DemoData.csv


This file should be renamed to "AdapterMappings.csv" and placed within the /opt/shrine/tomcat/lib directory. SHRINE looks for this file when it starts up each time. Next, you will need to configure SHRINE to use this file within the shrine.conf file. You will need to set the adapterMappingsFileName to the name of that file, within the adapter {} section:


 adapterMappingsFileName = "AdapterMappings.csv"

Note

If you are using specific ontologies (ie, for a network you are participating in), then you will need to modify the sample adapter mappings file to accommodate the differences between the demo ontology and the network specific ontology.

  • No labels