view Applications/StoneWebViewer/WebApplication/configuration.json @ 1700:f1bd464dc3e1

the plugin uses the Orthanc configuration instead of the default configuration
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Nov 2020 10:55:21 +0100
parents 0598c87e1e88
children b5a8bf32d969
line wrap: on
line source

{
  "StoneWebViewer" :
  {
    /**
     * Enables/disables the print button.
     **/
    "PrintEnabled" : true,

    /**
     * Defines how dates are displayed in the UI. If this option is not
     * set, the DICOM tags will be displayed as such. "DD" will be
     * replaced by the day, "MM" by the month, and "YYYY" by the year.
     **/
    // "DateFormat" : "DD/MM/YYYY",

    /**
     * This option allows you to define windowing presets.
     * For each preset, you must provide a name, the window width
     * and window center.
     **/
    "WindowingPresets" : [
      {"Name": "CT Lung", "WindowCenter": -400, "WindowWidth": 1600},
      {"Name": "CT Abdomen", "WindowCenter": 60, "WindowWidth": 400},
      {"Name": "CT Bone", "WindowCenter": 300, "WindowWidth": 1500},
      {"Name": "CT Brain", "WindowCenter": 40, "WindowWidth": 80},
      {"Name": "CT Chest", "WindowCenter": 40, "WindowWidth": 400},
      {"Name": "CT Angio", "WindowCenter": 300, "WindowWidth": 600}
    ],
    
    /**
     * The allowed origin for messages corresponding to dynamic actions
     * triggered by another Web page using "window.postMessage()". The
     * special value "*" will allow any origin, which is an insecure
     * value to be used only during development. If this option is not
     * set, all the requests for dynamic actions will be rejected.
     * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
     **/
    "ExpectedMessageOrigin" : "http://localhost:8042"
  }
}