web stats
Mirth Adding New Dicom Tags - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 03-01-2018, 02:20 PM
devinsoares devinsoares is offline
What's HL7?
 
Join Date: Feb 2018
Posts: 4
devinsoares is on a distinguished road
Default Mirth Adding New Dicom Tags

This should be an easy one

I have a custom javascript destination transformer where im trying to add new tags to a dicom file.

I've tried to add the tag by just assigning a value to it , i've also tried the createSegment method neither seem to work.

Could you point me in the right direction?


tstr = "TEST"
createSegment('tag00020013', msg);
msg['tag00020013'] = tstr.toString();
msg['tag00020013']['@vr'] ="UN";
msg['tag00020013']['@len']=tstr.toString().length;
msg['tag00020013']['@tag']="00020013";


Thanks!
Reply With Quote
Reply

Tags
add, dicom, tags

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation