web stats
Mirth Community - View Single Post - Example Lab Report
View Single Post
  #4  
Old 07-23-2019, 12:08 PM
ASIFM786 ASIFM786 is offline
Mirth Newb
 
Join Date: Oct 2008
Posts: 17
ASIFM786
Post

thanks for this, but having diffculty incorporating this into the script. having looked through all the material but still having difficulty.

I am a mirth newbie and trying to get this transformer : -

// Test Name
tr['td'][1] = mOBX['OBX.3']['OBX.3.2'].toString();
// Result
tr['td'][2] = mOBX['OBX.5']['OBX.5.1'].toString() + " "+ mOBX['OBX.6']['OBX.6.1'].toString();
// Flag - Red if not = normal
tr['td'][3] = mOBX['OBX.8']['OBX.8.1'].toString();
// Reference range
tr['td'][4] = mOBX['OBX.7']['OBX.7.1'].toString() + " " + mOBX['OBX.6']['OBX.6.1'].toString();

followed by the NTE comments

thanks in advance
Reply With Quote