web stats
Mirth Community - View Single Post - DICOM Listener: ERROR-300: Transformer error
View Single Post
  #3  
Old 05-31-2018, 06:29 AM
tippenring tippenring is offline
What's HL7?
 
Join Date: Sep 2009
Posts: 4
tippenring is on a distinguished road
Default

Code:
java.lang.IllegalStateException: state:EXPECT_FRAG
Thanks for this. I just came across the same thing in 3.4.2. Sure enough, I have private DICOM tags with vr types of UN rather than SQ in it.

I've just verified this is also a problem in 3.5.2.

Here's my workaround for a Philips Cath.

Code:
function fixphilipscath(arg1) {
	if (msg['tag20019000']['item']['tag20011069']['@vr']=="UN") { 
		msg['tag20019000']['item']['tag20011069']['@vr']="SQ";
	};
	if (msg['tag20019000']['@vr']=="UN") {
		msg['tag20019000']['@vr']="SQ"
	};
	if (msg['tag2003102E']['@vr']=="UN") { 
		msg['tag2003102E']['@vr']="SQ"
	};
};

Last edited by tippenring; 05-31-2018 at 09:49 AM. Reason: more info
Reply With Quote