Contents
Navigation
Home User Reference Other Resources


The QTPlgDicomItemSequence class is a sequence of zero or more , where each item contains a set of . Instances of this class are used to setup the values of with a value representation of "SQ".

A Sequence of Items provides a flexible encoding scheme that may be used for simple structures of repeating sets of Data Elements, or the encoding of more complex Information Object Definitions often called folders. SQ Data Elements can also be used recursively to contain multi–level nested structures.

Items present in a "SQ" Data Element shall be an ordered set where each Item may be referenced by its ordinal position. Each Item shall be implicitly assigned an ordinal position starting with the value 1 for the first Item in the Sequence, and incremented by 1 with each subsequent Item. The last Item in the Sequence shall have an ordinal position equal to the number of Items in the Sequence.

Since version 6.3 of the plugin this class can be used in Console Applications






The QTPlgDicomItemSequence class constructors are called when you create a new instance of the class, while the ˜QTPlgDicomItemSequence class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. See the validity requirements for more details.

The class provides you with the following initializer methods:
()
This is the default constructor. It creates an empty sequence of items in memory
(other as QTPlgDicomItemSequence)
This is the copy constructor. The properties of the object to be copied will be used to initialize the new class instance properties

specifies the element id of the Sequence of Items
specifies the to be used that corresponds to the index specified by the key parameter. This index ranges from 1 to . To add a new item object to the list, simply specify a key value of +1; instead, to replace an existing item, assign the new object to the key of the item to be replaced