grmnames

This retrieves field names that are associated with a GRM object.

This function accesses field names from message definitions. For example, HL7, FRL, X12, and so on. The TCL interface provides an interface to return both parsed data and the field name of the data from the definition.

A message can be fully parsed through the TCL interface. The fields named from the message definition are also mapped to each data element.

For example, with the TCL GRM interface you can parse a message with an assigned message definition.

Calling grmnames with grmfetch returns the associated field names. For example:

grmfetch $message definition.frl
grmnames $message variant.hl7

grmfetch returns the fully parsed message.

grmnames returns the field names from the message definition. You can then synchronize the two return objects.