PHC-Hub logo  PHC Hub User Guide (v. March 2018)

Process Test Messages

The request debug feature allows a test message to be processed through the STC HL7 API and displays the grammar and validation checks performed in-line with comments from the documentation. Grammar checks verify that the message segment is in the correct order according to the HL7 specification for that message. Most messages have more than one applicable grammar structure and each one is applied to ensure the correct structure.

Transaction handlers also provide a view of the HL7 message structure, but without any test data comparison.

Run a Request Debug

To run a request debug, click the Test > Request debug menu link. On the Request Message page that opens, type or paste a sample HL7 message into the text box at the top and click Submit. Review the Grammar Check section that appears, and verify that the segment passed all grammar checks. Also review the Validation Results section. If the message passes the grammar check, it is validated. Validation gives specific details about each field and identifies any issues.

Run a Transaction Handler

To run the transaction handler, click the Test > Transaction handler menu link. In the transaction handler list that appears, click a link (in the Transaction Handler column) to view the transaction information. On the page that opens, review the Grammars section(s), then review the message segments (in the Segments section(s)) and click a segment link to view the documentation for each field in the segment.

STC | One logo