DicomSourceEditor

MacroModule
genre DICOM
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition dicommacros.def
see also DicomQuery
keywords DICOM, server, retrieve, PACS, editor

Purpose

This module handles the configuration and selection of DICOM nodes. It is used in the DicomQuery module.

Usage

You can add and remove DICOM nodes and edit their attributes.

Windows

Default Panel

../../../Modules/Macros/Dicom/mhelp/Images/Screenshots/DicomSourceEditor._default.png

Output Fields

sourceEntry

name: sourceEntry, type: MLBase

This contains the Python object representing the DICOM node selected as source (by Source).

targetEntry

name: targetEntry, type: MLBase

This contains the Python object representing the DICOM node selected as target (by C-Store target).

Parameter Fields

Field Index

Add: Trigger Name: String Type: Enum
AET (serverAET): String Port: Integer  
AET (callingAET): String Remove: Trigger  
C-Store target: String Server List: String  
currentEntry: Integer Source: String  
debug: Bool sourceList: String  
Encoding: Enum targetList: String  
Host: String Test: Trigger  

Visible Fields

Source

name: selectedSource, type: String, default: server1

Select a source DICOM node (returned in sourceEntry).

C-Store target

name: selectedTarget, type: String, default: server

Select a target DICOM node (returned in targetEntry).

Server List

name: serverList, type: String, persistent: no

List of configured servers.

Add

name: addServer, type: Trigger

Add a new server configuration.

Remove

name: removeServer, type: Trigger

Remove the selected server configuration.

Name

name: serverUserName, type: String, persistent: no

User name of the selected server configuration.

Host

name: serverHost, type: String, persistent: no

Host name of the selected server.

Port

name: serverPort, type: Integer, minimum: 1, maximum: 65535, persistent: no

TCP port of the selected server.

AET (serverAET)

name: serverAET, type: String, persistent: no

AE title of the selected server.

Type

name: serverType, type: Enum, persistent: no

Type of the selected server.

Values:

Title Name Description
Browsing only browsingOnly The server can only act as source.
C-Store target cStoreTarget The server can also act as a C-Store target.

Encoding

name: encoding, type: Enum, persistent: no

Set the character encoding that is used to talk to the server in queries.

Values:

Title Name Description
Query encoding query Query the encoding per dataset from the server. With this setting you only can specify ASCII characters in queries. If the server does not return the character encoding this does not work.
Request Latin-1 latin1 Perform queries with Latin-1 encoding. You can specify characters from the Latin-1 in your query. This is probably the most robust option, since it copes with all possible results. Queries with non-ASCII characters can still be broken, though.
Request UTF-8 utf8 Perform queries with UTF-8 encoding. You can specify any characters in your query. Some servers may not support this.

AET (callingAET)

name: callingAET, type: String, persistent: no

AE title of caller, as a reference when contacting the server.

Test

name: testSettings, type: Trigger

Test the current configuration. Uses the echoscu utility.

Hidden Fields

debug

name: debug, type: Bool, default: FALSE

Set to true to get more output in the console.

sourceList

name: sourceList, type: String, persistent: no

List of servers available as query sources.

targetList

name: targetList, type: String, persistent: no

List of servers available as C-Store targets.

currentEntry

name: currentEntry, type: Integer, default: -1

Currently selected entry of server list.