Clinical workflow component

From user's Wiki!
Jump to: navigation, search

This component allows creating clinical workflows for guiding the user through the steps of a clinical workflow. The clinical workflow can be customized with specific processing steps, windows and working areas.

GIMIAS Workflow

Clinical workflow component allows creating, editing and executing workflows. A GIMIAS Workflow is a way to organize the processing steps and provide a simplified navigation to the end user from the initial step to the final step. For example we can take a look at Angio Morphology Clinical Workflow:

Clinical Workflow diagram
  • In GIMIAS, this workflow is represented as tab pages. Each workflow step (tab page) contains a set of processing steps. Each processing step has a set of alternatives. For example. Step number 2 Vessel Segmentation has a default segmentation algorithm. In case that the default one is not working, there are a list of possible alternatives that the user can select.
Workflow plugin tabs
  • Perspective: GIMIAS still supports the previous way of loading plugins, called “Plugin Perspective”. To switch between these two perspectives, you need to select the appropriate menu entry in the File->Perspective->Plugin or File->Perspective->Workflow. When using the “Workflow” perspective, all needed plugins are loaded automatically.
Workflow option menu
  • Customizable: Each tab page will contain specific processing widgets, toolbars, working areas and layout. So its easy to customize GIMIAS interface for a specific end-user.
  • Persistence: Workflows are stored as XML files in the user home folder. In Windows the folder is C:\Documents and Settings\<User>\.gimias\Workflows. Is possible to store specific plugin properties like PACS AET title or a specific threshold parameter of a processing widget.
  • Version: Each workflow has a name and a version. So it’s easy to update them.
  • Workflow Navigation: Added a new widget to easily navigate through the processing steps with a next and back arrows like a web browser.

Workflow Manager

To manage workflows, you need to access the File->Workflow Manager Menu entry. The following window appears:

Workflow manager

The basic operations you can perform are:

  • New: Creates a new empty Workflow
  • Edit: Allows to edit the currently selected workflow. You can also double click on the workflow to edit
  • Rename: Renames the currently selected workflow. This will also change the XML file name
  • Activate: Will change the active workflow. This button will automatically change the perspective to “Workflow” and restart Gimias
  • Delete: Deletes the workflow and the XML file from disk

Workflow Editor

It allows to edit a workflow. At the left side you have all possible components that are registered in Gimias and can be added to the workflow. At the right side you have the currently edited workflow. As a example we will take a look at AngioMorphology workflow.

Workflow editor
  • Left side: You can see the needed plugins to create this workflow: Common, DICOMPlugin, MeshEditorPlugin, AngioSegmentationPlugin, AngioMorphologyPlugin. Common folder contains all components registered as common for all plugin tabs.
  • Right side: This workflow has 4 steps. Each step contains Processing steps and Windows. For example “Load image data” step contains two specific windows from DICOMPlugin: WorkingAreaPanelWidget and ConnectToPacsDialogWidget. While Vessel Segmentation contains one processing step and 4 alternatives.
Workflow editor

How to create/edit a workflow

To edit the workflow you need to

  • Start GIMIAS with the Plugin Perspective and load all the plugins that you need to create the workflow
  • Open the Workflow Editor
  • Add a workflow step: Press right mouse button over the Workflow name and select “Add a step”. By default all Common widgets will be added automatically. Is possible to remove some of the “Common” widgets that are not needed in your workflow. You can edit the workflow step name pressing F2 key.
  • Add components: Drag and drop the processing steps and the windows from the left tree to the right tree. You can select multiple components.
  • Remove components: You can remove a component from the right tree dropping it out of the window
  • Change workflow steps order: You can change the workflow steps order or the processing steps order with drag and drop over the right tree.
  • Press “Ok” button to save the changes or “Cancel” button to discard them.

Workflow Navigation

With workflow navigation widget you can navigate through the workflow processing steps pressing next and back button. With the middle button you can access the alternative processing steps.

Workflow navigator


UML class diagram and source code

You can read more information in GmWorkflow.

Tutorial video: How to create a GIMIAS Workflow

Go back to GIMIAS Architecture