However, by displaying the value only of the FIRST OCCURRENCE found for a requested favorite tag, it incorrectly assumes that a tag is only present ONCE in a DICOM file -- which is not the case when a tag appears more than once, including NESTED occurrences inside one or more other tags.
For example, with a data file containing the following:
Code: Select all
(0008,1250) Related Series Sequence (FFFE,E000) Item (0020,000D) Study Instance UID 2.25.85144150007758175394072630567553022354 (0020,000E) Series Instance UID 2.25.337519417599592786263903558250391822107 (0040,A170) Purpose Of Reference Code Sequence (FFFE,E00D) Item Delimitation Item (FFFE,E0DD) Sequence Delimitation Item ... (0020,000D) Study Instance UID 2.25.85144150007758175394072630567553022354 (0020,000E) Series Instance UID 2.25.13560857619901190097814436205260939434
then it will misleadingly show only the first instance found ("2.25.337519417599592786263903558250391822107", from inside the nested tag),without at least giving the user any indication that other instances also exist.
Perhaps the easiest way to fix this is to handle it in the same way that the 'All Tags' pane correctly displays MULTIPLE search results when searching, for example, for "Series Instance UID".
(Alternative solutions might involve the user specifying a specific nesting level and/or identifying specific "anchor" tags, but these are probably much more complicated.)