Skip to content

feat: Support for VR type "UV" #488

Open
PolarsBear wants to merge 4 commits intodcmjs-org:masterfrom
PolarsBear:implement-uv-vr
Open

feat: Support for VR type "UV" #488
PolarsBear wants to merge 4 commits intodcmjs-org:masterfrom
PolarsBear:implement-uv-vr

Conversation

@PolarsBear
Copy link
Copy Markdown

In accordance with the (not so) new DICOM metadata standards, since 2019a, as stated in PS3.5, section 6.2 (see here), the VR type "UV", or "Unsigned 64 bit Very Long" describes, as one would expect, a 64 bit unsigned integer.

To comply with these standards and avoid interpreting these values as VR type "UN" (Unknown), I offer this contribution.

I attempted to keep things as close to the standard you've set as I could, but, in case of any insatisfaction, I am more than capable of reworking the code herein suggested.

The tests leave quite a bit to be desired. I must admit testing is not my greatest strong suit. Basic testing is in place for reading and writing, but more in-depth tests with real DICOM datasets would be welcome.

I couldn't find any documentation as to how I should write the Pull Request, so I hope this is acceptable

(Also, my first Pull Request, so I ask you to forgive me if something here isn't up to standard)

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 6, 2026

Deploy Preview for dcmjs2 ready!

Name Link
🔨 Latest commit 8d3d04e
🔍 Latest deploy log https://app.netlify.com/projects/dcmjs2/deploys/69d4462171e3cd0008283517
😎 Deploy Preview https://deploy-preview-488--dcmjs2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pieper pieper requested a review from wayfarer3130 April 14, 2026 12:49
Copy link
Copy Markdown
Collaborator

@pieper pieper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems reasonable to me, thanks for the contribution 👍

I'd like another set of eyes though, so maybe @wayfarer3130 can take a look.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants