The Econmed.ImageViewer.Layout.HangingProtocols plugin allows one to create rules which control the way of how the ClearCanvas DICOM Viewer will lay out its display sets.
- Download the plugin
- Extract it anywhere
- Run the install.bat to compile and install the plugin into your ClearCanvas DICOM Viewer installation.
- Open a study
- Press
tab
orshift
+tab
to page up or down the available layouts.
- Open the
Settings Editor
atTools
->Utilities
->Settings Editor
- Search for
Econmed.ImageViewer.Layout.HangingProtocols
- Edit the
LayoutSettingsXml
- Save your changes
This is an example of a simple hanging protocol that will be applied to all studies containing any CR images and will put the first CR image of the primary and prior studies into a 1x1 grid and the remaining images of the primary study into 2x2 grids:
<hanging-protocols>
<hanging-protocol residual-workspace-rows="2" residual-workspace-columns="2" >
<study-filter>
<condition>
<contains test="$ModalitiesInStudy" pattern="CR" />
</condition>
</study-filter>
<image-filter name="CR">
<condition>
<equal test="$Modality" refValue="CR" />
</condition>
</image-filter>
<workspace rows="1" columns="1">
<image-box filter="CR" />
</workspace>
<workspace rows="1" columns="1">
<image-box filter="CR" prior-study="true" />
</workspace>
</hanging-protocol>
</hanging-protocols>
The condition
elements work like descriped at Rule Condition Operators
within the ClearCanvas ImageServer User's Guide.