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:
Image Added
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
}
]
// -------------------------------------------------------------------------------------------
}
|
Section |
---|
Column |
---|
| ReferenceThe 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:
![](/wiki/download/attachments/40600776/Screen%20Shot%202016-12-21%20at%201.11.33%20PM.png?version=1&modificationDate=1482343923000&api=v2)
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
}
]
// -------------------------------------------------------------------------------------------
}
|
Supported Data Types
Basic: Booleans, and Strings, and IntegersFor example: Code Block |
---|
isQueryable = true
setSizeObfuscation = false
shrineDatabaseType = "mysql"
adapterLockoutAttemptsThreshold = 42 |
|
Column |
---|
| Panel |
---|
borderColor | #0066cc |
---|
bgColor | #EFF5FB |
---|
titleColor | #0066cc |
---|
titleBGColor | #E0F2F7 |
---|
title | Page Contents |
---|
| Table of Contents |
---|
maxLevel | 6 |
---|
minLevel | 3 |
---|
indent | 20px |
---|
style | none |
---|
|
|
|
|
...