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
Adding sub field
shibu-mathew
Hello,
Can someone please direct me on how to add a sub field. I am using a HL7.2.4 variant, but it only has one sub field( 0(0).MSH(0).#9(0).
[0]
) instead of two. How can I add a sub field to MSH.9 so that it will also have the second sub field, 0(0).MSH(0).#9(0).
[1]
. When I click on the field MSH.9, all I see is, the type Composite (CM)- please see attached. I am on Cloverleaf 5.7 Rev 1.
Thank you.
Find more posts tagged with
Clovertech
Comments
Kevin Crist
What are you trying to do? Copy something to it in an xlate? If so i think you can just add the .[1] even if it is not showing but i have never done this with this particular field.
System
Originally posted by Robert Milfajt
The number of subfields is a characteristic of data type, but I do not think that matters.
I agree with Kevin, just make reference to it, and it should work.
If you really want other subfields, pick another data type for the format, like CE.
Hope this helps,
shibu-mathew
Kevin/Robert,
yes, I am trying to do an IF based on the value in MSH.9.2. I will try using the [1] in the translate and see if that works, if not I will use CE instead of CM.
Thank you.
System
Originally posted by Nick Stainback
If I understand you correctly you have modified the trxid somewhere prior to the xlate and you are trying to then add and IF statement based on the information on the right side of the ^ in MSH9.
Sounds like you would be better off to change the Trxid in the IBTPS and then just add a different route for each id and apply the different xlates to each route.
Hope this helps,
Jim Kosloskey
CM is a kind of 'catch-all' HL/7 Data Type. It means there can be virtually any number of components or su-components and does not fit any pre-defined structure.
It is up to the Trading Partners to agree on the actual structure of the particular field.
So in Cloverleaf(R) the only way in an Xlate to reference any component (or sub-component) beyond the first is to type in the appropriate component/sub-component notation.
In your case, the use of [1] should be appropriate.