web stats
Mirth Community - View Single Post - Remove 1 OBX line based on beginning text
View Single Post
  #7  
Old 01-08-2015, 12:21 PM
Jaypell22 Jaypell22 is offline
OBX.1 Kenobi
 
Join Date: Jul 2011
Location: Upstate NY
Posts: 33
Jaypell22 is on a distinguished road
Thumbs up

Brilliant!! Thank you. Worked like a charm. Only item I had to add was the below code to re-number the OBX lines. Again...thanks for your help!


var OBXCounter = 1;
for each (seg in msg..OBX)
{
seg['OBX.1']['OBX.1.1'] = OBXCounter;
OBXCounter++;
}
Reply With Quote