Skip to content

Inability to access a particular set of DICOM tag through normal pydicom methods/attributes. #1353

Answered by darcymason
2ManySmells asked this question in Q&A
Discussion options

You must be logged in to vote

This is a case of an old-style DICOM way of doing things (now handled by Sequences) where certain tags can be repeated. If you look in pydicom's RepeatersDictionary you will see this defined as

'60xx0050': ('SS', '2', "Overlay Origin", '', 'OverlayOrigin'),

Notice the 'xx' - DICOM used to allow multiple tags to map to the same description, and therefore later with the advent of keywords, to the same keyword.

I don't recall the details in pydicom - we could dig into it - but in general pydicom would not be able to access these by keyword, because there could be many data elements with that same keyword, e.g. (6000,0050), (6002, 0050), (60aa, 0050), ... anything that matches the 'xx'. The …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mrbean-bremen
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1308 on April 13, 2021 18:10.