Creating
an HL Loop Level
The following steps describe how to create an HL loop level as a base level within an EDI source or target message.
- Right-click the HL
Loop in the Mapping Command window and select Add HL Qualification. The
HL Qualification dialog box appears.
- Select
the HL level code from the drop down list. This results in an
HLLevel()command.
The HLLevel command
has the following format:
HLLevel(levelcode)
where:
levelcode indicates the level code for this level. You
must select this value from the drop-down list of level codes that are
valid for the code list for HL03 (element 735). This value identifies
the context of a series of segments following the current HL up to the
next occurrence of an HL, or the end of the loop.
To insert an HL loop
level as a child of the current HL loop level:
- Right-click the
HLLevel Command in the Mapping Command window, select HL Qualification,
and select AddChild HL Qualification. The HLQualification dialog box
appears.
- Select the HL level
code from the drop-down list.
To insert an HL loop
level as a peer (sibling) of the current HL loop level:
- Right-click the
HLLevel Command in the Mapping Command window, select HL Qualification,
and select AddPeer HL Qualification. The HL Qualification dialog box
appears.
- Select the HL level
code from the drop-down list. With each HL loop level created, the HL
loop is copied to its hierarchical location (as a child or peer) with an
HLLevel command and displayed in the command window as if the hierarchy
were explicitly defined in the standard.
