Function
|
Description
|
Examples (0010,1030 is patient weight)
|
equality symbol (=)
|
This compares the tag value against the entered value.
|
(Image.Tag('0010,1030') = 50)
|
>
|
This returns true when the tag value is larger than the entered value.
|
(Image.Tag('0010,1030') > 50)
|
>=
|
This returns true when the tag value is larger than or equal to the entered value.
|
(Image.Tag('0010,1030') >= 50)
|
<
|
This returns true when the tag value is less than the entered value.
|
(Image.Tag('0010,1030') < 50)
|
<=
|
This returns true when the tag value is less than or equal to the entered value.
|
(Image.Tag('0010,1030') <= 50)
|
<>
|
This returns true when the tag value is not equal to the entered value.
|
(Image.Tag('0010,1030') <> 50)
|
BETWEEN
|
This returns true when the tag value is between the entered lower and upper values, inclusive.
|
(Image.Tag('0010,1030').BETWEEN(30, 60))
|
IN
|
This compares the tag value against values in a list. Separate each value with a comma.
Note the use of square brackets to contain the list of numbers to compare against.
|
(Image.Tag('0010,1030') IN [30,33,36,39])
|
NOT
|
Use this function to reverse the results of the 'inner' function.
For e.g. say we want to find all images where the patient weight is < 30 and > 60. We can write the search condition as follows:
(NOT (Image.Tag('0010,1030').BETWEEN(30, 60))
|
(NOT (Image.Tag('0010,1030').BETWEEN(30, 60)))
(NOT (Image.Tag('0010,1030') IN [30,33,36,39]))
|