10.17 Selector Attribute Macro
Prev | 10 Miscellaneous Macros | Next

## 10.17 Selector Attribute Macro

Table 10-20 specifies the Attributes that identify the context for a Data Element Tag that is used as a Selector Attribute (0072,0026). The attribute may be an attribute nested within one or more Sequences, and/or a Private Attribute.

Table 10-20. Selector Attribute Macro Attributes

Attribute Name | Tag | Type | Attribute Description
--- | --- | --- | ---
Selector Attribute | (0072,0026) | 1 | Data Element Tag of the attribute to be referenced.
Selector Value Number | (0072,0028) | 1 | Positive integer identifying which value of a multi-valued attribute identified by Selector Attribute (0072,0026) is to be referenced. The value 1 identifies the first value. The value zero identifies any value.
Selector Sequence Pointer | (0072,0052) | 1C | Contains the Data Element Tags of the path to the Sequence that contains the Attribute that is identified by Selector Attribute (0072,0026). This attribute shall have the same number of items as the level of nesting of Selector Attribute (0072,0026). Required if Selector Attribute (0072,0026) is nested in one or more Sequences. See Section 10.17.1.1.
Selector Sequence Pointer Private Creator | (0072,0054) | 1C | Identification of the creator of a group of private data elements used to encode attributes in the Selector Sequence Pointer (0072,0052). This attribute shall have the same number of items as the level of nesting of Selector Attribute (0072,0026). For values of the Selector Sequence Pointer (0072,0052) that are not the Data Element Tag of a Private Attribute, the corresponding value in Selector Sequence Pointer Private Creator (0072,0054) shall be empty. Required if Selector Sequence Pointer (0072,0052) is present and one or more of the values of Selector Sequence Pointer (0072,0052) is the Data Element Tag of a Private Attribute. See Section 10.17.1.2.
Selector Sequence Pointer Items | (0074,1057) | 1C | Identification of the Item indices in the Selector Sequence Pointer (0072,0052). This attribute shall have the same number of items as the level of nesting of Selector Attribute (0072,0026). Required if Selector Sequence Pointer (0072,0052) is present. See Section 10.17.1.1.
Selector Attribute Private Creator | (0072,0056) | 1C | Identification of the creator of a group of private data elements. Required if the Selector Attribute (0072,0026) value is the Data Element Tag of a Private Attribute. See Section 10.17.1.2.

### 10.17.1 Selector Attribute Macro Attribute Descriptions

#### 10.17.1.1 Referencing Nested Elements

Examples of use are shown in Table 10-21.

Table 10-21. Selector Attribute Macro Example

Example | Selector Attribute (0072,0026) | Selector Value Number (0072,0028) | Selector Sequence Pointer (0072,0052) | Selector Sequence Pointer Items (0074,1057)
--- | --- | --- | --- | ---
Entire Patient's Name | (0010,0010) | 0 | absent | absent
Second value (e.g., PRIMARY or SECONDARY) in Image Type Attribute | (0008,0008) | 2 | absent | absent
Entire RT Beam Limiting Device Sequence attribute for the third Beam in an RT Plan | (300A,00B6) | 0 | (300A,00B0) | 3
RT Beam Limiting Device Type attribute for the second jaw specified for the first Beam in an RT Plan | (300A,00B8) | 0 | (300A,00B0), (300A,00B6) | 1\2
Code value attribute for the first item in View Code Sequence | (0008,0100) | 1 | (0054,0220) | 1

#### 10.17.1.2 Private Attribute References

The Selector Sequence Pointer Private Creator (0072,0054) and the Selector Attribute Private Creator (0072,0056) each have a value that corresponds to the Private Creator Data Element numbers (gggg,00pp), where gggg is odd and pp ranges from 10 to FF. These identify a block of Private Data Elements within the block (gggg,ppxx). When Selector Attribute (0072,0026) or Selector Sequence Pointer (0072,0052) points to a Private Data Element (gggg,ppxx), it shall have the value (gggg,00xx).

Prev | Up | Next
10.16 Algorithm Identification Macro | Home | 10.18 Data Set Identification Macro