web stats
Mirth Community - View Single Post - Cycle through rows in .csv in Message Builder?
View Single Post
Old 07-28-2011, 01:22 PM
DimitriA DimitriA is offline
Mirth Newb
Join Date: Jul 2011
Posts: 17
DimitriA is on a distinguished road

Sure. This would have probably been easier in the first place. Thank you for your time and patience. I really appreciate it.

First, here is the step in my Destination Transformer (that you helped me develop) that takes all of the lab results and creates an array resultVal out of them

var resultVal = new Array();
var counter = 0;

for each (mOBX in msg..OBX) 

	resultVal[counter] = mOBX['OBX.5']['OBX.5.1'].toString();
	counter += 1;


Here is my Message Builder. It is mapping the result array to a single cell in my .csv template. I'd like to map it to a column.

This is what the result looks like:

This is what I'd like it to look like:

Any ideas? Thank you!
Reply With Quote