The SHRINE Webclient uses a JSON formatted file for client side settings for help file locations, help urls and obfuscation settings, this document will focus on obfuscation. The configuration file is located at the root html directory. The root html directory will typically look something like the image below:
The contents of i2b2_config_data.js will look something like:
Code Block
language
js
theme
RDark
firstline
1
title
i2b2_config_data.js
linenumbers
true
{
urlProxy: "/shrine-proxy/request",
urlFramework: "js-i2b2/",
loginTimeout: 15, // in seconds
//JIRA|SHRINE-519:Charles McGow
username_label:"SHRINE Username:", //Username Label
password_label:"SHRINE Password:", //Password Label
clientHelpUrl: 'help/pdf/shrine-client-guide.pdf',
networkHelpUrl:'help/pdf/shrine-network-guide.pdf',
wikiBaseUrl: 'https://open.med.harvard.edu/wiki/display/SHRINE/',
obfuscation: 10,
resultName: "patients",
//JIRA|SHRINE-519:Charles McGow
// -------------------------------------------------------------------------------------------
// THESE ARE ALL THE DOMAINS A USER CAN LOGIN TO
lstDomains: [
{ domain: "i2b2demo",
name: "SHRINE",
urlCellPM: "http://127.0.0.1/i2b2/services/PMService/",
allowAnalysis: false,
debug: true,
isSHRINE: true
}
]
// -------------------------------------------------------------------------------------------
}