Versions Compared

Key

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

 

Section
Column
width60%100%

Reference

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
languagejs
themeRDark
firstline1
titlei2b2_config_data.js
linenumberstrue
{
  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 Integers

For example:

Code Block
isQueryable = true

setSizeObfuscation = false

shrineDatabaseType = "mysql"

adapterLockoutAttemptsThreshold = 42


Column
width40%
Panel
borderColor#0066cc
bgColor#EFF5FB
titleColor#0066cc
titleBGColor#E0F2F7
titlePage Contents

Table of Contents
maxLevel6
minLevel3
indent20px
stylenone

...