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

HTTP POST Message Transfers

PHC Hub receives HL7 messages using a protocol defined in the document titled "Transport of Immunization HL7 Transaction over the Internet Using Secure HTTP version 1.0" written by the HL7 Immunization Registry Task Force (Rockmore, Yeatts, and Davidson). It describes sending an HL7 message, a username, a password, and a facility ID in an HTTP POST transaction and receiving an HL7 message as a response.

For an external system to connect to the immunization registry, it must have two features:

Request Encoding

When the sending application sends PHC Hub an HL7 message via an HTTPS POST command, it must have the following fields:

HL7 messages may be sent one at a time (one for every HTTPS request) or grouped in a batch. Batch messages do not have any special separators or wrappers, but the standard HL7 batch protocol may be used. The batch is formatted as follows:

[FHS] { [BHS] { [MSH] ... ] } [BTS] } [FTS]

Response Encoding

PHC Hub returns responses to the sending system. Requests with multiple messages can have multiple responses, one for each request message. Responses are returned as defined in the account configuration. The available options are:

Responses from the HL7 interface are always in HL7 format. HL7 responses can indicate any one of the following:

STC | One logo