ex_l7 v0.1.0 ExL7.Ack

Provides functions to generate HL7 acknowledgement messages

Summary

Functions

Returns an HL7 acknowledgement message as a string

Returns an HL7 negative acknowledgement message as a string with AE as the code

Returns an HL7 negative acknowledgement message as a string with a custom code

Returns an HL7 negative acknowledgement message as a string with AR as the code

Functions

acknowledge(l7_message)

Returns an HL7 acknowledgement message as a string

error(l7_message, reason \\ "")

Returns an HL7 negative acknowledgement message as a string with AE as the code.

other(l7_message, code, reason \\ "")

Returns an HL7 negative acknowledgement message as a string with a custom code

reject(l7_message, reason \\ "")

Returns an HL7 negative acknowledgement message as a string with AR as the code.