Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence Delimitation Item not present in the element list #143

Open
Gaelik-git opened this issue Apr 21, 2020 · 4 comments
Open

Sequence Delimitation Item not present in the element list #143

Gaelik-git opened this issue Apr 21, 2020 · 4 comments
Milestone

Comments

@Gaelik-git
Copy link

Gaelik-git commented Apr 21, 2020

When using the method parseDicom on DICOM containing a SQ element with undefined length I have the feeling it's not correct to not return the SequenceDelimitationItem as an item of said element

In this example : x00080096 (ReferringPhysicianIdentificationSequence) is a Sequence of undefined length
It is followed by a SequenceDelimitationItem, but it's nowhere to be found.
I think it should be part of the items list of the current tag like the ItemDelimitationItem ("xfffee00d") is for Item ("xfffee000")

image

Is the current behaviour the expected behaviour or do you confirm this is bug ?

Thank you for your work

@Gaelik-git
Copy link
Author

I used your example : https://rawgit.com/cornerstonejs/dicomParser/master/examples/dumpWithDataDictionary/index.html
with google chrome and a break point juste after the dataSet = dicomParser.parseDicom(byteArray, options); in the index.html to produce the screen shot

@yagni
Copy link
Collaborator

yagni commented Oct 1, 2021

It does look like it used to be that way a long time ago (here are the changes that introduced the change). @chafey any thoughts on this one?

@chafey
Copy link
Collaborator

chafey commented Oct 1, 2021 via email

@yagni yagni added this to the 2.0 milestone Sep 27, 2022
@yagni
Copy link
Collaborator

yagni commented Sep 27, 2022

Note that this will be a breaking change, as it will change the reported length of the SQ element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants