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

Add missing VR types to special cases for parsing empty bytes in DICOMs #242

Open
grstreet opened this issue Aug 23, 2024 · 0 comments
Open

Comments

@grstreet
Copy link

X.parserDCM.prototype.handleDefaults = function(_bytes, _bytePointer, _VR, _VL) {
handles cases UL, SQ, UN, OW according to 7.2.1 of the DICOM standard: https://dicom.nema.org/medical/dicom/current/output/chtml/part05/chapter_7.html#table_7.1-1

However, according to the list of VR types, OB,OD,OF,OW,SQ,UN,UT,OL,OV,SV,UC,UR,UV need to be treated this way. The list of cases needs to be updated for each of these. UL, in the original list, is not listed here in the standard.

    case 16975://OB
    case 17487://OD
    case 17999://OF
    case 19535://OL
    case 22095://OV
    case 22099://SV
    case 17237://UC
    case 21077://UR
    case 21589://UT
    case 22101://UV
    //DEFAULT included with xtk_edge.js
    //case 16975://UL is included here in xtk_edge.js, but listed in the DICOM standard as NOT parsed this way
    case 20819://SQ
    case 20053://UN
    case 22351://OW
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

No branches or pull requests

1 participant