DicomQueryEditor

MacroModule

genre

DICOM

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

definition

dicommacros.def

see also

DicomQuery

keywords

DICOM, server, retrieve, PACS, query, editor

Purpose

The module DicomQueryEditor handles the configuration and selection of DICOM queries. It is used in the DicomQuery module.

Usage

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

Windows

Default Panel

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

Output Fields

query

name: query, type: MLBase

This contains the Python dictionary containing the selected (by Query) DICOM query.

This dictionary can be used with the DicomQuery Python module.

Parameter Fields

Field Index

Add: Trigger

ID: String

studyDate2: String

Birthday: Enum

Modalities: String

birthday1: String

Name (queryUserName): String

birthday2: String

Name (patientsName): String

currentEntry: Integer

queriesList: String

Date: Enum

Query: String

debug: Bool

Remove: Trigger

Editable Queries: String

studyDate1: String

Visible Fields

Query

name: selectedQuery, type: String, default: ALL

Sets and shows the name of the selected DICOM query (returned in query).

Editable Queries

name: editableQueries, type: String, persistent: no

Shows the list of all configured queries.

Add

name: addQuery, type: Trigger

When pressed, a new query configuration is added.

Remove

name: removeQuery, type: Trigger

When pressed, the selected query configuration is removed.

Name (queryUserName)

name: queryUserName, type: String, persistent: no

Sets the name of the selected query configuration.

Name (patientsName)

name: patientsName, type: String, persistent: no

Sets the name of the patient to look for.

? and * are allowed as wildcards. Leave empty to ignore.

ID

name: patientID, type: String, persistent: no

Sets the ID of the patient to look for.

? and * are allowed as wildcards. Leave empty to ignore.

Birthday

name: birthdayQueryType, type: Enum, persistent: no

Defines the type of query on the birthday of the patient.

Values:

Title

Name

Description

​ignore

​ignore

​Ignore birthday.

​equals

​equals

​Birthday must equal the given date.

​before

​before

​Birthday must be before or equal the given date.

​after

​after

​Birthday must be after or equal the given date.

​between

​between

​Birthday must be between or equal the given two dates.

Date

name: studyDateQueryType, type: Enum, persistent: no

Defines the type of query on the date of the study.

Values:

Title

Name

Description

​ignore

​ignore

​Ignore the study date

​equals

​equals

​The study date must be equal the given date.

​before

​before

​The study date must be before or equal the given date.

​after

​after

​The study date must be after or equal the given date.

​between

​between

​The study date must be between or equal the given dates.

​today

​today

​The study date must be today.

​last 3 days

​last3Days

​The study date must be from the last 3 days.

​last week

​lastWeek

​The study date must be from the last week.

​last 2 weeks

​last2Weeks

​The study date must be from the last 2 weeks.

​last month

​lastMonth

​The study date must be from the last month.

​last 3 months

​last3Months

​The study date must be from the last 3 months.

​last year

​lastYear

​The study date must be from the last year.

Modalities

name: modalities, type: String, persistent: no

Sets any DICOM modality specifier.

More that one may given (separated by comma). If this is left empty, modality is ignored.

Hidden Fields

debug

name: debug, type: Bool, default: FALSE

If checked, more output is printed to the console.

queriesList

name: queriesList, type: String, persistent: no

Shows a list of configured queries.

currentEntry

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

Shows the currently selected entry of query list.

birthday1

name: birthday1, type: String, persistent: no

birthday2

name: birthday2, type: String, persistent: no

studyDate1

name: studyDate1, type: String, persistent: no

studyDate2

name: studyDate2, type: String, persistent: no