Next Previous Contents

3. Usage

3.1 General Usage

This is a very simple library that attempts to perform the following functions:

str2hl7 - Given a string return a structure that represents the message.

hl7print - Given a message structure, print out that structure to standard out.

hl7get - Given a message structure and a location in that message, return a string that best represents that location.

hl7put - Given a message structure, a location, and a string, set the location to the value of the string.

hl7free - cleanly removes a message structure from memory.

hl72str - given a message structure, return the string that best represents that location.


Next Previous Contents