PIX queries are processed as follows. This can be seen in the figure Figure 1.
A request is sent by an HL7 messaging domain for any identifiers associated with the given patient identifiers.
The message is received by the HL7 Binding Component if it is HL7 v2, or by the HTTP Binding Component if it is HL7 v3.
The message processed through the Normalized Message Router (NMR) to one of the following BPEL processes, depending on which version of HL7 is being processed: IHEPixPdqV2BpelProcess (v2) or bpelPIXManager (v3).
The BPEL process maps the data and routes it to the MDM Facade EJB, which then sends it to the Master Index for processing.
The Master Index cross references the given patient identifier against existing information in the master index database, and either returns a list of identifiers or null, if none were found.
The BPEL process then sends the list of identifiers back through the NMR and Binding Components to the originating domain, and generates an ACK or NACK response, which is also sent back out to the originating domain.
The BPEL process generates the audit record of the transaction, which is stored in the ATNA repository.