Class FilterByOperator

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, CodeStringWrapper, StringDataElementWrapper

public class FilterByOperator extends AbstractDataElementWrapper implements CodeStringWrapper
Name: Filter-by Operator
Keyword: FilterByOperator
Tag: (0072,0406)
Value Representation: CS
Value Multiplicity: 1
  • Described in the contexts: as follows:
    Attribute Name: Filter-by Operator
    Type: 1C
    Attribute Description:

    Operation to be applied between the value(s) in the Hanging Protocol Selector Attribute Value Macro ("selector"), and the value(s) of the Attribute identified by Selector Attribute (0072,0026) (or the value implied by the Filter-by Category (0072,0402)) in each image of the Image Set. See DICOM Standard Part 3 - Section C.23.3.1.1.

    Required if Filter-by Category (0072,0402) is present, or if Selector Attribute (0072,0026) is present and Filter-by Attribute Presence (0072,0404) is not present.

    Enumerated Values:

    RANGE_INCL

    all values lie within the specified range, or are equal to the endpoints; applies only to numeric Selector Attribute (0072,0026) values; two values shall be present in the selector, the first of which is less than or equal to the second

    RANGE_EXCL

    all values lie outside the specified range, and are not equal to the endpoints; applies only to numeric Selector Attribute (0072,0026) values; two values shall be present in the selector, the first of which is less than or equal to the second

    GREATER_OR_EQUAL

    all values are greater than or equal to the value of the selector; applies only to numeric Selector Attribute (0072,0026)

    LESS_OR_EQUAL

    all values are less than or equal to the value of the selector; applies only to numeric Selector Attribute (0072,0026)

    GREATER_THAN

    all values are greater than the value of the selector; applies only to numeric Selector Attribute (0072,0026)

    LESS_THAN

    all values are less than the value of the selector; applies only to numeric Selector Attribute (0072,0026)

    MEMBER_OF

    one of the values in the image is present in the values of the selector; if one value is present in each, this is an "equal to" operator

    NOT_MEMBER_OF

    none of the values in the image is present in the values of the selector; if one value is present in each, this is a "not equal to" operator


  • Field Details

  • Constructor Details

    • FilterByOperator

      public FilterByOperator(org.dcm4che3.data.Attributes attributes)
      Creates a new Filter-by Operator object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • FilterByOperator

      public FilterByOperator()
      Creates a new Filter-by Operator object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      public FilterByOperator copy()
      Returns a new Filter-by Operator which wraps a copy of the Attributes wrapped in this Filter-by Operator. (see Attributes(Attributes)
      Returns:
      a new Filter-by Operator which wraps a copy of the Attributes wrapped in this Filter-by Operator.
    • getValueRepresentation

      public org.dcm4che3.data.VR getValueRepresentation()
      Specified by:
      getValueRepresentation in interface DataElementWrapper
      Returns:
      The DICOM Value Representation (VR) of the wrapped DICOM sequence.
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM sequence.