Field routing

When you select Field Routing on the Trx ID Determination Format menu on the Inbound or Outbound tab, clicking Edit opens the Trx ID Determination dialog box.

Click Select to open the Select Record Format dialog box.

OK, the dialog box is populated with the format tree. The format tree is where you can select field addressing.

Based on the selection in the tree, the field address is added to the bottom field when you click Set Field Address. You can also double-click the field to add it to Field AddressWhen you make a selection and click . The field address is editable. You can also specify the field address directly into the text box.

Saving field routing settings

The field routing for Trx ID Determination is saved in the DATAFORMAT section of a thread protocol section:

Single address:

{DATAFORMAT {
          { GRMADDR 0(0).MSH(0).#9(0) } 
          { MSG {hl7 2.2 22 DFT} }
          { TYPE grm }
} }

Multiple addresses:

{DATAFORMAT {
          { GRMADDR {0(0).MSH(0).#9(0)  0(0).MSH(0).#6(0)} }
          { MSG {hl7 2.2 22 DFT} }
          { TYPE grm }
} }
  • TYPE is grm.
  • GRMADDR is the selected field address(es) which specifies the message.
  • MSG is not currently used by the engine. It is used to save the selected Format, Version, Variant, and Message. This is used by the IDE to show the last selection on Field Routing Trx ID Determination.

If the variant name or other specification that was saved in NetConfig no longer exists, then no variant or default specification is selected. This applies when the format is selected the first time.