diff --git a/src/dicom/dicomParser.js b/src/dicom/dicomParser.js index 7adc2a7347..eb24ed53a0 100755 --- a/src/dicom/dicomParser.js +++ b/src/dicom/dicomParser.js @@ -718,7 +718,7 @@ dwv.dicom.DicomParser.prototype.readDataElement = function(reader, offset, impli else { // implicit VR? if(implicit) { - vr = null; + vr = "UN"; var dict = dwv.dicom.dictionary; if ( typeof dict[tag.group] !== "undefined" && typeof dict[tag.group][tag.element] !== "undefined" ) { @@ -1353,12 +1353,12 @@ dwv.dicom.DicomElementsWrapper.prototype.getElementAsString = function ( dicomEl } message += ")"; var itemDelimElement = { - "group": "0xFFFE", - "element": "0xE00D", - "vr": "na", - "vl": "0", - "value": [message] - }; + "group": "0xFFFE", + "element": "0xE00D", + "vr": "na", + "vl": "0", + "value": [message] + }; line += "\n"; line += this.getElementAsString(itemDelimElement, prefix + " ");