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
Failed OBX Iteration
System
Originally posted by Gena Gill
I'm drawing a blank on this one.
Find more posts tagged with
Clovertech
Comments
Max Drown
Try running your inbound messages through the HL7 testing tool and pay special attention to the OBX parens. I've found that that has helped me to get my head around some of the iteration problems I've had in the past.
System
Originally posted by Gena Gill
Yes, I've done that, but still cannot nail this down. I've actually had issues with this on other translations since upgrading to 5.6, but don't know if it's a problem in Cloverleaf, or a problem with me as I'm doing more complex translations than I have in the past.
Max Drown
What does your variant look like? Is the OBX part of a group?
System
Originally posted by Gena Gill
I'm just using the version 2.3 ORU variant. I've not created a special variant. It's not part of a group.
Here's a sample from the testing tool:
1(0).1(0).1(0).OBX(0).#3(0).[2].[0] : >LA01<
1(0).1(0).1(0).OBX(0).#4(0).[0].[0] : >1<
1(0).1(0).1(0).OBX(0).#5(0).[0].[0] : >Specimen/Source: SPUTUM/SPUTUM<
1(0).1(0).1(0).OBX(0).#14(0).[0].[0] : >200902021140<
1(0).1(0).1(0).OBX(0).#15(0).[0].[0] : >SKAGGS<
1(0).1(0).1(0).OBX(0).#15(0).[1].[0] : >SKAGGS REGIONAL HEALTH CENTER<
1(0).1(0).1(1).OBX(0).#1(0).[0].[0] : >2<
1(0).1(0).1(1).OBX(0).#2(0).[0].[0] : >TX<
1(0).1(0).1(1).OBX(0).#3(0).[0].[0] : >REPORT<
1(0).1(0).1(1).OBX(0).#3(0).[1].[0] : >Clinical Report<
1(0).1(0).1(1).OBX(0).#3(0).[2].[0] : >LA01<
1(0).1(0).1(1).OBX(0).#4(0).[0].[0] : >2<
1(0).1(0).1(1).OBX(0).#5(0).[0].[0] : >Collected: 02/02/2009 11:40<
1(0).1(0).1(1).OBX(0).#11(0).[0].[0] : >V<
1(0).1(0).1(2).OBX(0).#1(0).[0].[0] : >3<
1(0).1(0).1(2).OBX(0).#2(0).[0].[0] : >TX<
You can see on the first iteration, that OBX 11 was nulled, yet the second iteration the V is still in that field.
Mike Grieger
I think your Test Tool output is showing you that OBX is iterating at the GROUP level, not segment level.
Max Drown
I think you need to iterate on a group.
1(0).1(0).1(1).OBX(0).#11(0).[0].[0]
For a segment looping, you would see OBX(n) like OBX(0), OBX(1), OBX(2), etc.
In this case, you have the iteration happening on 1(0).1(0).1(n).
Max Drown
Also, note that I suggested the
HL7
testing tool, not the XLT testing tool. The HL7 testing tool will help you visualize the looping.
System
Originally posted by Gena Gill
OK, I'm a dork. Yes, you guys are right, this IS a group. I also found out, while looking at some other things that I need to create a variant specifically for this translation, so I should be able to fix my problem.
Thanks for your help!