Skip to content

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

@grstreet

Description

@grstreet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions