C.23 Hanging Protocol Specific Modules
Prev | C Information Module Definitions (Normative) | Next

## C.23 Hanging Protocol Specific Modules

The following Sections specify Modules used for Hanging Protocols.

### C.23.1 Hanging Protocol Definition Module

Table C.23.1-1 specifies the Attributes that describe and identify the high level definition of a Hanging Protocol, including its overall purpose, and the types of image sets to which it applies. See Annex V “Hanging Protocols (Informative)” in PS3.17 for further explanation.

Table C.23.1-1. Hanging Protocol Definition Module Attributes

Attribute Name | Tag | Type | Attribute Description
--- | --- | --- | ---
Hanging Protocol Name | (0072,0002) | 1 | Short descriptor that identifies the Hanging Protocol.
Hanging Protocol Description | (0072,0004) | 1 | Explanation of the objective or intent of the Hanging Protocol.
Hanging Protocol Level | (0072,0006) | 1 | Identifies the level at which this Hanging Protocol is defined, and the intended use. Enumerated Values: MANUFACTURER SITE USER_GROUP SINGLE_USER
Hanging Protocol Creator | (0072,0008) | 1 | Identifies the creator of the Hanging Protocol.
Hanging Protocol Creation DateTime | (0072,000A) | 1 | Date and time on which the Hanging Protocol was created.
Hanging Protocol Definition Sequence | (0072,000C) | 1 | Sequence that defines the type of imaging studies to which this Hanging Protocol applies. One or more Items shall be included in this sequence. See Section C.23.1.1.1.
>Modality | (0008,0060) | 1C | Type of equipment that originally acquired the data used to create images or related objects to which this Hanging Protocol applies. See Section C.7.3.1.1.1 for Defined Terms. Required if Anatomic Region Sequence (0008,2218) is not present. May be present otherwise.
>Anatomic Region Sequence | (0008,2218) | 1C | Sequence that identifies the anatomic region of interest to which this Hanging Protocol applies. One or more Items shall be included in this sequence. Required if Modality (0008,0060) is not present. May be present otherwise.
>>Include Table 8.8-1 “Code Sequence Macro Attributes” | Defined CID 4 “Anatomic Region”.
>Laterality | (0020,0060) | 2C | Laterality of the body part to which this Hanging Protocol applies. Enumerated Values: R Right L Left B Both U Unpaired Zero length means not applicable. Required if Anatomic Region Sequence (0008,2218) is present.
>Procedure Code Sequence | (0008,1032) | 2 | Sequence that identifies a procedure to which this Hanging Protocol applies. Zero or more Items shall be included in this sequence.
>>Include Table 8.8-1 “Code Sequence Macro Attributes” | No Baseline CID is defined.
>Reason for Requested Procedure Code Sequence | (0040,100A) | 2 | Sequence that identifies a reason for procedure to which this Hanging Protocol applies. Zero or more Items shall be included in this sequence.
>>Include Table 8.8-1 “Code Sequence Macro Attributes” | No Baseline CID is defined.
Number of Priors Referenced | (0072,0014) | 1 | Identifies the number of prior image sets used in this Hanging Protocol.
Image Sets Sequence | (0072,0020) | 1 | Sequence describing one or more types of Image Sets to which the Hanging Protocol applies. One or more Items shall be included in this sequence. See Section C.23.1.1.2.
>Image Set Selector Sequence | (0072,0022) | 1 | Sequence containing Image Set selection attributes and values that are used to identify one type of image or object set for the Hanging Protocol. One or more Items shall be included in this sequence. See Section C.23.1.1.3.
>>Image Set Selector Usage Flag | (0072,0024) | 1 | Indicates the behavior of matching against an image object when Selector Attribute (0072,0026) is not available in the image object. Enumerated Values: MATCH If the attribute is not in the image object, consider the image to be a match anyway. NO_MATCH If the attribute is not in the image object, then do not consider the image to be a match.
>>Selector Attribute | (0072,0026) | 1 | Data Element Tag of an Attribute from an Image or other IOD to use for Image Set selection.
>>Selector Attribute VR | (0072,0050) | 1 | The Value Representation of Selector Attribute (0072,0026). See PS3.5 for Enumerated Values of Value Representation.
>>Include Table C.23.4-1 “Hanging Protocol Selector Attribute Context Macro Attributes” |
>>Include Table C.23.4-2 “Hanging Protocol Selector Attribute Value Macro Attributes” |
>>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 used for Image Set selection. The value 1 identifies the first value. The value zero identifies any value.
>Time Based Image Sets Sequence | (0072,0030) | 1 | Sequence containing time based Image Set selection categories and values that are used to identify one type of image set for the Hanging Protocol per sequence item. One or more Items shall be included in this sequence. The Image Set Selector Sequence (0072,0022) shall be applied to each sequence item to define an image set. See Section C.23.1.1.2.
>>Image Set Number | (0072,0032) | 1 | A monotonically increasing integer, starting from 1, incrementing by one, unique within the Hanging Protocol Instance. ### Note Each item of the Display Sets Sequence (0072,0200) references one Image Set Number (0072,0032).
>>Image Set Selector Category | (0072,0034) | 1 | Category of the Time Based Image Set selector. Enumerated Values: RELATIVE_TIME ABSTRACT_PRIOR
>>Relative Time | (0072,0038) | 1C | Exactly two numeric values, indicating the start and end values of a prior range of instance acquisition times relative to the date and time of a current image set. The units shall be specified in Relative Time Units (0072,003A). The value pair 0\0 shall indicate a current image set. The value pair n\n shall indicate "prior from the instance acquisition time of a current image set by n units". Required if the value of Image Set Selector Category (0072,0034) is RELATIVE_TIME. ### Note A value pair "1\7" with Relative Time Units (0072,003A) of DAYS would indicate the range "prior by 1 to 7 days before a current image set". The VR of this attribute is unsigned, hence future time cannot be represented.
>>Relative Time Units | (0072,003A) | 1C | Units of time for Relative Time (0072,0038). Enumerated Values: SECONDS MINUTES HOURS DAYS WEEKS MONTHS YEARS Required if Relative Time (0072,0038) is present.
>>Abstract Prior Value | (0072,003C) | 1C | Identifies a prior image set in abstract terms. Exactly two integer values, indicating the range of prior studies to include. Each value shall be greater than zero, where 1 indicates the most recent prior and higher values indicate successively older priors. The special value -1 shall indicate the oldest prior. ### Note The value pair n\n indicates the nth prior. The value pair -1\-1 indicates the oldest prior. The value pair m\n indicates the mth through nth priors, where m is the more recent prior. The value pair 1\-1 indicates all priors. The value pair m\-1 indicates the mth prior and all priors older than m. Required if Image Set Selector Category (0072,0034) is ABSTRACT_PRIOR and Abstract Prior Code Sequence (0072,003E) is not present.
>>Abstract Prior Code Sequence | (0072,003E) | 1C | Identifies a prior image set using coded terminology. Only a single Item shall be included in this sequence. Required if Image Set Selector Category (0072,0034) is ABSTRACT_PRIOR and Abstract Prior Value (0072,003C) is not present.
>>>Include Table 8.8-1 “Code Sequence Macro Attributes” | Defined CID 31 “Abstract Priors”.
>>Image Set Label | (0072,0040) | 3 | Description of the objective of the image set defined by this sequence item.
Hanging Protocol User Identification Code Sequence | (0072,000E) | 2 | Sequence that provides a coded identifier for the person, group, or site for which this Hanging Protocol was defined. Zero or one item shall be included in this sequence. ### Note If a standardized naming schema becomes available, it should be used. Meanwhile, local coding schemes such as employee numbers and department numbers are likely to be used.
>Include Table 8.8-1 “Code Sequence Macro Attributes” | No Baseline CID is defined.
Hanging Protocol User Group Name | (0072,0010) | 3 | Group or site for which this Hanging Protocol was defined.
Source Hanging Protocol Sequence | (0072,0012) | 3 | Sequence that identifies the Hanging Protocol from which this Hanging Protocol was derived, or on which it is based. Only a single Item is permitted in this sequence.
>Include Table 10-11 “SOP Instance Reference Macro Attributes” |

#### C.23.1.1 Attribute Descriptions

##### C.23.1.1.1 Hanging Protocol Definition Sequence Attributes

The Hanging Protocol Definition Sequence (0072,000C) provides a collection of one or more sequence items that defines the intent for the Hanging Protocol with respect to modality, anatomy, laterality, procedure and/or reason.

This allows for some degree of flexibility in defining the intent for the Hanging Protocol, while providing a precise structure for query matching using the existing rules for Sequence Matching, as defined in PS3.4.

### Note

1. The Hanging Protocol Definition Sequence (0072,000C) does not imply anything about the related image sets. These are defined in the Image Sets Sequence (0072,0020).

2. When creating a Hanging Protocol Instance, the values that are used for Procedure Code Sequence (0008,1032) or Reason for Requested Procedure Code Sequence (0040,100A) may come from a variety of sources, but are expected to be consistent throughout the domain in which a Hanging Protocol Instance will be exchanged. The following are recommended as potential sources of values.

   Procedure Code Sequence (0008,1032):

   - SNOMED codes

   - ICD-10-PCS Procedure Codes

   - Local Codes

   Reason for Requested Procedure Code Sequence (0040,100A):

   - SNOMED codes

   - ICD-9-CM

   - ICD-10-CM

   - Local Codes

##### C.23.1.1.2 Image Sets Sequence

The Image Sets Sequence (0072,0020) within a Hanging Protocol Instance serves to identify the type of image or other object sets to which the Hanging Protocol is intended to apply. Multiple types of image sets may be identified for a Hanging Protocol, to combine, for example, multiple imaging studies for a specific anatomy, or multiple imaging studies performed over a period of time, to monitor the progress of a condition. All image sets shall be for the same patient.

The images to be included in an Image Set may be specified directly by matching attribute values within the images, or indirectly through Key Object Selection Documents or Presentation States by matching their attribute values.

Key Object Selection Documents shall be matched by their SOP Class UID. The available Key Object Selection Documents may be further matched on the values of their other attributes (e.g., Concept Name Code Sequence, Coding Scheme Designator = "DCM" and Code Value = "113003", which has a code meaning of "For Surgery"). When the Hanging Protocol Instance is applied, the image object instances referenced by the matching Key Object Selection Document instances comprise the image set.

Presentation States shall be matched by their SOP Class UID. The available Presentation States may be further matched on the values of their other attributes (e.g., Content Label). When the Hanging Protocol Instance is applied, the image object instances referenced by the matching Presentation State instances comprise the image set.

### Note

Image Sets Sequence (0072,0020) allows other objects such as waveforms and SR documents to be identified. However, Hanging Protocol Display module operations such as filtering, reformatting, and sorting are defined only for image objects. The only expectation for non-image objects is to associate the objects with a position on a screen.

Each sequence item in the Image Sets Sequence (0072,0020) shall follow these rules:

- Each sequence item in the Time Based Image Sets Sequence (0072,0030) shall identify one image set, based on time criteria.

- The Items of the Image Set Selector Sequence (0072,0022) shall collectively identify one type of image set.

- One instance of time based criteria combined with the Items of the Image Set Selector Sequence (0072,0022) shall identify one image set.

- The number of image sets identified by a sequence item of the Image Sets Sequence (0072,0020) shall equal the number of items in the Time Based Image Sets Sequence (0072,0030).

- The value of Image Set Number (0072,0032) in each Time Based Image Sets Sequence (0072,0030) sequence item shall be unique across all sequence items of the Image Sets Sequence (0072,0020).

### Note

1. The identification of a current image set is established by the application prior to selection of a Hanging Protocol Instance. The current image set is not necessarily from a single study.

2. In mammography screening, for example, the Hanging Protocol defines the current image set plus the screening image set for the patient from the year prior. There would be one sequence item in the Image Sets Sequence (0072,0020). Within this sequence item, the Items of the Image Set Selector Sequence (0072,0022) would identify a mammography screening image set type. The Time Based Image Sets Sequence (0072,0030) would have two sequence items, one to identify the current, and one to identify the prior.

##### C.23.1.1.3 Image Set Selector Sequence Attributes

The Image Set Selector Sequence (0072,0022) contains sequence items that specify the DICOM attribute tags and values that shall be used to identify the image or other object set.

The Image Set Selector Usage Flag (0072,0024) indicates whether the attribute identified by Selector Attribute (0072,0026) causes matching to succeed or fail if the attribute is not available in an image object.

Within a sequence item, Selector Attribute (0072,0026) identifies a DICOM attribute tag that is likely to be present in image or other object instances that are desired for the Image Set. If it is a multi-valued attribute, the Selector Value Number (0072,0028) indicates which value is intended to be used for matching. The Selector Attribute VR (0072,0050) identifies the Value Representation of Selector Attribute (0072,0026). The value of Selector Attribute VR (0072,0050) determines which attribute of the Hanging Protocol Selector Attribute Value Macro is required to specify one or more desired values for the DICOM attribute tag. If more than one value is specified for the attribute, or more than one sequence item is specified in the Selector Code Sequence Value (0072,0080), then image object instances with a corresponding attribute that matches any one of the values shall be included in the Image Set.

### Note

The values used for Selector Attribute (0072,0026) are intended to identify a type of image set via the general categories of modality, anatomy, procedure intent and/or reason. Therefore the values of the tags represented by Selector Attribute (0072,0026) are likely to be coded terms, Enumerated Values, Defined Terms or free text. The use of free text attributes is less desirable, because their values are less predictable for matching.

In an image object, some attributes occur at the top level, or nested within a Sequence or Functional Group Sequence, or both. In addition, a Private Attribute may be identified as a Selector Attribute (0072,0026). The attributes of the Hanging Protocol Selector Attribute Context Macro identify a Sequence, Functional Group Sequence, or Private Group context for Selector Attribute (0072,0026).

The creator of a Hanging Protocol Instance uses this collection of attributes to identify one type of image set to which the Hanging Protocol is intended to apply. The user of a Hanging Protocol Instance (e.g., softcopy review workstation or pre-fetching application) uses this collection of attributes to match a specific image set to a Hanging Protocol, and/or to determine which image sets need to be retrieved in order to use a Hanging Protocol Instance. The Key Attributes to match against to obtain image sets are specified in Selector Attribute (0072,0026) and its context in each sequence item.

If the value of the tag represented by Selector Attribute (0072,0026) contains a free text description (i.e., Selector Attribute VR = LO, SH, ST, LT, UT), whether exact or partial matching is used to identify a specific image instance when applying a Hanging Protocol Instance is implementation dependent.

### C.23.2 Hanging Protocol Environment Module

Table C.23.2-1 specifies the Attributes that describe and identify the best suited display environment for a Hanging Protocol.

Different viewing styles and interactions may be defined depending on a workstation's capabilities. For example, the hanging preferences for viewing a screening mammogram study on a 1Kx1K screen with a 10 second repaint time versus a 2Kx2.5K screen may differ.

### Note

1. The term Screen is intended to include all types of display devices (e.g., CRT, LCD, etc.).

2. This information may be used by an application to select a subset of the available screens on which to apply a Hanging Protocol.

Table C.23.2-1. Hanging Protocol Environment Module Attributes

Attribute Name | Tag | Type | Attribute Description
--- | --- | --- | ---
Number of Screens | (0072,0100) | 2 | Positive integer indicating the number of screens for which this Hanging Protocol is intended.
Nominal Screen Definition Sequence | (0072,0102) | 2 | Sequence that describes the set of screens for which this Hanging Protocol is intended. Zero or more items shall be included in this sequence.
>Include Table C.23.2-2 “Screen Specifications Macro Attributes” |

Table C.23.2-2. Screen Specifications Macro Attributes

Attribute Name | Tag | Type | Attribute Description
--- | --- | --- | ---
Number of Vertical Pixels | (0072,0104) | 1 | Positive integer indicating the intended number of rows of the addressable area of the screen in pixels. ### Note The goal is not absolute size matching.
Number of Horizontal Pixels | (0072,0106) | 1 | Positive integer indicating the intended number of columns of the addressable area of the screen in pixels. ### Note The goal is not absolute size matching.
Display Environment Spatial Position | (0072,0108) | 1 | Exactly four dimensionless floating point values indicating the rectangular coordinate position of the screen within the overall bounding box that encompasses all the screens. See Section C.23.2.1.1.
Screen Minimum Grayscale Bit Depth | (0072,010A) | 1C | Positive integer indicating the desired minimum number of grayscale bits per pixel of the screen. Required if Screen Minimum Color Bit Depth (0072,010C) is not present.
Screen Minimum Color Bit Depth | (0072,010C) | 1C | Positive integer indicating the desired minimum total number of bits per color channel used to present a pixel. Required if Screen Minimum Grayscale Bit Depth (0072,010A) is not present. ### Note A 24-bit color system with 8 bits per color channel (red, green, blue) would have a value of 8.
Application Maximum Repaint Time | (0072,010E) | 3 | Positive integer indicating the desired maximum time in milliseconds required by the application to repaint the full screen once (i.e., recalculate all pixels and paint them to the screen). ### Note This is not the screen refresh time.

#### C.23.2.1 Hanging Protocol Environment Attribute Descriptions

##### C.23.2.1.1 Display Environment Spatial Position

For the Display Environment Spatial Position (0072,0108) attribute, the lower left corner of the overall bounding box has Cartesian coordinates of (0.0,0.0). The upper right corner has coordinates of (1.0,1.0). The scale of the box is based on the Number of Vertical Pixels (0072,0104) and Number of Horizontal Pixels (0072,0106), not the physical size of the screens that are part of the workstation. The coordinates of each individual screen's box are defined in absolute coordinates relative to the (0,0) and (1,1) range of the overall box. Position of a box is given by a (x1,y1), (x2,y2) pair that identifies the upper left corner and lower right corner if the box is rectangular.

### Note

The goal is not absolute position matching of the image boxes rendered on the screens using Hanging Protocol layout information, but that the relative positioning of the image boxes should be consistent between different workstations.

Figure C.23.2-1 depicts a 1K x 1K screen positioned to the left of a 2K x 2.5K screen. The Display Environment Spatial Position (0072,0108) of the 1K x 1K screen is (0.0,0.4) (0.33,0.0), and the Display Environment Spatial Position (0072,0108) of the 2K x 2.5K screen is (0.33,1.0) (1.0,0.0).

Figure C.23.2-1. Example Hanging Protocol Screen Environment

### C.23.3 Hanging Protocol Display Module

Table C.23.3-1 specifies the Attributes that describe operations (filter, reformat, sort, presentation intent), layout and interactions for a Hanging Protocol. See Annex V “Hanging Protocols (Informative)” in PS3.17 for further explanation.

Table C.23.3-1. Hanging Protocol Display Module Attributes

Attribute Name | Tag | Type | Attribute Description
--- | --- | --- | ---
Display Sets Sequence | (0072,0200) | 1 | Sequence that describes one or more display sets used to present the Image Sets defined in the Image Sets Sequence (0072,0020). One or more Items shall be included in this sequence. See Section C.23.3.1.
>Display Set Number | (0072,0202) | 1 | A monotonically increasing integer, starting from 1, incrementing by one, unique within the Hanging Protocol Instance. It shall be used to identify linked display sets in the Display Set Scrolling Group (0072,0212).
>Display Set Label | (0072,0203) | 3 | Description of the objective of the display set defined by this sequence item.
>Display Set Presentation Group | (0072,0204) | 1 | Positive integer value that designates this Display Set as part of a specific presentation group. All Display Sets with the same Display Set Presentation Group (0072,0204) value shall be displayed at the same time. The value 1 shall indicate that this Display Set is part of the initial presentation group. Subsequent values incrementing by 1 shall imply successive temporal ordering of display.
>Image Set Number | (0072,0032) | 1 | Image Set Number (0072,0032) value from a Time Based Image Sets Sequence (0072,0030) Item within the Image Sets Sequence (0072,0020) Item that is selected for display by this Display Set. ### Note Multiple Image Boxes Sequence (0072,0300) Items within a Display Sets Sequence (0072,0200) Item may be used to spread one image set over multiple image boxes with the same Display Set characteristics.
>Image Boxes Sequence | (0072,0300) | 1 | Sequence that defines the image boxes for this Display Set. Only a single Item shall be included in this sequence unless Image Box Layout Type (0072,0304) is TILED, in which case one or more items shall be included in this sequence.
>>Image Box Number | (0072,0302) | 1 | A monotonically increasing integer that identifies the order of image boxes for scrolling, starting from 1, incrementing by one, unique within a Display Set Sequence Item.
>>Display Environment Spatial Position | (0072,0108) | 1 | Exactly four unitless floating point values indicating the rectangular coordinate position of the image box within the overall bounding box that encompasses all the display space (across all screens). See Section C.23.2.1.1.
>>Image Box Layout Type | (0072,0304) | 1 | Type of layout of the image box. All types except for TILED are single rectangles containing a single frame of image pixel data. The types are primarily distinguished by their interaction technique. Defined Terms: TILED a scrollable array of rectangles, each containing a single frame of image pixel data. STACK a single rectangle containing a steppable single frame, intended for user-controlled stepping through the image set, usually via continuous device interaction (e.g., mouse scrolling) or by single stepping (mouse or button click). CINE a single rectangle, intended for video type play back where the user controls are play sequence, rate of play, and direction. PROCESSED intended for interactive 3D visualizations that have custom interfaces. SINGLE a single rectangle, intended for images and objects with no defined methods of interaction. ### Note This value may also be used for non-image objects, such as waveforms and SR documents.
>>Image Box Tile Horizontal Dimension | (0072,0306) | 1C | Positive integer defining the horizontal Image Box tile dimension; the number of columns. Required if the value of Image Box Layout Type (0072,0304) is TILED.
>>Image Box Tile Vertical Dimension | (0072,0308) | 1C | Positive integer defining the vertical Image Box tile dimension; the number of rows. Required if the value of Image Box Layout Type (0072,0304) is TILED.
>>Image Box Scroll Direction | (0072,0310) | 1C | Enumerated Values: VERTICAL scroll images by row HORIZONTAL scroll images by column Required if the value of Image Box Layout Type (0072,0304) is TILED, and the value of Image Box Tile Horizontal Dimension (0072,0306) or Image Box Tile Vertical Dimension (0072,0308) is greater than 1.
>>Image Box Small Scroll Type | (0072,0312) | 2C | Defines the type of small increment scrolling to be applied to this Image Box. Required if the value of Image Box Layout Type (0072,0304) is TILED, and the value of Image Box Tile Horizontal Dimension (0072,0306) or Image Box Tile Vertical Dimension (0072,0308) is greater than 1. Scrolling is not specified if zero length. Enumerated Values: PAGE In a TILED image box, replace all image slots with the next N x M images in the set. ROW_COLUMN In a TILED image box, move each row or column of images to the next row or column, depending on Image Box Scroll Direction (0072,0310). IMAGE In a TILED image box, move each image to the next slot, either horizontally or vertically, depending on Image Box Scroll Direction (0072,0310). ### Note If there are multiple image boxes of different Tile Dimensions in a Display Set, then only IMAGE scrolling applies, and the value of this attribute is ignored.
>>Image Box Small Scroll Amount | (0072,0314) | 1C | Defines the positive integer number of pages, rows, columns, or images per small increment scroll, based on the values of Image Box Small Scroll Type (0072,0312) and Image Box Scroll Direction (0072,0310). The value applies to both forward and backward scrolling. Required if Image Box Small Scroll Type (0072,0312) is present with a value.
>>Image Box Large Scroll Type | (0072,0316) | 2C | Defines the type of large increment scrolling to be applied to this Image Box. Required if the value of Image Box Layout Type (0072,0304) is TILED, and the value of Image Box Tile Horizontal Dimension (0072,0306) or Image Box Tile Vertical Dimension (0072,0308) is greater than 1. Enumerated Values: PAGE In a TILED image box, replace all image slots with the next N x M images in the set. ROW_COLUMN In a TILED image box, move each row or column of images to the next row or column, depending on Image Box Scroll Direction (0072,0310). IMAGE In a TILED image box, move each image to the next slot, either horizontally or vertically, depending on Image Box Scroll Direction (0072,0310). ### Note If there are multiple image boxes of different Tile Dimensions in a Display Set, then only IMAGE scrolling applies, and the value of the attribute is ignored.
>>Image Box Large Scroll Amount | (0072,0318) | 1C | Defines the positive integer number of pages, rows, columns, or images per large increment scroll, based on the values of Image Box Large Scroll Type (0072,0316) and Image Box Scroll Direction (0072,0310). The value applies to both forward and backward scrolling. Required if Image Box Large Scroll Type (0072,0316) is present with a value.
>>Image Box Overlap Priority | (0072,0320) | 3 | If this Image Box overlaps in spatial position with others, this attribute indicates the layer of this Image Box in relation to the others. The value shall be a positive integer in the range 1 to 100, where 1 = top and 100 = bottom. If this attribute is not present, then the expected behavior is not defined.
>>Preferred Playback Sequencing | (0018,1244) | 1C | Describes the preferred playback sequencing for the Image Box. Overrides any Preferred Playback Sequencing (0018,1244) value in the image objects being displayed. Required if the value of Image Box Layout Type (0072,0304) is CINE. Enumerated Values: 0 Looping (1,2…n,1,2,…n,1,2,….n,…) 1 Sweeping (1,2,…n,n-1,…2,1,2,…n,…) 2 Stop (1,2…n)
>>Recommended Display Frame Rate | (0008,2144) | 1C | Recommended rate at which the frames of a multi-frame image shall be displayed, in frames/second. Shall have a value greater than zero. Overrides any Recommended Display Frame Rate (0008,2144) value in the image objects being displayed. Required if the value of Image Box Layout Type (0072,0304) is CINE and if Cine Relative to Real-Time (0072,0330) is not present.
>>Cine Relative to Real-Time | (0072,0330) | 1C | A positive unitless floating point numeric factor equal to playback rate divided by acquisition rate. Required if the value of Image Box Layout Type (0072,0304) is CINE and if Recommended Display Frame Rate (0008,2144) is not present. ### Note The capture rate may change within the image object, as specified in Frame Time (0018,1063) or Frame Time Vector (0018,1065).
>Filter Operations Sequence | (0072,0400) | 2 | Sequence that defines filter criteria to be applied to the image set identified by Image Set Number (0072,0032). Zero or more items shall be included in this sequence. See Section C.23.3.1.1.
>>Filter-by Category | (0072,0402) | 1C | Category of the filter operation. See Section C.23.3.1.1. Defined Terms: IMAGE_PLANE Required if Selector Attribute (0072,0026) is not present.
>>Filter-by Attribute Presence | (0072,0404) | 1C | Operation to be applied based on the presence or absence of the attribute represented by Selector Attribute (0072,0026) in each image of the Image Set. Required if Selector Attribute (0072,0026) is present and Filter-by Operator (0072,0406) is not present. Enumerated Values: PRESENT Include the image if the attribute is present. NOT_PRESENT Include the image if the attribute is not present.
>>Selector Attribute | (0072,0026) | 1C | Data Element Tag of an Attribute from an Image IOD to use as a filter. See Section C.23.3.1.1 for potential attributes. Required if Filter-by Category (0072,0402) is not present.
>>Selector Attribute VR | (0072,0050) | 1C | The Value Representation of Selector Attribute (0072,0026). Required if Selector Attribute (0072,0026) or Filter-by Category (0072,0402), and Filter-by Operator (0072,0406) are present.
>>Include Table C.23.4-1 “Hanging Protocol Selector Attribute Context Macro Attributes” |
>>Include Table C.23.4-2 “Hanging Protocol Selector Attribute Value Macro Attributes” |
>>Selector Value Number | (0072,0028) | 1C | Positive integer identifying which value of the attribute identified by Selector Attribute (0072,0026) is to be used for filtering. The value 1 identifies the first value. The value zero identifies any value. Required if Selector Attribute (0072,0026) and Filter-by Operator (0072,0406) are present.
>>Filter-by Operator | (0072,0406) | 1C | 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 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
>>Image Set Selector Usage Flag | (0072,0024) | 3 | Specifies the behavior of the Filter-by Operator (0072,0406) when Selector Attribute (0072,0026) is not available in the image or does not contain a value specified by Selector Value Number (0072,0028). If this attribute is not present in this sequence item, MATCH shall be assumed. Shall be ignored if Filter-by Operator (0072,0406) is not present. Enumerated Values: MATCH include the image in the filter output. NO_MATCH do not include the image in the filter output.
>Sorting Operations Sequence | (0072,0600) | 2 | Sequence that defines sorting criteria to be applied to the result of filter and reformat operations, to define the order in which to present the images in the Image Boxes. Zero or more items shall be included in this sequence. See Section C.23.3.1.2.
>>Selector Attribute | (0072,0026) | 1C | Data Element Tag of an Attribute from an Image IOD to be used for sorting. See Section C.23.3.1.2 for potential attributes. Required if Sort-by Category (0072,0602) is not present.
>>Include Table C.23.4-1 “Hanging Protocol Selector Attribute Context Macro Attributes” |
>>Selector Value Number | (0072,0028) | 1C | Positive integer identifying which value of the attribute identified by Selector Attribute (0072,0026) is to be used for sorting. The value of 1 identifies the first value. Shall not be zero. Required if Selector Attribute (0072,0026) is present.
>>Sort-by Category | (0072,0602) | 1C | Category of the sorting operation. See Section C.23.3.1.2. Defined Terms: ALONG_AXIS for CT, MR, other cross-sectional image sets BY_ACQ_TIME Required if Selector Attribute (0072,0026) is not present.
>>Sorting Direction | (0072,0604) | 1 | Sorting direction to be applied to the value(s) in the image set of the attribute identified by Selector Attribute (0072,0026) or Sort-by Category (0072,0602). Enumerated Values: INCREASING DECREASING
>Blending Operation Type | (0072,0500) | 3 | Type of blending of superimposed and underlying images from the image set, performed before reformatting. See Section C.23.3.1.3. Defined Terms: COLOR apply a pseudo-color to the superimposed image while blending
>Reformatting Operation Type | (0072,0510) | 3 | Reformatting operation to be applied to the Image Set. Defined Terms: MPR 3D_RENDERING SLAB
>Reformatting Thickness | (0072,0512) | 1C | The desired thickness of the reformatted images in millimeters. Required if value of Reformatting Operation Type (0072,0510) is SLAB or MPR. May be present otherwise.
>Reformatting Interval | (0072,0514) | 1C | The desired spacing of the reformatted images in millimeters. The spacing is measured from the center-to-center of each reconstructed image. Required if value of Reformatting Operation Type (0072,0510) is SLAB or MPR. May be present otherwise.
>Reformatting Operation Initial View Direction | (0072,0516) | 1C | Initial view of the reformatted images. Required if the value of Reformatting Operation Type (0072,0510) is MPR or 3D_RENDERING. May be present otherwise. Defined Terms: SAGITTAL TRANSVERSE CORONAL OBLIQUE
>3D Rendering Type | (0072,0520) | 1C | Describes the intended 3D rendering type. One or more values shall be present. The first value shall not be zero length. Required if the value of Reformatting Operation Type (0072,0510) is 3D_RENDERING: Defined Terms for Value 1: MIP SURFACE VOLUME Additional values may be used to identify implementation specific sub-types.
>Display Set Patient Orientation | (0072,0700) | 3 | Patient direction of the rows and columns of the images, as intended for display. See Section C.23.3.1.4.
>Display Set Horizontal Justification | (0072,0717) | 3 | Indicates direction in which to horizontally justify the image within a viewport that is not the same shape (aspect ratio) as the image. Enumerated Values: LEFT CENTER RIGHT ### Note Typically used in mammography display applications in which images from the patient's left and right are displayed "back to back", rather than centered.
>Display Set Vertical Justification | (0072,0718) | 3 | Indicates direction in which to vertically justify the image within a viewport that is not the same shape (aspect ratio) as the image. Enumerated Values: TOP CENTER BOTTOM
>VOI Type | (0072,0702) | 3 | Expected value of interest transformation for display (e.g., Window Center and Window Width or VOI LUT). Defined Terms: LUNG MEDIASTINUM ABDO_PELVIS LIVER SOFT_TISSUE BONE BRAIN POST_FOSSA
>Pseudo-Color Type | (0072,0704) | 3 | A category of pseudo-color palette choice to be applied after application of the VOI LUT. If this attribute is not present, a pseudo-color palette shall not be applied. Defined Terms are the values of Content Label (0070,0080) in the list of standard color palettes defined in PS3.6 Well-Known Color Palettes.
>Pseudo-Color Palette Instance Reference Sequence | (0072,0705) | 1C | Reference to a Color Palette Storage Instance to be applied after application of the VOI LUT. Only a single Item shall be included in this sequence. The Referenced SOP Class UID (0008,1150) shall be "1.2.840.10008.5.1.4.39.1". If the value of Pseudo-Color Type (0072,0704) is a reference to the Content Label (0070,0080) of a standard palette, the Referenced SOP Instance UID (0008,1155) shall be the corresponding Well-known SOP Instance UID defined in PS3.6. Required if Pseudo-Color Type (0072,0704) is a reference to a standard palette. May be present otherwise if Pseudo-Color Type (0072,0704) is present.
>>Include Table 10-11 “SOP Instance Reference Macro Attributes” |
>Show Grayscale Inverted | (0072,0706) | 3 | Whether or not to invert the rendered luminance of the displayed values. See Section C.23.3.1.4. Enumerated Values: YES The maximum output value after the display pipeline has been applied shall be displayed with the minimum available luminance. NO The maximum output value after the display pipeline has been applied shall be displayed with the maximum available luminance. ### Note The YES and NO values of this Attribute correspond to the Presentation LUT Shape (2050,0020) values of INVERSE and IDENTITY, as described in Section C.11.6.1.2. Only applicable to display of grayscale images.
>Show Image True Size Flag | (0072,0710) | 3 | Indicates whether or not to display images with the physical size of the rendered image pixel the same on the screen as specified in the image attributes, unless overridden by a Presentation State instance. Enumerated Values: YES Display images at True Size. NO The rendered size is not specified.
>Show Graphic Annotation Flag | (0072,0712) | 3 | Indicates whether or not to display items from the Graphic Annotation Sequence (0070,0001) in an applied Presentation State, and the attributes of the Overlay Plane module in the image objects or applied Presentation State. Enumerated Values: YES NO
>Show Patient Demographics Flag | (0072,0714) | 3 | Indicates whether or not to display patient and study identification information. Enumerated Values: YES NO
>Show Acquisition Techniques Flag | (0072,0716) | 3 | Indicates whether or not to display image acquisition technique information. Enumerated Values: YES NO
>Display Set Presentation Group Description | (0072,0206) | 3 | Description of the intent of the Display Set Presentation Group (0072,0204). If present, shall have the same value in all sequence Items assigned the same value for Display Set Presentation Group (0072,0204).
Partial Data Display Handling | (0072,0208) | 2 | If one or more Image Sets identified by Image Set Number (0072,0032) in the Display Sets Sequence (0072,0200) Items is not available, indicate whether or not to maintain the expected layout in the absence of complete Image Sets. Enumerated Values: MAINTAIN_LAYOUT If one or more Image Sets is not available, maintain the layout with empty Image Boxes. ADAPT_LAYOUT If one or more Image Sets is not available, rearrange the layout at the discretion of the application. If this attribute is zero length, then the expected behavior is not defined.
Synchronized Scrolling Sequence | (0072,0210) | 3 | Each sequence item of this attribute identifies a group of Display Sets to which synchronized scrolling is to be applied. One or more Items are permitted in this sequence. The dimensions along which the synchronization occurs shall be those specified in the Sorting Operations Sequence (0072,0600).
>Display Set Scrolling Group | (0072,0212) | 1 | Multi-valued list of two or more Display Set Number (0072,0202) values. Indicates that the images within the specified Display Sets are scrolled in parallel, to maintain the established synchronization.
Navigation Indicator Sequence | (0072,0214) | 3 | Describes a geometric relationship between Display Sets for the purpose of static or interactive localization or navigation. One or more Items are permitted in this sequence.
>Navigation Display Set | (0072,0216) | 1C | Display Set Number (0072,0202) of the Display Set where the geometric relationship to the Reference Display Sets (0072,0218) is graphically depicted. Required if there is a one-way interaction such that the location of the Reference Display Sets is indicated on or controlled by the Navigation Display Set. ### Note For example, the graphical representation may indicate either the number of slices displayed or contained in the Reference Display Set(s).
>Reference Display Sets | (0072,0218) | 1 | One or more Display Set Number (0072,0202) values. If Navigation Display Set is present, shall list those Display Sets that are controlled by or indicated on the Navigation Display Set. If Navigation Display Set is absent, shall indicate that all of the Reference Display Sets cross-reference each other.

#### C.23.3.1 Attribute Descriptions

The attributes of a Display Set Sequence Item shall be applied to the image set represented by the value of Image Set Number (0072,0032) in the following order:

- Filter Operations Sequence

- Reformatting

- Sorting Operations Sequence

- Presentation Intent

##### C.23.3.1.1 Filter Operations Sequence

The items in the Filter Operations Sequence (0072,0400) determine which subset of the images in the identified Image Set are to be displayed in the associated Display Set image boxes. If there are multiple Items in the Filter Operations Sequence (0072,0400), the filter operations shall be applied in Item order, and the output of the preceding filter shall serve as the input to the succeeding filter (i.e., an AND operation).

When Filter-by Category (0072,0402) has a value of IMAGE_PLANE, Selector Attribute VR (0072,0050) shall have a value of "CS", and abstract Enumerated Values shall be used for the value of the associated Selector CS Value (0072,0062) attribute, which may be computed from the values of Image Orientation (Patient) (0020,0037) or Patient Orientation (0020,0020).

Enumerated Values:

TRANSVERSE

CORONAL

SAGITTAL

OBLIQUE

The MEMBER_OF and NOT_MEMBER_OF values of Filter-by Operator (0072,0406) are then applicable.

### Note

Cross-sectional images do not normally contain a categorical description of the image plane, but rather only a patient-relative row and column direction cosines that are unit vectors. The category of image plane can be determined first by categorizing the row and column major directions (or detecting if the orientation is oblique according to a pre-specified threshold), and then using those categories to select a plan category.

The following pseudo-code can be used to determine the major axis (R or L, A or P, H or F) from a single direction cosine that is an (x,y,z) tuple (as defined in Section C.7.6.2.1.1):

- if (abs(x) > threshold)

  - axis = "RL"

- else if (abs(y) > threshold)

  - axis = "AP"

- else if (abs(z) > threshold)

  - axis = "HF"

- else

  - is OBLIQUE

Having determined the major axis of the row and column, the category of plane can be obtained from a table lookup:

| Row
--- | ---
Column | RL | AP | HF
RL |  | TRANSVERSE | CORONAL
AP | TRANSVERSE |  | SAGITTAL
HF | CORONAL | SAGITTAL |

Alternatively, one can obtain a single vector that is the normal to the orientation (cross product of the row and column unit vectors), then find which of the x, y and z components has the maximum absolute value that is above threshold; if x then SAGITTAL, if y then CORONAL, if z then TRANSVERSE; if all of the components are below threshold then the orientation is OBLIQUE.

Since it is also necessary to determine whether or not to flip or rotate the image into the preferred orientation (as specified by Display Set Patient orientation (0072,0700)) for the category of plane (e.g., sagittals are normally viewed with row direction posteriorly and column direction towards the feet), the categorical row and column direction to use can be obtained as above, additional accounting for the sign of the direction cosine, e.g.:

- if x < 0 then orientationX = "R" else orientationX = "L"

- if y < 0 then orientationY = "A" else orientationY = "P"

- if z < 0 then orientationZ = "F" else orientationZ = "H"

- if (abs(x) > threshold)

  - orientation = orientationX

- …

An application that is applying a Hanging Protocol Instance shall support any value for Selector Attribute (0072,0026). The Image Set Selector Usage Flag (0072,0024) specifies whether or not the image is included in the filter output when the attribute or value identified by Selector Attribute (0072,0026) is not available in an image. The attributes of the Hanging Protocol Selector Attribute Context Macro specify whether Selector Attribute (0072,0026) is contained in a Sequence, Functional Group Sequence, or Private Group.

### Note

1. The following attributes from image IODs are examples of some possible values for Selector Attribute (0072,0026) of Filter Operations Sequence (0072,0400). This is not a complete list:

   - Value 3 of Image Type (0008,0008) or Frame Type (0008,9007)

   - Anatomic Region Sequence (0008,2218)

   - Pixel Presentation (0008,9205)

   - Volume Based Calculation Technique (0008,9207)

   - Acquisition Contrast (0008,9209)

   - Contrast/Bolus Agent (0018,0010)

   - Body Part Examined (0018,0015)

   - Scanning Sequence (0018,0020)

   - Intervention Drug Start Time (0018,0035)

   - Echo Time (0018,0081)

   - Echo Number(s) (0018,0086)

   - Protocol Name (0018,1030)

   - Contrast/Bolus Start Time (0018,1042)

   - Contrast/Bolus Stop Time (0018,1043)

   - Trigger Time (0018,1060)

   - Image Trigger Delay (0018,1067)

   - Radiopharmaceutical Start Time (0018,1072)

   - Radiopharmaceutical Stop Time (0018,1073)

   - Trigger Window (0018,1094)

   - View Position (0018,5101)

   - Echo Pulse Sequence (0018,9008)

   - Phase Contrast (0018,9014)

   - Effective Echo Time (0018,9082)

   - Laterality (0020,0060)

   - Image Laterality (0020,0062)

   - Slice Location (0020,1041)

   - View Code Sequence (0054,0220)

2. For a multi-frame image set, it is the responsibility of the application to apply the filter operations to individual frames within a multi-frame image instance in the image set, versus multiple single frame image instances in the image set that represent individual frames.

##### C.23.3.1.2 Sorting Operations Sequence

The Items in the Sorting Operations Sequence (0072,0600) define the order in which the images resulting from the filter and reformat operations on the Image Set are to be displayed in the associated Image Boxes of the Display Set. The sorting criteria may include the value of a numeric, date, or time Attribute that is expected to be present in each of the image objects in the filtered Image Set, and/or an abstract sorting category. A sorting direction shall be associated with each sorting criterion. If a textual Attribute is used for sorting, then the INCREASING sorting direction indicates alphabetical order, and DECREASING indicates reverse alphabetical order.

If a code sequence Attribute is used for sorting, then Code Meaning (0008,0104) shall be sorted alphabetically. If a string numeric Attribute is used for sorting (VR of IS or DS), then sorting shall be on the numeric value, and padding shall be ignored. When sorting by date or time Attribute, then sorting shall be on the temporal value, not the alphabetic string.

If there are multiple Items in the Sorting Operations Sequence (0072,0600), then the sorting operations shall be applied in Item order. The least rapidly varying attribute for the sorting operation shall be the first Item in the sequence.

### Note

For example, a Sorting Operations Sequence (0072,0600) with two Items:

- Item #1: (0018,5101) View Position, INCREASING

- Item #2: (0008,0020) Study Date, INCREASING

results in the following order, based on these attribute values in the image objects:

View Position (0018,5101) | Study Date (0008,0020)
--- | ---
AP | 20030201
AP | 20030501
LL | 20020705
LL | 20030102
RL | 20030101
RL | 20030201

When the Sort-by Category (0072,0602) is used with a value of ALONG_AXIS, such as for CT, MR or other cross-sectional image sets, the sorting operation is computed from the values Image Position (Patient) (0020,0032) and Image Orientation (Patient) (0020,0037) in the image objects.

For the image set to be displayed, a "dominant axis" of the set shall be determined. The dominant axis is the normal to Image Orientation (Patient) (0020,0037) (assuming all selected images are parallel), computed as the dot product in a right-handed coordinate system (see Section C.7.6.2.1.1). The INCREASING direction for ALONG_AXIS of the image set shall be in the positive direction along the dominant axis. The DECREASING direction shall be in the negative direction along that axis.

When the Sort-by Category (0072,0602) is used with a value of BY_ACQ_TIME, the sorting operation is computed from appropriate values in the image objects (e.g., Frame Acquisition DateTime, Acquisition Time, Content Time, Acquisition DateTime), since the specific attribute used may vary from one Image Instance or SOP Class to another, yet the Hanging Protocol Instance may be generally applicable.

An application that is applying a Hanging Protocol Instance shall support any value for Selector Attribute (0072,0026), provided that it is present in the referenced Image Set. The attributes of the Hanging Protocol Selector Attribute Context Macro specify whether Selector Attribute (0072,0026) is contained in a Sequence, Functional Group Sequence or Private Group.

### Note

1. The following attributes from image IODs are examples of some possible values for Selector Attribute (0072,0026) of Sorting Operations Sequence (0072,0600). This is not a complete list:

   - Acquisition DateTime (0008,002A)

   - Acquisition Time (0008,0032)

   - Echo Time (0018,0081)

   - Echo Number(s) (0018,0086)

   - Trigger Time (0018,1060)

   - View Position (0018,5101)

   - Effective Echo Time (0018,9082)

   - Acquisition Number (0020,0012)

   - Instance Number (0020,0013)

   - Slice Location (0020,1041), although Sort-by Category (0072,0602) with value ALONG_AXIS may be more reliable

   - Trigger Delay Time (0020,9153)

   - Stage Number (0008,2122)

   - View Number (0008,2128)

2. For a multi-frame image set, it is the responsibility of the application to apply the sorting operations to individual frames within a multi-frame image instance in the image set, versus multiple single frame image instances in the image set that represent individual frames.

##### C.23.3.1.3 Blending Operation Type

A Blending Operation Type (0072,0500) of COLOR implies that the filtered selected image set contains two sets of images appropriate for blending, such as CT and PET images defined in the same frame of reference or associated by a spatial registration object. The decision as to which subset are the underlying images and which subset are the superimposed images is left to the discretion of the display application. There is no mechanism to explicitly specify the two subsets.

The relative opacity and color-related aspects of blending are not specified by the Hanging Protocol, and are left to the discretion of the application.

##### C.23.3.1.4 Presentation Intent Attributes

The attributes that indicate the presentation intent for each Display Set of a Hanging Protocol Instance are: Display Set Patient Orientation (0072,0700), VOI Type (0072,0702), Pseudo-color Type (0072,0704), Show Grayscale Inverted (0072,0706), Show Image True Size Flag (0072,0710), Show Graphic Annotation Flag (0072,0712), Show Patient Demographics Flag (0072,0714), and Show Acquisition Techniques Flag (0072,0716).

- If one Presentation State instance is defined for the images that are to be displayed, then it shall be applied.

- If more than one Presentation State instance is defined for the images that are to be displayed, then the presentation intent attributes, if present, shall be used to select the closest matching Presentation State instance to apply (for example, matching VOI Type (0072,0702) in the Hanging Protocol Instance with Window Center & Width Explanation in the Presentation State instance). Otherwise, the application shall determine which Presentation State instance to apply.

- If no Presentation State instance is defined for the images that are to be displayed, then the presentation intent attributes, if present, shall be applied (for example, matching VOI Type (0072,0702) in the Hanging Protocol Instance with Window Center & Width Explanation in the Image). Otherwise, the display related information in the image instances shall be applied.

The intent of VOI Type (0072,0702) is to support generic intensity window settings for the Display Sets in a Hanging Protocol, such as lung, soft tissue, or bone for chest CT. It is expected for most other modalities that the window/center or VOI LUT values, if not provided in a Presentation State instance, would be provided in the image instance rather than by intent in a Hanging Protocol Instance.

The value of Show Grayscale Inverted (0072,0706) shall override any such intent expressed in the images or associated Presentation States to which the Hanging Protocol is applied.

### Note

1. For example, an image may have a MONOCHROME2 Photometric Interpretation (0028,0004) and no Presentation LUT Shape (2050,0020), which implies that maximum values are displayed with maximum available luminance, but the presence of a Show Grayscale Inverted (0072,0706) value of YES in the Hanging Protocol requires maximum values to be displayed with minimum available luminance.

2. For example, an image may have an applicable Presentation State with a Presentation LUT Shape (2050,0020) of IDENTITY, which implies that maximum values are displayed with maximum available luminance, but the presence of a Show Grayscale Inverted (0072,0706) value of YES in the Hanging Protocol requires maximum values to be displayed with minimum available luminance.

3. For example, an image may have an applicable Presentation State with a Presentation LUT, in which case the minimum possible LUT output value (i.e., 0) will be interpreted as maximum available luminance if the value of Show Grayscale Inverted (0072,0706) is YES.

The intent of Display Set Patient Orientation (0072,0700) is to describe the preferred image rotation and/or flip for presentation within an image box. Each of the two values shall be an anatomic direction designated by the capital letters: A (anterior), P (posterior), R (right), L (left), H (head), F (foot), or X (unspecified). Each value of the orientation attribute shall contain at least one of these characters. If refinements in the orientation descriptions are to be specified, then they shall be designated by one or two additional letters in each value. Within each value, the letters shall be ordered with the principal orientation designated in the first character. If the value "X" is used for one of the values, the patient direction for that value is not defined.

The first value is the patient direction to be oriented at the right side of the image box for each image. The second value is the patient direction to be positioned at the bottom of the image box for each image. The application shall use the patient orientation information of each image (if available) to compute the best rotate and/or flip operation to be applied within the display set. If the patient orientation of an image is not defined, then this attribute shall be ignored.

### C.23.4 Hanging Protocol Selector Attribute Macros

#### C.23.4.1 Hanging Protocol Selector Attribute Context Macro

Table C.23.4-1 specifies the Attributes that identify the context for a Data Element Tag that is used as a Selector Attribute (0072,0026) in Image Set Selector Sequence (0072,0022), Filter Operations Sequence (0072,0400), or Sorting Operations Sequence (0072,0600). The attribute may be an attribute nested within a Sequence or Functional Group Sequence, and/or a Private Attribute.

Table C.23.4-1. Hanging Protocol Selector Attribute Context Macro Attributes

Attribute Name | Tag | Type | Attribute Description
--- | --- | --- | ---
Selector Sequence Pointer | (0072,0052) | 1C | Contains the Data Element Tag of the Sequence that contains the Attribute that is identified by Selector Attribute (0072,0026). Required if Selector Attribute (0072,0026) is nested in a Sequence. Shall not be used to identify code sequence attributes. See Selector Code Sequence Value (0072,0080).
Functional Group Pointer | (0020,9167) | 1C | Contains the Data Element Tag of the Functional Group Sequence that contains the Attribute that is identified by Selector Attribute (0072,0026). Required if the value of Selector Attribute (0072,0026) is the Data Element Tag of an Attribute that is contained within a Functional Group Sequence.
Selector Sequence Pointer Private Creator | (0072,0054) | 1C | Identification of the creator of a group of private data elements. Required if the Selector Sequence Pointer (0072,0052) value is the Data Element Tag of a Private Attribute.
Functional Group Private Creator | (0020,9238) | 1C | Identification of the creator of a group of private data elements. Required if the Functional Group Pointer (0020,9167) value is the Data Element Tag of a Private Attribute.
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.

##### C.23.4.1.1 Hanging Protocol Selector Attribute Context Macro Attribute Descriptions

###### C.23.4.1.1.1 Selector Sequence Pointer

The Sequence Attribute in the referenced Image identified by the value of Selector Sequence Pointer (0072,0052) may have more than one Item, in which case the filter or image set selector is applied to the values of the attribute identified by Selector Attribute (0072,0026) in all Items of the Sequence. The Selector shall match the specified value(s) of the specified Attribute in any Item of the Sequence Attribute in the referenced Image.

If the Functional Group Pointer (0020,9167) attribute is not present, then the Sequence Attribute identified by Selector Sequence Pointer (0072,0052) resides in the top level Data Set of the referenced Image.

###### C.23.4.1.1.2 Functional Group Pointer

The Functional Group Sequence is a Sequence Attribute contained within a Shared Functional Groups Sequence (5200,9229) Item or a Per-frame Functional Groups Sequence (5200,9230) Item. See Section C.7.6.16.

The Selector Sequence Pointer (0072,0052) may be used to further nest the reference to a Sequence Attribute within a Functional Group Sequence identified by Functional Group Pointer (0020,9167).

###### C.23.4.1.1.3 Private Attribute References

The Functional Group Private Creator (0020,9238), Selector Sequence Pointer Private Creator (0072,0054), and the Selector Attribute Private Creator (0072,0056) each has 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), Selector Sequence Pointer (0072,0052) or Functional Group Sequence Pointer (0020,9167) points to a Private Data Element, (gggg,ppxx), it shall have the value (gggg,00xx).

#### C.23.4.2 Hanging Protocol Selector Attribute Value Macro

Table C.23.4-2 specifies the Attributes that identify the value(s) for a Data Element Tag that is used as a Selector Attribute (0072,0026) in the Image Set Selector Sequence (0072,0022) or Filter Operations Sequence (0072,0400).

Table C.23.4-2. Hanging Protocol Selector Attribute Value Macro Attributes

Attribute Name | Tag | Type | Attribute Description
--- | --- | --- | ---
Selector AT Value | (0072,0060) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is AT.
Selector CS Value | (0072,0062) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is CS.
Selector IS Value | (0072,0064) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is IS. Some leniency in precision and format (including padding with spaces and leading zeros, e.g., "001" = " 1 " = "1") will be required.
Selector LO Value | (0072,0066) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is LO.
Selector LT Value | (0072,0068) | 1C | The value of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is LT.
Selector PN Value | (0072,006A) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is PN.
Selector SH Value | (0072,006C) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is SH.
Selector ST Value | (0072,006E) | 1C | The value of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is ST.
Selector UT Value | (0072,0070) | 1C | The value of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is UT.
Selector DS Value | (0072,0072) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is DS. Some leniency in precision and format (including padding and scientific notation) will be required.
Selector FD Value | (0072,0074) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is FD.
Selector FL Value | (0072,0076) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is FL.
Selector UL Value | (0072,0078) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is UL.
Selector US Value | (0072,007A) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is US.
Selector SL Value | (0072,007C) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is SL.
Selector SS Value | (0072,007E) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). Required if Selector Attribute VR (0072,0050) is present and the value is SS.
Selector Code Sequence Value | (0072,0080) | 1C | The value(s) of the attribute identified by Selector Attribute (0072,0026). One or more Items shall be included in this sequence. See Section C.23.4.2.1.2. Required if Selector Attribute VR (0072,0050) is present and the value is SQ, and Selector Attribute (0072,0026) is a code sequence.
>Include Table 8.8-1 “Code Sequence Macro Attributes” | No Baseline CID is defined.

##### C.23.4.2.1 Hanging Protocol Selector Attribute Value Macro Attribute Descriptions

###### C.23.4.2.1.1 Selector Attribute Value Matching

The value of Specific Character Set (0008,0005) in the Image and the Hanging Protocol Instance may differ and shall be taken into account for matching.

The value of Specific Character Set (0008,0005) may influence how matching of text Attributes is performed, in an implementation dependent manner. No requirements are specified for case sensitive or accent sensitive matching, or for ignoring padding.

###### C.23.4.2.1.2 Selector Code Sequence Value

The matching shall be performed on Coding Scheme Designator (0008,0102) and Code Value (0008,0100). Code Meaning (0008,0104) is required to be present, but shall be ignored for matching purposes. The matching is case sensitive, and leading and trailing spaces are not significant. The Coding Scheme Version (0008,0103) shall be ignored unless Coding Scheme Designator (0008,0102) is not sufficient to identify Code Value (0008,0100) unambiguously.

Prev | Up | Next
C.22 Media Creation Management Specific Modules | Home | C.24 Encapsulated Document Modules