Versions Compared

Key

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

...

Changes to the i2b2_config_data.js file

  • You will need to make a change in the i2b2_config_data.js file, by adding this line of code:

    Code Block
    languagebash
    themerdark
    shrineUrl: 'https://your_shrine_url:6443/shrine-metadata/',
  • Here's the whole i2b2_config_data.js file for reference:

    Code Block
    languagebash
    themerdark
    {
      urlProxy: "/shrine-proxy/request",
      urlFramework: "js-i2b2/",
      loginTimeout: 15, // in seconds
      username_label:"SHRINE ACT Hub username:", //Username Label
      password_label:"SHRINE ACT Hub 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",
      shrineUrl: 'https://your_shrine_url:6443/shrine-metadata/',
      // -------------------------------------------------------------------------------------------
      // THESE ARE ALL THE DOMAINS A USER CAN LOGIN TO
      lstDomains: [
        {
          domain: "your domain name",
          name: "your node name",
          debug: true,
          urlCellPM: "http://your_i2b2_url:9090/i2b2/services/PMService/",
          allowAnalysis: true,
          isSHRINE: true      
        }
      ]
      // -------------------------------------------------------------------------------------------
    }


Changes to the cell_config_data.js file

...

Code Block
languagebash
themerdark
 files: [
     “dist"dist/shrine.bundle.js”js"
//   “shrine"shrine.controller.js”js",
//   “i2b2"i2b2_msgs.js”js",
//   “shrine"shrine.plugin.js”js"
  ],

You'll need to add "dist/shrine.bundle.js" under the files section as well as "wrapperHtmlFile: "./js-shrine/shrine.plugin.html"" under the readApprovedURL parameter.

...