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