PIX
IHE PIX Profile requires that the PIX Manager returns "AE" in MSA-1 and error code "204" in ERR-3 as an application error, when a patient identifier or a patient identification domain in a PIX request message is unknown (see 3.9.4.2.2.6, Cases 3 - 5).
HL7 Table 0357 (see 2.15.5.3, HL7 Standard 2.5) indicates, however, that error 204 (Unknown Key Identifier) as "Rejection" in the Comment column of the table, whcih may imply that "AR" (application rejection) code in MSA-1.
On the other hand, HL7 Standard 2.5 Section 2.9.2.2 descreibes the conditions of returning "AE":
- fail to process (reject) the message for reasons unrelated to its content or format (system down, internal error, etc.). For most such problems it is likely that the responding system will be able to accept the same message at a later time. The implementers must decide on an application-specific basis whether the message should be automatically sent again. The response message contains a value of AR in MSA-1-acknowledgment code.
This seems aligned with the IHE requirement, to treat "unknown key identifier" as an application error rather than application rejection. To improve interoperbalibity, it is recommended that a PIX Manager implementation be prepared to handle both "AE" and "AR" code values in MSA-1 for error "204".