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
Removing an OBX segment
Arslan Khan
Hi Guys,
I am running into a situation where I have to remove one OBX segment, which I am converting into an NTE segment, as follows:
Inbound:
OBX|1|NM|GLUF^Glucose, fasting|1.1|6.6|mmol/L|(3.3-6.0)|H|||F OBX|2|FT|GLUF^Glucose, fasting|1.2|Impaired fasting glucose 6.1-6.9 mmol/L~Diabetic >6.9 mmol/L||||||F
Outbound:
OBX|1|NM|GLUF^Glucose, fasting|1.1|6.6|mmol/L|(3.3-6.0)|H|||F OBX|2|FT|GLUF^Glucose, fasting|1.2|Impaired fasting glucose 6.1-6.9 mmol/L~Diabetic >6.9 mmol/L||||||F
NTE|||Impaired fasting glucose 6.1-6.9 mmol/L NTE|||Diabetic >6.9 mmol/L
Receiving system wants me to remove the second instance of OBX, in this case:
OBX|2|FT|GLUF^Glucose, fasting|1.2|Impaired fasting glucose 6.1-6.9 mmol/L~Diabetic >6.9 mmol/L||||||F
I am using an xlate to do this OBX-NTE conversion. Is there is a way to remove the same OBX segment (which is being converted into an NTE) inside an xlate?
Any ideas how to accomplish this?
Thanks.
Arslan Khan
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Daniel Lee
Can you just use a PATHCOPY and copy an
@null
into that iteration of the OBX? Are you always going to only have one OBX in the outbound thread? If so define the OBX as non-repeating in the outbound varrient and your BULKCOPY should take care of only keeping the first one.