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
Cloverleaf
CL 19 HL7 Configurator Group Indent
Todd Hamilton
On v19, Has anyone tried to create segment groups using the hl7 configurator in the IDE? That is to say adjust a variant by grouping segments together (PV1, NTE and PBX,NTE). I can not get the IDE to properly indent the segment groups I must be doing something wrong.
Find more posts tagged with
Clovertech
Comments
Rob Abbott
Hi Todd, I just tried this and it appears to work as normal - what you want to do is select all the segments you want to group, and then click the "optional" and/or "repeating" checkboxes.
Screen-Shot-2020-05-21-at-1.01.34-PM.png
Todd Hamilton
Ron, Thanks for the reply. Try this for me.
In v19 HL7 Configurator, create a new 2.6 variant.
Modify the ADT_A03
Select the second ARV segment. The one that is indented and grouped with PV2.
The ARV segment should be marked optional yes and repeats no. Three lines should be highlighted (The two square brackets and the{ARV} A thin yellow line should appear under the {ARV}.
Now uncheck the optional flag. The ARV segment should still be highlighted but now the repeat flag is active. (As expected because the ARV was originally marked repeating)
Now here is the interesting thing. With the {ARV} selected, activate the optional flag. The line should now be [{ARV}]. No more indent. That's my problem. I need that segment to be indented (grouped with the PV2)
What am I doing wrong?
Jim Kosloskey
Todd,
Do you want the ARV to part of a group with the PV2 like this:
[PV2
([ARV]}
]
Normally a group has at least one required segment and it is usually the first segment of the group.
Todd Hamilton
Jim, You are right my previous description was not clear. I want the following:
<pre>MSH
[{ SFT } ]
[ UAC ]
EVN
PID
[ PD1 ]
[{ ARV } ]
[{ ROL } ]
[{ NK1 } ]
PV1
[ PV2 ]
[
{ ARV }
]
[
{ ROL }
]
[{ DB1 } ]
[{ AL1 } ]
[{ DG1 } ]
[ DRG ]
[ {
PR1
[{ ROL } ]
} ]
</pre>
Notice the first ARV (Following the PD1) is not indented and the second one (following the PD2) is indented.
Here are the steps to follow in order to accomplish the desired indent using the IDE.
highlight the segment (ARV) you want indented.
uncheck the optional flag and the repeats flag. there should be no square or curly brackets around the segment
with ARV still selected, add a segment after the selected segment. it does not matter what segment you add, it will be deleted eventually (ABS for example).
select both segments (ARV and ABS)
with both segments selected, check the optional flag. both segments should now be indented
select the ARV segment and check the repeats flag. the ARV segment should now have curly brackets
select the ABS segment and cut (delete) the segment
the ARV should now be indented as desired
Another option is to simply edit the file using vi.
Jim Kosloskey
I am not sure why you want to see the indentation for a single segment. That makes no difference to the engine itself or to the address pathing used to reference the data in the segment.
Whether it looks like this:
[{ARV}]
or this:
[
{ARV}
]
it means the same thing - the ARV segment is optional and repeating.
No need to waste time on this I think.