infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
one OBX to multiple
System
Originally posted by Jason Bond
Does anyone know of an easy way to take a transcription message that outputs all the text in one OBX-5 field and translate it to output in multiple OBX segments?
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
If the OBX-5 field is repeating (meaning it was built by the sending system with the field repetition separator defined in MSH-2 present) then simply ITERATE on the field and construct a new OBX segment with each repetition.
Otherwise it will depend on how the OBX-5 field is constructed by the sending system. Many vendors do it many different ways.
Jim Kosloskey
System
Originally posted by Anonymous
Jason,
Here's a procedure that I wrote some time ago to handle a similar situation. It'll take a little study but it takes a text blob from a source field and breaks it up into multiple obx's. It actually fills in three fields; the set id, the value type and the text field. It uses xpm and a loop to store the fields because there's nothing to iterate on.
System
Originally posted by Dianna Braden
Greg, like your tcl - but am not putting it in the proper place - appears to do as expetcted - but my last output is the last sized field - any hints as to what the destination side should look like? Also do you expect to be in a interate when you do this? Maybe I am missing something