conformance_ack.vmd

Verified
Added by iNTERFACEWARE

This VMD is used for HL7 conformance, it contains NTE segments to send helpful error messages

Description
This VMD is used for HL7 conformance, it contains NTE segments to send helpful error messages
Attachments
Usage Details

The conformance_ack.vmd is designed to help with HL7 conformance processing, it contains repeating NTE segments to enable you to return errors. It is intended for use when creating an ACK in the script of a From LLP component.

Conformance checking involves checking the contents of HL7 messages received and returning helpful errors in the NTE segments of the ACK message. This makes it much easier/faster for the sender to adjust the messages they are sending.

How to use the conformance_ack.vmd:

  • Place the conformance ACK code in the script of a From LLP component
  • Parse the message using hl7.parse{}
  • Create the reply using conformance_ack.vmd with hl7.message{}
  • Fill in the required MSH and MSA fields for the ACK
  • If there are errors put each error into an NTE segment
    Note: The VMD specifies repeating NTE segments to use for errors
  • Send the ACK using ack.send()

See the HL7 Conformance for more information.