Announcement

Collapse
No announcement yet.

Mirth Adding New Dicom Tags

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!
Working...
X